From f81ab14a2fabe47000f8f2b0b8a3cf36b5d97cb6 Mon Sep 17 00:00:00 2001 From: GH Pages Bot Date: Thu, 29 Jun 2023 22:06:24 +0000 Subject: [PATCH] Deploy Storybook to GitHub Pages --- 1229.8675e4d2.iframe.bundle.js | 691 ++++++++++++++++++ 1229.8675e4d2.iframe.bundle.js.map | 1 + 2169.30d093a3.iframe.bundle.js | 1 + 2307.cca969a8.iframe.bundle.js | 1 + 2333.3da7f464.iframe.bundle.js | 1 + 2642.8420b84d.iframe.bundle.js | 40 + 2642.8420b84d.iframe.bundle.js.map | 1 + 3019.24421870.iframe.bundle.js | 1 + 3410.f71b5d4f.iframe.bundle.js | 2 + 3410.f71b5d4f.iframe.bundle.js.LICENSE.txt | 5 + 3547.f5acf0e8.iframe.bundle.js | 2 + 3547.f5acf0e8.iframe.bundle.js.LICENSE.txt | 15 + 3694.24fccbab.iframe.bundle.js | 121 +++ 3694.24fccbab.iframe.bundle.js.LICENSE.txt | 16 + 3694.24fccbab.iframe.bundle.js.map | 1 + 4961.9e817cf2.iframe.bundle.js | 64 ++ 4961.9e817cf2.iframe.bundle.js.map | 1 + 5039.f195d6c4.iframe.bundle.js | 1 + 5698.a4079c7b.iframe.bundle.js | 435 +++++++++++ 5698.a4079c7b.iframe.bundle.js.map | 1 + 7041.0e6e4fa2.iframe.bundle.js | 1 + 7098.dd713df1.iframe.bundle.js | 1 + 8548.826ab5d3.iframe.bundle.js | 502 +++++++++++++ 8548.826ab5d3.iframe.bundle.js.map | 1 + 8800.cdf0b1f9.iframe.bundle.js | 44 ++ 8800.cdf0b1f9.iframe.bundle.js.map | 1 + 9059.0e77d1c6.iframe.bundle.js | 2 + 9059.0e77d1c6.iframe.bundle.js.LICENSE.txt | 14 + 9115.65a58fb1.iframe.bundle.js | 2 + 9115.65a58fb1.iframe.bundle.js.LICENSE.txt | 11 + 9240.501b0884.iframe.bundle.js | 402 ++++++++++ 9240.501b0884.iframe.bundle.js.LICENSE.txt | 71 ++ 9240.501b0884.iframe.bundle.js.map | 1 + 9406.aa289d0e.iframe.bundle.js | 255 +++++++ 9406.aa289d0e.iframe.bundle.js.map | 1 + 9433.7231370c.iframe.bundle.js | 1 + 954.28542041.iframe.bundle.js | 1 + 9720.177af8bc.iframe.bundle.js | 1 + ...introduction-mdx.7b90d264.iframe.bundle.js | 2 + ...-mdx.7b90d264.iframe.bundle.js.LICENSE.txt | 9 + ...igrationToV2-mdx.766a5e32.iframe.bundle.js | 2 + ...-mdx.766a5e32.iframe.bundle.js.LICENSE.txt | 9 + ...igrationToV3-mdx.1bce875e.iframe.bundle.js | 2 + ...-mdx.1bce875e.iframe.bundle.js.LICENSE.txt | 9 + ...-quickStarts-mdx.7128a795.iframe.bundle.js | 2 + ...-mdx.7128a795.iframe.bundle.js.LICENSE.txt | 9 + ...ContentShare-mdx.cbf0b15b.iframe.bundle.js | 56 ++ ...entShare-mdx.cbf0b15b.iframe.bundle.js.map | 1 + ...eraSelection-mdx.0d0caad1.iframe.bundle.js | 237 ++++++ ...election-mdx.0d0caad1.iframe.bundle.js.map | 1 + ...MicSelection-mdx.54fc7e2e.iframe.bundle.js | 237 ++++++ ...election-mdx.54fc7e2e.iframe.bundle.js.map | 1 + ...itySelection-mdx.e291463c.iframe.bundle.js | 237 ++++++ ...election-mdx.e291463c.iframe.bundle.js.map | 1 + ...kerSelection-mdx.c269fda5.iframe.bundle.js | 237 ++++++ ...election-mdx.c269fda5.iframe.bundle.js.map | 1 + ...RemoteVideos-mdx.9feb3ade.iframe.bundle.js | 1 + ...o-LocalVideo-mdx.bdc6458a.iframe.bundle.js | 56 ++ ...calVideo-mdx.bdc6458a.iframe.bundle.js.map | 1 + ...InputControl-mdx.3c9f55d5.iframe.bundle.js | 1 + ...putVFControl-mdx.340b5d53.iframe.bundle.js | 1 + ...utputControl-mdx.e072372a.iframe.bundle.js | 1 + ...ShareControl-mdx.56e144ea.iframe.bundle.js | 1 + ...dBlurControl-mdx.72b12215.iframe.bundle.js | 1 + ...InputControl-mdx.541cbf1c.iframe.bundle.js | 1 + ...honeActivity-mdx.f8218183.iframe.bundle.js | 38 + ...Activity-mdx.f8218183.iframe.bundle.js.map | 1 + ...PreviewVideo-mdx.33d34a5e.iframe.bundle.js | 61 ++ ...iewVideo-mdx.33d34a5e.iframe.bundle.js.map | 1 + ...-RemoteVideo-mdx.31f288ab.iframe.bundle.js | 54 ++ ...oteVideo-mdx.31f288ab.iframe.bundle.js.map | 1 + ...RemoteVideos-mdx.628ad945.iframe.bundle.js | 54 ++ ...teVideos-mdx.628ad945.iframe.bundle.js.map | 1 + ...sterAttendee-mdx.f751d4fb.iframe.bundle.js | 593 +++++++++++++++ ...Attendee-mdx.f751d4fb.iframe.bundle.js.map | 1 + ...ideoTileGrid-mdx.ecdbcfd8.iframe.bundle.js | 6 + ...TileGrid-mdx.ecdbcfd8.iframe.bundle.js.map | 1 + ...introduction-mdx.e51cbf1b.iframe.bundle.js | 2 + ...-mdx.e51cbf1b.iframe.bundle.js.LICENSE.txt | 9 + ...stylingGuide-mdx.25359146.iframe.bundle.js | 2 + ...-mdx.25359146.iframe.bundle.js.LICENSE.txt | 9 + ...-Badge-Badge-mdx.3a115da8.iframe.bundle.js | 14 + ...ge-Badge-mdx.3a115da8.iframe.bundle.js.map | 1 + ...ge-Badge-stories.9ed3afa8.iframe.bundle.js | 14 + ...adge-stories.9ed3afa8.iframe.bundle.js.map | 1 + ...utton-Button-mdx.9a55c3a5.iframe.bundle.js | 212 ++++++ ...n-Button-mdx.9a55c3a5.iframe.bundle.js.map | 1 + ...n-Button-stories.f895334b.iframe.bundle.js | 212 ++++++ ...tton-stories.f895334b.iframe.bundle.js.map | 1 + ...-ChannelList-mdx.179b18ee.iframe.bundle.js | 557 ++++++++++++++ ...nnelList-mdx.179b18ee.iframe.bundle.js.map | 1 + ...nnelList-stories.1f9ae2ab.iframe.bundle.js | 557 ++++++++++++++ ...List-stories.1f9ae2ab.iframe.bundle.js.map | 1 + ...e-ChatBubble-mdx.acf596f8.iframe.bundle.js | 209 ++++++ ...atBubble-mdx.acf596f8.iframe.bundle.js.map | 1 + ...atBubble-stories.76ac9f4f.iframe.bundle.js | 209 ++++++ ...bble-stories.76ac9f4f.iframe.bundle.js.map | 1 + ...bleContainer-mdx.6fbae7c1.iframe.bundle.js | 1 + ...ontainer-stories.7543e6e4.iframe.bundle.js | 1 + ...leChatBubble-mdx.b2a03a4a.iframe.bundle.js | 403 ++++++++++ ...atBubble-mdx.b2a03a4a.iframe.bundle.js.map | 1 + ...atBubble-stories.e3fb26d5.iframe.bundle.js | 403 ++++++++++ ...bble-stories.e3fb26d5.iframe.bundle.js.map | 1 + ...InfiniteList-mdx.8b2d5655.iframe.bundle.js | 77 ++ ...niteList-mdx.8b2d5655.iframe.bundle.js.map | 1 + ...niteList-stories.a35c6ec7.iframe.bundle.js | 77 ++ ...List-stories.a35c6ec7.iframe.bundle.js.map | 1 + ...t-Attachment-mdx.530607f0.iframe.bundle.js | 97 +++ ...tachment-mdx.530607f0.iframe.bundle.js.map | 1 + ...tachment-stories.ec3a4ccd.iframe.bundle.js | 97 +++ ...ment-stories.ec3a4ccd.iframe.bundle.js.map | 1 + ...box-Checkbox-mdx.9dc82499.iframe.bundle.js | 39 + ...-mdx.9dc82499.iframe.bundle.js.LICENSE.txt | 9 + ...Checkbox-mdx.9dc82499.iframe.bundle.js.map | 1 + ...Checkbox-stories.150817c5.iframe.bundle.js | 39 + ...ries.150817c5.iframe.bundle.js.LICENSE.txt | 9 + ...kbox-stories.150817c5.iframe.bundle.js.map | 1 + ...-ContentTile-mdx.2ea00e75.iframe.bundle.js | 56 ++ ...tentTile-mdx.2ea00e75.iframe.bundle.js.map | 1 + ...tentTile-stories.adb0b6ae.iframe.bundle.js | 56 ++ ...Tile-stories.adb0b6ae.iframe.bundle.js.map | 1 + ...r-ControlBar-mdx.2b8540fe.iframe.bundle.js | 1 + ...ntrolBar-stories.9042f69a.iframe.bundle.js | 1 + ...ex-docs-Flex-mdx.fbc77bc1.iframe.bundle.js | 68 ++ ...ocs-Flex-mdx.fbc77bc1.iframe.bundle.js.map | 1 + ...ocs-Flex-stories.72abd472.iframe.bundle.js | 68 ++ ...Flex-stories.72abd472.iframe.bundle.js.map | 1 + ...ld-FormField-mdx.b18f9fc6.iframe.bundle.js | 44 ++ ...ormField-mdx.b18f9fc6.iframe.bundle.js.map | 1 + ...ormField-stories.7b3032ed.iframe.bundle.js | 435 +++++++++++ ...ield-stories.7b3032ed.iframe.bundle.js.map | 1 + ...ui-Grid-Grid-mdx.eb86a311.iframe.bundle.js | 61 ++ ...rid-Grid-mdx.eb86a311.iframe.bundle.js.map | 1 + ...rid-Grid-stories.55265014.iframe.bundle.js | 61 ++ ...Grid-stories.55265014.iframe.bundle.js.map | 1 + ...ding-Heading-mdx.17a9344a.iframe.bundle.js | 18 + ...-Heading-mdx.17a9344a.iframe.bundle.js.map | 1 + ...-Heading-stories.afd951fb.iframe.bundle.js | 18 + ...ding-stories.afd951fb.iframe.bundle.js.map | 1 + ...-Input-Input-mdx.c2a0fa0b.iframe.bundle.js | 123 ++++ ...ut-Input-mdx.c2a0fa0b.iframe.bundle.js.map | 1 + ...ut-Input-stories.b9e2034b.iframe.bundle.js | 81 ++ ...nput-stories.b9e2034b.iframe.bundle.js.map | 1 + ...-Label-Label-mdx.cd52b2fe.iframe.bundle.js | 9 + ...el-Label-mdx.cd52b2fe.iframe.bundle.js.map | 1 + ...el-Label-stories.8e7fa223.iframe.bundle.js | 9 + ...abel-stories.8e7fa223.iframe.bundle.js.map | 1 + ...-Modal-Modal-mdx.fe30cb95.iframe.bundle.js | 1 + ...al-Modal-stories.2706ed3e.iframe.bundle.js | 170 +++++ ...odal-stories.2706ed3e.iframe.bundle.js.map | 1 + ...avbar-Navbar-mdx.fa6b0689.iframe.bundle.js | 1 + ...r-Navbar-stories.636429b4.iframe.bundle.js | 512 +++++++++++++ ...vbar-stories.636429b4.iframe.bundle.js.map | 1 + ...Notification-mdx.4d622c55.iframe.bundle.js | 283 +++++++ ...fication-mdx.4d622c55.iframe.bundle.js.map | 1 + ...fication-stories.72516900.iframe.bundle.js | 283 +++++++ ...tion-stories.72516900.iframe.bundle.js.map | 1 + ...icationGroup-mdx.03ae82e5.iframe.bundle.js | 242 ++++++ ...ionGroup-mdx.03ae82e5.iframe.bundle.js.map | 1 + ...ionGroup-stories.b3f7c787.iframe.bundle.js | 242 ++++++ ...roup-stories.b3f7c787.iframe.bundle.js.map | 1 + ...Over-PopOver-mdx.f0118ea4.iframe.bundle.js | 376 ++++++++++ ...-PopOver-mdx.f0118ea4.iframe.bundle.js.map | 1 + ...-PopOver-stories.c9c6e1cf.iframe.bundle.js | 208 ++++++ ...Over-stories.c9c6e1cf.iframe.bundle.js.map | 1 + ...ortal-Portal-mdx.0bfbb1fd.iframe.bundle.js | 44 ++ ...l-Portal-mdx.0bfbb1fd.iframe.bundle.js.map | 1 + ...l-Portal-stories.56217792.iframe.bundle.js | 44 ++ ...rtal-stories.56217792.iframe.bundle.js.map | 1 + ...-Radio-Radio-mdx.19a252db.iframe.bundle.js | 68 ++ ...io-Radio-mdx.19a252db.iframe.bundle.js.map | 1 + ...io-Radio-stories.fc296b31.iframe.bundle.js | 68 ++ ...adio-stories.fc296b31.iframe.bundle.js.map | 1 + ...p-RadioGroup-mdx.d97ce03d.iframe.bundle.js | 110 +++ ...dioGroup-mdx.d97ce03d.iframe.bundle.js.map | 1 + ...dioGroup-stories.b5437601.iframe.bundle.js | 68 ++ ...roup-stories.b5437601.iframe.bundle.js.map | 1 + ...oster-Roster-mdx.b952a050.iframe.bundle.js | 1 + ...r-Roster-stories.295081a8.iframe.bundle.js | 439 +++++++++++ ...ster-stories.295081a8.iframe.bundle.js.map | 1 + ...elect-Select-mdx.26fd52ff.iframe.bundle.js | 85 +++ ...t-Select-mdx.26fd52ff.iframe.bundle.js.map | 1 + ...t-Select-stories.7507cb84.iframe.bundle.js | 85 +++ ...lect-stories.7507cb84.iframe.bundle.js.map | 1 + ...rea-Textarea-mdx.5467d5eb.iframe.bundle.js | 30 + ...-mdx.5467d5eb.iframe.bundle.js.LICENSE.txt | 9 + ...Textarea-mdx.5467d5eb.iframe.bundle.js.map | 1 + ...Textarea-stories.8356f888.iframe.bundle.js | 30 + ...ries.8356f888.iframe.bundle.js.LICENSE.txt | 9 + ...area-stories.8356f888.iframe.bundle.js.map | 1 + ...id-VideoGrid-mdx.d32f8c37.iframe.bundle.js | 1 + ...ideoGrid-stories.cec8284f.iframe.bundle.js | 1 + ...le-VideoTile-mdx.ac90b474.iframe.bundle.js | 96 +++ ...ideoTile-mdx.ac90b474.iframe.bundle.js.map | 1 + ...ideoTile-stories.0274635d.iframe.bundle.js | 96 +++ ...Tile-stories.0274635d.iframe.bundle.js.map | 1 + ...-WithTooltip-mdx.a0d88a54.iframe.bundle.js | 94 +++ ...-mdx.a0d88a54.iframe.bundle.js.LICENSE.txt | 9 + ...hTooltip-mdx.a0d88a54.iframe.bundle.js.map | 1 + ...cons-Add-Add-mdx.e0f0b449.iframe.bundle.js | 2 + ...-mdx.e0f0b449.iframe.bundle.js.LICENSE.txt | 9 + ...-Add-Add-stories.552cd67e.iframe.bundle.js | 2 + ...ries.552cd67e.iframe.bundle.js.LICENSE.txt | 9 + ...-All-All-stories.3915f624.iframe.bundle.js | 91 +++ ...-All-stories.3915f624.iframe.bundle.js.map | 1 + ...-Arrow-Arrow-mdx.79b62b2d.iframe.bundle.js | 5 + ...-mdx.79b62b2d.iframe.bundle.js.LICENSE.txt | 9 + ...ow-Arrow-mdx.79b62b2d.iframe.bundle.js.map | 1 + ...ow-Arrow-stories.ddbc75b8.iframe.bundle.js | 5 + ...ries.ddbc75b8.iframe.bundle.js.LICENSE.txt | 9 + ...rrow-stories.ddbc75b8.iframe.bundle.js.map | 1 + ...t-Attachment-mdx.5b1027db.iframe.bundle.js | 2 + ...-mdx.5b1027db.iframe.bundle.js.LICENSE.txt | 9 + ...tachment-stories.46b46d6e.iframe.bundle.js | 2 + ...ries.46b46d6e.iframe.bundle.js.LICENSE.txt | 9 + ...es-Attendees-mdx.345c8348.iframe.bundle.js | 2 + ...-mdx.345c8348.iframe.bundle.js.LICENSE.txt | 9 + ...ttendees-stories.7449f319.iframe.bundle.js | 2 + ...ries.7449f319.iframe.bundle.js.LICENSE.txt | 9 + ...amera-Camera-mdx.85ccf22e.iframe.bundle.js | 2 + ...-mdx.85ccf22e.iframe.bundle.js.LICENSE.txt | 9 + ...a-Camera-stories.6a068c00.iframe.bundle.js | 2 + ...ries.6a068c00.iframe.bundle.js.LICENSE.txt | 9 + ...-Caret-Caret-mdx.cfcd4a56.iframe.bundle.js | 5 + ...-mdx.cfcd4a56.iframe.bundle.js.LICENSE.txt | 9 + ...et-Caret-mdx.cfcd4a56.iframe.bundle.js.map | 1 + ...et-Caret-stories.0ef6dbc4.iframe.bundle.js | 5 + ...ries.0ef6dbc4.iframe.bundle.js.LICENSE.txt | 9 + ...aret-stories.0ef6dbc4.iframe.bundle.js.map | 1 + ...tion-Caution-mdx.b9877640.iframe.bundle.js | 33 + ...-mdx.b9877640.iframe.bundle.js.LICENSE.txt | 9 + ...-Caution-mdx.b9877640.iframe.bundle.js.map | 1 + ...-Caution-stories.31adf491.iframe.bundle.js | 33 + ...ries.31adf491.iframe.bundle.js.LICENSE.txt | 9 + ...tion-stories.31adf491.iframe.bundle.js.map | 1 + ...ns-Chat-Chat-mdx.27b19c85.iframe.bundle.js | 2 + ...-mdx.27b19c85.iframe.bundle.js.LICENSE.txt | 9 + ...hat-Chat-stories.88856760.iframe.bundle.js | 2 + ...ries.88856760.iframe.bundle.js.LICENSE.txt | 9 + ...-Check-Check-mdx.16ce468c.iframe.bundle.js | 2 + ...-mdx.16ce468c.iframe.bundle.js.LICENSE.txt | 9 + ...ck-Check-stories.dbea0fd7.iframe.bundle.js | 2 + ...ries.dbea0fd7.iframe.bundle.js.LICENSE.txt | 9 + ...d-CheckRound-mdx.6c449e81.iframe.bundle.js | 2 + ...-mdx.6c449e81.iframe.bundle.js.LICENSE.txt | 9 + ...eckRound-stories.07edacdb.iframe.bundle.js | 2 + ...ries.07edacdb.iframe.bundle.js.LICENSE.txt | 9 + ...-Clear-Clear-mdx.71a5d3e8.iframe.bundle.js | 2 + ...-mdx.71a5d3e8.iframe.bundle.js.LICENSE.txt | 9 + ...ar-Clear-stories.10592c89.iframe.bundle.js | 2 + ...ries.10592c89.iframe.bundle.js.LICENSE.txt | 9 + ...-Clock-Clock-mdx.92a40c80.iframe.bundle.js | 2 + ...-mdx.92a40c80.iframe.bundle.js.LICENSE.txt | 9 + ...ck-Clock-stories.5ac4539a.iframe.bundle.js | 2 + ...ries.5ac4539a.iframe.bundle.js.LICENSE.txt | 9 + ...cons-Cog-Cog-mdx.6be718df.iframe.bundle.js | 2 + ...-mdx.6be718df.iframe.bundle.js.LICENSE.txt | 9 + ...-Cog-Cog-stories.24fabfc5.iframe.bundle.js | 2 + ...ries.24fabfc5.iframe.bundle.js.LICENSE.txt | 9 + ...ctionProblem-mdx.050c15de.iframe.bundle.js | 2 + ...-mdx.050c15de.iframe.bundle.js.LICENSE.txt | 9 + ...nProblem-stories.7fcc5f84.iframe.bundle.js | 2 + ...ries.7fcc5f84.iframe.bundle.js.LICENSE.txt | 9 + ...-Crown-Crown-mdx.292a4a64.iframe.bundle.js | 2 + ...-mdx.292a4a64.iframe.bundle.js.LICENSE.txt | 9 + ...wn-Crown-stories.5a82fbc4.iframe.bundle.js | 2 + ...ries.5a82fbc4.iframe.bundle.js.LICENSE.txt | 9 + ...ne-DeskPhone-mdx.aefcb77d.iframe.bundle.js | 2 + ...-mdx.aefcb77d.iframe.bundle.js.LICENSE.txt | 9 + ...eskPhone-stories.7c58f47b.iframe.bundle.js | 2 + ...ries.7c58f47b.iframe.bundle.js.LICENSE.txt | 9 + ...ialer-Dialer-mdx.ee5c711e.iframe.bundle.js | 2 + ...-mdx.ee5c711e.iframe.bundle.js.LICENSE.txt | 9 + ...r-Dialer-stories.cfbbea39.iframe.bundle.js | 2 + ...ries.cfbbea39.iframe.bundle.js.LICENSE.txt | 9 + ...like-Dislike-mdx.710c07b4.iframe.bundle.js | 2 + ...-mdx.710c07b4.iframe.bundle.js.LICENSE.txt | 9 + ...-Dislike-stories.e170a76b.iframe.bundle.js | 2 + ...ries.e170a76b.iframe.bundle.js.LICENSE.txt | 9 + ...ns-Dock-Dock-mdx.4210231c.iframe.bundle.js | 2 + ...-mdx.4210231c.iframe.bundle.js.LICENSE.txt | 9 + ...ock-Dock-stories.81005c09.iframe.bundle.js | 2 + ...ries.81005c09.iframe.bundle.js.LICENSE.txt | 9 + ...ent-Document-mdx.3e2c6e6b.iframe.bundle.js | 2 + ...-mdx.3e2c6e6b.iframe.bundle.js.LICENSE.txt | 9 + ...Document-stories.a64f0ad5.iframe.bundle.js | 2 + ...ries.a64f0ad5.iframe.bundle.js.LICENSE.txt | 9 + ...ns-Dots-Dots-mdx.ba8ef9b2.iframe.bundle.js | 2 + ...-mdx.ba8ef9b2.iframe.bundle.js.LICENSE.txt | 9 + ...ots-Dots-stories.6c3ca04a.iframe.bundle.js | 2 + ...ries.6c3ca04a.iframe.bundle.js.LICENSE.txt | 9 + ...DropToAttach-mdx.b3894bd2.iframe.bundle.js | 2 + ...-mdx.b3894bd2.iframe.bundle.js.LICENSE.txt | 9 + ...ToAttach-stories.7d481f70.iframe.bundle.js | 2 + ...ries.7d481f70.iframe.bundle.js.LICENSE.txt | 9 + ...ns-Echo-Echo-mdx.acf95986.iframe.bundle.js | 2 + ...-mdx.acf95986.iframe.bundle.js.LICENSE.txt | 9 + ...cho-Echo-stories.1221d9f8.iframe.bundle.js | 2 + ...ries.1221d9f8.iframe.bundle.js.LICENSE.txt | 9 + ...-EmojiPicker-mdx.b5b80295.iframe.bundle.js | 2 + ...-mdx.b5b80295.iframe.bundle.js.LICENSE.txt | 9 + ...jiPicker-stories.f9fb529e.iframe.bundle.js | 2 + ...ries.f9fb529e.iframe.bundle.js.LICENSE.txt | 9 + ...cons-Eye-Eye-mdx.e104daee.iframe.bundle.js | 2 + ...-mdx.e104daee.iframe.bundle.js.LICENSE.txt | 9 + ...-Eye-Eye-stories.1cdf171d.iframe.bundle.js | 2 + ...ries.1cdf171d.iframe.bundle.js.LICENSE.txt | 9 + ...ack-Feedback-mdx.7e09373f.iframe.bundle.js | 2 + ...-mdx.7e09373f.iframe.bundle.js.LICENSE.txt | 9 + ...Feedback-stories.b8edc4c4.iframe.bundle.js | 2 + ...ries.b8edc4c4.iframe.bundle.js.LICENSE.txt | 9 + ...er-Hamburger-mdx.f8ba20f7.iframe.bundle.js | 2 + ...-mdx.f8ba20f7.iframe.bundle.js.LICENSE.txt | 9 + ...amburger-stories.8ac8c698.iframe.bundle.js | 2 + ...ries.8ac8c698.iframe.bundle.js.LICENSE.txt | 9 + ...se-HandRaise-mdx.5e7207d7.iframe.bundle.js | 5 + ...-mdx.5e7207d7.iframe.bundle.js.LICENSE.txt | 9 + ...andRaise-mdx.5e7207d7.iframe.bundle.js.map | 1 + ...andRaise-stories.0ccffb76.iframe.bundle.js | 5 + ...ries.0ccffb76.iframe.bundle.js.LICENSE.txt | 9 + ...aise-stories.0ccffb76.iframe.bundle.js.map | 1 + ...-Information-mdx.db68ba40.iframe.bundle.js | 2 + ...-mdx.db68ba40.iframe.bundle.js.LICENSE.txt | 9 + ...ormation-stories.b2267e7e.iframe.bundle.js | 2 + ...ries.b2267e7e.iframe.bundle.js.LICENSE.txt | 9 + ...Introduction-mdx.fbb6b12b.iframe.bundle.js | 2 + ...-mdx.fbb6b12b.iframe.bundle.js.LICENSE.txt | 9 + ...aptop-Laptop-mdx.88d9224a.iframe.bundle.js | 2 + ...-mdx.88d9224a.iframe.bundle.js.LICENSE.txt | 9 + ...p-Laptop-stories.8b90417f.iframe.bundle.js | 2 + ...ries.8b90417f.iframe.bundle.js.LICENSE.txt | 9 + ...LeaveMeeting-mdx.70bfb000.iframe.bundle.js | 2 + ...-mdx.70bfb000.iframe.bundle.js.LICENSE.txt | 9 + ...eMeeting-stories.2a9ae759.iframe.bundle.js | 2 + ...ries.2a9ae759.iframe.bundle.js.LICENSE.txt | 9 + ...ns-Like-Like-mdx.6b7ea9d3.iframe.bundle.js | 2 + ...-mdx.6b7ea9d3.iframe.bundle.js.LICENSE.txt | 9 + ...ike-Like-stories.e8b5a3e5.iframe.bundle.js | 2 + ...ries.e8b5a3e5.iframe.bundle.js.LICENSE.txt | 9 + ...istHandRaise-mdx.ce0cfdd6.iframe.bundle.js | 2 + ...-mdx.ce0cfdd6.iframe.bundle.js.LICENSE.txt | 9 + ...andRaise-stories.de6bf721.iframe.bundle.js | 2 + ...ries.de6bf721.iframe.bundle.js.LICENSE.txt | 9 + ...ns-Lock-Lock-mdx.6b2ab8de.iframe.bundle.js | 2 + ...-mdx.6b2ab8de.iframe.bundle.js.LICENSE.txt | 9 + ...ock-Lock-stories.1ac408e3.iframe.bundle.js | 2 + ...ries.1ac408e3.iframe.bundle.js.LICENSE.txt | 9 + ...ting-Meeting-mdx.71db8a0d.iframe.bundle.js | 2 + ...-mdx.71db8a0d.iframe.bundle.js.LICENSE.txt | 9 + ...-Meeting-stories.14a96b29.iframe.bundle.js | 2 + ...ries.14a96b29.iframe.bundle.js.LICENSE.txt | 9 + ...e-Microphone-mdx.2649ac29.iframe.bundle.js | 5 + ...-mdx.2649ac29.iframe.bundle.js.LICENSE.txt | 9 + ...crophone-mdx.2649ac29.iframe.bundle.js.map | 1 + ...crophone-stories.cfae2993.iframe.bundle.js | 5 + ...ries.cfae2993.iframe.bundle.js.LICENSE.txt | 9 + ...hone-stories.cfae2993.iframe.bundle.js.map | 1 + ...-Pause-Pause-mdx.67424606.iframe.bundle.js | 2 + ...-mdx.67424606.iframe.bundle.js.LICENSE.txt | 9 + ...se-Pause-stories.b62eb234.iframe.bundle.js | 2 + ...ries.b62eb234.iframe.bundle.js.LICENSE.txt | 9 + ...-Phone-Phone-mdx.065136b9.iframe.bundle.js | 2 + ...-mdx.065136b9.iframe.bundle.js.LICENSE.txt | 9 + ...ne-Phone-stories.3ab6b202.iframe.bundle.js | 2 + ...ries.3ab6b202.iframe.bundle.js.LICENSE.txt | 9 + ...cons-Pin-Pin-mdx.896d0e38.iframe.bundle.js | 2 + ...-mdx.896d0e38.iframe.bundle.js.LICENSE.txt | 9 + ...-Pin-Pin-stories.911ada69.iframe.bundle.js | 2 + ...ries.911ada69.iframe.bundle.js.LICENSE.txt | 9 + ...ns-Play-Play-mdx.ae8d8418.iframe.bundle.js | 2 + ...-mdx.ae8d8418.iframe.bundle.js.LICENSE.txt | 9 + ...lay-Play-stories.c49e53d1.iframe.bundle.js | 2 + ...ries.c49e53d1.iframe.bundle.js.LICENSE.txt | 9 + ...er-Presenter-mdx.bbb9d538.iframe.bundle.js | 2 + ...-mdx.bbb9d538.iframe.bundle.js.LICENSE.txt | 9 + ...resenter-stories.088a3001.iframe.bundle.js | 2 + ...ries.088a3001.iframe.bundle.js.LICENSE.txt | 9 + ...ecord-Record-mdx.46eb8dc7.iframe.bundle.js | 2 + ...-mdx.46eb8dc7.iframe.bundle.js.LICENSE.txt | 9 + ...d-Record-stories.633149af.iframe.bundle.js | 2 + ...ries.633149af.iframe.bundle.js.LICENSE.txt | 9 + ...emove-Remove-mdx.07376b1c.iframe.bundle.js | 2 + ...-mdx.07376b1c.iframe.bundle.js.LICENSE.txt | 9 + ...e-Remove-stories.169e9322.iframe.bundle.js | 2 + ...ries.169e9322.iframe.bundle.js.LICENSE.txt | 9 + ...-Rooms-Rooms-mdx.5206ffd3.iframe.bundle.js | 2 + ...-mdx.5206ffd3.iframe.bundle.js.LICENSE.txt | 9 + ...ms-Rooms-stories.eb44f2e7.iframe.bundle.js | 2 + ...ries.eb44f2e7.iframe.bundle.js.LICENSE.txt | 9 + ...-ScreenShare-mdx.f129e568.iframe.bundle.js | 2 + ...-mdx.f129e568.iframe.bundle.js.LICENSE.txt | 9 + ...eenShare-stories.144866d3.iframe.bundle.js | 2 + ...ries.144866d3.iframe.bundle.js.LICENSE.txt | 9 + ...earch-Search-mdx.d1315a0d.iframe.bundle.js | 2 + ...-mdx.d1315a0d.iframe.bundle.js.LICENSE.txt | 9 + ...h-Search-stories.91829bba.iframe.bundle.js | 2 + ...ries.91829bba.iframe.bundle.js.LICENSE.txt | 9 + ...-Share-Share-mdx.96aba116.iframe.bundle.js | 2 + ...-mdx.96aba116.iframe.bundle.js.LICENSE.txt | 9 + ...re-Share-stories.97701f2c.iframe.bundle.js | 2 + ...ries.97701f2c.iframe.bundle.js.LICENSE.txt | 9 + ...gnalStrength-mdx.efafdfed.iframe.bundle.js | 2 + ...-mdx.efafdfed.iframe.bundle.js.LICENSE.txt | 9 + ...Strength-stories.929e86bc.iframe.bundle.js | 2 + ...ries.929e86bc.iframe.bundle.js.LICENSE.txt | 9 + ...-Sound-Sound-mdx.f6fcb6fe.iframe.bundle.js | 2 + ...-mdx.f6fcb6fe.iframe.bundle.js.LICENSE.txt | 9 + ...nd-Sound-stories.473a1c0d.iframe.bundle.js | 2 + ...ries.473a1c0d.iframe.bundle.js.LICENSE.txt | 9 + ...nner-Spinner-mdx.45400b1a.iframe.bundle.js | 2 + ...-mdx.45400b1a.iframe.bundle.js.LICENSE.txt | 9 + ...-Spinner-stories.bb3908b9.iframe.bundle.js | 2 + ...ries.bb3908b9.iframe.bundle.js.LICENSE.txt | 9 + ...AndDownCaret-mdx.7293c6dc.iframe.bundle.js | 2 + ...-mdx.7293c6dc.iframe.bundle.js.LICENSE.txt | 9 + ...ownCaret-stories.ad2af7be.iframe.bundle.js | 2 + ...ries.ad2af7be.iframe.bundle.js.LICENSE.txt | 9 + ...oomIn-ZoomIn-mdx.900f08a2.iframe.bundle.js | 2 + ...-mdx.900f08a2.iframe.bundle.js.LICENSE.txt | 9 + ...n-ZoomIn-stories.a898c946.iframe.bundle.js | 2 + ...ries.a898c946.iframe.bundle.js.LICENSE.txt | 9 + ...mOut-ZoomOut-mdx.4f5c4eb1.iframe.bundle.js | 2 + ...-mdx.4f5c4eb1.iframe.bundle.js.LICENSE.txt | 9 + ...-ZoomOut-stories.4734dd68.iframe.bundle.js | 2 + ...ries.4734dd68.iframe.bundle.js.LICENSE.txt | 9 + favicon.svg | 7 + ...introduction-mdx.05cd2e53.iframe.bundle.js | 2 + ...-mdx.05cd2e53.iframe.bundle.js.LICENSE.txt | 9 + ...peakersState-mdx.ec0a01bc.iframe.bundle.js | 2 + ...-mdx.ec0a01bc.iframe.bundle.js.LICENSE.txt | 9 + ...eAudioStatus-mdx.b5635557.iframe.bundle.js | 2 + ...-mdx.b5635557.iframe.bundle.js.LICENSE.txt | 9 + ...tendeeStatus-mdx.91dc43d0.iframe.bundle.js | 2 + ...-mdx.91dc43d0.iframe.bundle.js.LICENSE.txt | 9 + ...riggerStatus-mdx.702fd34b.iframe.bundle.js | 2 + ...-mdx.702fd34b.iframe.bundle.js.LICENSE.txt | 9 + ...nputActivity-mdx.e70958b2.iframe.bundle.js | 2 + ...-mdx.e70958b2.iframe.bundle.js.LICENSE.txt | 9 + ...ivityPreview-mdx.ebb80517.iframe.bundle.js | 2 + ...-mdx.ebb80517.iframe.bundle.js.LICENSE.txt | 9 + ...treamMetrics-mdx.82236ea3.iframe.bundle.js | 2 + ...-mdx.82236ea3.iframe.bundle.js.LICENSE.txt | 9 + ...eetingStatus-mdx.0f7d1f47.iframe.bundle.js | 2 + ...-mdx.0f7d1f47.iframe.bundle.js.LICENSE.txt | 9 + ...VideoQuality-mdx.43f248ec.iframe.bundle.js | 2 + ...-mdx.43f248ec.iframe.bundle.js.LICENSE.txt | 9 + ...gleLocalMute-mdx.6090609b.iframe.bundle.js | 2 + ...-mdx.6090609b.iframe.bundle.js.LICENSE.txt | 9 + iframe.html | 355 +++++++++ index.html | 132 ++++ index.json | 1 + main.00a5f9a2.iframe.bundle.js | 163 +++++ main.00a5f9a2.iframe.bundle.js.map | 1 + project.json | 1 + ...ideoProvider-mdx.c22a95de.iframe.bundle.js | 2 + ...-mdx.c22a95de.iframe.bundle.js.LICENSE.txt | 9 + ...seAudioVideo-mdx.39d5df8c.iframe.bundle.js | 2 + ...-mdx.39d5df8c.iframe.bundle.js.LICENSE.txt | 9 + ...BlurProvider-mdx.adb9a397.iframe.bundle.js | 2 + ...-mdx.adb9a397.iframe.bundle.js.LICENSE.txt | 9 + ...ckgroundBlur-mdx.9bbb8120.iframe.bundle.js | 2 + ...-mdx.9bbb8120.iframe.bundle.js.LICENSE.txt | 9 + ...mentProvider-mdx.fed610cd.iframe.bundle.js | 2 + ...-mdx.fed610cd.iframe.bundle.js.LICENSE.txt | 9 + ...dReplacement-mdx.875ae03f.iframe.bundle.js | 2 + ...-mdx.875ae03f.iframe.bundle.js.LICENSE.txt | 9 + ...hareProvider-mdx.bca51a1f.iframe.bundle.js | 2 + ...-mdx.bca51a1f.iframe.bundle.js.LICENSE.txt | 9 + ...hareControls-mdx.3f10be93.iframe.bundle.js | 2 + ...-mdx.3f10be93.iframe.bundle.js.LICENSE.txt | 9 + ...ntShareState-mdx.a1f124d5.iframe.bundle.js | 2 + ...-mdx.a1f124d5.iframe.bundle.js.LICENSE.txt | 9 + ...nputProvider-mdx.6487add4.iframe.bundle.js | 2 + ...-mdx.6487add4.iframe.bundle.js.LICENSE.txt | 9 + ...tputProvider-mdx.69a51739.iframe.bundle.js | 2 + ...-mdx.69a51739.iframe.bundle.js.LICENSE.txt | 9 + ...icesProvider-mdx.427589a9.iframe.bundle.js | 2 + ...-mdx.427589a9.iframe.bundle.js.LICENSE.txt | 9 + ...nputProvider-mdx.36c2d647.iframe.bundle.js | 2 + ...-mdx.36c2d647.iframe.bundle.js.LICENSE.txt | 9 + ...eAudioInputs-mdx.a9e24b8d.iframe.bundle.js | 2 + ...-mdx.a9e24b8d.iframe.bundle.js.LICENSE.txt | 9 + ...AudioOutputs-mdx.ba7df6c2.iframe.bundle.js | 2 + ...-mdx.ba7df6c2.iframe.bundle.js.LICENSE.txt | 9 + ...eVideoInputs-mdx.f3bdfeb5.iframe.bundle.js | 2 + ...-mdx.f3bdfeb5.iframe.bundle.js.LICENSE.txt | 9 + ...TileProvider-mdx.db6030ac.iframe.bundle.js | 2 + ...-mdx.db6030ac.iframe.bundle.js.LICENSE.txt | 9 + ...redTileState-mdx.57c6bde2.iframe.bundle.js | 2 + ...-mdx.57c6bde2.iframe.bundle.js.LICENSE.txt | 9 + ...tputProvider-mdx.61b6f93b.iframe.bundle.js | 2 + ...-mdx.61b6f93b.iframe.bundle.js.LICENSE.txt | 9 + ...lAudioOutput-mdx.cc936287.iframe.bundle.js | 2 + ...-mdx.cc936287.iframe.bundle.js.LICENSE.txt | 9 + ...ideoProvider-mdx.ed6abe5a.iframe.bundle.js | 2 + ...-mdx.ed6abe5a.iframe.bundle.js.LICENSE.txt | 9 + ...seLocalVideo-mdx.b5e9f910.iframe.bundle.js | 2 + ...-mdx.b5e9f910.iframe.bundle.js.LICENSE.txt | 9 + ...ggerProvider-mdx.f7998403.iframe.bundle.js | 2 + ...-mdx.f7998403.iframe.bundle.js.LICENSE.txt | 9 + ...ventProvider-mdx.efa216c7.iframe.bundle.js | 2 + ...-mdx.efa216c7.iframe.bundle.js.LICENSE.txt | 9 + ...MeetingEvent-mdx.c7ecaa21.iframe.bundle.js | 2 + ...-mdx.c7ecaa21.iframe.bundle.js.LICENSE.txt | 9 + ...etingManager-mdx.ca1b814d.iframe.bundle.js | 2 + ...-mdx.ca1b814d.iframe.bundle.js.LICENSE.txt | 9 + ...tingProvider-mdx.3b20abb1.iframe.bundle.js | 2 + ...-mdx.3b20abb1.iframe.bundle.js.LICENSE.txt | 9 + ...etingManager-mdx.83bd8690.iframe.bundle.js | 2 + ...-mdx.83bd8690.iframe.bundle.js.LICENSE.txt | 9 + ...tionProvider-mdx.6f615653.iframe.bundle.js | 2 + ...-mdx.6f615653.iframe.bundle.js.LICENSE.txt | 9 + ...tionDispatch-mdx.e831b74c.iframe.bundle.js | 2 + ...-mdx.e831b74c.iframe.bundle.js.LICENSE.txt | 9 + ...icationState-mdx.9b386e16.iframe.bundle.js | 2 + ...-mdx.9b386e16.iframe.bundle.js.LICENSE.txt | 9 + ...TileProvider-mdx.177eae7f.iframe.bundle.js | 2 + ...-mdx.177eae7f.iframe.bundle.js.LICENSE.txt | 9 + ...deoTileState-mdx.10e72cc7.iframe.bundle.js | 2 + ...-mdx.10e72cc7.iframe.bundle.js.LICENSE.txt | 9 + ...sterProvider-mdx.b74f6ea1.iframe.bundle.js | 2 + ...-mdx.b74f6ea1.iframe.bundle.js.LICENSE.txt | 9 + ...eRosterState-mdx.d6cf5e85.iframe.bundle.js | 2 + ...-mdx.d6cf5e85.iframe.bundle.js.LICENSE.txt | 9 + ...vityProvider-mdx.d8e146e0.iframe.bundle.js | 2 + ...-mdx.d8e146e0.iframe.bundle.js.LICENSE.txt | 9 + ...ctivityState-mdx.87ae7d55.iframe.bundle.js | 2 + ...-mdx.87ae7d55.iframe.bundle.js.LICENSE.txt | 9 + ...ocusProvider-mdx.4ae3debd.iframe.bundle.js | 2 + ...-mdx.4ae3debd.iframe.bundle.js.LICENSE.txt | 9 + ...seVoiceFocus-mdx.f459085c.iframe.bundle.js | 2 + ...-mdx.f459085c.iframe.bundle.js.LICENSE.txt | 9 + ...introduction-mdx.21e73c09.iframe.bundle.js | 2 + ...-mdx.21e73c09.iframe.bundle.js.LICENSE.txt | 9 + runtime~main.4d4329f6.iframe.bundle.js | 1 + sb-addons/a11y-8/manager-bundle.js | 4 + sb-addons/a11y-8/manager-bundle.js.LEGAL.txt | 0 sb-addons/a11y-8/manager-bundle.js.map | 7 + .../manager-bundle.js | 13 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js.map | 7 + .../essentials-controls-0/manager-bundle.js | 130 ++++ .../manager-bundle.js.LEGAL.txt | 18 + .../manager-bundle.js.map | 7 + .../essentials-measure-4/manager-bundle.js | 4 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js.map | 7 + .../essentials-outline-5/manager-bundle.js | 4 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js.map | 7 + .../essentials-toolbars-3/manager-bundle.js | 4 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js.map | 7 + .../essentials-viewport-2/manager-bundle.js | 4 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js.map | 7 + sb-addons/storybook-9/manager-bundle.js | 4 + .../storybook-9/manager-bundle.js.LEGAL.txt | 0 sb-addons/storybook-9/manager-bundle.js.map | 7 + sb-addons/storysource-6/manager-bundle.js | 23 + .../storysource-6/manager-bundle.js.LEGAL.txt | 14 + sb-addons/storysource-6/manager-bundle.js.map | 7 + sb-addons/styling-7/manager-bundle.js | 4 + .../styling-7/manager-bundle.js.LEGAL.txt | 0 sb-addons/styling-7/manager-bundle.js.map | 7 + sb-common-assets/fonts.css | 31 + .../nunito-sans-bold-italic.woff2 | Bin 0 -> 49460 bytes sb-common-assets/nunito-sans-bold.woff2 | Bin 0 -> 47144 bytes sb-common-assets/nunito-sans-italic.woff2 | Bin 0 -> 49620 bytes sb-common-assets/nunito-sans-regular.woff2 | Bin 0 -> 47072 bytes ...lobalScrollAreaStyles-XIHNDKUY-F4JIPIHL.js | 1 + .../OverlayScrollbars-VAV6LJAB-K3TMPSMY.js | 6 + sb-manager/WithTooltip-FBT32F6Q-7QJ37TCY.js | 1 + sb-manager/chunk-3FAXWWKG.js | 15 + sb-manager/chunk-54KM6K5Z.js | 7 + sb-manager/chunk-5SUU3UWF.js | 405 ++++++++++ sb-manager/chunk-AS2AMEUR.js | 1 + sb-manager/chunk-F3MVQVF6.js | 207 ++++++ sb-manager/chunk-FENICTK6.js | 1 + sb-manager/chunk-PUVLCKJJ.js | 140 ++++ sb-manager/chunk-QPL63VNK.js | 1 + sb-manager/formatter-S4K5WUZV-4LPR5OBX.js | 156 ++++ sb-manager/globals.js | 1 + sb-manager/index.js | 1 + sb-manager/runtime.js | 1 + .../syntaxhighlighter-QTQ2UBB4-F5YUFYAB.js | 1 + sb-preview/globals.js | 1 + sb-preview/runtime.js | 105 +++ stories.json | 1 + theme-themes-mdx.ea79dea4.iframe.bundle.js | 1 + 590 files changed, 16733 insertions(+) create mode 100644 1229.8675e4d2.iframe.bundle.js create mode 100644 1229.8675e4d2.iframe.bundle.js.map create mode 100644 2169.30d093a3.iframe.bundle.js create mode 100644 2307.cca969a8.iframe.bundle.js create mode 100644 2333.3da7f464.iframe.bundle.js create mode 100644 2642.8420b84d.iframe.bundle.js create mode 100644 2642.8420b84d.iframe.bundle.js.map create mode 100644 3019.24421870.iframe.bundle.js create mode 100644 3410.f71b5d4f.iframe.bundle.js create mode 100644 3410.f71b5d4f.iframe.bundle.js.LICENSE.txt create mode 100644 3547.f5acf0e8.iframe.bundle.js create mode 100644 3547.f5acf0e8.iframe.bundle.js.LICENSE.txt create mode 100644 3694.24fccbab.iframe.bundle.js create mode 100644 3694.24fccbab.iframe.bundle.js.LICENSE.txt create mode 100644 3694.24fccbab.iframe.bundle.js.map create mode 100644 4961.9e817cf2.iframe.bundle.js create mode 100644 4961.9e817cf2.iframe.bundle.js.map create mode 100644 5039.f195d6c4.iframe.bundle.js create mode 100644 5698.a4079c7b.iframe.bundle.js create mode 100644 5698.a4079c7b.iframe.bundle.js.map create mode 100644 7041.0e6e4fa2.iframe.bundle.js create mode 100644 7098.dd713df1.iframe.bundle.js create mode 100644 8548.826ab5d3.iframe.bundle.js create mode 100644 8548.826ab5d3.iframe.bundle.js.map create mode 100644 8800.cdf0b1f9.iframe.bundle.js create mode 100644 8800.cdf0b1f9.iframe.bundle.js.map create mode 100644 9059.0e77d1c6.iframe.bundle.js create mode 100644 9059.0e77d1c6.iframe.bundle.js.LICENSE.txt create mode 100644 9115.65a58fb1.iframe.bundle.js create mode 100644 9115.65a58fb1.iframe.bundle.js.LICENSE.txt create mode 100644 9240.501b0884.iframe.bundle.js create mode 100644 9240.501b0884.iframe.bundle.js.LICENSE.txt create mode 100644 9240.501b0884.iframe.bundle.js.map create mode 100644 9406.aa289d0e.iframe.bundle.js create mode 100644 9406.aa289d0e.iframe.bundle.js.map create mode 100644 9433.7231370c.iframe.bundle.js create mode 100644 954.28542041.iframe.bundle.js create mode 100644 9720.177af8bc.iframe.bundle.js create mode 100644 components-introduction-mdx.7b90d264.iframe.bundle.js create mode 100644 components-introduction-mdx.7b90d264.iframe.bundle.js.LICENSE.txt create mode 100644 components-migrationToV2-mdx.766a5e32.iframe.bundle.js create mode 100644 components-migrationToV2-mdx.766a5e32.iframe.bundle.js.LICENSE.txt create mode 100644 components-migrationToV3-mdx.1bce875e.iframe.bundle.js create mode 100644 components-migrationToV3-mdx.1bce875e.iframe.bundle.js.LICENSE.txt create mode 100644 components-quickStarts-mdx.7128a795.iframe.bundle.js create mode 100644 components-quickStarts-mdx.7128a795.iframe.bundle.js.LICENSE.txt create mode 100644 components-sdk-ContentShare-ContentShare-mdx.cbf0b15b.iframe.bundle.js create mode 100644 components-sdk-ContentShare-ContentShare-mdx.cbf0b15b.iframe.bundle.js.map create mode 100644 components-sdk-DeviceSelection-docs-CameraSelection-mdx.0d0caad1.iframe.bundle.js create mode 100644 components-sdk-DeviceSelection-docs-CameraSelection-mdx.0d0caad1.iframe.bundle.js.map create mode 100644 components-sdk-DeviceSelection-docs-MicSelection-mdx.54fc7e2e.iframe.bundle.js create mode 100644 components-sdk-DeviceSelection-docs-MicSelection-mdx.54fc7e2e.iframe.bundle.js.map create mode 100644 components-sdk-DeviceSelection-docs-QualitySelection-mdx.e291463c.iframe.bundle.js create mode 100644 components-sdk-DeviceSelection-docs-QualitySelection-mdx.e291463c.iframe.bundle.js.map create mode 100644 components-sdk-DeviceSelection-docs-SpeakerSelection-mdx.c269fda5.iframe.bundle.js create mode 100644 components-sdk-DeviceSelection-docs-SpeakerSelection-mdx.c269fda5.iframe.bundle.js.map create mode 100644 components-sdk-FeaturedRemoteVideos-FeaturedRemoteVideos-mdx.9feb3ade.iframe.bundle.js create mode 100644 components-sdk-LocalVideo-LocalVideo-mdx.bdc6458a.iframe.bundle.js create mode 100644 components-sdk-LocalVideo-LocalVideo-mdx.bdc6458a.iframe.bundle.js.map create mode 100644 components-sdk-MeetingControls-docs-AudioInputControl-mdx.3c9f55d5.iframe.bundle.js create mode 100644 components-sdk-MeetingControls-docs-AudioInputVFControl-mdx.340b5d53.iframe.bundle.js create mode 100644 components-sdk-MeetingControls-docs-AudioOutputControl-mdx.e072372a.iframe.bundle.js create mode 100644 components-sdk-MeetingControls-docs-ContentShareControl-mdx.56e144ea.iframe.bundle.js create mode 100644 components-sdk-MeetingControls-docs-VideoInputBackgroundBlurControl-mdx.72b12215.iframe.bundle.js create mode 100644 components-sdk-MeetingControls-docs-VideoInputControl-mdx.541cbf1c.iframe.bundle.js create mode 100644 components-sdk-MicrophoneActivity-MicrophoneActivity-mdx.f8218183.iframe.bundle.js create mode 100644 components-sdk-MicrophoneActivity-MicrophoneActivity-mdx.f8218183.iframe.bundle.js.map create mode 100644 components-sdk-PreviewVideo-PreviewVideo-mdx.33d34a5e.iframe.bundle.js create mode 100644 components-sdk-PreviewVideo-PreviewVideo-mdx.33d34a5e.iframe.bundle.js.map create mode 100644 components-sdk-RemoteVideo-RemoteVideo-mdx.31f288ab.iframe.bundle.js create mode 100644 components-sdk-RemoteVideo-RemoteVideo-mdx.31f288ab.iframe.bundle.js.map create mode 100644 components-sdk-RemoteVideos-RemoteVideos-mdx.628ad945.iframe.bundle.js create mode 100644 components-sdk-RemoteVideos-RemoteVideos-mdx.628ad945.iframe.bundle.js.map create mode 100644 components-sdk-RosterAttendee-RosterAttendee-mdx.f751d4fb.iframe.bundle.js create mode 100644 components-sdk-RosterAttendee-RosterAttendee-mdx.f751d4fb.iframe.bundle.js.map create mode 100644 components-sdk-VideoTileGrid-VideoTileGrid-mdx.ecdbcfd8.iframe.bundle.js create mode 100644 components-sdk-VideoTileGrid-VideoTileGrid-mdx.ecdbcfd8.iframe.bundle.js.map create mode 100644 components-sdk-introduction-mdx.e51cbf1b.iframe.bundle.js create mode 100644 components-sdk-introduction-mdx.e51cbf1b.iframe.bundle.js.LICENSE.txt create mode 100644 components-stylingGuide-mdx.25359146.iframe.bundle.js create mode 100644 components-stylingGuide-mdx.25359146.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-Badge-Badge-mdx.3a115da8.iframe.bundle.js create mode 100644 components-ui-Badge-Badge-mdx.3a115da8.iframe.bundle.js.map create mode 100644 components-ui-Badge-Badge-stories.9ed3afa8.iframe.bundle.js create mode 100644 components-ui-Badge-Badge-stories.9ed3afa8.iframe.bundle.js.map create mode 100644 components-ui-Button-Button-mdx.9a55c3a5.iframe.bundle.js create mode 100644 components-ui-Button-Button-mdx.9a55c3a5.iframe.bundle.js.map create mode 100644 components-ui-Button-Button-stories.f895334b.iframe.bundle.js create mode 100644 components-ui-Button-Button-stories.f895334b.iframe.bundle.js.map create mode 100644 components-ui-Chat-ChannelList-ChannelList-mdx.179b18ee.iframe.bundle.js create mode 100644 components-ui-Chat-ChannelList-ChannelList-mdx.179b18ee.iframe.bundle.js.map create mode 100644 components-ui-Chat-ChannelList-ChannelList-stories.1f9ae2ab.iframe.bundle.js create mode 100644 components-ui-Chat-ChannelList-ChannelList-stories.1f9ae2ab.iframe.bundle.js.map create mode 100644 components-ui-Chat-ChatBubble-ChatBubble-mdx.acf596f8.iframe.bundle.js create mode 100644 components-ui-Chat-ChatBubble-ChatBubble-mdx.acf596f8.iframe.bundle.js.map create mode 100644 components-ui-Chat-ChatBubble-ChatBubble-stories.76ac9f4f.iframe.bundle.js create mode 100644 components-ui-Chat-ChatBubble-ChatBubble-stories.76ac9f4f.iframe.bundle.js.map create mode 100644 components-ui-Chat-ChatBubble-ChatBubbleContainer-mdx.6fbae7c1.iframe.bundle.js create mode 100644 components-ui-Chat-ChatBubble-ChatBubbleContainer-stories.7543e6e4.iframe.bundle.js create mode 100644 components-ui-Chat-ChatBubble-EditableChatBubble-mdx.b2a03a4a.iframe.bundle.js create mode 100644 components-ui-Chat-ChatBubble-EditableChatBubble-mdx.b2a03a4a.iframe.bundle.js.map create mode 100644 components-ui-Chat-ChatBubble-EditableChatBubble-stories.e3fb26d5.iframe.bundle.js create mode 100644 components-ui-Chat-ChatBubble-EditableChatBubble-stories.e3fb26d5.iframe.bundle.js.map create mode 100644 components-ui-Chat-InfiniteList-InfiniteList-mdx.8b2d5655.iframe.bundle.js create mode 100644 components-ui-Chat-InfiniteList-InfiniteList-mdx.8b2d5655.iframe.bundle.js.map create mode 100644 components-ui-Chat-InfiniteList-InfiniteList-stories.a35c6ec7.iframe.bundle.js create mode 100644 components-ui-Chat-InfiniteList-InfiniteList-stories.a35c6ec7.iframe.bundle.js.map create mode 100644 components-ui-Chat-MessageAttachment-Attachment-mdx.530607f0.iframe.bundle.js create mode 100644 components-ui-Chat-MessageAttachment-Attachment-mdx.530607f0.iframe.bundle.js.map create mode 100644 components-ui-Chat-MessageAttachment-Attachment-stories.ec3a4ccd.iframe.bundle.js create mode 100644 components-ui-Chat-MessageAttachment-Attachment-stories.ec3a4ccd.iframe.bundle.js.map create mode 100644 components-ui-Checkbox-Checkbox-mdx.9dc82499.iframe.bundle.js create mode 100644 components-ui-Checkbox-Checkbox-mdx.9dc82499.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-Checkbox-Checkbox-mdx.9dc82499.iframe.bundle.js.map create mode 100644 components-ui-Checkbox-Checkbox-stories.150817c5.iframe.bundle.js create mode 100644 components-ui-Checkbox-Checkbox-stories.150817c5.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-Checkbox-Checkbox-stories.150817c5.iframe.bundle.js.map create mode 100644 components-ui-ContentTile-ContentTile-mdx.2ea00e75.iframe.bundle.js create mode 100644 components-ui-ContentTile-ContentTile-mdx.2ea00e75.iframe.bundle.js.map create mode 100644 components-ui-ContentTile-ContentTile-stories.adb0b6ae.iframe.bundle.js create mode 100644 components-ui-ContentTile-ContentTile-stories.adb0b6ae.iframe.bundle.js.map create mode 100644 components-ui-ControlBar-ControlBar-mdx.2b8540fe.iframe.bundle.js create mode 100644 components-ui-ControlBar-ControlBar-stories.9042f69a.iframe.bundle.js create mode 100644 components-ui-Flex-docs-Flex-mdx.fbc77bc1.iframe.bundle.js create mode 100644 components-ui-Flex-docs-Flex-mdx.fbc77bc1.iframe.bundle.js.map create mode 100644 components-ui-Flex-docs-Flex-stories.72abd472.iframe.bundle.js create mode 100644 components-ui-Flex-docs-Flex-stories.72abd472.iframe.bundle.js.map create mode 100644 components-ui-FormField-FormField-mdx.b18f9fc6.iframe.bundle.js create mode 100644 components-ui-FormField-FormField-mdx.b18f9fc6.iframe.bundle.js.map create mode 100644 components-ui-FormField-FormField-stories.7b3032ed.iframe.bundle.js create mode 100644 components-ui-FormField-FormField-stories.7b3032ed.iframe.bundle.js.map create mode 100644 components-ui-Grid-Grid-mdx.eb86a311.iframe.bundle.js create mode 100644 components-ui-Grid-Grid-mdx.eb86a311.iframe.bundle.js.map create mode 100644 components-ui-Grid-Grid-stories.55265014.iframe.bundle.js create mode 100644 components-ui-Grid-Grid-stories.55265014.iframe.bundle.js.map create mode 100644 components-ui-Heading-Heading-mdx.17a9344a.iframe.bundle.js create mode 100644 components-ui-Heading-Heading-mdx.17a9344a.iframe.bundle.js.map create mode 100644 components-ui-Heading-Heading-stories.afd951fb.iframe.bundle.js create mode 100644 components-ui-Heading-Heading-stories.afd951fb.iframe.bundle.js.map create mode 100644 components-ui-Input-Input-mdx.c2a0fa0b.iframe.bundle.js create mode 100644 components-ui-Input-Input-mdx.c2a0fa0b.iframe.bundle.js.map create mode 100644 components-ui-Input-Input-stories.b9e2034b.iframe.bundle.js create mode 100644 components-ui-Input-Input-stories.b9e2034b.iframe.bundle.js.map create mode 100644 components-ui-Label-Label-mdx.cd52b2fe.iframe.bundle.js create mode 100644 components-ui-Label-Label-mdx.cd52b2fe.iframe.bundle.js.map create mode 100644 components-ui-Label-Label-stories.8e7fa223.iframe.bundle.js create mode 100644 components-ui-Label-Label-stories.8e7fa223.iframe.bundle.js.map create mode 100644 components-ui-Modal-Modal-mdx.fe30cb95.iframe.bundle.js create mode 100644 components-ui-Modal-Modal-stories.2706ed3e.iframe.bundle.js create mode 100644 components-ui-Modal-Modal-stories.2706ed3e.iframe.bundle.js.map create mode 100644 components-ui-Navbar-Navbar-mdx.fa6b0689.iframe.bundle.js create mode 100644 components-ui-Navbar-Navbar-stories.636429b4.iframe.bundle.js create mode 100644 components-ui-Navbar-Navbar-stories.636429b4.iframe.bundle.js.map create mode 100644 components-ui-Notification-Notification-mdx.4d622c55.iframe.bundle.js create mode 100644 components-ui-Notification-Notification-mdx.4d622c55.iframe.bundle.js.map create mode 100644 components-ui-Notification-Notification-stories.72516900.iframe.bundle.js create mode 100644 components-ui-Notification-Notification-stories.72516900.iframe.bundle.js.map create mode 100644 components-ui-NotificationGroup-NotificationGroup-mdx.03ae82e5.iframe.bundle.js create mode 100644 components-ui-NotificationGroup-NotificationGroup-mdx.03ae82e5.iframe.bundle.js.map create mode 100644 components-ui-NotificationGroup-NotificationGroup-stories.b3f7c787.iframe.bundle.js create mode 100644 components-ui-NotificationGroup-NotificationGroup-stories.b3f7c787.iframe.bundle.js.map create mode 100644 components-ui-PopOver-PopOver-mdx.f0118ea4.iframe.bundle.js create mode 100644 components-ui-PopOver-PopOver-mdx.f0118ea4.iframe.bundle.js.map create mode 100644 components-ui-PopOver-PopOver-stories.c9c6e1cf.iframe.bundle.js create mode 100644 components-ui-PopOver-PopOver-stories.c9c6e1cf.iframe.bundle.js.map create mode 100644 components-ui-Portal-Portal-mdx.0bfbb1fd.iframe.bundle.js create mode 100644 components-ui-Portal-Portal-mdx.0bfbb1fd.iframe.bundle.js.map create mode 100644 components-ui-Portal-Portal-stories.56217792.iframe.bundle.js create mode 100644 components-ui-Portal-Portal-stories.56217792.iframe.bundle.js.map create mode 100644 components-ui-Radio-Radio-mdx.19a252db.iframe.bundle.js create mode 100644 components-ui-Radio-Radio-mdx.19a252db.iframe.bundle.js.map create mode 100644 components-ui-Radio-Radio-stories.fc296b31.iframe.bundle.js create mode 100644 components-ui-Radio-Radio-stories.fc296b31.iframe.bundle.js.map create mode 100644 components-ui-RadioGroup-RadioGroup-mdx.d97ce03d.iframe.bundle.js create mode 100644 components-ui-RadioGroup-RadioGroup-mdx.d97ce03d.iframe.bundle.js.map create mode 100644 components-ui-RadioGroup-RadioGroup-stories.b5437601.iframe.bundle.js create mode 100644 components-ui-RadioGroup-RadioGroup-stories.b5437601.iframe.bundle.js.map create mode 100644 components-ui-Roster-Roster-mdx.b952a050.iframe.bundle.js create mode 100644 components-ui-Roster-Roster-stories.295081a8.iframe.bundle.js create mode 100644 components-ui-Roster-Roster-stories.295081a8.iframe.bundle.js.map create mode 100644 components-ui-Select-Select-mdx.26fd52ff.iframe.bundle.js create mode 100644 components-ui-Select-Select-mdx.26fd52ff.iframe.bundle.js.map create mode 100644 components-ui-Select-Select-stories.7507cb84.iframe.bundle.js create mode 100644 components-ui-Select-Select-stories.7507cb84.iframe.bundle.js.map create mode 100644 components-ui-Textarea-Textarea-mdx.5467d5eb.iframe.bundle.js create mode 100644 components-ui-Textarea-Textarea-mdx.5467d5eb.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-Textarea-Textarea-mdx.5467d5eb.iframe.bundle.js.map create mode 100644 components-ui-Textarea-Textarea-stories.8356f888.iframe.bundle.js create mode 100644 components-ui-Textarea-Textarea-stories.8356f888.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-Textarea-Textarea-stories.8356f888.iframe.bundle.js.map create mode 100644 components-ui-VideoGrid-VideoGrid-mdx.d32f8c37.iframe.bundle.js create mode 100644 components-ui-VideoGrid-VideoGrid-stories.cec8284f.iframe.bundle.js create mode 100644 components-ui-VideoTile-VideoTile-mdx.ac90b474.iframe.bundle.js create mode 100644 components-ui-VideoTile-VideoTile-mdx.ac90b474.iframe.bundle.js.map create mode 100644 components-ui-VideoTile-VideoTile-stories.0274635d.iframe.bundle.js create mode 100644 components-ui-VideoTile-VideoTile-stories.0274635d.iframe.bundle.js.map create mode 100644 components-ui-WithTooltip-WithTooltip-mdx.a0d88a54.iframe.bundle.js create mode 100644 components-ui-WithTooltip-WithTooltip-mdx.a0d88a54.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-WithTooltip-WithTooltip-mdx.a0d88a54.iframe.bundle.js.map create mode 100644 components-ui-icons-Add-Add-mdx.e0f0b449.iframe.bundle.js create mode 100644 components-ui-icons-Add-Add-mdx.e0f0b449.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Add-Add-stories.552cd67e.iframe.bundle.js create mode 100644 components-ui-icons-Add-Add-stories.552cd67e.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-All-All-stories.3915f624.iframe.bundle.js create mode 100644 components-ui-icons-All-All-stories.3915f624.iframe.bundle.js.map create mode 100644 components-ui-icons-Arrow-Arrow-mdx.79b62b2d.iframe.bundle.js create mode 100644 components-ui-icons-Arrow-Arrow-mdx.79b62b2d.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Arrow-Arrow-mdx.79b62b2d.iframe.bundle.js.map create mode 100644 components-ui-icons-Arrow-Arrow-stories.ddbc75b8.iframe.bundle.js create mode 100644 components-ui-icons-Arrow-Arrow-stories.ddbc75b8.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Arrow-Arrow-stories.ddbc75b8.iframe.bundle.js.map create mode 100644 components-ui-icons-Attachment-Attachment-mdx.5b1027db.iframe.bundle.js create mode 100644 components-ui-icons-Attachment-Attachment-mdx.5b1027db.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Attachment-Attachment-stories.46b46d6e.iframe.bundle.js create mode 100644 components-ui-icons-Attachment-Attachment-stories.46b46d6e.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Attendees-Attendees-mdx.345c8348.iframe.bundle.js create mode 100644 components-ui-icons-Attendees-Attendees-mdx.345c8348.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Attendees-Attendees-stories.7449f319.iframe.bundle.js create mode 100644 components-ui-icons-Attendees-Attendees-stories.7449f319.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Camera-Camera-mdx.85ccf22e.iframe.bundle.js create mode 100644 components-ui-icons-Camera-Camera-mdx.85ccf22e.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Camera-Camera-stories.6a068c00.iframe.bundle.js create mode 100644 components-ui-icons-Camera-Camera-stories.6a068c00.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Caret-Caret-mdx.cfcd4a56.iframe.bundle.js create mode 100644 components-ui-icons-Caret-Caret-mdx.cfcd4a56.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Caret-Caret-mdx.cfcd4a56.iframe.bundle.js.map create mode 100644 components-ui-icons-Caret-Caret-stories.0ef6dbc4.iframe.bundle.js create mode 100644 components-ui-icons-Caret-Caret-stories.0ef6dbc4.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Caret-Caret-stories.0ef6dbc4.iframe.bundle.js.map create mode 100644 components-ui-icons-Caution-Caution-mdx.b9877640.iframe.bundle.js create mode 100644 components-ui-icons-Caution-Caution-mdx.b9877640.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Caution-Caution-mdx.b9877640.iframe.bundle.js.map create mode 100644 components-ui-icons-Caution-Caution-stories.31adf491.iframe.bundle.js create mode 100644 components-ui-icons-Caution-Caution-stories.31adf491.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Caution-Caution-stories.31adf491.iframe.bundle.js.map create mode 100644 components-ui-icons-Chat-Chat-mdx.27b19c85.iframe.bundle.js create mode 100644 components-ui-icons-Chat-Chat-mdx.27b19c85.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Chat-Chat-stories.88856760.iframe.bundle.js create mode 100644 components-ui-icons-Chat-Chat-stories.88856760.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Check-Check-mdx.16ce468c.iframe.bundle.js create mode 100644 components-ui-icons-Check-Check-mdx.16ce468c.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Check-Check-stories.dbea0fd7.iframe.bundle.js create mode 100644 components-ui-icons-Check-Check-stories.dbea0fd7.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-CheckRound-CheckRound-mdx.6c449e81.iframe.bundle.js create mode 100644 components-ui-icons-CheckRound-CheckRound-mdx.6c449e81.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-CheckRound-CheckRound-stories.07edacdb.iframe.bundle.js create mode 100644 components-ui-icons-CheckRound-CheckRound-stories.07edacdb.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Clear-Clear-mdx.71a5d3e8.iframe.bundle.js create mode 100644 components-ui-icons-Clear-Clear-mdx.71a5d3e8.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Clear-Clear-stories.10592c89.iframe.bundle.js create mode 100644 components-ui-icons-Clear-Clear-stories.10592c89.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Clock-Clock-mdx.92a40c80.iframe.bundle.js create mode 100644 components-ui-icons-Clock-Clock-mdx.92a40c80.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Clock-Clock-stories.5ac4539a.iframe.bundle.js create mode 100644 components-ui-icons-Clock-Clock-stories.5ac4539a.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Cog-Cog-mdx.6be718df.iframe.bundle.js create mode 100644 components-ui-icons-Cog-Cog-mdx.6be718df.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Cog-Cog-stories.24fabfc5.iframe.bundle.js create mode 100644 components-ui-icons-Cog-Cog-stories.24fabfc5.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-ConnectionProblem-ConnectionProblem-mdx.050c15de.iframe.bundle.js create mode 100644 components-ui-icons-ConnectionProblem-ConnectionProblem-mdx.050c15de.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-ConnectionProblem-ConnectionProblem-stories.7fcc5f84.iframe.bundle.js create mode 100644 components-ui-icons-ConnectionProblem-ConnectionProblem-stories.7fcc5f84.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Crown-Crown-mdx.292a4a64.iframe.bundle.js create mode 100644 components-ui-icons-Crown-Crown-mdx.292a4a64.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Crown-Crown-stories.5a82fbc4.iframe.bundle.js create mode 100644 components-ui-icons-Crown-Crown-stories.5a82fbc4.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-DeskPhone-DeskPhone-mdx.aefcb77d.iframe.bundle.js create mode 100644 components-ui-icons-DeskPhone-DeskPhone-mdx.aefcb77d.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-DeskPhone-DeskPhone-stories.7c58f47b.iframe.bundle.js create mode 100644 components-ui-icons-DeskPhone-DeskPhone-stories.7c58f47b.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Dialer-Dialer-mdx.ee5c711e.iframe.bundle.js create mode 100644 components-ui-icons-Dialer-Dialer-mdx.ee5c711e.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Dialer-Dialer-stories.cfbbea39.iframe.bundle.js create mode 100644 components-ui-icons-Dialer-Dialer-stories.cfbbea39.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Dislike-Dislike-mdx.710c07b4.iframe.bundle.js create mode 100644 components-ui-icons-Dislike-Dislike-mdx.710c07b4.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Dislike-Dislike-stories.e170a76b.iframe.bundle.js create mode 100644 components-ui-icons-Dislike-Dislike-stories.e170a76b.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Dock-Dock-mdx.4210231c.iframe.bundle.js create mode 100644 components-ui-icons-Dock-Dock-mdx.4210231c.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Dock-Dock-stories.81005c09.iframe.bundle.js create mode 100644 components-ui-icons-Dock-Dock-stories.81005c09.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Document-Document-mdx.3e2c6e6b.iframe.bundle.js create mode 100644 components-ui-icons-Document-Document-mdx.3e2c6e6b.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Document-Document-stories.a64f0ad5.iframe.bundle.js create mode 100644 components-ui-icons-Document-Document-stories.a64f0ad5.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Dots-Dots-mdx.ba8ef9b2.iframe.bundle.js create mode 100644 components-ui-icons-Dots-Dots-mdx.ba8ef9b2.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Dots-Dots-stories.6c3ca04a.iframe.bundle.js create mode 100644 components-ui-icons-Dots-Dots-stories.6c3ca04a.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-DropToAttach-DropToAttach-mdx.b3894bd2.iframe.bundle.js create mode 100644 components-ui-icons-DropToAttach-DropToAttach-mdx.b3894bd2.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-DropToAttach-DropToAttach-stories.7d481f70.iframe.bundle.js create mode 100644 components-ui-icons-DropToAttach-DropToAttach-stories.7d481f70.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Echo-Echo-mdx.acf95986.iframe.bundle.js create mode 100644 components-ui-icons-Echo-Echo-mdx.acf95986.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Echo-Echo-stories.1221d9f8.iframe.bundle.js create mode 100644 components-ui-icons-Echo-Echo-stories.1221d9f8.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-EmojiPicker-EmojiPicker-mdx.b5b80295.iframe.bundle.js create mode 100644 components-ui-icons-EmojiPicker-EmojiPicker-mdx.b5b80295.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-EmojiPicker-EmojiPicker-stories.f9fb529e.iframe.bundle.js create mode 100644 components-ui-icons-EmojiPicker-EmojiPicker-stories.f9fb529e.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Eye-Eye-mdx.e104daee.iframe.bundle.js create mode 100644 components-ui-icons-Eye-Eye-mdx.e104daee.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Eye-Eye-stories.1cdf171d.iframe.bundle.js create mode 100644 components-ui-icons-Eye-Eye-stories.1cdf171d.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Feedback-Feedback-mdx.7e09373f.iframe.bundle.js create mode 100644 components-ui-icons-Feedback-Feedback-mdx.7e09373f.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Feedback-Feedback-stories.b8edc4c4.iframe.bundle.js create mode 100644 components-ui-icons-Feedback-Feedback-stories.b8edc4c4.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Hamburger-Hamburger-mdx.f8ba20f7.iframe.bundle.js create mode 100644 components-ui-icons-Hamburger-Hamburger-mdx.f8ba20f7.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Hamburger-Hamburger-stories.8ac8c698.iframe.bundle.js create mode 100644 components-ui-icons-Hamburger-Hamburger-stories.8ac8c698.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-HandRaise-HandRaise-mdx.5e7207d7.iframe.bundle.js create mode 100644 components-ui-icons-HandRaise-HandRaise-mdx.5e7207d7.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-HandRaise-HandRaise-mdx.5e7207d7.iframe.bundle.js.map create mode 100644 components-ui-icons-HandRaise-HandRaise-stories.0ccffb76.iframe.bundle.js create mode 100644 components-ui-icons-HandRaise-HandRaise-stories.0ccffb76.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-HandRaise-HandRaise-stories.0ccffb76.iframe.bundle.js.map create mode 100644 components-ui-icons-Information-Information-mdx.db68ba40.iframe.bundle.js create mode 100644 components-ui-icons-Information-Information-mdx.db68ba40.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Information-Information-stories.b2267e7e.iframe.bundle.js create mode 100644 components-ui-icons-Information-Information-stories.b2267e7e.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Introduction-mdx.fbb6b12b.iframe.bundle.js create mode 100644 components-ui-icons-Introduction-mdx.fbb6b12b.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Laptop-Laptop-mdx.88d9224a.iframe.bundle.js create mode 100644 components-ui-icons-Laptop-Laptop-mdx.88d9224a.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Laptop-Laptop-stories.8b90417f.iframe.bundle.js create mode 100644 components-ui-icons-Laptop-Laptop-stories.8b90417f.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-LeaveMeeting-LeaveMeeting-mdx.70bfb000.iframe.bundle.js create mode 100644 components-ui-icons-LeaveMeeting-LeaveMeeting-mdx.70bfb000.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-LeaveMeeting-LeaveMeeting-stories.2a9ae759.iframe.bundle.js create mode 100644 components-ui-icons-LeaveMeeting-LeaveMeeting-stories.2a9ae759.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Like-Like-mdx.6b7ea9d3.iframe.bundle.js create mode 100644 components-ui-icons-Like-Like-mdx.6b7ea9d3.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Like-Like-stories.e8b5a3e5.iframe.bundle.js create mode 100644 components-ui-icons-Like-Like-stories.e8b5a3e5.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-ListHandRasie-ListHandRaise-mdx.ce0cfdd6.iframe.bundle.js create mode 100644 components-ui-icons-ListHandRasie-ListHandRaise-mdx.ce0cfdd6.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-ListHandRasie-ListHandRaise-stories.de6bf721.iframe.bundle.js create mode 100644 components-ui-icons-ListHandRasie-ListHandRaise-stories.de6bf721.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Lock-Lock-mdx.6b2ab8de.iframe.bundle.js create mode 100644 components-ui-icons-Lock-Lock-mdx.6b2ab8de.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Lock-Lock-stories.1ac408e3.iframe.bundle.js create mode 100644 components-ui-icons-Lock-Lock-stories.1ac408e3.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Meeting-Meeting-mdx.71db8a0d.iframe.bundle.js create mode 100644 components-ui-icons-Meeting-Meeting-mdx.71db8a0d.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Meeting-Meeting-stories.14a96b29.iframe.bundle.js create mode 100644 components-ui-icons-Meeting-Meeting-stories.14a96b29.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Microphone-Microphone-mdx.2649ac29.iframe.bundle.js create mode 100644 components-ui-icons-Microphone-Microphone-mdx.2649ac29.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Microphone-Microphone-mdx.2649ac29.iframe.bundle.js.map create mode 100644 components-ui-icons-Microphone-Microphone-stories.cfae2993.iframe.bundle.js create mode 100644 components-ui-icons-Microphone-Microphone-stories.cfae2993.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Microphone-Microphone-stories.cfae2993.iframe.bundle.js.map create mode 100644 components-ui-icons-Pause-Pause-mdx.67424606.iframe.bundle.js create mode 100644 components-ui-icons-Pause-Pause-mdx.67424606.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Pause-Pause-stories.b62eb234.iframe.bundle.js create mode 100644 components-ui-icons-Pause-Pause-stories.b62eb234.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Phone-Phone-mdx.065136b9.iframe.bundle.js create mode 100644 components-ui-icons-Phone-Phone-mdx.065136b9.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Phone-Phone-stories.3ab6b202.iframe.bundle.js create mode 100644 components-ui-icons-Phone-Phone-stories.3ab6b202.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Pin-Pin-mdx.896d0e38.iframe.bundle.js create mode 100644 components-ui-icons-Pin-Pin-mdx.896d0e38.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Pin-Pin-stories.911ada69.iframe.bundle.js create mode 100644 components-ui-icons-Pin-Pin-stories.911ada69.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Play-Play-mdx.ae8d8418.iframe.bundle.js create mode 100644 components-ui-icons-Play-Play-mdx.ae8d8418.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Play-Play-stories.c49e53d1.iframe.bundle.js create mode 100644 components-ui-icons-Play-Play-stories.c49e53d1.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Presenter-Presenter-mdx.bbb9d538.iframe.bundle.js create mode 100644 components-ui-icons-Presenter-Presenter-mdx.bbb9d538.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Presenter-Presenter-stories.088a3001.iframe.bundle.js create mode 100644 components-ui-icons-Presenter-Presenter-stories.088a3001.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Record-Record-mdx.46eb8dc7.iframe.bundle.js create mode 100644 components-ui-icons-Record-Record-mdx.46eb8dc7.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Record-Record-stories.633149af.iframe.bundle.js create mode 100644 components-ui-icons-Record-Record-stories.633149af.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Remove-Remove-mdx.07376b1c.iframe.bundle.js create mode 100644 components-ui-icons-Remove-Remove-mdx.07376b1c.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Remove-Remove-stories.169e9322.iframe.bundle.js create mode 100644 components-ui-icons-Remove-Remove-stories.169e9322.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Rooms-Rooms-mdx.5206ffd3.iframe.bundle.js create mode 100644 components-ui-icons-Rooms-Rooms-mdx.5206ffd3.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Rooms-Rooms-stories.eb44f2e7.iframe.bundle.js create mode 100644 components-ui-icons-Rooms-Rooms-stories.eb44f2e7.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-ScreenShare-ScreenShare-mdx.f129e568.iframe.bundle.js create mode 100644 components-ui-icons-ScreenShare-ScreenShare-mdx.f129e568.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-ScreenShare-ScreenShare-stories.144866d3.iframe.bundle.js create mode 100644 components-ui-icons-ScreenShare-ScreenShare-stories.144866d3.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Search-Search-mdx.d1315a0d.iframe.bundle.js create mode 100644 components-ui-icons-Search-Search-mdx.d1315a0d.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Search-Search-stories.91829bba.iframe.bundle.js create mode 100644 components-ui-icons-Search-Search-stories.91829bba.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Share-Share-mdx.96aba116.iframe.bundle.js create mode 100644 components-ui-icons-Share-Share-mdx.96aba116.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Share-Share-stories.97701f2c.iframe.bundle.js create mode 100644 components-ui-icons-Share-Share-stories.97701f2c.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-SignalStrength-SignalStrength-mdx.efafdfed.iframe.bundle.js create mode 100644 components-ui-icons-SignalStrength-SignalStrength-mdx.efafdfed.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-SignalStrength-SignalStrength-stories.929e86bc.iframe.bundle.js create mode 100644 components-ui-icons-SignalStrength-SignalStrength-stories.929e86bc.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Sound-Sound-mdx.f6fcb6fe.iframe.bundle.js create mode 100644 components-ui-icons-Sound-Sound-mdx.f6fcb6fe.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Sound-Sound-stories.473a1c0d.iframe.bundle.js create mode 100644 components-ui-icons-Sound-Sound-stories.473a1c0d.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Spinner-Spinner-mdx.45400b1a.iframe.bundle.js create mode 100644 components-ui-icons-Spinner-Spinner-mdx.45400b1a.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-Spinner-Spinner-stories.bb3908b9.iframe.bundle.js create mode 100644 components-ui-icons-Spinner-Spinner-stories.bb3908b9.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-UpAndDownCaret-UpAndDownCaret-mdx.7293c6dc.iframe.bundle.js create mode 100644 components-ui-icons-UpAndDownCaret-UpAndDownCaret-mdx.7293c6dc.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-UpAndDownCaret-UpAndDownCaret-stories.ad2af7be.iframe.bundle.js create mode 100644 components-ui-icons-UpAndDownCaret-UpAndDownCaret-stories.ad2af7be.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-ZoomIn-ZoomIn-mdx.900f08a2.iframe.bundle.js create mode 100644 components-ui-icons-ZoomIn-ZoomIn-mdx.900f08a2.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-ZoomIn-ZoomIn-stories.a898c946.iframe.bundle.js create mode 100644 components-ui-icons-ZoomIn-ZoomIn-stories.a898c946.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-ZoomOut-ZoomOut-mdx.4f5c4eb1.iframe.bundle.js create mode 100644 components-ui-icons-ZoomOut-ZoomOut-mdx.4f5c4eb1.iframe.bundle.js.LICENSE.txt create mode 100644 components-ui-icons-ZoomOut-ZoomOut-stories.4734dd68.iframe.bundle.js create mode 100644 components-ui-icons-ZoomOut-ZoomOut-stories.4734dd68.iframe.bundle.js.LICENSE.txt create mode 100644 favicon.svg create mode 100644 hooks-introduction-mdx.05cd2e53.iframe.bundle.js create mode 100644 hooks-introduction-mdx.05cd2e53.iframe.bundle.js.LICENSE.txt create mode 100644 hooks-sdk-docs-useActiveSpeakersState-mdx.ec0a01bc.iframe.bundle.js create mode 100644 hooks-sdk-docs-useActiveSpeakersState-mdx.ec0a01bc.iframe.bundle.js.LICENSE.txt create mode 100644 hooks-sdk-docs-useAttendeeAudioStatus-mdx.b5635557.iframe.bundle.js create mode 100644 hooks-sdk-docs-useAttendeeAudioStatus-mdx.b5635557.iframe.bundle.js.LICENSE.txt create mode 100644 hooks-sdk-docs-useAttendeeStatus-mdx.91dc43d0.iframe.bundle.js create mode 100644 hooks-sdk-docs-useAttendeeStatus-mdx.91dc43d0.iframe.bundle.js.LICENSE.txt create mode 100644 hooks-sdk-docs-useDeviceLabelTriggerStatus-mdx.702fd34b.iframe.bundle.js create mode 100644 hooks-sdk-docs-useDeviceLabelTriggerStatus-mdx.702fd34b.iframe.bundle.js.LICENSE.txt create mode 100644 hooks-sdk-docs-useLocalAudioInputActivity-mdx.e70958b2.iframe.bundle.js create mode 100644 hooks-sdk-docs-useLocalAudioInputActivity-mdx.e70958b2.iframe.bundle.js.LICENSE.txt create mode 100644 hooks-sdk-docs-useLocalAudioInputActivityPreview-mdx.ebb80517.iframe.bundle.js create mode 100644 hooks-sdk-docs-useLocalAudioInputActivityPreview-mdx.ebb80517.iframe.bundle.js.LICENSE.txt create mode 100644 hooks-sdk-docs-useMediaStreamMetrics-mdx.82236ea3.iframe.bundle.js create mode 100644 hooks-sdk-docs-useMediaStreamMetrics-mdx.82236ea3.iframe.bundle.js.LICENSE.txt create mode 100644 hooks-sdk-docs-useMeetingStatus-mdx.0f7d1f47.iframe.bundle.js create mode 100644 hooks-sdk-docs-useMeetingStatus-mdx.0f7d1f47.iframe.bundle.js.LICENSE.txt create mode 100644 hooks-sdk-docs-useSelectVideoQuality-mdx.43f248ec.iframe.bundle.js create mode 100644 hooks-sdk-docs-useSelectVideoQuality-mdx.43f248ec.iframe.bundle.js.LICENSE.txt create mode 100644 hooks-sdk-docs-useToggleLocalMute-mdx.6090609b.iframe.bundle.js create mode 100644 hooks-sdk-docs-useToggleLocalMute-mdx.6090609b.iframe.bundle.js.LICENSE.txt create mode 100644 iframe.html create mode 100644 index.html create mode 100644 index.json create mode 100644 main.00a5f9a2.iframe.bundle.js create mode 100644 main.00a5f9a2.iframe.bundle.js.map create mode 100644 project.json create mode 100644 providers-AudioVideoProvider-docs-AudioVideoProvider-mdx.c22a95de.iframe.bundle.js create mode 100644 providers-AudioVideoProvider-docs-AudioVideoProvider-mdx.c22a95de.iframe.bundle.js.LICENSE.txt create mode 100644 providers-AudioVideoProvider-docs-useAudioVideo-mdx.39d5df8c.iframe.bundle.js create mode 100644 providers-AudioVideoProvider-docs-useAudioVideo-mdx.39d5df8c.iframe.bundle.js.LICENSE.txt create mode 100644 providers-BackgroundBlurProvider-docs-BackgroundBlurProvider-mdx.adb9a397.iframe.bundle.js create mode 100644 providers-BackgroundBlurProvider-docs-BackgroundBlurProvider-mdx.adb9a397.iframe.bundle.js.LICENSE.txt create mode 100644 providers-BackgroundBlurProvider-docs-useBackgroundBlur-mdx.9bbb8120.iframe.bundle.js create mode 100644 providers-BackgroundBlurProvider-docs-useBackgroundBlur-mdx.9bbb8120.iframe.bundle.js.LICENSE.txt create mode 100644 providers-BackgroundReplacementProvider-docs-BackgroundReplacementProvider-mdx.fed610cd.iframe.bundle.js create mode 100644 providers-BackgroundReplacementProvider-docs-BackgroundReplacementProvider-mdx.fed610cd.iframe.bundle.js.LICENSE.txt create mode 100644 providers-BackgroundReplacementProvider-docs-useBackgroundReplacement-mdx.875ae03f.iframe.bundle.js create mode 100644 providers-BackgroundReplacementProvider-docs-useBackgroundReplacement-mdx.875ae03f.iframe.bundle.js.LICENSE.txt create mode 100644 providers-ContentShareProvider-docs-ContentShareProvider-mdx.bca51a1f.iframe.bundle.js create mode 100644 providers-ContentShareProvider-docs-ContentShareProvider-mdx.bca51a1f.iframe.bundle.js.LICENSE.txt create mode 100644 providers-ContentShareProvider-docs-useContentShareControls-mdx.3f10be93.iframe.bundle.js create mode 100644 providers-ContentShareProvider-docs-useContentShareControls-mdx.3f10be93.iframe.bundle.js.LICENSE.txt create mode 100644 providers-ContentShareProvider-docs-useContentShareState-mdx.a1f124d5.iframe.bundle.js create mode 100644 providers-ContentShareProvider-docs-useContentShareState-mdx.a1f124d5.iframe.bundle.js.LICENSE.txt create mode 100644 providers-DevicesProvider-docs-AudioInputProvider-mdx.6487add4.iframe.bundle.js create mode 100644 providers-DevicesProvider-docs-AudioInputProvider-mdx.6487add4.iframe.bundle.js.LICENSE.txt create mode 100644 providers-DevicesProvider-docs-AudioOutputProvider-mdx.69a51739.iframe.bundle.js create mode 100644 providers-DevicesProvider-docs-AudioOutputProvider-mdx.69a51739.iframe.bundle.js.LICENSE.txt create mode 100644 providers-DevicesProvider-docs-DevicesProvider-mdx.427589a9.iframe.bundle.js create mode 100644 providers-DevicesProvider-docs-DevicesProvider-mdx.427589a9.iframe.bundle.js.LICENSE.txt create mode 100644 providers-DevicesProvider-docs-VideoInputProvider-mdx.36c2d647.iframe.bundle.js create mode 100644 providers-DevicesProvider-docs-VideoInputProvider-mdx.36c2d647.iframe.bundle.js.LICENSE.txt create mode 100644 providers-DevicesProvider-docs-useAudioInputs-mdx.a9e24b8d.iframe.bundle.js create mode 100644 providers-DevicesProvider-docs-useAudioInputs-mdx.a9e24b8d.iframe.bundle.js.LICENSE.txt create mode 100644 providers-DevicesProvider-docs-useAudioOutputs-mdx.ba7df6c2.iframe.bundle.js create mode 100644 providers-DevicesProvider-docs-useAudioOutputs-mdx.ba7df6c2.iframe.bundle.js.LICENSE.txt create mode 100644 providers-DevicesProvider-docs-useVideoInputs-mdx.f3bdfeb5.iframe.bundle.js create mode 100644 providers-DevicesProvider-docs-useVideoInputs-mdx.f3bdfeb5.iframe.bundle.js.LICENSE.txt create mode 100644 providers-FeaturedVideoTileProvider-docs-FeaturedVideoTileProvider-mdx.db6030ac.iframe.bundle.js create mode 100644 providers-FeaturedVideoTileProvider-docs-FeaturedVideoTileProvider-mdx.db6030ac.iframe.bundle.js.LICENSE.txt create mode 100644 providers-FeaturedVideoTileProvider-docs-useFeaturedTileState-mdx.57c6bde2.iframe.bundle.js create mode 100644 providers-FeaturedVideoTileProvider-docs-useFeaturedTileState-mdx.57c6bde2.iframe.bundle.js.LICENSE.txt create mode 100644 providers-LocalAudioOutputProvider-docs-LocalAudioOutputProvider-mdx.61b6f93b.iframe.bundle.js create mode 100644 providers-LocalAudioOutputProvider-docs-LocalAudioOutputProvider-mdx.61b6f93b.iframe.bundle.js.LICENSE.txt create mode 100644 providers-LocalAudioOutputProvider-docs-useLocalAudioOutput-mdx.cc936287.iframe.bundle.js create mode 100644 providers-LocalAudioOutputProvider-docs-useLocalAudioOutput-mdx.cc936287.iframe.bundle.js.LICENSE.txt create mode 100644 providers-LocalVideoProvider-docs-LocalVideoProvider-mdx.ed6abe5a.iframe.bundle.js create mode 100644 providers-LocalVideoProvider-docs-LocalVideoProvider-mdx.ed6abe5a.iframe.bundle.js.LICENSE.txt create mode 100644 providers-LocalVideoProvider-docs-useLocalVideo-mdx.b5e9f910.iframe.bundle.js create mode 100644 providers-LocalVideoProvider-docs-useLocalVideo-mdx.b5e9f910.iframe.bundle.js.LICENSE.txt create mode 100644 providers-LoggerProvider-docs-LoggerProvider-mdx.f7998403.iframe.bundle.js create mode 100644 providers-LoggerProvider-docs-LoggerProvider-mdx.f7998403.iframe.bundle.js.LICENSE.txt create mode 100644 providers-MeetingEventProvider-docs-MeetingEventProvider-mdx.efa216c7.iframe.bundle.js create mode 100644 providers-MeetingEventProvider-docs-MeetingEventProvider-mdx.efa216c7.iframe.bundle.js.LICENSE.txt create mode 100644 providers-MeetingEventProvider-docs-useMeetingEvent-mdx.c7ecaa21.iframe.bundle.js create mode 100644 providers-MeetingEventProvider-docs-useMeetingEvent-mdx.c7ecaa21.iframe.bundle.js.LICENSE.txt create mode 100644 providers-MeetingProvider-docs-MeetingManager-mdx.ca1b814d.iframe.bundle.js create mode 100644 providers-MeetingProvider-docs-MeetingManager-mdx.ca1b814d.iframe.bundle.js.LICENSE.txt create mode 100644 providers-MeetingProvider-docs-MeetingProvider-mdx.3b20abb1.iframe.bundle.js create mode 100644 providers-MeetingProvider-docs-MeetingProvider-mdx.3b20abb1.iframe.bundle.js.LICENSE.txt create mode 100644 providers-MeetingProvider-docs-useMeetingManager-mdx.83bd8690.iframe.bundle.js create mode 100644 providers-MeetingProvider-docs-useMeetingManager-mdx.83bd8690.iframe.bundle.js.LICENSE.txt create mode 100644 providers-NotificationProvider-docs-NotificationProvider-mdx.6f615653.iframe.bundle.js create mode 100644 providers-NotificationProvider-docs-NotificationProvider-mdx.6f615653.iframe.bundle.js.LICENSE.txt create mode 100644 providers-NotificationProvider-docs-useNotificationDispatch-mdx.e831b74c.iframe.bundle.js create mode 100644 providers-NotificationProvider-docs-useNotificationDispatch-mdx.e831b74c.iframe.bundle.js.LICENSE.txt create mode 100644 providers-NotificationProvider-docs-useNotificationState-mdx.9b386e16.iframe.bundle.js create mode 100644 providers-NotificationProvider-docs-useNotificationState-mdx.9b386e16.iframe.bundle.js.LICENSE.txt create mode 100644 providers-RemoteVideoTileProvider-docs-RemoteVideoTileProvider-mdx.177eae7f.iframe.bundle.js create mode 100644 providers-RemoteVideoTileProvider-docs-RemoteVideoTileProvider-mdx.177eae7f.iframe.bundle.js.LICENSE.txt create mode 100644 providers-RemoteVideoTileProvider-docs-useRemoteVideoTileState-mdx.10e72cc7.iframe.bundle.js create mode 100644 providers-RemoteVideoTileProvider-docs-useRemoteVideoTileState-mdx.10e72cc7.iframe.bundle.js.LICENSE.txt create mode 100644 providers-RosterProvider-docs-RosterProvider-mdx.b74f6ea1.iframe.bundle.js create mode 100644 providers-RosterProvider-docs-RosterProvider-mdx.b74f6ea1.iframe.bundle.js.LICENSE.txt create mode 100644 providers-RosterProvider-docs-useRosterState-mdx.d6cf5e85.iframe.bundle.js create mode 100644 providers-RosterProvider-docs-useRosterState-mdx.d6cf5e85.iframe.bundle.js.LICENSE.txt create mode 100644 providers-UserActivityProvider-docs-UserActivityProvider-mdx.d8e146e0.iframe.bundle.js create mode 100644 providers-UserActivityProvider-docs-UserActivityProvider-mdx.d8e146e0.iframe.bundle.js.LICENSE.txt create mode 100644 providers-UserActivityProvider-docs-useUserActivityState-mdx.87ae7d55.iframe.bundle.js create mode 100644 providers-UserActivityProvider-docs-useUserActivityState-mdx.87ae7d55.iframe.bundle.js.LICENSE.txt create mode 100644 providers-VoiceFocusProvider-docs-VoiceFocusProvider-mdx.4ae3debd.iframe.bundle.js create mode 100644 providers-VoiceFocusProvider-docs-VoiceFocusProvider-mdx.4ae3debd.iframe.bundle.js.LICENSE.txt create mode 100644 providers-VoiceFocusProvider-docs-useVoiceFocus-mdx.f459085c.iframe.bundle.js create mode 100644 providers-VoiceFocusProvider-docs-useVoiceFocus-mdx.f459085c.iframe.bundle.js.LICENSE.txt create mode 100644 providers-introduction-mdx.21e73c09.iframe.bundle.js create mode 100644 providers-introduction-mdx.21e73c09.iframe.bundle.js.LICENSE.txt create mode 100644 runtime~main.4d4329f6.iframe.bundle.js create mode 100644 sb-addons/a11y-8/manager-bundle.js create mode 100644 sb-addons/a11y-8/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/a11y-8/manager-bundle.js.map create mode 100644 sb-addons/essentials-backgrounds-1/manager-bundle.js create mode 100644 sb-addons/essentials-backgrounds-1/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-backgrounds-1/manager-bundle.js.map create mode 100644 sb-addons/essentials-controls-0/manager-bundle.js create mode 100644 sb-addons/essentials-controls-0/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-controls-0/manager-bundle.js.map create mode 100644 sb-addons/essentials-measure-4/manager-bundle.js create mode 100644 sb-addons/essentials-measure-4/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-measure-4/manager-bundle.js.map create mode 100644 sb-addons/essentials-outline-5/manager-bundle.js create mode 100644 sb-addons/essentials-outline-5/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-outline-5/manager-bundle.js.map create mode 100644 sb-addons/essentials-toolbars-3/manager-bundle.js create mode 100644 sb-addons/essentials-toolbars-3/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-toolbars-3/manager-bundle.js.map create mode 100644 sb-addons/essentials-viewport-2/manager-bundle.js create mode 100644 sb-addons/essentials-viewport-2/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-viewport-2/manager-bundle.js.map create mode 100644 sb-addons/storybook-9/manager-bundle.js create mode 100644 sb-addons/storybook-9/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/storybook-9/manager-bundle.js.map create mode 100644 sb-addons/storysource-6/manager-bundle.js create mode 100644 sb-addons/storysource-6/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/storysource-6/manager-bundle.js.map create mode 100644 sb-addons/styling-7/manager-bundle.js create mode 100644 sb-addons/styling-7/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/styling-7/manager-bundle.js.map create mode 100644 sb-common-assets/fonts.css create mode 100644 sb-common-assets/nunito-sans-bold-italic.woff2 create mode 100644 sb-common-assets/nunito-sans-bold.woff2 create mode 100644 sb-common-assets/nunito-sans-italic.woff2 create mode 100644 sb-common-assets/nunito-sans-regular.woff2 create mode 100644 sb-manager/GlobalScrollAreaStyles-XIHNDKUY-F4JIPIHL.js create mode 100644 sb-manager/OverlayScrollbars-VAV6LJAB-K3TMPSMY.js create mode 100644 sb-manager/WithTooltip-FBT32F6Q-7QJ37TCY.js create mode 100644 sb-manager/chunk-3FAXWWKG.js create mode 100644 sb-manager/chunk-54KM6K5Z.js create mode 100644 sb-manager/chunk-5SUU3UWF.js create mode 100644 sb-manager/chunk-AS2AMEUR.js create mode 100644 sb-manager/chunk-F3MVQVF6.js create mode 100644 sb-manager/chunk-FENICTK6.js create mode 100644 sb-manager/chunk-PUVLCKJJ.js create mode 100644 sb-manager/chunk-QPL63VNK.js create mode 100644 sb-manager/formatter-S4K5WUZV-4LPR5OBX.js create mode 100644 sb-manager/globals.js create mode 100644 sb-manager/index.js create mode 100644 sb-manager/runtime.js create mode 100644 sb-manager/syntaxhighlighter-QTQ2UBB4-F5YUFYAB.js create mode 100644 sb-preview/globals.js create mode 100644 sb-preview/runtime.js create mode 100644 stories.json create mode 100644 theme-themes-mdx.ea79dea4.iframe.bundle.js diff --git a/1229.8675e4d2.iframe.bundle.js b/1229.8675e4d2.iframe.bundle.js new file mode 100644 index 000000000..397bc5cce --- /dev/null +++ b/1229.8675e4d2.iframe.bundle.js @@ -0,0 +1,691 @@ +(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[1229],{"./src/components/sdk/ContentShare/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{F:()=>ContentShare});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_providers_ContentShareProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/ContentShareProvider/index.tsx"),_ui_ContentTile__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/ContentTile/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ContentShare=({className,...rest})=>{const audioVideo=(0,_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__.Lo)(),{tileId}=(0,_providers_ContentShareProvider__WEBPACK_IMPORTED_MODULE_2__.EJ)(),videoEl=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(audioVideo&&videoEl.current&&tileId)return audioVideo.bindVideoElement(tileId,videoEl.current),()=>{audioVideo.getVideoTile(tileId)&&audioVideo.unbindVideoElement(tileId)}}),[audioVideo,tileId]),tileId?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_ui_ContentTile__WEBPACK_IMPORTED_MODULE_3__.J,{objectFit:"contain",className:className||"",...rest,ref:videoEl}):null};try{ContentShare.displayName="ContentShare",ContentShare.__docgenInfo={description:"",displayName:"ContentShare",props:{nameplate:{defaultValue:null,description:"",name:"nameplate",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/ContentShare/index.tsx#ContentShare"]={docgenInfo:ContentShare.__docgenInfo,name:"ContentShare",path:"src/components/sdk/ContentShare/index.tsx#ContentShare"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/DeviceSelection/CameraSelection/QualitySelection.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_constants__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/constants/index.ts"),_hooks_sdk_useSelectVideoQuality__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/hooks/sdk/useSelectVideoQuality.tsx"),_ui_FormField__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/FormField/index.tsx"),_ui_Select__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/ui/Select/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const QualitySelection=({label="Video quality",labelForUnselected="Select video quality",...rest})=>{const selectVideoQuality=(0,_hooks_sdk_useSelectVideoQuality__WEBPACK_IMPORTED_MODULE_2__.i)(),[videoQuality,setVideoQuality]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("unselected"),qualityOptions=[{label:labelForUnselected,value:"unselected"},{label:_constants__WEBPACK_IMPORTED_MODULE_1__.k["720p"],value:"720p"},{label:_constants__WEBPACK_IMPORTED_MODULE_1__.k["540p"],value:"540p"},{label:_constants__WEBPACK_IMPORTED_MODULE_1__.k["360p"],value:"360p"}];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_ui_FormField__WEBPACK_IMPORTED_MODULE_3__.W,{field:_ui_Select__WEBPACK_IMPORTED_MODULE_4__.P,options:qualityOptions,onChange:async function selectQuality(e){const quality=e.target.value;setVideoQuality(quality),selectVideoQuality(quality)},value:videoQuality,label,...rest})};QualitySelection.displayName="QualitySelection";const __WEBPACK_DEFAULT_EXPORT__=QualitySelection;try{QualitySelection.displayName="QualitySelection",QualitySelection.__docgenInfo={description:"",displayName:"QualitySelection",props:{label:{defaultValue:{value:"Video quality"},description:'Label shown for video quality selection, by default it is "Video quality"',name:"label",required:!1,type:{name:"string | undefined"}},labelForUnselected:{defaultValue:{value:"Select video quality"},description:'Label shown in the dropdown when no video quality has been selected yet, by default it is "Select video quality"',name:"labelForUnselected",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/DeviceSelection/CameraSelection/QualitySelection.tsx#QualitySelection"]={docgenInfo:QualitySelection.__docgenInfo,name:"QualitySelection",path:"src/components/sdk/DeviceSelection/CameraSelection/QualitySelection.tsx#QualitySelection"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/DeviceSelection/CameraSelection/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),_DeviceInput__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/sdk/DeviceSelection/DeviceInput.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const CameraSelection=({notFoundMsg="No camera devices found",label="Camera source",...rest})=>{const logger=(0,_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_2__.wL)(),{devices,selectedDevice}=(0,_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_1__.UL)(),meetingManager=(0,_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_3__.fj)();return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_DeviceInput__WEBPACK_IMPORTED_MODULE_4__.Z,{label,onChange:async deviceId=>{try{await meetingManager.startVideoInputDevice(deviceId)}catch(error){logger.error("CameraSelection failed to select camera")}},devices,selectedDevice,notFoundMsg,...rest})};CameraSelection.displayName="CameraSelection";const __WEBPACK_DEFAULT_EXPORT__=CameraSelection;try{CameraSelection.displayName="CameraSelection",CameraSelection.__docgenInfo={description:"",displayName:"CameraSelection",props:{notFoundMsg:{defaultValue:{value:"No camera devices found"},description:"The message that will be shown when no camera devices are found.",name:"notFoundMsg",required:!1,type:{name:"string | undefined"}},label:{defaultValue:{value:"Camera source"},description:'The label that will be shown for camera selection, it defaults to "Camera source".',name:"label",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/DeviceSelection/CameraSelection/index.tsx#CameraSelection"]={docgenInfo:CameraSelection.__docgenInfo,name:"CameraSelection",path:"src/components/sdk/DeviceSelection/CameraSelection/index.tsx#CameraSelection"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/DeviceSelection/DeviceInput.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_utils_device_utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/utils/device-utils.ts"),_ui_FormField__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/FormField/index.tsx"),_ui_Select__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/Select/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js");const DeviceInput=({onChange,label,devices,selectedDevice,notFoundMsg,...rest})=>{const[selectedDeviceId,setSelectedDeviceId]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("");(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{(async()=>{const selectedDeviceId=await(0,_utils_device_utils__WEBPACK_IMPORTED_MODULE_1__.Zw)(selectedDevice);setSelectedDeviceId(selectedDeviceId)})()}),[selectedDevice]);const deviceList=devices.map((device=>({value:device.deviceId,label:device.label}))),options=deviceList.length?deviceList:[{value:"not-available",label:notFoundMsg}];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_ui_FormField__WEBPACK_IMPORTED_MODULE_2__.W,{field:_ui_Select__WEBPACK_IMPORTED_MODULE_3__.P,options,onChange:e=>{const deviceId=e.target.value;"not-available"!==deviceId&&onChange(deviceId)},value:selectedDeviceId,label,...rest})};DeviceInput.displayName="DeviceInput";const __WEBPACK_DEFAULT_EXPORT__=DeviceInput;try{DeviceInput.displayName="DeviceInput",DeviceInput.__docgenInfo={description:"",displayName:"DeviceInput",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},notFoundMsg:{defaultValue:null,description:"",name:"notFoundMsg",required:!0,type:{name:"string"}},devices:{defaultValue:null,description:"",name:"devices",required:!0,type:{name:"DeviceType[]"}},selectedDevice:{defaultValue:null,description:"",name:"selectedDevice",required:!0,type:{name:"Device | AudioTransformDevice | VideoTransformDevice | null | undefined"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(deviceId: string) => void"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/DeviceSelection/DeviceInput.tsx#DeviceInput"]={docgenInfo:DeviceInput.__docgenInfo,name:"DeviceInput",path:"src/components/sdk/DeviceSelection/DeviceInput.tsx#DeviceInput"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/DeviceSelection/MicSelection/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),_DeviceInput__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/sdk/DeviceSelection/DeviceInput.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const MicSelection=({notFoundMsg="No microphone devices found",label="Microphone source",...rest})=>{const logger=(0,_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_2__.wL)(),{devices,selectedDevice}=(0,_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_1__.m6)(),meetingManager=(0,_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_3__.fj)();return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_DeviceInput__WEBPACK_IMPORTED_MODULE_4__.Z,{label,onChange:async deviceId=>{try{await meetingManager.startAudioInputDevice(deviceId)}catch(error){logger.error("MicSelection failed to select mic")}},devices,selectedDevice,notFoundMsg,...rest})};MicSelection.displayName="MicSelection";const __WEBPACK_DEFAULT_EXPORT__=MicSelection;try{MicSelection.displayName="MicSelection",MicSelection.__docgenInfo={description:"",displayName:"MicSelection",props:{notFoundMsg:{defaultValue:{value:"No microphone devices found"},description:"The message that will be shown when no microphone devices are found.",name:"notFoundMsg",required:!1,type:{name:"string | undefined"}},label:{defaultValue:{value:"Microphone source"},description:"The label that will be shown for microphone selection, it defaults to `Microphone source`.",name:"label",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/DeviceSelection/MicSelection/index.tsx#MicSelection"]={docgenInfo:MicSelection.__docgenInfo,name:"MicSelection",path:"src/components/sdk/DeviceSelection/MicSelection/index.tsx#MicSelection"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/DeviceSelection/SpeakerSelection/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),_DeviceInput__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/sdk/DeviceSelection/DeviceInput.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const SpeakerSelection=({notFoundMsg="No speaker devices found",label="Speaker source",onChange,...rest})=>{const logger=(0,_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_2__.wL)(),{devices,selectedDevice}=(0,_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_1__.rz)(),meetingManager=(0,_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_3__.fj)();return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_DeviceInput__WEBPACK_IMPORTED_MODULE_4__.Z,{label,devices,onChange:async deviceId=>{try{await meetingManager.startAudioOutputDevice(deviceId),onChange&&onChange(deviceId)}catch(error){logger.error("SpeakerSelection failed to select speaker")}},selectedDevice,notFoundMsg,...rest})};SpeakerSelection.displayName="SpeakerSelection";const __WEBPACK_DEFAULT_EXPORT__=SpeakerSelection;try{SpeakerSelection.displayName="SpeakerSelection",SpeakerSelection.__docgenInfo={description:"",displayName:"SpeakerSelection",props:{notFoundMsg:{defaultValue:{value:"No speaker devices found"},description:"The message that will be shown when no audio output speaker devices are found.",name:"notFoundMsg",required:!1,type:{name:"string | undefined"}},label:{defaultValue:{value:"Speaker source"},description:"The label that will be shown for speaker selection, it defaults to `Speaker source`.",name:"label",required:!1,type:{name:"string | undefined"}},onChange:{defaultValue:null,description:"The callback fired when the selection is changed.\nIt is required if you want to add testing functionality around speaker selection.",name:"onChange",required:!1,type:{name:"((selectedAudioOutputDevice: string) => void) | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/DeviceSelection/SpeakerSelection/index.tsx#SpeakerSelection"]={docgenInfo:SpeakerSelection.__docgenInfo,name:"SpeakerSelection",path:"src/components/sdk/DeviceSelection/SpeakerSelection/index.tsx#SpeakerSelection"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/FeaturedRemoteVideos/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{m:()=>FeaturedRemoteVideos});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_providers_ContentShareProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/ContentShareProvider/index.tsx"),_providers_FeaturedVideoTileProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/FeaturedVideoTileProvider/index.tsx"),_providers_RemoteVideoTileProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/RemoteVideoTileProvider/index.tsx"),_providers_RosterProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/RosterProvider/index.tsx"),_ui_VideoGrid__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/components/ui/VideoGrid/index.tsx"),_RemoteVideo__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/components/sdk/RemoteVideo/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/react/jsx-runtime.js");const FeaturedRemoteVideos=props=>{const gridData=(0,_ui_VideoGrid__WEBPACK_IMPORTED_MODULE_5__.cW)(),{roster}=(0,_providers_RosterProvider__WEBPACK_IMPORTED_MODULE_4__.d)(),{tileId:featuredTileId}=(0,_providers_FeaturedVideoTileProvider__WEBPACK_IMPORTED_MODULE_2__.t)(),{tileId:contentTileId}=(0,_providers_ContentShareProvider__WEBPACK_IMPORTED_MODULE_1__.EJ)(),{tiles,tileIdToAttendeeId}=(0,_providers_RemoteVideoTileProvider__WEBPACK_IMPORTED_MODULE_3__.a)();return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.Fragment,{children:tiles.map((tileId=>{const featured=!contentTileId&&featuredTileId===tileId,styles=gridData&&featured?"grid-area: ft;":"",classes=`${featured?"ch-featured-tile":""} ${props.className||""}`,attendee=roster[tileIdToAttendeeId[tileId]]||{},{name}=attendee;return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_RemoteVideo__WEBPACK_IMPORTED_MODULE_6__.Z,{tileId,name,...props,className:classes,key:tileId,css:styles})}))})};try{FeaturedRemoteVideos.displayName="FeaturedRemoteVideos",FeaturedRemoteVideos.__docgenInfo={description:"",displayName:"FeaturedRemoteVideos",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/FeaturedRemoteVideos/index.tsx#FeaturedRemoteVideos"]={docgenInfo:FeaturedRemoteVideos.__docgenInfo,name:"FeaturedRemoteVideos",path:"src/components/sdk/FeaturedRemoteVideos/index.tsx#FeaturedRemoteVideos"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/LocalVideo/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{O:()=>LocalVideo});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),styled_components__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_hooks_useApplyVideoObjectFit__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/hooks/useApplyVideoObjectFit/index.tsx"),_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_providers_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/LocalVideoProvider/index.tsx"),_ui_VideoTile__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/ui/VideoTile/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const StyledLocalVideo=(0,styled_components__WEBPACK_IMPORTED_MODULE_6__.ZP)(_ui_VideoTile__WEBPACK_IMPORTED_MODULE_4__.Z)` + ${props=>props.active?"":"display: none"}; +`,LocalVideo=({nameplate,...rest})=>{const{tileId,isVideoEnabled}=(0,_providers_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_3__.O)(),audioVideo=(0,_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_2__.Lo)(),videoEl=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);return(0,_hooks_useApplyVideoObjectFit__WEBPACK_IMPORTED_MODULE_1__.P)(videoEl),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(audioVideo&&tileId&&videoEl.current&&isVideoEnabled)return audioVideo.bindVideoElement(tileId,videoEl.current),()=>{audioVideo.getVideoTile(tileId)&&audioVideo.unbindVideoElement(tileId)}}),[audioVideo,tileId,isVideoEnabled]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(StyledLocalVideo,{active:isVideoEnabled,nameplate,ref:videoEl,...rest})};LocalVideo.displayName="LocalVideo";try{LocalVideo.displayName="LocalVideo",LocalVideo.__docgenInfo={description:"",displayName:"LocalVideo",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string | undefined"}},nameplate:{defaultValue:null,description:"",name:"nameplate",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/LocalVideo/index.tsx#LocalVideo"]={docgenInfo:LocalVideo.__docgenInfo,name:"LocalVideo",path:"src/components/sdk/LocalVideo/index.tsx#LocalVideo"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/MeetingControls/AudioInputControl.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_hooks_sdk_useToggleLocalMute__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/hooks/sdk/useToggleLocalMute.tsx"),_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),_utils_device_utils__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/utils/device-utils.ts"),_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/components/ui/ControlBar/ControlBarButton.tsx"),_ui_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/components/ui/icons/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/react/jsx-runtime.js");const AudioInputControl=({muteLabel="Mute",unmuteLabel="Unmute",mutedIconTitle,unmutedIconTitle,...rest})=>{const logger=(0,_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_3__.wL)(),meetingManager=(0,_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_4__.fj)(),{muted,toggleMute}=(0,_hooks_sdk_useToggleLocalMute__WEBPACK_IMPORTED_MODULE_1__.H)(),{devices,selectedDevice}=(0,_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_2__.m6)(),[dropdownOptions,setDropdownOptions]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{(async()=>{const dropdownOptions=await Promise.all(devices.map((async device=>({children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("span",{children:device.label}),checked:await(0,_utils_device_utils__WEBPACK_IMPORTED_MODULE_5__.EB)(selectedDevice,device.deviceId),onClick:async()=>await(async deviceId=>{try{await meetingManager.startAudioInputDevice(deviceId)}catch(error){logger.error("AudioInputControl failed to select audio input device")}})(device.deviceId)}))));setDropdownOptions(dropdownOptions)})()}),[devices,selectedDevice,meetingManager,meetingManager.startAudioInputDevice]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_6__.B,{icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_ui_icons__WEBPACK_IMPORTED_MODULE_7__.Pj,{muted,mutedTitle:mutedIconTitle,unmutedTitle:unmutedIconTitle}),onClick:toggleMute,label:muted?unmuteLabel:muteLabel,popOver:dropdownOptions,...rest})};AudioInputControl.displayName="AudioInputControl";const __WEBPACK_DEFAULT_EXPORT__=AudioInputControl;try{AudioInputControl.displayName="AudioInputControl",AudioInputControl.__docgenInfo={description:"",displayName:"AudioInputControl",props:{muteLabel:{defaultValue:{value:"Mute"},description:"The label that will be shown when microphone is muted , it defaults to `Mute`.",name:"muteLabel",required:!1,type:{name:"string | undefined"}},unmuteLabel:{defaultValue:{value:"Unmute"},description:"The label that will be shown when microphone is unmuted, it defaults to `Unmute`.",name:"unmuteLabel",required:!1,type:{name:"string | undefined"}},mutedIconTitle:{defaultValue:null,description:"Title attribute for the icon when muted, it defaults to `Muted microphone`.",name:"mutedIconTitle",required:!1,type:{name:"string | undefined"}},unmutedIconTitle:{defaultValue:null,description:"Title attribute for the icon when unmuted, it defaults to `Microphone`.",name:"unmutedIconTitle",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/AudioInputControl.tsx#AudioInputControl"]={docgenInfo:AudioInputControl.__docgenInfo,name:"AudioInputControl",path:"src/components/sdk/MeetingControls/AudioInputControl.tsx#AudioInputControl"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/MeetingControls/AudioInputVFControl.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),lodash_isequal__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/lodash.isequal/index.js"),lodash_isequal__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(lodash_isequal__WEBPACK_IMPORTED_MODULE_1__),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),_hooks_sdk_useToggleLocalMute__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/hooks/sdk/useToggleLocalMute.tsx"),_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),_providers_VoiceFocusProvider__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./src/providers/VoiceFocusProvider/index.tsx"),_utils_device_utils__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./src/utils/device-utils.ts"),_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./src/utils/use-memo-compare.ts"),_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./src/components/ui/ControlBar/ControlBarButton.tsx"),_ui_icons__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./src/components/ui/icons/index.tsx"),_ui_PopOver_PopOverItem__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./src/components/ui/PopOver/PopOverItem.tsx"),_ui_PopOver_PopOverSeparator__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./src/components/ui/PopOver/PopOverSeparator.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/react/jsx-runtime.js");const AudioInputVFControl=({muteLabel="Mute",unmuteLabel="Unmute",mutedIconTitle,unmutedIconTitle,voiceFocusOnLabel="Amazon Voice Focus enabled",voiceFocusOffLabel="Enable Amazon Voice Focus",...rest})=>{const logger=(0,_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_6__.wL)(),audioVideo=(0,_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_4__.Lo)(),meetingManager=(0,_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_7__.fj)(),[isLoading,setIsLoading]=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),[isVoiceFocusChecked,setIsVoiceFocusChecked]=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),[isVoiceFocusEnabled,setIsVoiceFocusEnabled]=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),[dropdownWithVFOptions,setDropdownWithVFOptions]=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(null),{muted,toggleMute}=(0,_hooks_sdk_useToggleLocalMute__WEBPACK_IMPORTED_MODULE_3__.H)(),{isVoiceFocusSupported,addVoiceFocus}=(0,_providers_VoiceFocusProvider__WEBPACK_IMPORTED_MODULE_8__.k)(),{devices,selectedDevice}=(0,_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_5__.m6)(),audioInputDevices=(0,_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_10__.Z)(devices,((prev,next)=>lodash_isequal__WEBPACK_IMPORTED_MODULE_1___default()(prev,next)));return(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)((()=>{logger.info(`Amazon Voice Focus is ${isVoiceFocusEnabled?"enabled":"disabled"}.`)}),[isVoiceFocusEnabled]),(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)((()=>(selectedDevice instanceof amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.VoiceFocusTransformDevice?setIsVoiceFocusEnabled(!0):setIsVoiceFocusEnabled(!1),()=>{selectedDevice instanceof amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.VoiceFocusTransformDevice&&selectedDevice.stop()})),[selectedDevice]),(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)((()=>{audioVideo&&selectedDevice instanceof amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.VoiceFocusTransformDevice&&isVoiceFocusEnabled&&selectedDevice.observeMeetingAudio(audioVideo)}),[audioVideo,isVoiceFocusEnabled,selectedDevice]),(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)((()=>{(async()=>{const dropdownOptions=await Promise.all(audioInputDevices.map((async device=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_ui_PopOver_PopOverItem__WEBPACK_IMPORTED_MODULE_13__.b,{checked:await(0,_utils_device_utils__WEBPACK_IMPORTED_MODULE_9__.EB)(selectedDevice,device.deviceId),onClick:async()=>await(async deviceId=>{try{if(isVoiceFocusChecked&&!isLoading){setIsLoading(!0);const receivedDevice=deviceId,currentDevice=await addVoiceFocus(receivedDevice);await meetingManager.startAudioInputDevice(currentDevice)}else await meetingManager.startAudioInputDevice(deviceId)}catch(error){logger.error("AudioInputVFControl failed to select audio input device")}finally{setIsLoading(!1)}})(device.deviceId),children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("span",{children:device.label})},device.deviceId))));if(isVoiceFocusSupported){const vfOption=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_ui_PopOver_PopOverItem__WEBPACK_IMPORTED_MODULE_13__.b,{checked:isVoiceFocusEnabled,disabled:isLoading,onClick:()=>{setIsLoading(!0),setIsVoiceFocusChecked((current=>!current))},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.Fragment,{children:[isLoading&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_ui_icons__WEBPACK_IMPORTED_MODULE_12__.$j,{width:"1.5rem",height:"1.5rem"}),isVoiceFocusEnabled?voiceFocusOnLabel:voiceFocusOffLabel]})},"voicefocus");dropdownOptions?.push((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_ui_PopOver_PopOverSeparator__WEBPACK_IMPORTED_MODULE_14__.Z,{},"separator")),dropdownOptions?.push(vfOption)}setDropdownWithVFOptions(dropdownOptions)})()}),[addVoiceFocus,meetingManager,meetingManager.startAudioInputDevice,audioInputDevices,isLoading,isVoiceFocusEnabled,isVoiceFocusChecked,isVoiceFocusSupported,selectedDevice]),(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)((()=>{(async()=>{if(selectedDevice){try{let current=selectedDevice;isVoiceFocusChecked?(logger.info("User turned on Amazon Voice Focus."),"string"==typeof selectedDevice&&(current=await addVoiceFocus(selectedDevice))):(logger.info("Amazon Voice Focus is off by default or user turned off Amazon Voice Focus."),selectedDevice instanceof amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.VoiceFocusTransformDevice&&(current=selectedDevice.getInnerDevice())),await meetingManager.startAudioInputDevice(current)}catch(error){logger.error("AudioInputVFControl failed to select audio input device onVFCheckboxChange change")}setIsLoading(!1)}})()}),[isVoiceFocusChecked]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_11__.B,{icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_ui_icons__WEBPACK_IMPORTED_MODULE_12__.Pj,{muted,mutedTitle:mutedIconTitle,unmutedTitle:unmutedIconTitle}),onClick:toggleMute,label:muted?unmuteLabel:muteLabel,...rest,children:dropdownWithVFOptions})};AudioInputVFControl.displayName="AudioInputVFControl";const __WEBPACK_DEFAULT_EXPORT__=AudioInputVFControl;try{AudioInputVFControl.displayName="AudioInputVFControl",AudioInputVFControl.__docgenInfo={description:"",displayName:"AudioInputVFControl",props:{muteLabel:{defaultValue:{value:"Mute"},description:"The label that will be shown when microphone is muted, it defaults to `Mute`.",name:"muteLabel",required:!1,type:{name:"string | undefined"}},unmuteLabel:{defaultValue:{value:"Unmute"},description:"The label that will be shown when microphone is unmuted, it defaults to `Unmute`.",name:"unmuteLabel",required:!1,type:{name:"string | undefined"}},mutedIconTitle:{defaultValue:null,description:"Title attribute for the icon when muted, it defaults to `Muted microphone` in .",name:"mutedIconTitle",required:!1,type:{name:"string | undefined"}},unmutedIconTitle:{defaultValue:null,description:"Title attribute for the icon when unmuted, it defaults to `Microphone` in .",name:"unmutedIconTitle",required:!1,type:{name:"string | undefined"}},voiceFocusOnLabel:{defaultValue:{value:"Amazon Voice Focus enabled"},description:"The label that will be shown when the current input audio is an Amazon Voice Focus device,\nit defaults to `Amazon Voice Focus enabled`.",name:"voiceFocusOnLabel",required:!1,type:{name:"string | undefined"}},voiceFocusOffLabel:{defaultValue:{value:"Enable Amazon Voice Focus"},description:"The label that will be shown when the current input audio is not an Amazon Voice Focus device,\nit defaults to `Enable Amazon Voice Focus`.",name:"voiceFocusOffLabel",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/AudioInputVFControl.tsx#AudioInputVFControl"]={docgenInfo:AudioInputVFControl.__docgenInfo,name:"AudioInputVFControl",path:"src/components/sdk/MeetingControls/AudioInputVFControl.tsx#AudioInputVFControl"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/MeetingControls/AudioOutputControl.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),_providers_LocalAudioOutputProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/LocalAudioOutputProvider/index.tsx"),_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),_utils_device_utils__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/utils/device-utils.ts"),_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/components/ui/ControlBar/ControlBarButton.tsx"),_ui_icons__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./src/components/ui/icons/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/react/jsx-runtime.js");const AudioOutputControl=({label="Speaker",...rest})=>{const logger=(0,_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_4__.wL)(),meetingManager=(0,_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_5__.fj)(),{devices,selectedDevice}=(0,_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_2__.rz)(),{isAudioOn,toggleAudio}=(0,_providers_LocalAudioOutputProvider__WEBPACK_IMPORTED_MODULE_3__.H)(),[dropdownOptions,setDropdownOptions]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)([]);return(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>{(async()=>{const dropdownOptions=await Promise.all(devices.map((async device=>({children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span",{children:device.label}),checked:await(0,_utils_device_utils__WEBPACK_IMPORTED_MODULE_6__.EB)(selectedDevice,device.deviceId),onClick:async()=>await(async deviceId=>{try{(new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultBrowserBehavior).supportsSetSinkId()?await meetingManager.startAudioOutputDevice(deviceId):logger.error("AudioOutputControl cannot select audio output device because browser does not support setSinkId operation.")}catch(error){logger.error("AudioOutputControl failed to select audio output device")}})(device.deviceId)}))));setDropdownOptions(dropdownOptions)})()}),[devices,selectedDevice,meetingManager,meetingManager.startAudioOutputDevice]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.Fragment,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_7__.B,{icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_ui_icons__WEBPACK_IMPORTED_MODULE_8__.$u,{disabled:!isAudioOn}),onClick:toggleAudio,label,popOver:dropdownOptions.length?dropdownOptions:null,...rest})})},__WEBPACK_DEFAULT_EXPORT__=AudioOutputControl;try{AudioOutputControl.displayName="AudioOutputControl",AudioOutputControl.__docgenInfo={description:"",displayName:"AudioOutputControl",props:{label:{defaultValue:{value:"Speaker"},description:"The label that will be shown for audio output speaker control, it defaults to `Speaker`.",name:"label",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/AudioOutputControl.tsx#AudioOutputControl"]={docgenInfo:AudioOutputControl.__docgenInfo,name:"AudioOutputControl",path:"src/components/sdk/MeetingControls/AudioOutputControl.tsx#AudioOutputControl"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/MeetingControls/ContentShareControl.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _providers_ContentShareProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/ContentShareProvider/index.tsx"),_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/ControlBar/ControlBarButton.tsx"),_ui_icons__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/icons/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ContentShareControl=({label="Content",pauseLabel="Pause",unpauseLabel="Unpause",iconTitle,...rest})=>{const{isLocalUserSharing}=(0,_providers_ContentShareProvider__WEBPACK_IMPORTED_MODULE_1__.EJ)(),{paused,toggleContentShare,togglePauseContentShare}=(0,_providers_ContentShareProvider__WEBPACK_IMPORTED_MODULE_1__.mv)(),dropdownOptions=[{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("span",{children:paused?unpauseLabel:pauseLabel}),onClick:togglePauseContentShare}];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_2__.B,{icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_ui_icons__WEBPACK_IMPORTED_MODULE_3__.CE,{title:iconTitle}),onClick:toggleContentShare,label,popOver:isLocalUserSharing?dropdownOptions:null,...rest})})},__WEBPACK_DEFAULT_EXPORT__=ContentShareControl;try{ContentShareControl.displayName="ContentShareControl",ContentShareControl.__docgenInfo={description:"",displayName:"ContentShareControl",props:{label:{defaultValue:{value:"Content"},description:"The label that will be shown for content share control, it defaults to `Content`.",name:"label",required:!1,type:{name:"string | undefined"}},pauseLabel:{defaultValue:{value:"Pause"},description:"The label that will be shown for pausing content share button in content share control, it defaults to `Pause`.",name:"pauseLabel",required:!1,type:{name:"string | undefined"}},unpauseLabel:{defaultValue:{value:"Unpause"},description:"The label that will be shown for unpausing content share button in content share control, it defaults to `Unpause`.",name:"unpauseLabel",required:!1,type:{name:"string | undefined"}},iconTitle:{defaultValue:null,description:"Title attribute for the icon, it defaults to `Screen share`.",name:"iconTitle",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/ContentShareControl.tsx#ContentShareControl"]={docgenInfo:ContentShareControl.__docgenInfo,name:"ContentShareControl",path:"src/components/sdk/MeetingControls/ContentShareControl.tsx#ContentShareControl"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/MeetingControls/VideoInputBackgroundBlurControl.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),lodash_isequal__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/lodash.isequal/index.js"),lodash_isequal__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(lodash_isequal__WEBPACK_IMPORTED_MODULE_1__),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),_providers_BackgroundBlurProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/BackgroundBlurProvider/index.tsx"),_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),_providers_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/providers/LocalVideoProvider/index.tsx"),_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),_utils_device_utils__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./src/utils/device-utils.ts"),_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./src/utils/use-memo-compare.ts"),_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./src/components/ui/ControlBar/ControlBarButton.tsx"),_ui_icons__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./src/components/ui/icons/index.tsx"),_ui_PopOver_PopOverItem__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./src/components/ui/PopOver/PopOverItem.tsx"),_ui_PopOver_PopOverSeparator__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./src/components/ui/PopOver/PopOverSeparator.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/react/jsx-runtime.js");const VideoInputBackgroundBlurControl=({label="Video",backgroundBlurLabel="Enable Background Blur",...rest})=>{const logger=(0,_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_6__.wL)(),meetingManager=(0,_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_7__.fj)(),{devices,selectedDevice}=(0,_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_4__.UL)(),{isVideoEnabled,toggleVideo}=(0,_providers_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_5__.O)(),{isBackgroundBlurSupported,createBackgroundBlurDevice}=(0,_providers_BackgroundBlurProvider__WEBPACK_IMPORTED_MODULE_3__.Q)(),[isLoading,setIsLoading]=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),[dropdownWithVideoTransformOptions,setDropdownWithVideoTransformOptions]=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(null),videoDevices=(0,_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_9__.Z)(devices,((prev,next)=>lodash_isequal__WEBPACK_IMPORTED_MODULE_1___default()(prev,next))),toggleBackgroundBlur=async()=>{if(!isLoading&&selectedDevice)try{let current;setIsLoading(!0),(0,amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.isVideoTransformDevice)(selectedDevice)?(current=await selectedDevice.intrinsicDevice(),logger.info(`Video filter was turned off - selecting inner device: ${JSON.stringify(current)}`)):(current=await createBackgroundBlurDevice(selectedDevice),logger.info(`Video filter turned on - selecting video transform device: ${JSON.stringify(current)}`)),await meetingManager.startVideoInputDevice(current)}catch(error){logger.error("Failed to toggle Background Blur")}finally{setIsLoading(!1)}};return(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)((()=>{(async()=>{const deviceOptions=await Promise.all(videoDevices.map((async device=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ui_PopOver_PopOverItem__WEBPACK_IMPORTED_MODULE_12__.Z,{checked:await(0,_utils_device_utils__WEBPACK_IMPORTED_MODULE_8__.EB)(selectedDevice,device.deviceId),onClick:async()=>(async deviceId=>{try{let newDevice=deviceId;(0,amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.isVideoTransformDevice)(selectedDevice)&&!isLoading&&(setIsLoading(!0),"chooseNewInnerDevice"in selectedDevice?newDevice=selectedDevice.chooseNewInnerDevice(deviceId):logger.error("Transform device cannot choose new inner device")),isVideoEnabled?await meetingManager.startVideoInputDevice(newDevice):meetingManager.selectVideoInputDevice(newDevice)}catch(error){logger.error("Failed to select video input device")}finally{setIsLoading(!1)}})(device.deviceId),children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("span",{children:device.label})},device.deviceId))));if(isBackgroundBlurSupported){const videoTransformOptions=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ui_PopOver_PopOverItem__WEBPACK_IMPORTED_MODULE_12__.Z,{checked:(0,amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.isVideoTransformDevice)(selectedDevice),disabled:isLoading,onClick:toggleBackgroundBlur,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.Fragment,{children:[isLoading&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ui_icons__WEBPACK_IMPORTED_MODULE_11__.$j,{width:"1.5rem",height:"1.5rem"}),backgroundBlurLabel]})},"videoinput");deviceOptions.push((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ui_PopOver_PopOverSeparator__WEBPACK_IMPORTED_MODULE_13__.Z,{},"separator")),deviceOptions.push(videoTransformOptions)}setDropdownWithVideoTransformOptions(deviceOptions)})()}),[createBackgroundBlurDevice,meetingManager,meetingManager.startVideoInputDevice,videoDevices,isLoading,isVideoEnabled,selectedDevice,isBackgroundBlurSupported]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_10__.B,{icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ui_icons__WEBPACK_IMPORTED_MODULE_11__.V1,{disabled:!isVideoEnabled}),onClick:toggleVideo,label,...rest,children:dropdownWithVideoTransformOptions})};VideoInputBackgroundBlurControl.displayName="VideoInputBackgroundBlurControl";const __WEBPACK_DEFAULT_EXPORT__=VideoInputBackgroundBlurControl;try{VideoInputBackgroundBlurControl.displayName="VideoInputBackgroundBlurControl",VideoInputBackgroundBlurControl.__docgenInfo={description:"",displayName:"VideoInputBackgroundBlurControl",props:{label:{defaultValue:{value:"Video"},description:"The label that will be shown for video input control, it defaults to `Video`.",name:"label",required:!1,type:{name:"string | undefined"}},backgroundBlurLabel:{defaultValue:{value:"Enable Background Blur"},description:"The label that will be shown for the background blur button.",name:"backgroundBlurLabel",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/VideoInputBackgroundBlurControl.tsx#VideoInputBackgroundBlurControl"]={docgenInfo:VideoInputBackgroundBlurControl.__docgenInfo,name:"VideoInputBackgroundBlurControl",path:"src/components/sdk/MeetingControls/VideoInputBackgroundBlurControl.tsx#VideoInputBackgroundBlurControl"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/MeetingControls/VideoInputControl.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),_providers_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/LocalVideoProvider/index.tsx"),_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),_utils_device_utils__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/utils/device-utils.ts"),_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/components/ui/ControlBar/ControlBarButton.tsx"),_ui_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/components/ui/icons/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/react/jsx-runtime.js");const VideoInputControl=({label="Video",...rest})=>{const logger=(0,_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_3__.wL)(),meetingManager=(0,_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_4__.fj)(),{devices,selectedDevice}=(0,_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_1__.UL)(),{isVideoEnabled,toggleVideo}=(0,_providers_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_2__.O)(),[dropdownOptions,setDropdownOptions]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{(async()=>{const dropdownOptions=await Promise.all(devices.map((async device=>({children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("span",{children:device.label}),checked:await(0,_utils_device_utils__WEBPACK_IMPORTED_MODULE_5__.EB)(selectedDevice,device.deviceId),onClick:async()=>await(async deviceId=>{try{isVideoEnabled?await meetingManager.startVideoInputDevice(deviceId):meetingManager.selectVideoInputDevice(deviceId)}catch(error){logger.error("VideoInputControl failed to select video input device")}})(device.deviceId)}))));setDropdownOptions(dropdownOptions)})()}),[devices,selectedDevice,isVideoEnabled,meetingManager,meetingManager.startVideoInputDevice]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_ui_ControlBar_ControlBarButton__WEBPACK_IMPORTED_MODULE_6__.B,{icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_ui_icons__WEBPACK_IMPORTED_MODULE_7__.V1,{disabled:!isVideoEnabled}),onClick:toggleVideo,label,popOver:dropdownOptions,...rest})};VideoInputControl.displayName="VideoInputControl";const __WEBPACK_DEFAULT_EXPORT__=VideoInputControl;try{VideoInputControl.displayName="VideoInputControl",VideoInputControl.__docgenInfo={description:"",displayName:"VideoInputControl",props:{label:{defaultValue:{value:"Video"},description:"The label that will be shown for video input control, it defaults to `Video`.",name:"label",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/VideoInputControl.tsx#VideoInputControl"]={docgenInfo:VideoInputControl.__docgenInfo,name:"VideoInputControl",path:"src/components/sdk/MeetingControls/VideoInputControl.tsx#VideoInputControl"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/MicrophoneActivity/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>MicrophoneActivity,Z:()=>sdk_MicrophoneActivity});var react=__webpack_require__("./node_modules/react/index.js"),useAttendeeAudioStatus=__webpack_require__("./src/hooks/sdk/useAttendeeAudioStatus.tsx"),AudioVideoProvider=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),Microphone=__webpack_require__("./src/components/ui/icons/Microphone/index.tsx"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),Base=__webpack_require__("./src/components/ui/Base/index.ts");const StyledMicVolumeIndicator=styled_components_browser_esm.ZP.div` + position: relative; + height: inherit; + line-height: 0; + + .ch-mic-icon { + position: relative; + z-index: 2; + width: 100%; + } + + .ch-bg-volume-wrapper { + position: absolute; + bottom: 41%; + left: 40%; + height: 38%; + width: 21%; + border-radius: 20%; + overflow: hidden; + } + + .ch-bg-volume-fill { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + transform-origin: bottom; + will-change: transform; + background-color: ${props=>props.signalStrength&&props.signalStrength<=.5?props.theme.colors.error.light:props.theme.colors.primary.light}; + } + + ${Base.K} + ${Base.T} +`;try{StyledMicVolumeIndicator.displayName="StyledMicVolumeIndicator",StyledMicVolumeIndicator.__docgenInfo={description:"",displayName:"StyledMicVolumeIndicator",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},muted:{defaultValue:null,description:"",name:"muted",required:!1,type:{name:"boolean | undefined"}},signalStrength:{defaultValue:null,description:"",name:"signalStrength",required:!0,type:{name:"number | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/MicVolumeIndicator/Styled.tsx#StyledMicVolumeIndicator"]={docgenInfo:StyledMicVolumeIndicator.__docgenInfo,name:"StyledMicVolumeIndicator",path:"src/components/ui/MicVolumeIndicator/Styled.tsx#StyledMicVolumeIndicator"})}catch(__react_docgen_typescript_loader_error){}try{Styled.displayName="Styled",Styled.__docgenInfo={description:"",displayName:"Styled",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},muted:{defaultValue:null,description:"",name:"muted",required:!1,type:{name:"boolean | undefined"}},signalStrength:{defaultValue:null,description:"",name:"signalStrength",required:!0,type:{name:"number | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/MicVolumeIndicator/Styled.tsx#Styled"]={docgenInfo:Styled.__docgenInfo,name:"Styled",path:"src/components/ui/MicVolumeIndicator/Styled.tsx#Styled"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const MicVolumeIndicator=(0,react.forwardRef)((({muted=!1,signalStrength,className:propClassName,...rest},bgRef)=>{const poorConnection=void 0!==signalStrength&&signalStrength<=.5,className=propClassName?`${propClassName} ch-mic-volume-indicator`:"ch-mic-volume-indicator";return(0,jsx_runtime.jsxs)(StyledMicVolumeIndicator,{className,signalStrength,muted,...rest,children:[(0,jsx_runtime.jsx)(Microphone.Z,{muted,className:"ch-mic-icon",poorConnection}),(0,jsx_runtime.jsx)("div",{className:"ch-bg-volume-wrapper",children:(0,jsx_runtime.jsx)("div",{ref:bgRef,className:"ch-bg-volume-fill","data-testid":"volume-fill"})})]})})),ui_MicVolumeIndicator=MicVolumeIndicator;try{MicVolumeIndicator.displayName="MicVolumeIndicator",MicVolumeIndicator.__docgenInfo={description:"",displayName:"MicVolumeIndicator",props:{muted:{defaultValue:{value:"false"},description:"",name:"muted",required:!1,type:{name:"boolean | undefined"}},signalStrength:{defaultValue:null,description:"",name:"signalStrength",required:!0,type:{name:"number | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/MicVolumeIndicator/index.tsx#MicVolumeIndicator"]={docgenInfo:MicVolumeIndicator.__docgenInfo,name:"MicVolumeIndicator",path:"src/components/ui/MicVolumeIndicator/index.tsx#MicVolumeIndicator"})}catch(__react_docgen_typescript_loader_error){}const MicrophoneActivity=({attendeeId,...rest})=>{const audioVideo=(0,AudioVideoProvider.Lo)(),bgEl=(0,react.useRef)(null),{signalStrength,muted}=(0,useAttendeeAudioStatus.Z)(attendeeId);return(0,react.useEffect)((()=>{if(!audioVideo||!attendeeId||!bgEl.current)return;const callback=(_,volume,__,___)=>{bgEl.current&&(bgEl.current.style.transform=`scaleY(${volume})`)};return audioVideo.realtimeSubscribeToVolumeIndicator(attendeeId,callback),()=>audioVideo.realtimeUnsubscribeFromVolumeIndicator(attendeeId,callback)}),[attendeeId]),(0,jsx_runtime.jsx)(ui_MicVolumeIndicator,{...rest,ref:bgEl,muted,signalStrength})};MicrophoneActivity.displayName="MicrophoneActivity";const sdk_MicrophoneActivity=MicrophoneActivity;try{MicrophoneActivity.displayName="MicrophoneActivity",MicrophoneActivity.__docgenInfo={description:"",displayName:"MicrophoneActivity",props:{attendeeId:{defaultValue:null,description:"The Chime attendee ID",name:"attendeeId",required:!0,type:{name:"string"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MicrophoneActivity/index.tsx#MicrophoneActivity"]={docgenInfo:MicrophoneActivity.__docgenInfo,name:"MicrophoneActivity",path:"src/components/sdk/MicrophoneActivity/index.tsx#MicrophoneActivity"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/PreviewVideo/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>PreviewVideo});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),styled_components__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),_providers_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/LocalVideoProvider/index.tsx"),_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),_ui_VideoTile__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/components/ui/VideoTile/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/react/jsx-runtime.js");const StyledPreview=(0,styled_components__WEBPACK_IMPORTED_MODULE_8__.ZP)(_ui_VideoTile__WEBPACK_IMPORTED_MODULE_6__.Z)` + height: auto; + background: unset; + + video { + position: static; + } +`,PreviewVideo=props=>{const logger=(0,_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_4__.wL)(),audioVideo=(0,_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__.Lo)(),{selectedDevice}=(0,_providers_DevicesProvider__WEBPACK_IMPORTED_MODULE_2__.UL)(),videoEl=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),meetingManager=(0,_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_5__.fj)(),{setIsVideoEnabled}=(0,_providers_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_3__.O)();return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{const videoElement=videoEl.current;return()=>{videoElement&&(audioVideo?.stopVideoPreviewForVideoInput(videoElement),audioVideo?.stopVideoInput(),setIsVideoEnabled(!1))}}),[audioVideo]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{!async function startPreview(){if(audioVideo&&selectedDevice&&videoEl.current)try{await meetingManager.startVideoInputDevice(selectedDevice),audioVideo.startVideoPreviewForVideoInput(videoEl.current),setIsVideoEnabled(!0)}catch(error){logger.error("Failed to start video preview")}}()}),[audioVideo,selectedDevice]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(StyledPreview,{...props,ref:videoEl})};PreviewVideo.displayName="PreviewVideo";try{PreviewVideo.displayName="PreviewVideo",PreviewVideo.__docgenInfo={description:"",displayName:"PreviewVideo",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/PreviewVideo/index.tsx#PreviewVideo"]={docgenInfo:PreviewVideo.__docgenInfo,name:"PreviewVideo",path:"src/components/sdk/PreviewVideo/index.tsx#PreviewVideo"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/RemoteVideo/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>RemoteVideo});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_hooks_useApplyVideoObjectFit__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/hooks/useApplyVideoObjectFit/index.tsx"),_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_ui_VideoTile__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/VideoTile/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js");const RemoteVideo=({name,className,tileId,...rest})=>{const audioVideo=(0,_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_2__.Lo)(),videoEl=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);return(0,_hooks_useApplyVideoObjectFit__WEBPACK_IMPORTED_MODULE_1__.P)(videoEl),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(audioVideo&&videoEl.current)return audioVideo.bindVideoElement(tileId,videoEl.current),()=>{audioVideo.getVideoTile(tileId)&&audioVideo.unbindVideoElement(tileId)}}),[audioVideo,tileId]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_ui_VideoTile__WEBPACK_IMPORTED_MODULE_3__.y,{...rest,ref:videoEl,nameplate:name,className:`ch-remote-video--${tileId} ${className||""}`})};RemoteVideo.displayName="RemoteVideo";try{RemoteVideo.displayName="RemoteVideo",RemoteVideo.__docgenInfo={description:"",displayName:"RemoteVideo",props:{tileId:{defaultValue:null,description:"The tile ID to bind the video element to",name:"tileId",required:!0,type:{name:"number"}},name:{defaultValue:null,description:"The name to show on the video's nameplate",name:"name",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/RemoteVideo/index.tsx#RemoteVideo"]={docgenInfo:RemoteVideo.__docgenInfo,name:"RemoteVideo",path:"src/components/sdk/RemoteVideo/index.tsx#RemoteVideo"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/RemoteVideos/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>RemoteVideos});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_providers_RemoteVideoTileProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/RemoteVideoTileProvider/index.tsx"),_providers_RosterProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/RosterProvider/index.tsx"),_RemoteVideo__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/sdk/RemoteVideo/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js");const RemoteVideos=props=>{const{roster}=(0,_providers_RosterProvider__WEBPACK_IMPORTED_MODULE_2__.d)(),{tiles,tileIdToAttendeeId}=(0,_providers_RemoteVideoTileProvider__WEBPACK_IMPORTED_MODULE_1__.a)();return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment,{children:tiles.map((tileId=>{const attendee=roster[tileIdToAttendeeId[tileId]]||{},{name}=attendee;return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_RemoteVideo__WEBPACK_IMPORTED_MODULE_3__.Z,{...props,key:tileId,tileId,name})}))})};try{RemoteVideos.displayName="RemoteVideos",RemoteVideos.__docgenInfo={description:"",displayName:"RemoteVideos",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/RemoteVideos/index.tsx#RemoteVideos"]={docgenInfo:RemoteVideos.__docgenInfo,name:"RemoteVideos",path:"src/components/sdk/RemoteVideos/index.tsx#RemoteVideos"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/RosterAttendee/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>RosterAttendee});__webpack_require__("./node_modules/react/index.js");var _hooks_sdk_useAttendeeStatus__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/hooks/sdk/useAttendeeStatus.tsx"),_providers_RosterProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/RosterProvider/index.tsx"),_ui_Roster_RosterCell__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/Roster/RosterCell/index.tsx"),_MicrophoneActivity__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/sdk/MicrophoneActivity/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const RosterAttendee=({attendeeId,...rest})=>{const{muted,videoEnabled,sharingContent}=(0,_hooks_sdk_useAttendeeStatus__WEBPACK_IMPORTED_MODULE_1__.Z)(attendeeId),{roster}=(0,_providers_RosterProvider__WEBPACK_IMPORTED_MODULE_2__.d)(),attendeeName=roster[attendeeId]?.name||"";return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_ui_Roster_RosterCell__WEBPACK_IMPORTED_MODULE_3__.Z,{name:attendeeName,muted,videoEnabled,sharingContent,microphone:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_MicrophoneActivity__WEBPACK_IMPORTED_MODULE_4__.Z,{attendeeId}),...rest})};RosterAttendee.displayName="RosterAttendee";try{RosterAttendee.displayName="RosterAttendee",RosterAttendee.__docgenInfo={description:"",displayName:"RosterAttendee",props:{attendeeId:{defaultValue:null,description:"The ID of a Chime meeting attendee.",name:"attendeeId",required:!0,type:{name:"string"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string | undefined"}},tabIndex:{defaultValue:null,description:"Optional tab index for keyboard accessibility",name:"tabIndex",required:!1,type:{name:"number | undefined"}},onFocus:{defaultValue:null,description:"onFocus event handler",name:"onFocus",required:!1,type:{name:"((event: FocusEvent) => void) | undefined"}},onBlur:{defaultValue:null,description:"onBlur event handler",name:"onBlur",required:!1,type:{name:"((event: FocusEvent) => void) | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},menu:{defaultValue:null,description:"The PopOver menu for more options.",name:"menu",required:!1,type:{name:"ReactNode"}},muted:{defaultValue:null,description:"Whether or not the attendee is muted. This is ignored if you pass a custom microphone via the microphone prop.",name:"muted",required:!1,type:{name:"boolean | undefined"}},poorConnection:{defaultValue:null,description:"Whether or not the attendee is having poor connection, it defaults to `false`. This is ignored if you pass a custom microphone via the microphone prop.",name:"poorConnection",required:!1,type:{name:"boolean | undefined"}},a11yMenuLabel:{defaultValue:null,description:"The label for availability, it defaults to an empty string.",name:"a11yMenuLabel",required:!1,type:{name:"string | undefined"}},"data-tooltip":{defaultValue:null,description:"",name:"data-tooltip",required:!1,type:{name:"boolean | undefined"}},"data-tooltip-position":{defaultValue:null,description:"",name:"data-tooltip-position",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"right"'},{value:'"left"'},{value:'"top"'},{value:'"bottom"'}]}},tooltipContainerId:{defaultValue:null,description:"",name:"tooltipContainerId",required:!1,type:{name:"string | undefined"}},tooltipContent:{defaultValue:null,description:"",name:"tooltipContent",required:!1,type:{name:"ReactNode"}},subtitle:{defaultValue:null,description:"The subtitle for the primary name.",name:"subtitle",required:!1,type:{name:"string | undefined"}},runningLate:{defaultValue:null,description:"The running late message.",name:"runningLate",required:!1,type:{name:"string | undefined"}},micPosition:{defaultValue:null,description:"The position to place microphone icon.",name:"micPosition",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"grouped"'},{value:'"leading"'}]}},videoEnabled:{defaultValue:null,description:"Whether or not the attendee has enabled their local video.",name:"videoEnabled",required:!1,type:{name:"boolean | undefined"}},sharingContent:{defaultValue:null,description:"Whether or not the attendee is sharing content.",name:"sharingContent",required:!1,type:{name:"boolean | undefined"}},microphone:{defaultValue:null,description:"A replacement for the default volume icon, such as the `MicrophoneActivity` component.",name:"microphone",required:!1,type:{name:"ReactNode"}},extraIcon:{defaultValue:null,description:"The icon to depict moderator or presentor status .",name:"extraIcon",required:!1,type:{name:"ReactNode"}},buttonProps:{defaultValue:null,description:"extra properties to pass through to the menu button",name:"buttonProps",required:!1,type:{name:"Partial | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/RosterAttendee/index.tsx#RosterAttendee"]={docgenInfo:RosterAttendee.__docgenInfo,name:"RosterAttendee",path:"src/components/sdk/RosterAttendee/index.tsx#RosterAttendee"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sdk/VideoTileGrid/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>VideoTileGrid});__webpack_require__("./node_modules/react/index.js");var _providers_ContentShareProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/ContentShareProvider/index.tsx"),_providers_FeaturedVideoTileProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/FeaturedVideoTileProvider/index.tsx"),_providers_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/LocalVideoProvider/index.tsx"),_providers_RemoteVideoTileProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/RemoteVideoTileProvider/index.tsx"),_ui_VideoGrid__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/components/ui/VideoGrid/index.tsx"),_ContentShare__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/components/sdk/ContentShare/index.tsx"),_FeaturedRemoteVideos__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/components/sdk/FeaturedRemoteVideos/index.tsx"),_LocalVideo__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./src/components/sdk/LocalVideo/index.tsx"),_RemoteVideos__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./src/components/sdk/RemoteVideos/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/react/jsx-runtime.js");const VideoTileGrid=({noRemoteVideoView,layout="featured",...rest})=>{const{tileId:featureTileId}=(0,_providers_FeaturedVideoTileProvider__WEBPACK_IMPORTED_MODULE_2__.t)(),{tiles}=(0,_providers_RemoteVideoTileProvider__WEBPACK_IMPORTED_MODULE_4__.a)(),{tileId:contentTileId}=(0,_providers_ContentShareProvider__WEBPACK_IMPORTED_MODULE_1__.EJ)(),{isVideoEnabled}=(0,_providers_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_3__.O)(),featured="featured"===layout&&!!featureTileId||!!contentTileId,remoteSize=tiles.length+(contentTileId?1:0),gridSize=remoteSize>1&&isVideoEnabled?remoteSize+1:remoteSize;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(_ui_VideoGrid__WEBPACK_IMPORTED_MODULE_5__.P2,{...rest,size:gridSize,layout:featured?"featured":null,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_ContentShare__WEBPACK_IMPORTED_MODULE_6__.F,{css:"grid-area: ft;"}),"featured"===layout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_FeaturedRemoteVideos__WEBPACK_IMPORTED_MODULE_7__.m,{}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_RemoteVideos__WEBPACK_IMPORTED_MODULE_9__.P,{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_LocalVideo__WEBPACK_IMPORTED_MODULE_8__.O,{nameplate:"Me",css:gridSize>1?"\n height: 100%;\n width: 100%;\n":"\n display: flex;\n position: absolute;\n bottom: 1rem;\n right: 1rem;\n width: 20vw;\n max-height: 30vh;\n height: auto;\n\n video {\n position: static;\n }\n"}),0===remoteSize&&noRemoteVideoView]})};VideoTileGrid.displayName="VideoTileGrid";try{VideoTileGrid.displayName="VideoTileGrid",VideoTileGrid.__docgenInfo={description:"",displayName:"VideoTileGrid",props:{noRemoteVideoView:{defaultValue:null,description:"A component to render when there are no remote videos present",name:"noRemoteVideoView",required:!1,type:{name:"ReactNode"}},layout:{defaultValue:{value:"featured"},description:"The layout of the grid.",name:"layout",required:!1,type:{name:"Layout | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/VideoTileGrid/index.tsx#VideoTileGrid"]={docgenInfo:VideoTileGrid.__docgenInfo,name:"VideoTileGrid",path:"src/components/sdk/VideoTileGrid/index.tsx#VideoTileGrid"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Button/SecondaryButton.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__,k:()=>SecondaryButton});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Button/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const SecondaryButton=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((props,ref)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(___WEBPACK_IMPORTED_MODULE_1__.Z,{variant:"secondary",...props}))),__WEBPACK_DEFAULT_EXPORT__=SecondaryButton;try{SecondaryButton.displayName="SecondaryButton",SecondaryButton.__docgenInfo={description:"",displayName:"SecondaryButton",props:{icon:{defaultValue:null,description:"The icon element to be shown in the button.",name:"icon",required:!1,type:{name:"Element | undefined"}},label:{defaultValue:null,description:"The text of the button.",name:"label",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"The variant of button.",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"icon"'},{value:'"primary"'},{value:'"secondary"'}]}},selected:{defaultValue:null,description:"Whether or not the button is selected.",name:"selected",required:!1,type:{name:"boolean | undefined"}},iconSize:{defaultValue:null,description:"Defines the size of the icon in the button, it defaults to `sm`.",name:"iconSize",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"md"'},{value:'"lg"'},{value:'"sm"'}]}},disabled:{defaultValue:null,description:"Whether or not the button is disabled. *",name:"disabled",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Button/SecondaryButton.tsx#SecondaryButton"]={docgenInfo:SecondaryButton.__docgenInfo,name:"SecondaryButton",path:"src/components/ui/Button/SecondaryButton.tsx#SecondaryButton"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Chat/ChannelList/ChannelItem.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var classnames__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__),_Badge__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./src/components/ui/Badge/index.tsx")),_Button__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/Button/index.tsx"),_icons__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/ui/icons/index.tsx"),_PopOver__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/components/ui/PopOver/index.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/components/ui/Chat/ChannelList/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ChannelItem=props=>{const{name,actions,isSelected,onClick,unread,unreadBadgeLabel,lastChannelMessage,lastChannelMessageTimestamp}=props,displayDetailedView=lastChannelMessage||lastChannelMessageTimestamp,displayUnreadBadge=unread&&unreadBadgeLabel,displayPopOver=actions&&isSelected;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_Styled__WEBPACK_IMPORTED_MODULE_6__.YH,{...props,className:classnames__WEBPACK_IMPORTED_MODULE_0___default()({"ch-selected":isSelected,"ch-unread":unread}),children:displayDetailedView?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("div",{className:"ch-detailed-channel",onClick,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div",{className:"ch-detailed-channel-name",children:name}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div",{className:"ch-detailed-channel-message",children:lastChannelMessage}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div",{className:"ch-detailed-channel-message-time",children:lastChannelMessageTimestamp})]}),displayUnreadBadge&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_Badge__WEBPACK_IMPORTED_MODULE_2__.Z,{value:unreadBadgeLabel,className:"ch-unread-badge-detailed"}),displayPopOver&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_PopOver__WEBPACK_IMPORTED_MODULE_5__.Z,{className:"ch-popover-toggle-detailed",a11yLabel:"Open channel options",placement:"bottom-end",renderButton:isOpen=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_4__.bb,{width:"1.5rem",height:"1.5rem",className:(isOpen?"isOpen":"")+" ch-channel-actions","data-testid":"channel-actions"}),children:actions})]}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_3__.Z,{className:"ch-channel-button",label:name,onClick}),displayUnreadBadge&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_Badge__WEBPACK_IMPORTED_MODULE_2__.Z,{value:unreadBadgeLabel,className:"ch-unread-badge"}),displayPopOver&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_PopOver__WEBPACK_IMPORTED_MODULE_5__.Z,{a11yLabel:"Open channel options",placement:"bottom-end",renderButton:isOpen=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_4__.bb,{width:"1.5rem",height:"1.5rem",className:(isOpen?"isOpen":"")+" ch-channel-actions","data-testid":"channel-actions"}),children:actions})]})})};ChannelItem.displayName="ChannelItem";const __WEBPACK_DEFAULT_EXPORT__=ChannelItem;try{ChannelItem.displayName="ChannelItem",ChannelItem.__docgenInfo={description:"",displayName:"ChannelItem",props:{name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactNode | ReactNode[]"}},isSelected:{defaultValue:null,description:"Determines if the channel is currently selected and can show actions.",name:"isSelected",required:!1,type:{name:"boolean | undefined"}},onClick:{defaultValue:null,description:"Callback function when clicked",name:"onClick",required:!0,type:{name:"() => void"}},unread:{defaultValue:null,description:"Signifies if there are unread message in the channel.",name:"unread",required:!1,type:{name:"boolean | undefined"}},unreadBadgeLabel:{defaultValue:null,description:"Content of the badge signaling unread messages, such as a badge displaying the number.",name:"unreadBadgeLabel",required:!1,type:{name:"string | undefined"}},lastChannelMessage:{defaultValue:null,description:"",name:"lastChannelMessage",required:!1,type:{name:"string | undefined"}},lastChannelMessageTimestamp:{defaultValue:null,description:"",name:"lastChannelMessageTimestamp",required:!1,type:{name:"string | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/ChannelList/ChannelItem.tsx#ChannelItem"]={docgenInfo:ChannelItem.__docgenInfo,name:"ChannelItem",path:"src/components/ui/Chat/ChannelList/ChannelItem.tsx#ChannelItem"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Chat/ChannelList/Styled.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{YH:()=>StyledChannelItem,nP:()=>StyledChannelList});var styled_components__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_Base__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/components/ui/Base/index.ts");const StyledChannelList=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.ul` + display: flex; + flex-direction: column; + width: 20rem; + + ${_Base__WEBPACK_IMPORTED_MODULE_0__.T} + ${_Base__WEBPACK_IMPORTED_MODULE_0__.K} +`,StyledChannelItem=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.li` + position: relative; + + ${_Base__WEBPACK_IMPORTED_MODULE_0__.T}; + ${_Base__WEBPACK_IMPORTED_MODULE_0__.K}; + + & .ch-channel-button { + width: 100%; + height: 100%; + padding: 11px 0; + background-color: ${props=>props.theme.channelList.bgd}; + border: none; + border-radius: unset; + justify-content: left; + padding-left: 1rem; + color: ${props=>props.theme.channelList.fontColor}; + border: ${props=>props.theme.channelList.border}; + font-family: ${props=>props.theme.fonts.body}; + + &:hover { + background-color: ${props=>props.theme.channelList.hover.bgd}; + } + + &:active { + background-color: ${props=>props.theme.channelList.active.bgd}; + color: ${props=>props.theme.channelList.active.fontColor}; + } + + &:focus { + border: ${props=>props.theme.channelList.focus.border}; + } + } + + & .ch-label { + padding-left: 1.5rem; + } + + & .ch-unread-badge { + display: ${props=>props.unread?"inline":"none"}; + position: absolute; + z-index: 2; + top: 12px; + left: 5px; + background-color: ${props=>props.theme.colors.primary.light}; + } + + &.ch-unread .ch-channel-button { + font-weight: bold; + } + + &.ch-selected .ch-channel-button { + background-color: ${props=>props.theme.colors.primary.light}; + color: ${props=>props.theme.channelList.selected.fontColor}; + + &:focus { + border: ${props=>props.theme.channelList.focus.selectedBorder}; + } + } + + & .ch-popover-toggle { + position: absolute; + right: 1rem; + margin: 0.5rem 0; + height: 1.5rem; + border-radius: 50%; + + .ch-channel-actions { + border: 1px solid transparent; + } + + & g { + fill: ${props=>props.theme.channelList.active.fontColor}; + } + + & button:focus .ch-channel-actions { + border: ${props=>props.theme.channelList.focus.selectedBorder}; + border-radius: 50%; + } + + &:hover, + &:active { + background-color: ${props=>props.theme.channelList.iconButton.activeBgd}; + + & g { + fill: ${props=>props.theme.colors.primary.light}; + } + } + } + + & .ch-detailed-channel { + display: grid; + grid-template-rows: 17px 1fr max-content; + grid-gap: 16px; + padding: 10px 20px; + background-color: ${props=>props.theme.channelList.bgd}; + color: ${props=>props.theme.channelList.fontColor}; + border-bottom: 0.5px solid #d3d3d3; + font-family: ${props=>props.theme.fonts.body}; + + &:hover { + background-color: ${props=>props.theme.channelList.hover.bgd}; + } + + &:active { + background-color: ${props=>props.theme.channelList.active.bgd}; + color: ${props=>props.theme.channelList.active.fontColor}; + } + + &:focus { + border: ${props=>props.theme.channelList.focus.border}; + } + } + + & .ch-detailed-channel-name { + font-weight: bold; + padding-left: 25px; + white-space: nowrap; + overflow-x: hidden; + text-overflow: ellipsis; + font-size: 14px; + max-width: 85%; + } + + & .ch-detailed-channel-message { + grid-row: span 2; + padding-left: 25px; + white-space: nowrap; + overflow-x: hidden; + text-overflow: ellipsis; + font-size: 14px; + max-width: 90%; + } + + & .ch-detailed-channel-message-time { + position: absolute; + top: 0.8rem; + right: 0.5rem; + font-size: 8px; + max-width: 15%; + text-align: right; + } + + & .ch-unread-badge-detailed { + display: ${props=>props.unread?"inline":"none"}; + position: absolute; + z-index: 2; + top: 10px; + left: 5px; + background-color: ${props=>props.theme.colors.primary.light}; + } + + &.ch-selected .ch-detailed-channel { + background-color: ${props=>props.theme.colors.primary.light}; + color: ${props=>props.theme.channelList.selected.fontColor}; + + &:focus { + border: ${props=>props.theme.channelList.focus.selectedBorder}; + } + } + + & .ch-popover-toggle-detailed { + position: absolute; + top: 1.75rem; + right: 1rem; + margin: 0.5rem 0; + height: 1.5rem; + border-radius: 50%; + + .ch-channel-actions { + border: 1px solid transparent; + } + + & g { + fill: ${props=>props.theme.channelList.active.fontColor}; + } + + & button:focus .ch-channel-actions { + border: ${props=>props.theme.channelList.focus.selectedBorder}; + border-radius: 50%; + } + + &:hover, + &:active { + background-color: ${props=>props.theme.channelList.iconButton.activeBgd}; + + & g { + fill: ${props=>props.theme.colors.primary.light}; + } + } + } +`;try{StyledChannelList.displayName="StyledChannelList",StyledChannelList.__docgenInfo={description:"",displayName:"StyledChannelList",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLUListElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/ChannelList/Styled.tsx#StyledChannelList"]={docgenInfo:StyledChannelList.__docgenInfo,name:"StyledChannelList",path:"src/components/ui/Chat/ChannelList/Styled.tsx#StyledChannelList"})}catch(__react_docgen_typescript_loader_error){}try{StyledChannelItem.displayName="StyledChannelItem",StyledChannelItem.__docgenInfo={description:"",displayName:"StyledChannelItem",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLLIElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},isSelected:{defaultValue:null,description:"Determines if the channel is currently selected and can show actions.",name:"isSelected",required:!1,type:{name:"boolean | undefined"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactNode | ReactNode[]"}},unread:{defaultValue:null,description:"Signifies if there are unread message in the channel.",name:"unread",required:!1,type:{name:"boolean | undefined"}},unreadBadgeLabel:{defaultValue:null,description:"Content of the badge signaling unread messages, such as a badge displaying the number.",name:"unreadBadgeLabel",required:!1,type:{name:"string | undefined"}},lastChannelMessage:{defaultValue:null,description:"",name:"lastChannelMessage",required:!1,type:{name:"string | undefined"}},lastChannelMessageTimestamp:{defaultValue:null,description:"",name:"lastChannelMessageTimestamp",required:!1,type:{name:"string | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/ChannelList/Styled.tsx#StyledChannelItem"]={docgenInfo:StyledChannelItem.__docgenInfo,name:"StyledChannelItem",path:"src/components/ui/Chat/ChannelList/Styled.tsx#StyledChannelItem"})}catch(__react_docgen_typescript_loader_error){}try{Styled.displayName="Styled",Styled.__docgenInfo={description:"",displayName:"Styled",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLUListElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/ChannelList/Styled.tsx#Styled"]={docgenInfo:Styled.__docgenInfo,name:"Styled",path:"src/components/ui/Chat/ChannelList/Styled.tsx#Styled"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Chat/ChannelList/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Styled__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Chat/ChannelList/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ChannelList=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Styled__WEBPACK_IMPORTED_MODULE_1__.nP,{...props,"data-testid":"channel-list",children:props.children});ChannelList.displayName="ChannelList";const __WEBPACK_DEFAULT_EXPORT__=ChannelList;try{ChannelList.displayName="ChannelList",ChannelList.__docgenInfo={description:"",displayName:"ChannelList",props:{tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/ChannelList/index.tsx#ChannelList"]={docgenInfo:ChannelList.__docgenInfo,name:"ChannelList",path:"src/components/ui/Chat/ChannelList/index.tsx#ChannelList"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Chat/ChatBubble/ChatBubbleContainer.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/index.ts"),_icons__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/icons/index.tsx"),_PopOver__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/PopOver/index.tsx"),_WithTooltip__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/ui/WithTooltip/index.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/components/ui/Chat/ChatBubble/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ChatBubbleContainer=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((props,ref)=>{const{timestamp,actions,tooltipContainerId,a11yLabel="Open channel options",...rest}=props,IconButtonWithToolTip=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>(0,_WithTooltip__WEBPACK_IMPORTED_MODULE_4__.R)(___WEBPACK_IMPORTED_MODULE_1__.hU,tooltipContainerId)),[tooltipContainerId]),ButtonComponent=rest["data-tooltip"]?IconButtonWithToolTip:___WEBPACK_IMPORTED_MODULE_1__.hU,buttonComponentProps=rest["data-tooltip-position"]?{tooltipPosition:rest["data-tooltip-position"]}:{};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_5__.WR,{"data-testid":"chat-bubble-container",ref,actions,...rest,children:[props.children,(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_5__.OQ,{children:[timestamp&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("span",{className:"ch-timestamp","data-testid":"message-time",children:timestamp}),actions&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_PopOver__WEBPACK_IMPORTED_MODULE_3__.Z,{a11yLabel,placement:"bottom-end",renderButtonWrapper:(isActive,props)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ButtonComponent,{...buttonComponentProps,icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_2__.bb,{width:"1.5rem",height:"1.5rem"}),selected:isActive,...props,label:a11yLabel}),children:actions})]})]})})),__WEBPACK_DEFAULT_EXPORT__=ChatBubbleContainer;try{ChatBubbleContainer.displayName="ChatBubbleContainer",ChatBubbleContainer.__docgenInfo={description:"",displayName:"ChatBubbleContainer",props:{timestamp:{defaultValue:null,description:"The time the message was originally sent.",name:"timestamp",required:!1,type:{name:"ReactNode"}},actions:{defaultValue:null,description:"This allows for custom elements to be rendered into the optional popover menu for each message, such as an edit button.",name:"actions",required:!1,type:{name:"ReactNode | ReactNode[]"}},a11yLabel:{defaultValue:null,description:"The label used for availability.",name:"a11yLabel",required:!1,type:{name:"string | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},"data-tooltip":{defaultValue:null,description:"",name:"data-tooltip",required:!1,type:{name:"boolean | undefined"}},"data-tooltip-position":{defaultValue:null,description:"",name:"data-tooltip-position",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"right"'},{value:'"left"'},{value:'"top"'},{value:'"bottom"'}]}},tooltipContainerId:{defaultValue:null,description:"",name:"tooltipContainerId",required:!1,type:{name:"string | undefined"}},tooltipContent:{defaultValue:null,description:"",name:"tooltipContent",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/ChatBubble/ChatBubbleContainer.tsx#ChatBubbleContainer"]={docgenInfo:ChatBubbleContainer.__docgenInfo,name:"ChatBubbleContainer",path:"src/components/ui/Chat/ChatBubble/ChatBubbleContainer.tsx#ChatBubbleContainer"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Chat/ChatBubble/EditableChatBubble.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_Button_PrimaryButton__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Button/PrimaryButton.tsx"),_Button_SecondaryButton__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/Button/SecondaryButton.tsx"),_Input__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/Input/index.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/ui/Chat/ChatBubble/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const EditableChatBubble=props=>{const{showName=!0,variant,senderName,content,showTail,cancel,cancelLabel="Cancel",save,saveLabel="Save",...rest}=props,[text,setText]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(content),inputEl=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{inputEl&&inputEl.current&&inputEl.current.focus()}),[]);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_4__.N4,{variant,editable:!0,...rest,"data-testid":"editable-chat-bubble",children:[showName&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div",{className:"ch-sender-name",children:senderName}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("form",{"data-testid":"form",onSubmit:e=>save(e,text),children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_Input__WEBPACK_IMPORTED_MODULE_3__.Z,{onChange:e=>{e.preventDefault(),setText(e.target.value)},value:text,showClear:!1,ref:inputEl}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div",{className:"ch-edit-buttons",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_Button_PrimaryButton__WEBPACK_IMPORTED_MODULE_1__.Z,{label:saveLabel,"data-testid":"save-button",onClick:e=>save(e,text)}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_Button_SecondaryButton__WEBPACK_IMPORTED_MODULE_2__.Z,{label:cancelLabel,onClick:cancel,"data-testid":"cancel-button"})]})]}),showTail&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("svg",{viewBox:"0 0 4 9","data-testid":"tail",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("g",{transform:"translate(0, -53)",className:"ch-chat-bubble-tail",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("path",{d:"M4,62 L3.92789928,61.999999 C2.89671177,62.0004988 1.33197354,61.8123902 0.200755581,60.8250184 C-0.0781312712,60.5814641 -0.0639788041,60.0290387 0.229060515,59.8181428 C1.47198013,58.9247413 3.99237825,57.6821586 4,52.9112516 L4,52.9112516 L4,62 Z"})})})})]})};EditableChatBubble.displayName="EditableChatBubble";const __WEBPACK_DEFAULT_EXPORT__=EditableChatBubble;try{EditableChatBubble.displayName="EditableChatBubble",EditableChatBubble.__docgenInfo={description:"",displayName:"EditableChatBubble",props:{variant:{defaultValue:null,description:"Determines styling for outgoing and incoming messages.",name:"variant",required:!0,type:{name:"enum",value:[{value:'"incoming"'},{value:'"outgoing"'}]}},senderName:{defaultValue:null,description:"The name of the user that sent the message.",name:"senderName",required:!0,type:{name:"string"}},content:{defaultValue:null,description:"The text content of the message.",name:"content",required:!0,type:{name:"string"}},showName:{defaultValue:null,description:"Determines if the name should be shown or not.",name:"showName",required:!1,type:{name:"boolean | undefined"}},showTail:{defaultValue:null,description:"Adds the bubble tail style to a message.",name:"showTail",required:!1,type:{name:"boolean | undefined"}},save:{defaultValue:null,description:"A callback function to edit the message's content.",name:"save",required:!0,type:{name:"(e: any, newContent: string) => void"}},saveLabel:{defaultValue:null,description:"The button label for saving an edit.",name:"saveLabel",required:!1,type:{name:"string | undefined"}},cancel:{defaultValue:null,description:"A callback function that changes the UI to allow the user to edit the content of the message",name:"cancel",required:!0,type:{name:"(e: any) => void"}},cancelLabel:{defaultValue:null,description:"The button label for canceling an edit.",name:"cancelLabel",required:!1,type:{name:"string | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/ChatBubble/EditableChatBubble.tsx#EditableChatBubble"]={docgenInfo:EditableChatBubble.__docgenInfo,name:"EditableChatBubble",path:"src/components/ui/Chat/ChatBubble/EditableChatBubble.tsx#EditableChatBubble"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Chat/ChatBubble/Styled.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{N4:()=>StyledChatBubble,OQ:()=>StyledChatBubbleInfo,WR:()=>StyledChatBubbleContainer});var styled_components__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_Base__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/components/ui/Base/index.ts");const StyledChatBubbleContainer=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.div` + display: flex; + flex-direction: row; + font-size: 0.65rem; + margin-left: 1rem; + align-items: center; + background-color: ${props=>props.theme.chatBubble.container.bgd}; + width: 100%; + + .ch-timestamp { + padding-right: ${props=>props.actions?"1rem":"2.5rem"}; + } + + ${_Base__WEBPACK_IMPORTED_MODULE_0__.K} + ${_Base__WEBPACK_IMPORTED_MODULE_0__.T} +`,StyledChatBubble=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.div` + background-color: ${props=>props.theme.chatBubble[props.variant].bgd}; + padding: 0.625rem 1rem; + border-radius: 4px; + width: fit-content; + color: ${props=>props.theme.chatBubble[props.variant].fontColor}; + box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1); + line-height: 20px; + width: ${props=>props.editable?"100%":"fit-content"}; + max-width: 70.6%; + font-size: 0.875rem; + position: relative; + margin-bottom: ${props=>props.editable?"4rem":"unset"}; + overflow-wrap: break-word; + word-break: break-word; + hyphens: auto; + + & .ch-header { + display: flex; + flex-direction: row; + margin-bottom: 0.5rem; + align-items: baseline; + } + + & .ch-sender-name { + font-weight: bold; + padding-right: 0.5rem; + } + + & .ch-header-timestamp { + font-size: 0.65rem; + } + + & svg { + position: absolute; + height: 19px; + width: 11px; + margin-top: -14px; + margin-left: -25px; + + & .ch-chat-bubble-tail { + fill: ${props=>props.theme.chatBubble[props.variant].bgd}; + } + } + + .ch-input { + width: 100%; + } + + .ch-edit-buttons { + position: absolute; + margin-top: 1rem; + display: flex; + flex-direction: row-reverse; + width: 10rem; + justify-content: space-between; + } + + ${_Base__WEBPACK_IMPORTED_MODULE_0__.K}; + ${_Base__WEBPACK_IMPORTED_MODULE_0__.T}; +`,StyledChatBubbleInfo=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.div` + display: flex; + margin-right: 0.5rem; + margin-left: auto; + color: ${props=>props.theme.chatBubble.container.fontColor}; + align-items: center; + + & .ch-message-actions { + border: 1px solid transparent; + border-radius: 50%; + } + + & button:hover .ch-message-actions { + background-color: ${props=>props.theme.buttons.icon.hover.bgd}; + + & g { + fill: ${props=>props.theme.buttons.icon.hover.text}; + } + } + + & button:focus .ch-message-actions { + border: 1px solid ${props=>props.theme.colors.primary.dark}; + border-radius: 50%; + } + + & .ch-message-actions g { + fill: ${props=>props.theme.chatBubble.container.fontColor}; + } + + & .ch-message-actions.isOpen { + background-color: ${props=>props.theme.buttons.icon.active.bgd}; + border-radius: 50%; + + & g { + fill: ${props=>props.theme.buttons.icon.active.text}; + } + } +`;try{StyledChatBubbleContainer.displayName="StyledChatBubbleContainer",StyledChatBubbleContainer.__docgenInfo={description:"",displayName:"StyledChatBubbleContainer",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"any"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/ChatBubble/Styled.tsx#StyledChatBubbleContainer"]={docgenInfo:StyledChatBubbleContainer.__docgenInfo,name:"StyledChatBubbleContainer",path:"src/components/ui/Chat/ChatBubble/Styled.tsx#StyledChatBubbleContainer"})}catch(__react_docgen_typescript_loader_error){}try{StyledChatBubble.displayName="StyledChatBubble",StyledChatBubble.__docgenInfo={description:"",displayName:"StyledChatBubble",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},variant:{defaultValue:null,description:"",name:"variant",required:!0,type:{name:"enum",value:[{value:'"incoming"'},{value:'"outgoing"'}]}},editable:{defaultValue:null,description:"",name:"editable",required:!1,type:{name:"boolean | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/ChatBubble/Styled.tsx#StyledChatBubble"]={docgenInfo:StyledChatBubble.__docgenInfo,name:"StyledChatBubble",path:"src/components/ui/Chat/ChatBubble/Styled.tsx#StyledChatBubble"})}catch(__react_docgen_typescript_loader_error){}try{StyledChatBubbleInfo.displayName="StyledChatBubbleInfo",StyledChatBubbleInfo.__docgenInfo={description:"",displayName:"StyledChatBubbleInfo",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/ChatBubble/Styled.tsx#StyledChatBubbleInfo"]={docgenInfo:StyledChatBubbleInfo.__docgenInfo,name:"StyledChatBubbleInfo",path:"src/components/ui/Chat/ChatBubble/Styled.tsx#StyledChatBubbleInfo"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Chat/ChatBubble/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Styled__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Chat/ChatBubble/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ChatBubble=({variant,senderName,timestamp,showTail,redacted,children,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_1__.N4,{variant,editable:!1,...rest,"data-testid":"chat-bubble",children:[(senderName||timestamp)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"ch-header",children:[senderName&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"ch-sender-name","data-testid":"chat-bubble-sender-name",children:senderName}),timestamp&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"ch-header-timestamp","data-testid":"chat-bubble-timestamp",children:timestamp})]}),children&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{children}),showTail&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("svg",{viewBox:"0 0 4 9","data-testid":"tail",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("g",{transform:"translate(0, -53)",className:"ch-chat-bubble-tail",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M4,62 L3.92789928,61.999999 C2.89671177,62.0004988 1.33197354,61.8123902 0.200755581,60.8250184 C-0.0781312712,60.5814641 -0.0639788041,60.0290387 0.229060515,59.8181428 C1.47198013,58.9247413 3.99237825,57.6821586 4,52.9112516 L4,52.9112516 L4,62 Z"})})})})]});ChatBubble.displayName="ChatBubble";const __WEBPACK_DEFAULT_EXPORT__=ChatBubble;try{ChatBubble.displayName="ChatBubble",ChatBubble.__docgenInfo={description:"",displayName:"ChatBubble",props:{variant:{defaultValue:null,description:"Determines styling for outgoing and incoming messages.",name:"variant",required:!0,type:{name:"enum",value:[{value:'"incoming"'},{value:'"outgoing"'}]}},senderName:{defaultValue:null,description:"The name of the user that sent the message.",name:"senderName",required:!1,type:{name:"string | undefined"}},timestamp:{defaultValue:null,description:"The timestamp of the message being sent.",name:"timestamp",required:!1,type:{name:"string | undefined"}},showTail:{defaultValue:null,description:"Adds the bubble tail style to a message.",name:"showTail",required:!1,type:{name:"boolean | undefined"}},redacted:{defaultValue:null,description:"Determines if the message has been removed after being sent.",name:"redacted",required:!1,type:{name:"boolean | undefined"}},children:{defaultValue:null,description:"Includes other elements or components, such as a message attachment.",name:"children",required:!1,type:{name:"((string | number | boolean | ReactElement> | ReactFragment | ReactPortal | ReactNode[]) & (string | ... 4 more ... | ReactPortal)) | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/ChatBubble/index.tsx#ChatBubble"]={docgenInfo:ChatBubble.__docgenInfo,name:"ChatBubble",path:"src/components/ui/Chat/ChatBubble/index.tsx#ChatBubble"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Chat/InfiniteList/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>Chat_InfiniteList});var react=__webpack_require__("./node_modules/react/index.js"),icons=__webpack_require__("./src/components/ui/icons/index.tsx"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),Base=__webpack_require__("./src/components/ui/Base/index.ts");const rotate=styled_components_browser_esm.F4` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,StyledInfiniteList=styled_components_browser_esm.ZP.ul` + background-color: ${props=>props.theme.chatBubble.container.bgd}; + overflow-y: scroll; + display: flex; + flex-direction: column; + list-style: none; + padding: 0; + + /* disable scrolling while fetching */ + &.ch-not-scrollable { + overflow-y: hidden; + } + + ${Base.K} + ${Base.T} + + .ch-spinner { + margin: 0 auto; + } + + .ch-spinner svg { + width: 2rem; + height: 2rem; + animation: ${rotate} 2s linear infinite; + display: block; + } +`;try{StyledInfiniteList.displayName="StyledInfiniteList",StyledInfiniteList.__docgenInfo={description:"",displayName:"StyledInfiniteList",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLUListElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!0,type:{name:"boolean"}},items:{defaultValue:null,description:"",name:"items",required:!0,type:{name:"ReactNode[]"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/InfiniteList/Styled.tsx#StyledInfiniteList"]={docgenInfo:StyledInfiniteList.__docgenInfo,name:"StyledInfiniteList",path:"src/components/ui/Chat/InfiniteList/Styled.tsx#StyledInfiniteList"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const InfiniteList=props=>{const{isLoading,onLoad,items}=props,listEnd=(0,react.useRef)(null),currentTopItemRef=(0,react.useRef)(null),firstNew=(0,react.useRef)(null),prevLength=(0,react.useRef)(items.length),newLength=(0,react.useRef)(0),onLoadRef=(0,react.useRef)(onLoad);onLoadRef.current=onLoad;const[atBottom,setAtBottom]=(0,react.useState)(!1);(0,react.useEffect)((()=>{firstNew.current?.scrollIntoView()}),[items.length]);const topObserver=new IntersectionObserver((entries=>{entries[0].isIntersecting&&onLoadRef.current()}),{threshold:1});(0,react.useEffect)((()=>(listEnd.current?.scrollIntoView(),currentTopItemRef.current&&topObserver.observe(currentTopItemRef.current),()=>{currentTopItemRef.current&&topObserver.unobserve(currentTopItemRef.current)})),[]),items.length!==prevLength.current&&(prevLength.current=newLength.current),newLength.current=items.length;const newBottom=(0,react.useRef)(null);let prevBottom;const messageList=items.map(((item,i)=>{return(0,jsx_runtime.jsx)("li",{id:i.toString(),ref:0===i?currentTopItemRef:(index=i,index===newLength.current-1?newBottom:index===items.length-prevLength.current-1&&isLoading&&items.length!==prevLength.current?firstNew:null),role:"article",children:item},i);var index})),bottomObserver=new IntersectionObserver((entries=>{const entry=entries[0];setAtBottom(entry.isIntersecting)}),{threshold:0});return(0,react.useEffect)((()=>(atBottom&&listEnd.current&&listEnd.current.scrollIntoView(),prevBottom=newBottom.current,prevBottom&&bottomObserver.unobserve(prevBottom),newBottom.current&&(bottomObserver.observe(newBottom.current),prevBottom=newBottom.current),()=>{prevBottom&&bottomObserver.unobserve(prevBottom)})),[items.length]),(0,jsx_runtime.jsxs)(StyledInfiniteList,{...props,className:""+(isLoading?"ch-not-scrollable":""),"data-testid":"infinite-list","aria-busy":!!isLoading,role:"feed",children:[isLoading&&(0,jsx_runtime.jsx)("li",{className:"ch-spinner",children:(0,jsx_runtime.jsx)(icons.$j,{})}),messageList,(0,jsx_runtime.jsx)("div",{ref:listEnd})]})};InfiniteList.displayName="InfiniteList";const Chat_InfiniteList=InfiniteList;try{InfiniteList.displayName="InfiniteList",InfiniteList.__docgenInfo={description:"",displayName:"InfiniteList",props:{onLoad:{defaultValue:null,description:"",name:"onLoad",required:!0,type:{name:"() => void"}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!0,type:{name:"boolean"}},items:{defaultValue:null,description:"",name:"items",required:!0,type:{name:"ReactNode[]"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/InfiniteList/index.tsx#InfiniteList"]={docgenInfo:InfiniteList.__docgenInfo,name:"InfiniteList",path:"src/components/ui/Chat/InfiniteList/index.tsx#InfiniteList"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Chat/MessageAttachment/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>Chat_MessageAttachment});__webpack_require__("./node_modules/react/index.js");var icons=__webpack_require__("./src/components/ui/icons/index.tsx"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),Base=__webpack_require__("./src/components/ui/Base/index.ts");const StyledMessageAttachmentContent=styled_components_browser_esm.ZP.div` + display: flex; + flex-direction: row; + padding: 10px; + + & .ch-attachment-icon { + height: 2rem; + width: 2rem; + margin: auto; + background-color: ${props=>props.theme.messageAttachment.icon.bgd}; + border-radius: 25px; + + & .ch-document-icon { + margin: auto 0; + color: ${props=>props.theme.messageAttachment.icon.color}; + } + } + & .ch-attachment-name { + margin-left: 1rem; + + & a:link, + a:visited, + a:hover, + a:active { + color: ${props=>props.theme.messageAttachment.name.fontColor}; + text-decoration: none; + } + } + & .ch-attachment-size { + font-size: ${props=>props.theme.messageAttachment.size.fontSize}; + color: ${props=>props.theme.messageAttachment.size.fontColor}; + display: block; + padding-top: 3px; + } +`,StyledMessageAttachment=styled_components_browser_esm.ZP.div` + color: ${props=>props.theme.messageAttachment.content.fontColor}; + display: flex; + flex-direction: column; + width: fit-content; + border-radius: 4px; + overflow: hidden; + box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1); + background-color: ${props=>props.theme.messageAttachment.content.bgd}; + letter-spacing: ${props=>props.theme.messageAttachment.content.letterSpacing}; + font-size: ${props=>props.theme.fontSizes.text.fontSize}; + line-height: ${props=>props.theme.fontSizes.text.lineHeight}; + + & img { + ${props=>props.imgStyles}; + } + + ${Base.K} + ${Base.T} +`;try{StyledMessageAttachmentContent.displayName="StyledMessageAttachmentContent",StyledMessageAttachmentContent.__docgenInfo={description:"",displayName:"StyledMessageAttachmentContent",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/MessageAttachment/Styled.tsx#StyledMessageAttachmentContent"]={docgenInfo:StyledMessageAttachmentContent.__docgenInfo,name:"StyledMessageAttachmentContent",path:"src/components/ui/Chat/MessageAttachment/Styled.tsx#StyledMessageAttachmentContent"})}catch(__react_docgen_typescript_loader_error){}try{StyledMessageAttachment.displayName="StyledMessageAttachment",StyledMessageAttachment.__docgenInfo={description:"",displayName:"StyledMessageAttachment",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},imgStyles:{defaultValue:null,description:"",name:"imgStyles",required:!1,type:{name:"string | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/MessageAttachment/Styled.tsx#StyledMessageAttachment"]={docgenInfo:StyledMessageAttachment.__docgenInfo,name:"StyledMessageAttachment",path:"src/components/ui/Chat/MessageAttachment/Styled.tsx#StyledMessageAttachment"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const MessageAttachment=({size="Unknown",...props})=>{const{name,downloadUrl,renderImg,imgUrl,imgOnClick,imgOnLoad}=props;return(0,jsx_runtime.jsxs)(StyledMessageAttachment,{...props,children:[(0,jsx_runtime.jsxs)(StyledMessageAttachmentContent,{...props,children:[(0,jsx_runtime.jsx)("div",{className:"ch-attachment-icon",children:(0,jsx_runtime.jsx)(icons.BB,{className:"ch-document-icon",width:"2rem",height:"2rem"})}),(0,jsx_runtime.jsxs)("div",{className:"ch-attachment-name",children:[(0,jsx_runtime.jsx)("a",{target:"_blank",href:downloadUrl,rel:"noreferrer",children:name}),(0,jsx_runtime.jsx)("span",{className:"ch-attachment-size",children:size})]})]}),renderImg&&(0,jsx_runtime.jsx)("img",{className:"ch-attachment-img","data-testid":"preview-img",alt:imgUrl||downloadUrl,onClick:imgOnClick,src:imgUrl||downloadUrl,onLoad:imgOnLoad})]})};MessageAttachment.displayName="MessageAttachment";const Chat_MessageAttachment=MessageAttachment;try{MessageAttachment.displayName="MessageAttachment",MessageAttachment.__docgenInfo={description:"",displayName:"MessageAttachment",props:{name:{defaultValue:null,description:"The name of the attachment.",name:"name",required:!0,type:{name:"string"}},downloadUrl:{defaultValue:null,description:"The file URL string to download attachment.",name:"downloadUrl",required:!0,type:{name:"string"}},renderImg:{defaultValue:null,description:"Determines whether render image of the attachment.",name:"renderImg",required:!1,type:{name:"boolean | undefined"}},imgUrl:{defaultValue:null,description:"The URL of the image.",name:"imgUrl",required:!1,type:{name:"string | undefined"}},imgStyles:{defaultValue:null,description:"The style of the image.",name:"imgStyles",required:!1,type:{name:"string | undefined"}},imgOnClick:{defaultValue:null,description:"How to handle onClick of the image.",name:"imgOnClick",required:!1,type:{name:"(() => void) | undefined"}},imgOnLoad:{defaultValue:null,description:"How to handle onLoad of the image.",name:"imgOnLoad",required:!1,type:{name:"(() => void) | undefined"}},size:{defaultValue:{value:"Unknown"},description:"The size of attachment.",name:"size",required:!1,type:{name:"string | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Chat/MessageAttachment/index.tsx#MessageAttachment"]={docgenInfo:MessageAttachment.__docgenInfo,name:"MessageAttachment",path:"src/components/ui/Chat/MessageAttachment/index.tsx#MessageAttachment"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Checkbox/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>Checkbox,Z:()=>ui_Checkbox});var react=__webpack_require__("./node_modules/react/index.js"),icons=__webpack_require__("./src/components/ui/icons/index.tsx"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),style=__webpack_require__("./src/utils/style.ts");const HiddenCheckbox=styled_components_browser_esm.ZP.input` + ${style.jy}; + + &[aria-invalid='true'] + .ch-checkbox { + border: ${props=>props.theme.inputs.error.border}; + box-shadow: ${props=>props.theme.inputs.error.shadow}; + } +`,StyledCheckbox=styled_components_browser_esm.ZP.div` + background-color: ${props=>props.theme.inputs.bgd}; + border: ${props=>props.theme.inputs.border}; + border-radius: ${props=>props.theme.radii.default}; + box-shadow: ${props=>props.theme.inputs.shadow}; + color: ${props=>props.theme.inputs.fontColor}; + display: inline-block; + height: 1rem; + position: relative; + width: 1rem; + transition: box-shadow 0.05s ease-in; + + > svg { + left: -0.03125rem; + position: absolute; + transform: scale(1.5); + } + + ${HiddenCheckbox}:checked ~ & { + background-color: ${props=>props.theme.inputs.checked.bgd}; + border: ${props=>props.theme.inputs.checked.border}; + box-shadow: ${props=>props.theme.inputs.checked.shadow}; + color: ${props=>props.theme.inputs.checked.fontColor}; + } + + ${HiddenCheckbox}:focus ~ & { + border: ${props=>props.theme.inputs.focus.border}; + box-shadow: ${props=>props.theme.inputs.focus.shadow}; + } +`;try{HiddenCheckbox.displayName="HiddenCheckbox",HiddenCheckbox.__docgenInfo={description:"",displayName:"HiddenCheckbox",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLInputElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Checkbox/Styled.tsx#HiddenCheckbox"]={docgenInfo:HiddenCheckbox.__docgenInfo,name:"HiddenCheckbox",path:"src/components/ui/Checkbox/Styled.tsx#HiddenCheckbox"})}catch(__react_docgen_typescript_loader_error){}try{StyledCheckbox.displayName="StyledCheckbox",StyledCheckbox.__docgenInfo={description:"",displayName:"StyledCheckbox",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},checked:{defaultValue:null,description:"",name:"checked",required:!1,type:{name:"boolean | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Checkbox/Styled.tsx#StyledCheckbox"]={docgenInfo:StyledCheckbox.__docgenInfo,name:"StyledCheckbox",path:"src/components/ui/Checkbox/Styled.tsx#StyledCheckbox"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const Checkbox=props=>{const{checked,onChange,value}=props,checkboxNode=(0,react.useRef)(null);return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(HiddenCheckbox,{...props,"data-testid":"hidden-checkbox",ref:checkboxNode,type:"checkbox",value,onChange}),(0,jsx_runtime.jsx)(StyledCheckbox,{"data-testid":"styled-checkbox",checked,className:"ch-checkbox",onClick:()=>{checkboxNode.current?.click(),checkboxNode.current?.focus()},children:checked&&(0,jsx_runtime.jsx)(icons.Jr,{"data-testid":"check"})})]})};Checkbox.displayName="Checkbox";const ui_Checkbox=Checkbox;try{Checkbox.displayName="Checkbox",Checkbox.__docgenInfo={description:"",displayName:"Checkbox",props:{onChange:{defaultValue:null,description:"The callback fired when the state is changed.",name:"onChange",required:!0,type:{name:"(event?: string | ChangeEvent | undefined) => void"}},value:{defaultValue:null,description:"The value of the checkbox.",name:"value",required:!0,type:{name:"string"}},checked:{defaultValue:null,description:"Whether or not the checkbox is checked.",name:"checked",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Checkbox/index.tsx#Checkbox"]={docgenInfo:Checkbox.__docgenInfo,name:"Checkbox",path:"src/components/ui/Checkbox/index.tsx#Checkbox"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/ContentTile/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>ContentTile,Z:()=>__WEBPACK_DEFAULT_EXPORT__});var styled_components__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_ui_VideoTile__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/components/ui/VideoTile/index.tsx");const ContentTile=(0,styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP)(_ui_VideoTile__WEBPACK_IMPORTED_MODULE_0__.y)` + background-color: ${({theme})=>theme.colors.greys.grey80}; +`,__WEBPACK_DEFAULT_EXPORT__=ContentTile;try{ContentTile.displayName="ContentTile",ContentTile.__docgenInfo={description:"",displayName:"ContentTile",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},nameplate:{defaultValue:null,description:"The name to show on the video tile",name:"nameplate",required:!1,type:{name:"string | undefined"}},objectFit:{defaultValue:null,description:"Specifies which CSS object-fit value to apply to the VideoTile so that it resizes to fit its container",name:"objectFit",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"fill"'},{value:'"none"'},{value:'"contain"'},{value:'"cover"'},{value:'"scale-down"'}]}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/ContentTile/index.tsx#ContentTile"]={docgenInfo:ContentTile.__docgenInfo,name:"ContentTile",path:"src/components/ui/ContentTile/index.tsx#ContentTile"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/ControlBar/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _ControlBarContext__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/ControlBar/ControlBarContext.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/ControlBar/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ControlBar=({tag,layout,showLabels=!1,responsive=!0,className,children,...rest})=>{const controlBarContext={layout,showLabels};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_ControlBarContext__WEBPACK_IMPORTED_MODULE_1__.ZP.Provider,{value:controlBarContext,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Styled__WEBPACK_IMPORTED_MODULE_2__.o3,{className:className||"",responsive,as:tag,...controlBarContext,"data-testid":"control-bar",...rest,children})})};ControlBar.displayName="ControlBar";const __WEBPACK_DEFAULT_EXPORT__=ControlBar;try{ControlBar.displayName="ControlBar",ControlBar.__docgenInfo={description:"",displayName:"ControlBar",props:{showLabels:{defaultValue:{value:"false"},description:"Whether or not the labels of the control bar items should show.",name:"showLabels",required:!1,type:{name:"boolean"}},layout:{defaultValue:null,description:"The layout of the control bar, available options are: `top`, `bottom`, `right`, `left`, `undocked-horizontal`, and `undocked-vertical`.",name:"layout",required:!0,type:{name:"enum",value:[{value:'"right"'},{value:'"left"'},{value:'"top"'},{value:'"bottom"'},{value:'"undocked-horizontal"'},{value:'"undocked-vertical"'}]}},responsive:{defaultValue:{value:"true"},description:"",name:"responsive",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/ControlBar/index.tsx#ControlBar"]={docgenInfo:ControlBar.__docgenInfo,name:"ControlBar",path:"src/components/ui/ControlBar/index.tsx#ControlBar"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Grid/Cell.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Styled__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Grid/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Cell=({className,children,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Styled__WEBPACK_IMPORTED_MODULE_1__.j,{className:className||"",...rest,children});Cell.displayName="Cell";const __WEBPACK_DEFAULT_EXPORT__=Cell;try{Cell.displayName="Cell",Cell.__docgenInfo={description:"",displayName:"Cell",props:{tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Grid/Cell.tsx#Cell"]={docgenInfo:Cell.__docgenInfo,name:"Cell",path:"src/components/ui/Grid/Cell.tsx#Cell"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Grid/Styled.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{H:()=>StyledGrid,j:()=>StyledCell});var styled_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),styled_system__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/styled-system/dist/index.esm.js"),_Base__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Base/index.ts");const StyledGrid=styled_components__WEBPACK_IMPORTED_MODULE_2__.ZP.div` + display: grid; + width: 100%; + height: 100%; + + ${styled_system__WEBPACK_IMPORTED_MODULE_0__.eC} + ${_Base__WEBPACK_IMPORTED_MODULE_1__.K} + ${_Base__WEBPACK_IMPORTED_MODULE_1__.T} + + ${({responsive,theme})=>responsive?`\n ${theme.mediaQueries.max.md} {\n grid-template-columns: 1fr 1fr;\n }\n\n ${theme.mediaQueries.max.sm} {\n grid-template-columns: 1fr;\n }\n `:""} + + ${props=>props.css||""} +`,StyledCell=styled_components__WEBPACK_IMPORTED_MODULE_2__.ZP.div` + ${_Base__WEBPACK_IMPORTED_MODULE_1__.K} + ${styled_system__WEBPACK_IMPORTED_MODULE_0__.eC} + + ${props=>props.css||""} +`;try{StyledGrid.displayName="StyledGrid",StyledGrid.__docgenInfo={description:"",displayName:"StyledGrid",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},responsive:{defaultValue:null,description:"Whether or not the grid is responsive to different window sizes.",name:"responsive",required:!1,type:{name:"boolean | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Grid/Styled.tsx#StyledGrid"]={docgenInfo:StyledGrid.__docgenInfo,name:"StyledGrid",path:"src/components/ui/Grid/Styled.tsx#StyledGrid"})}catch(__react_docgen_typescript_loader_error){}try{StyledCell.displayName="StyledCell",StyledCell.__docgenInfo={description:"",displayName:"StyledCell",props:{css:{defaultValue:null,description:"",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"string | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Grid/Styled.tsx#StyledCell"]={docgenInfo:StyledCell.__docgenInfo,name:"StyledCell",path:"src/components/ui/Grid/Styled.tsx#StyledCell"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Grid/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Styled__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Grid/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Grid=({className,tag,children,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Styled__WEBPACK_IMPORTED_MODULE_1__.H,{as:tag,className:className||"",...rest,children});Grid.displayName="Grid";const __WEBPACK_DEFAULT_EXPORT__=Grid;try{Grid.displayName="Grid",Grid.__docgenInfo={description:"",displayName:"Grid",props:{responsive:{defaultValue:null,description:"Whether or not the grid is responsive to different window sizes.",name:"responsive",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Grid/index.tsx#Grid"]={docgenInfo:Grid.__docgenInfo,name:"Grid",path:"src/components/ui/Grid/index.tsx#Grid"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Navbar/NavbarHeader.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Button_IconButton__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Button/IconButton.tsx"),_icons__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/icons/index.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/Navbar/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js");const NavbarHeader=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_3__.eb,{...props,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("span",{className:"ch-title",children:props.title}),props.onClose&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_Button_IconButton__WEBPACK_IMPORTED_MODULE_1__.Z,{className:"ch-btn-close",label:"Close",onClick:props.onClose,icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_2__.JW,{})})]});NavbarHeader.displayName="NavbarHeader";const __WEBPACK_DEFAULT_EXPORT__=NavbarHeader;try{NavbarHeader.displayName="NavbarHeader",NavbarHeader.__docgenInfo={description:"",displayName:"NavbarHeader",props:{title:{defaultValue:null,description:"The title of the navigation bar menu",name:"title",required:!0,type:{name:"string"}},onClose:{defaultValue:null,description:"The callback fired when the navigation bar is closed",name:"onClose",required:!1,type:{name:"(() => void) | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}},tabIndex:{defaultValue:null,description:"Optional tab index for keyboard accessibility",name:"tabIndex",required:!1,type:{name:"number | undefined"}},onFocus:{defaultValue:null,description:"onFocus event handler",name:"onFocus",required:!1,type:{name:"((event: FocusEvent) => void) | undefined"}},onBlur:{defaultValue:null,description:"onBlur event handler",name:"onBlur",required:!1,type:{name:"((event: FocusEvent) => void) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Navbar/NavbarHeader.tsx#NavbarHeader"]={docgenInfo:NavbarHeader.__docgenInfo,name:"NavbarHeader",path:"src/components/ui/Navbar/NavbarHeader.tsx#NavbarHeader"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Navbar/NavbarItem.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_Button_IconButton__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Button/IconButton.tsx"),_PopOver__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/PopOver/index.tsx"),_WithTooltip__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/WithTooltip/index.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/ui/Navbar/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const NavbarItem=({label,children,placement="right-start",icon,showLabel=!1,badge,onClick,testId="navbar-item",tooltipContainerId,...rest})=>{const IconButtonWithToolTip=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>(0,_WithTooltip__WEBPACK_IMPORTED_MODULE_3__.R)(_Button_IconButton__WEBPACK_IMPORTED_MODULE_1__.Z,tooltipContainerId)),[tooltipContainerId]),ButtonComponent=rest["data-tooltip"]?IconButtonWithToolTip:_Button_IconButton__WEBPACK_IMPORTED_MODULE_1__.Z;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_4__.ct,{"data-testid":testId,showLabel,children:[children?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_PopOver__WEBPACK_IMPORTED_MODULE_2__.Z,{placement,a11yLabel:label,renderButtonWrapper:(isActive,props)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(ButtonComponent,{onClick,selected:isActive,icon,badge,label,...rest,...props}),children}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(ButtonComponent,{icon,label,onClick,badge,...rest}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("label",{className:"ch-navigation-bar-item-label","data-testid":"navbar-label",onClick,children:label})]})};NavbarItem.displayName="NavbarItem";const __WEBPACK_DEFAULT_EXPORT__=NavbarItem;try{NavbarItem.displayName="NavbarItem",NavbarItem.__docgenInfo={description:"",displayName:"NavbarItem",props:{icon:{defaultValue:null,description:"The icon element to be shown in the button.",name:"icon",required:!0,type:{name:"any"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"() => void"}},label:{defaultValue:null,description:"The text of the button.",name:"label",required:!0,type:{name:"string"}},badge:{defaultValue:null,description:"Render a component to the top right area of the IconButton",name:"badge",required:!1,type:{name:"ReactNode | ReactNode[]"}},selected:{defaultValue:null,description:"Whether or not the button is selected.",name:"selected",required:!1,type:{name:"boolean | undefined"}},placement:{defaultValue:{value:"right-start"},description:"",name:"placement",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"top-start"'},{value:'"top-end"'},{value:'"bottom-start"'},{value:'"bottom-end"'},{value:'"right-start"'},{value:'"right-end"'},{value:'"left-start"'},{value:'"left-end"'}]}},showLabel:{defaultValue:{value:"false"},description:"",name:"showLabel",required:!1,type:{name:"boolean | undefined"}},testId:{defaultValue:{value:"navbar-item"},description:"",name:"testId",required:!1,type:{name:"string | undefined"}},variant:{defaultValue:null,description:"The variant of button.",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"icon"'},{value:'"primary"'},{value:'"secondary"'}]}},iconSize:{defaultValue:null,description:"Defines the size of the icon in the button, it defaults to `sm`.",name:"iconSize",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"md"'},{value:'"lg"'},{value:'"sm"'}]}},disabled:{defaultValue:null,description:"Whether or not the button is disabled. *",name:"disabled",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},"data-tooltip":{defaultValue:null,description:"",name:"data-tooltip",required:!1,type:{name:"boolean | undefined"}},"data-tooltip-position":{defaultValue:null,description:"",name:"data-tooltip-position",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"right"'},{value:'"left"'},{value:'"top"'},{value:'"bottom"'}]}},tooltipContainerId:{defaultValue:null,description:"",name:"tooltipContainerId",required:!1,type:{name:"string | undefined"}},tooltipContent:{defaultValue:null,description:"",name:"tooltipContent",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Navbar/NavbarItem.tsx#NavbarItem"]={docgenInfo:NavbarItem.__docgenInfo,name:"NavbarItem",path:"src/components/ui/Navbar/NavbarItem.tsx#NavbarItem"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Navbar/Styled.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{JA:()=>StyledNavbar,ct:()=>StyledNavbarItem,eb:()=>StyledHeader});var styled_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_Base__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/components/ui/Base/index.ts"),_Flex__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Flex/index.tsx");const StyledHeader=styled_components__WEBPACK_IMPORTED_MODULE_2__.ZP.div` + display: flex; + height: 3rem; + align-items: center; + border-bottom: ${({theme})=>`0.03125rem solid ${theme.navbar.headerBorder}`}; + padding: 1rem; + + .ch-title { + flex: 1; + } + + .ch-btn-close { + margin-left: auto; + margin-right: 1rem; + } + + ${({theme})=>theme.mediaQueries.min.md} { + display: none; + } +`,StyledNavbarItem=styled_components__WEBPACK_IMPORTED_MODULE_2__.ZP.div` + display: flex; + align-items: center; + justify-content: center; + width: 4.25rem; + min-height: 3rem; + flex-direction: column; + padding: 0 0.25rem; + + .ch-navigation-bar-item-label { + text-align: center; + display: ${({showLabel})=>showLabel?"block":"none"}; + font-size: ${({theme})=>theme.fontSizes.footnote.fontSize}; + width: 100%; + padding: 0 0.25rem; + margin-bottom: 1.5rem; + } +`,StyledNavbar=(0,styled_components__WEBPACK_IMPORTED_MODULE_2__.ZP)(_Flex__WEBPACK_IMPORTED_MODULE_1__.Z)` + display: flex; + flex-direction: column; + height: 100%; + max-width: 100%; + color: ${props=>props.theme.navbar.text}; + background-color: ${({theme})=>theme.navbar.bgd}; + width: 4.25rem; + padding-top: 1rem; + + ${({theme,responsive})=>theme.mediaQueries.max.md} { + width: ${props=>props.responsive?"20rem":"4.25rem;"}; + padding-top: ${props=>props.responsive?"0":"1rem"}; + + ${StyledHeader} { + display: ${props=>props.responsive?"flex":"none"}; + } + + ${StyledNavbarItem} { + ${props=>props.responsive&&" \n width: auto;\n flex-direction: row;\n\n .ch-navigation-bar-item-label {\n font-size: 1rem;\n text-align: left;\n margin-left: 1.5rem;\n margin-bottom: 0;\n display: block;\n }"}; + } + } + + ${_Base__WEBPACK_IMPORTED_MODULE_0__.T} + ${_Base__WEBPACK_IMPORTED_MODULE_0__.K} +`;try{StyledHeader.displayName="StyledHeader",StyledHeader.__docgenInfo={description:"",displayName:"StyledHeader",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Navbar/Styled.tsx#StyledHeader"]={docgenInfo:StyledHeader.__docgenInfo,name:"StyledHeader",path:"src/components/ui/Navbar/Styled.tsx#StyledHeader"})}catch(__react_docgen_typescript_loader_error){}try{StyledNavbarItem.displayName="StyledNavbarItem",StyledNavbarItem.__docgenInfo={description:"",displayName:"StyledNavbarItem",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},disabled:{defaultValue:null,description:"Whether or not the button is disabled. *",name:"disabled",required:!1,type:{name:"boolean | undefined"}},showLabel:{defaultValue:null,description:"",name:"showLabel",required:!1,type:{name:"boolean | undefined"}},label:{defaultValue:null,description:"The text of the button.",name:"label",required:!1,type:{name:"string | undefined"}},icon:{defaultValue:null,description:"The icon element to be shown in the button.",name:"icon",required:!1,type:{name:"any"}},variant:{defaultValue:null,description:"The variant of button.",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"icon"'},{value:'"primary"'},{value:'"secondary"'}]}},selected:{defaultValue:null,description:"Whether or not the button is selected.",name:"selected",required:!1,type:{name:"boolean | undefined"}},iconSize:{defaultValue:null,description:"Defines the size of the icon in the button, it defaults to `sm`.",name:"iconSize",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"md"'},{value:'"lg"'},{value:'"sm"'}]}},badge:{defaultValue:null,description:"Render a component to the top right area of the IconButton",name:"badge",required:!1,type:{name:"ReactNode | ReactNode[]"}},"data-tooltip":{defaultValue:null,description:"",name:"data-tooltip",required:!1,type:{name:"boolean | undefined"}},"data-tooltip-position":{defaultValue:null,description:"",name:"data-tooltip-position",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"right"'},{value:'"left"'},{value:'"top"'},{value:'"bottom"'}]}},tooltipContainerId:{defaultValue:null,description:"",name:"tooltipContainerId",required:!1,type:{name:"string | undefined"}},tooltipContent:{defaultValue:null,description:"",name:"tooltipContent",required:!1,type:{name:"ReactNode"}},testId:{defaultValue:null,description:"",name:"testId",required:!1,type:{name:"string | undefined"}},placement:{defaultValue:null,description:"",name:"placement",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"top-start"'},{value:'"top-end"'},{value:'"bottom-start"'},{value:'"bottom-end"'},{value:'"right-start"'},{value:'"right-end"'},{value:'"left-start"'},{value:'"left-end"'}]}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Navbar/Styled.tsx#StyledNavbarItem"]={docgenInfo:StyledNavbarItem.__docgenInfo,name:"StyledNavbarItem",path:"src/components/ui/Navbar/Styled.tsx#StyledNavbarItem"})}catch(__react_docgen_typescript_loader_error){}try{StyledNavbar.displayName="StyledNavbar",StyledNavbar.__docgenInfo={description:"",displayName:"StyledNavbar",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element\nClassname to apply custom CSS styles",name:"className",required:!1,type:{name:"string | undefined"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string | undefined"}},style:{defaultValue:null,description:"Additional style of the flex",name:"style",required:!1,type:{name:"{} | undefined"}},tabIndex:{defaultValue:null,description:"Optional tab index for keyboard accessibility",name:"tabIndex",required:!1,type:{name:"number | undefined"}},children:{defaultValue:null,description:"Any react components or HTML elements",name:"children",required:!1,type:{name:"any"}},onFocus:{defaultValue:null,description:"onFocus event handler",name:"onFocus",required:!1,type:{name:"((event: FocusEvent) => void) | undefined"}},onBlur:{defaultValue:null,description:"onBlur event handler",name:"onBlur",required:!1,type:{name:"((event: FocusEvent) => void) | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},responsive:{defaultValue:null,description:"optionally render a responsive layout at mobile breakpoints",name:"responsive",required:!1,type:{name:"boolean | undefined"}},layout:{defaultValue:null,description:"The pre-defined layout.",name:"layout",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"stack"'},{value:'"fill-space"'},{value:'"fill-space-centered"'},{value:'"equal-columns"'}]}},alignItems:{defaultValue:null,description:"Defines the default behavior for how flex items are laid out along the cross axis on the current line.",name:"alignItems",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"inherit"'},{value:'"initial"'},{value:'"center"'},{value:'"baseline"'},{value:'"flex-end"'},{value:'"flex-start"'},{value:'"stretch"'}]}},container:{defaultValue:null,description:"If `true`, display = `flex`, otherwise, display = `block`.",name:"container",required:!1,type:{name:"boolean | undefined"}},flexDirection:{defaultValue:null,description:"Establishes the main-axis, thus defining the direction flex items are placed in the flex container.",name:"flexDirection",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"row"'},{value:'"column"'}]}},flexWrap:{defaultValue:null,description:"By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property.",name:"flexWrap",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"wrap"'},{value:'"nowrap"'},{value:'"wrap-reverse"'}]}},flex:{defaultValue:null,description:"Shorthand for flex-grow, flex-shrink and flex-basis combined.",name:"flex",required:!1,type:{name:"string | undefined"}},flexBasis:{defaultValue:null,description:"Defines the default size of an element before the remaining space is distributed.",name:"flexBasis",required:!1,type:{name:"number | undefined"}},flexGrow:{defaultValue:null,description:"Defines the ability for a flex item to grow if necessary.",name:"flexGrow",required:!1,type:{name:"number | undefined"}},flexShrink:{defaultValue:null,description:"Defines the ability for a flex item to shrink if necessary.",name:"flexShrink",required:!1,type:{name:"number | undefined"}},justifyContent:{defaultValue:null,description:"Defines the alignment along the main axis.",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"inherit"'},{value:'"initial"'},{value:'"center"'},{value:'"flex-end"'},{value:'"flex-start"'},{value:'"space-between"'},{value:'"space-around"'}]}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Navbar/Styled.tsx#StyledNavbar"]={docgenInfo:StyledNavbar.__docgenInfo,name:"StyledNavbar",path:"src/components/ui/Navbar/Styled.tsx#StyledNavbar"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Navbar/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Styled__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Navbar/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Navbar=({children,className,responsive=!0,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Styled__WEBPACK_IMPORTED_MODULE_1__.JA,{"data-testid":"navigation-bar",...rest,className:className||"",responsive,children});Navbar.displayName="Navbar";const __WEBPACK_DEFAULT_EXPORT__=Navbar;try{Navbar.displayName="Navbar",Navbar.__docgenInfo={description:"",displayName:"Navbar",props:{className:{defaultValue:null,description:"Classname to apply custom CSS styles",name:"className",required:!1,type:{name:"string | undefined"}},children:{defaultValue:null,description:"Any react components or HTML elements",name:"children",required:!1,type:{name:"any"}},responsive:{defaultValue:{value:"true"},description:"optionally render a responsive layout at mobile breakpoints",name:"responsive",required:!1,type:{name:"boolean | undefined"}},alignItems:{defaultValue:null,description:"Defines the default behavior for how flex items are laid out along the cross axis on the current line.",name:"alignItems",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"inherit"'},{value:'"initial"'},{value:'"center"'},{value:'"baseline"'},{value:'"flex-end"'},{value:'"flex-start"'},{value:'"stretch"'}]}},container:{defaultValue:null,description:"If `true`, display = `flex`, otherwise, display = `block`.",name:"container",required:!1,type:{name:"boolean | undefined"}},flexDirection:{defaultValue:null,description:"Establishes the main-axis, thus defining the direction flex items are placed in the flex container.",name:"flexDirection",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"row"'},{value:'"column"'}]}},flexWrap:{defaultValue:null,description:"By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property.",name:"flexWrap",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"wrap"'},{value:'"nowrap"'},{value:'"wrap-reverse"'}]}},flex:{defaultValue:null,description:"Shorthand for flex-grow, flex-shrink and flex-basis combined.",name:"flex",required:!1,type:{name:"string | undefined"}},flexBasis:{defaultValue:null,description:"Defines the default size of an element before the remaining space is distributed.",name:"flexBasis",required:!1,type:{name:"number | undefined"}},flexGrow:{defaultValue:null,description:"Defines the ability for a flex item to grow if necessary.",name:"flexGrow",required:!1,type:{name:"number | undefined"}},flexShrink:{defaultValue:null,description:"Defines the ability for a flex item to shrink if necessary.",name:"flexShrink",required:!1,type:{name:"number | undefined"}},justifyContent:{defaultValue:null,description:"Defines the alignment along the main axis.",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"inherit"'},{value:'"initial"'},{value:'"center"'},{value:'"flex-end"'},{value:'"flex-start"'},{value:'"space-between"'},{value:'"space-around"'}]}},layout:{defaultValue:null,description:"The pre-defined layout.",name:"layout",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"stack"'},{value:'"fill-space"'},{value:'"fill-space-centered"'},{value:'"equal-columns"'}]}},style:{defaultValue:null,description:"Additional style of the flex",name:"style",required:!1,type:{name:"{} | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},tabIndex:{defaultValue:null,description:"Optional tab index for keyboard accessibility",name:"tabIndex",required:!1,type:{name:"number | undefined"}},onFocus:{defaultValue:null,description:"onFocus event handler",name:"onFocus",required:!1,type:{name:"((event: FocusEvent) => void) | undefined"}},onBlur:{defaultValue:null,description:"onBlur event handler",name:"onBlur",required:!1,type:{name:"((event: FocusEvent) => void) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Navbar/index.tsx#Navbar"]={docgenInfo:Navbar.__docgenInfo,name:"Navbar",path:"src/components/ui/Navbar/index.tsx#Navbar"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Notification/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P_:()=>Notification,ZP:()=>ui_Notification});var react=__webpack_require__("./node_modules/react/index.js"),icons=__webpack_require__("./src/components/ui/icons/index.tsx"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),Base=__webpack_require__("./src/components/ui/Base/index.ts"),IconButton=__webpack_require__("./src/components/ui/Button/IconButton.tsx"),SecondaryButton=__webpack_require__("./src/components/ui/Button/SecondaryButton.tsx");const StyledCloseIconButton=(0,styled_components_browser_esm.ZP)(IconButton.Z)``,StyledNotificationButton=(0,styled_components_browser_esm.ZP)(SecondaryButton.Z)``,StyledNotification=styled_components_browser_esm.ZP.div` + align-items: center; + position: relative; + display: inline-flex; + align-items: center; + color: ${({theme,severity})=>theme.notification[severity].text}; + background-color: ${({theme,severity})=>theme.colors[severity].primary}; + padding: 0.75rem; + box-shadow: ${({theme})=>theme.notification.shadow}; + border-radius: 0.25rem; + margin: 0.75rem; + max-width: 45rem; + pointer-events: auto; + + .ch-severity-icon { + width: 1.5rem; + flex-shrink: 0; + } + + .ch-message { + display: flex; + flex-flow: column wrap; + font-size: ${props=>props.theme.fontSizes.text.fontSize}; + line-height: ${props=>props.theme.fontSizes.text.lineHeight}; + letter-spacing: -0.005625rem; + margin: 0.5rem 0.75rem; + + &:empty { + margin: 0; + } + } + + ${StyledNotificationButton} { + margin-right: 1.6rem; + border-color: ${({theme,severity})=>theme.notification[severity].text}; + } + + ${StyledCloseIconButton}, + ${StyledNotificationButton} { + background-color: ${({theme,severity})=>theme.colors[severity].primary}; + color: ${({theme,severity})=>theme.notification[severity].closeButton.text}}; + } + + ${StyledCloseIconButton}:hover, ${StyledCloseIconButton}:focus, ${StyledNotificationButton}:hover, ${StyledNotificationButton}:focus { + background-color: ${({theme,severity})=>theme.notification[severity].closeButton.hover.bgd}; + color: ${({theme,severity})=>theme.notification[severity].closeButton.hover.text}; + } + + ${StyledCloseIconButton}:active, ${StyledNotificationButton}:active { + background-color: ${({theme,severity})=>theme.notification[severity].closeButton.active.bgd}; + color: ${({theme,severity})=>theme.notification[severity].closeButton.active.text}; + } + + ${Base.K} + ${Base.T} +`;try{StyledCloseIconButton.displayName="StyledCloseIconButton",StyledCloseIconButton.__docgenInfo={description:"",displayName:"StyledCloseIconButton",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},disabled:{defaultValue:null,description:"Whether or not the button is disabled. *",name:"disabled",required:!1,type:{name:"boolean | undefined"}},label:{defaultValue:null,description:"The text of the button.",name:"label",required:!0,type:{name:"string"}},icon:{defaultValue:null,description:"The icon element to be shown in the button.",name:"icon",required:!1,type:{name:"Element | undefined"}},variant:{defaultValue:null,description:"The variant of button.",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"icon"'},{value:'"primary"'},{value:'"secondary"'}]}},selected:{defaultValue:null,description:"Whether or not the button is selected.",name:"selected",required:!1,type:{name:"boolean | undefined"}},iconSize:{defaultValue:null,description:"Defines the size of the icon in the button, it defaults to `sm`.",name:"iconSize",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"md"'},{value:'"lg"'},{value:'"sm"'}]}},badge:{defaultValue:null,description:"Render a component to the top right area of the IconButton",name:"badge",required:!1,type:{name:"ReactNode | ReactNode[]"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Notification/Styled.tsx#StyledCloseIconButton"]={docgenInfo:StyledCloseIconButton.__docgenInfo,name:"StyledCloseIconButton",path:"src/components/ui/Notification/Styled.tsx#StyledCloseIconButton"})}catch(__react_docgen_typescript_loader_error){}try{StyledNotificationButton.displayName="StyledNotificationButton",StyledNotificationButton.__docgenInfo={description:"",displayName:"StyledNotificationButton",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},disabled:{defaultValue:null,description:"Whether or not the button is disabled. *",name:"disabled",required:!1,type:{name:"boolean | undefined"}},label:{defaultValue:null,description:"The text of the button.",name:"label",required:!0,type:{name:"string"}},icon:{defaultValue:null,description:"The icon element to be shown in the button.",name:"icon",required:!1,type:{name:"Element | undefined"}},variant:{defaultValue:null,description:"The variant of button.",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"icon"'},{value:'"primary"'},{value:'"secondary"'}]}},selected:{defaultValue:null,description:"Whether or not the button is selected.",name:"selected",required:!1,type:{name:"boolean | undefined"}},iconSize:{defaultValue:null,description:"Defines the size of the icon in the button, it defaults to `sm`.",name:"iconSize",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"md"'},{value:'"lg"'},{value:'"sm"'}]}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Notification/Styled.tsx#StyledNotificationButton"]={docgenInfo:StyledNotificationButton.__docgenInfo,name:"StyledNotificationButton",path:"src/components/ui/Notification/Styled.tsx#StyledNotificationButton"})}catch(__react_docgen_typescript_loader_error){}try{StyledNotification.displayName="StyledNotification",StyledNotification.__docgenInfo={description:"",displayName:"StyledNotification",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},icon:{defaultValue:null,description:"optional icon to override the default",name:"icon",required:!1,type:{name:"ReactNode"}},onClose:{defaultValue:null,description:"The callback fired when a notification is closed.",name:"onClose",required:!0,type:{name:"() => void"}},buttonProps:{defaultValue:null,description:"For rendering a button element adjacent to the message",name:"buttonProps",required:!1,type:{name:"ButtonProps | undefined"}},severity:{defaultValue:null,description:"The severity of the notification.",name:"severity",required:!0,type:{name:"enum",value:[{value:'"error"'},{value:'"success"'},{value:'"info"'},{value:'"warning"'}]}},message:{defaultValue:null,description:"The message to display in the notification.",name:"message",required:!1,type:{name:"string | undefined"}},autoClose:{defaultValue:null,description:"Whether or not the notification should get closed automatically.",name:"autoClose",required:!1,type:{name:"boolean | undefined"}},autoCloseDelay:{defaultValue:null,description:"The auto close delay in milliseconds, it defaults to `6000` (6s).",name:"autoCloseDelay",required:!1,type:{name:"number | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Notification/Styled.tsx#StyledNotification"]={docgenInfo:StyledNotification.__docgenInfo,name:"StyledNotification",path:"src/components/ui/Notification/Styled.tsx#StyledNotification"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const DEFAULT_DELAY=6e3;var Severity=function(Severity){return Severity.ERROR="error",Severity.SUCCESS="success",Severity.INFO="info",Severity.WARNING="warning",Severity}(Severity||{});const iconMapping={success:(0,jsx_runtime.jsx)(icons.rK,{}),warning:(0,jsx_runtime.jsx)(icons.SU,{}),error:(0,jsx_runtime.jsx)(icons.ge,{}),info:(0,jsx_runtime.jsx)(icons.d,{})},Notification=props=>{const{tag,message,onClose,autoClose=!1,autoCloseDelay=DEFAULT_DELAY,severity=Severity.ERROR,className,buttonProps,icon,children}=props,ariaLive=severity===Severity.ERROR?"assertive":"polite",ariaRole=severity===Severity.ERROR?"alert":"status";return(0,react.useEffect)((()=>{if(!autoClose)return;const timer=setTimeout(onClose,autoCloseDelay);return()=>clearTimeout(timer)}),[]),(0,jsx_runtime.jsxs)(StyledNotification,{"aria-live":ariaLive,role:ariaRole,severity,as:tag,...props,className:className||"","data-testid":"notification",children:[(0,jsx_runtime.jsx)("div",{className:"ch-severity-icon","data-testid":"severity-icon",children:icon||iconMapping[severity]}),(0,jsx_runtime.jsx)("output",{className:"ch-message","data-testid":"message",role:ariaRole,children:message}),buttonProps&&(0,jsx_runtime.jsx)(StyledNotificationButton,{"aria-hidden":!0,...buttonProps}),children,onClose&&(0,jsx_runtime.jsx)(StyledCloseIconButton,{label:"close",icon:(0,jsx_runtime.jsx)(icons.JW,{}),onClick:onClose})]})};Notification.displayName="Notification";const ui_Notification=Notification;try{Notification.displayName="Notification",Notification.__docgenInfo={description:"",displayName:"Notification",props:{severity:{defaultValue:null,description:"The severity of the notification.",name:"severity",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"error"'},{value:'"success"'},{value:'"info"'},{value:'"warning"'}]}},message:{defaultValue:null,description:"The message to display in the notification.",name:"message",required:!1,type:{name:"string | undefined"}},onClose:{defaultValue:null,description:"The callback fired when a notification is closed.",name:"onClose",required:!0,type:{name:"() => void"}},autoClose:{defaultValue:null,description:"Whether or not the notification should get closed automatically.",name:"autoClose",required:!1,type:{name:"boolean | undefined"}},autoCloseDelay:{defaultValue:null,description:"The auto close delay in milliseconds, it defaults to `6000` (6s).",name:"autoCloseDelay",required:!1,type:{name:"number | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},buttonProps:{defaultValue:null,description:"For rendering a button element adjacent to the message",name:"buttonProps",required:!1,type:{name:"ButtonProps | undefined"}},icon:{defaultValue:null,description:"optional icon to override the default",name:"icon",required:!1,type:{name:"ReactNode"}},children:{defaultValue:null,description:"optional content to render in the body of the notification",name:"children",required:!1,type:{name:"((string | number | boolean | ReactElement> | ReactFragment | ReactPortal | ReactNode[]) & (string | ... 4 more ... | ReactPortal)) | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Notification/index.tsx#Notification"]={docgenInfo:Notification.__docgenInfo,name:"Notification",path:"src/components/ui/Notification/index.tsx#Notification"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/NotificationGroup/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>ui_NotificationGroup});__webpack_require__("./node_modules/react/index.js");var NotificationProvider=__webpack_require__("./src/providers/NotificationProvider/index.tsx"),Notification=__webpack_require__("./src/components/ui/Notification/index.tsx"),Portal=__webpack_require__("./src/components/ui/Portal/index.tsx");const StyledNotificationGroup=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js").ZP.div` + position: fixed; + top: 2rem; + left: 0; + right: 0; + display: flex; + flex-direction: column; + align-items: center; + z-index: ${props=>props.theme.zIndex.notificationGroup}; + pointer-events: none; +`;try{StyledNotificationGroup.displayName="StyledNotificationGroup",StyledNotificationGroup.__docgenInfo={description:"",displayName:"StyledNotificationGroup",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/NotificationGroup/Styled.tsx#StyledNotificationGroup"]={docgenInfo:StyledNotificationGroup.__docgenInfo,name:"StyledNotificationGroup",path:"src/components/ui/NotificationGroup/Styled.tsx#StyledNotificationGroup"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const NotificationGroup=()=>{const{notifications}=(0,NotificationProvider.tl)(),dispatch=(0,NotificationProvider.kE)();return(0,jsx_runtime.jsx)(Portal.Z,{rootId:"notification-group-root",children:(0,jsx_runtime.jsx)(StyledNotificationGroup,{"data-testid":"notification-group",children:notifications.map((({id,...rest})=>(0,jsx_runtime.jsx)(Notification.ZP,{...rest,onClose:()=>dispatch({type:NotificationProvider.Us.REMOVE,payload:id})},id)))})})};NotificationGroup.displayName="NotificationGroup";const ui_NotificationGroup=NotificationGroup;try{NotificationGroup.displayName="NotificationGroup",NotificationGroup.__docgenInfo={description:"",displayName:"NotificationGroup",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/NotificationGroup/index.tsx#NotificationGroup"]={docgenInfo:NotificationGroup.__docgenInfo,name:"NotificationGroup",path:"src/components/ui/NotificationGroup/index.tsx#NotificationGroup"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/PopOver/PopOverHeader.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Styled__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/PopOver/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const PopOverHeader=({title,subtitle,imgSrc,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_1__.AZ,{"data-testid":"popover-header",...rest,children:[imgSrc&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("img",{src:imgSrc,alt:title}),title&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("p",{className:"ch-title",children:title}),subtitle&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("p",{className:"ch-subtitle",children:subtitle})]});PopOverHeader.displayName="PopOverHeader";const __WEBPACK_DEFAULT_EXPORT__=PopOverHeader;try{PopOverHeader.displayName="PopOverHeader",PopOverHeader.__docgenInfo={description:"",displayName:"PopOverHeader",props:{title:{defaultValue:null,description:"The title of the PopOver menu header.",name:"title",required:!1,type:{name:"string | undefined"}},subtitle:{defaultValue:null,description:"The subtitle of the PopOver menu header.",name:"subtitle",required:!1,type:{name:"ReactNode"}},imgSrc:{defaultValue:null,description:"The source of the PopOver menu image.",name:"imgSrc",required:!1,type:{name:"string | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/PopOver/PopOverHeader.tsx#PopOverHeader"]={docgenInfo:PopOverHeader.__docgenInfo,name:"PopOverHeader",path:"src/components/ui/PopOver/PopOverHeader.tsx#PopOverHeader"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/PopOver/PopOverSeparator.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Styled__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/PopOver/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const PopOverSeparator=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Styled__WEBPACK_IMPORTED_MODULE_1__.ge,{"data-testid":"popover-separator",...props});PopOverSeparator.displayName="PopOverSeparator";const __WEBPACK_DEFAULT_EXPORT__=PopOverSeparator;try{PopOverSeparator.displayName="PopOverSeparator",PopOverSeparator.__docgenInfo={description:"",displayName:"PopOverSeparator",props:{tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/PopOver/PopOverSeparator.tsx#PopOverSeparator"]={docgenInfo:PopOverSeparator.__docgenInfo,name:"PopOverSeparator",path:"src/components/ui/PopOver/PopOverSeparator.tsx#PopOverSeparator"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/PopOver/PopOverSubMenu.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _icons_Caret__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Caret/index.tsx"),___WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/PopOver/index.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/PopOver/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js");const PopOverSubMenu=({text,children,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_Styled__WEBPACK_IMPORTED_MODULE_3__.Y8,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(___WEBPACK_IMPORTED_MODULE_2__.Z,{renderButton:isOpen=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment,{children:[text,(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_icons_Caret__WEBPACK_IMPORTED_MODULE_1__.Z,{className:"ch-caret",direction:"right","data-testid":"submenu-caret"})]}),placement:"right-start",isSubMenu:!0,a11yLabel:text,...rest,children})});PopOverSubMenu.displayName="PopOverSubMenu";const __WEBPACK_DEFAULT_EXPORT__=PopOverSubMenu;try{PopOverSubMenu.displayName="PopOverSubMenu",PopOverSubMenu.__docgenInfo={description:"",displayName:"PopOverSubMenu",props:{text:{defaultValue:null,description:"The text shown in the item.",name:"text",required:!0,type:{name:"string"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/PopOver/PopOverSubMenu.tsx#PopOverSubMenu"]={docgenInfo:PopOverSubMenu.__docgenInfo,name:"PopOverSubMenu",path:"src/components/ui/PopOver/PopOverSubMenu.tsx#PopOverSubMenu"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Select/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>Select,Z:()=>ui_Select});var react=__webpack_require__("./node_modules/react/index.js"),UpAndDownCaret=__webpack_require__("./src/components/ui/icons/UpAndDownCaret/index.tsx"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),Base=__webpack_require__("./src/components/ui/Base/index.ts");const StyledWrapper=styled_components_browser_esm.ZP.div` + position: relative; + + .ch-select-icon { + pointer-events: none; + } + + ${Base.K} + ${Base.T} +`,StyledSelectInput=styled_components_browser_esm.ZP.select` + background-color: ${props=>props.theme.inputs.bgd}; + border: ${props=>props.theme.inputs.border}; + border-radius: ${props=>props.theme.inputs.borderRadius}; + box-shadow: ${props=>props.theme.inputs.shadow}; + color: ${props=>props.theme.inputs.fontColor}; + font-size: ${props=>props.theme.fontSizes.text.fontSize}; + line-height: ${props=>props.theme.fontSizes.text.lineHeight}; + height: 2rem; + letter-spacing: -0.005625rem; + width: 100%; + padding: 0.375rem 1.5rem 0.375rem 0.5rem; + transition: box-shadow 0.05s ease-in; + display: inline-block; + appearance: none; + + &:focus, + &[aria-invalid='true']:focus { + border: ${props=>props.theme.inputs.focus.border}; + box-shadow: ${props=>props.theme.inputs.focus.shadow}; + outline: none; + } + + &[aria-invalid='true'] { + border: ${props=>props.theme.inputs.error.border}; + box-shadow: ${props=>props.theme.inputs.error.shadow}; + } + + ${Base.K} + ${Base.T} +`;try{StyledWrapper.displayName="StyledWrapper",StyledWrapper.__docgenInfo={description:"",displayName:"StyledWrapper",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Select/Styled.tsx#StyledWrapper"]={docgenInfo:StyledWrapper.__docgenInfo,name:"StyledWrapper",path:"src/components/ui/Select/Styled.tsx#StyledWrapper"})}catch(__react_docgen_typescript_loader_error){}try{StyledSelectInput.displayName="StyledSelectInput",StyledSelectInput.__docgenInfo={description:"",displayName:"StyledSelectInput",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLSelectElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Select/Styled.tsx#StyledSelectInput"]={docgenInfo:StyledSelectInput.__docgenInfo,name:"StyledSelectInput",path:"src/components/ui/Select/Styled.tsx#StyledSelectInput"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const upAndDownCaretStyle={position:"absolute",top:"50%",transform:"translateY(-50%)",right:"0.2rem",width:"1.5rem",height:"1.5rem"},Select=(0,react.forwardRef)(((props,ref)=>{return(0,jsx_runtime.jsxs)(StyledWrapper,{children:[(0,jsx_runtime.jsx)(StyledSelectInput,{className:"ch-select","data-testid":"select",ref,...props,children:(options=props.options,options.map((({value,label})=>(0,jsx_runtime.jsx)("option",{value,children:label},value))))}),(0,jsx_runtime.jsx)(UpAndDownCaret.Z,{style:upAndDownCaretStyle,className:"ch-select-icon","data-testid":"select-icon"})]});var options}));Select.displayName="Select";const ui_Select=Select;try{Select.displayName="Select",Select.__docgenInfo={description:"",displayName:"Select",props:{options:{defaultValue:null,description:"Options",name:"options",required:!0,type:{name:"SelectOptions[]"}},onChange:{defaultValue:null,description:"The callback fired when the option is changed.",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},value:{defaultValue:null,description:"The selected option",name:"value",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Select/index.tsx#Select"]={docgenInfo:Select.__docgenInfo,name:"Select",path:"src/components/ui/Select/index.tsx#Select"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Textarea/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>ui_Textarea});var react=__webpack_require__("./node_modules/react/index.js");const StyledTextarea=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js").ZP.textarea` + background-color: ${props=>props.theme.inputs.bgd}; + border: ${props=>props.theme.inputs.border}; + border-radius: ${props=>props.theme.inputs.borderRadius}; + box-shadow: ${props=>props.theme.inputs.shadow}; + color: ${props=>props.theme.inputs.fontColor}; + font-size: ${props=>props.theme.fontSizes.text.fontSize}; + padding: 0.5rem; + position: relative; + min-height: 4rem; + transition: box-shadow 0.05s ease-in; + width: 100%; + + &:focus, + &[aria-invalid='true']:focus { + border: ${props=>props.theme.inputs.focus.border}; + box-shadow: ${props=>props.theme.inputs.focus.shadow}; + outline: none; + } + + &[aria-invalid='true'] { + border: ${props=>props.theme.inputs.error.border}; + box-shadow: ${props=>props.theme.inputs.error.shadow}; + } +`;try{StyledTextarea.displayName="StyledTextarea",StyledTextarea.__docgenInfo={description:"",displayName:"StyledTextarea",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLTextAreaElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Textarea/Styled.tsx#StyledTextarea"]={docgenInfo:StyledTextarea.__docgenInfo,name:"StyledTextarea",path:"src/components/ui/Textarea/Styled.tsx#StyledTextarea"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const Textarea=react.forwardRef((({label,...props},ref)=>(0,jsx_runtime.jsx)(StyledTextarea,{"aria-label":label,className:"ch-textarea","data-testid":"textarea",ref,...props})));Textarea.displayName="Textarea";const ui_Textarea=Textarea;try{Textarea.displayName="Textarea",Textarea.__docgenInfo={description:"",displayName:"Textarea",props:{onChange:{defaultValue:null,description:"The callback fired when the text is changed.",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},value:{defaultValue:null,description:"The value of the textarea.",name:"value",required:!0,type:{name:"string"}},label:{defaultValue:null,description:"The label for availability.",name:"label",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Textarea/index.tsx#Textarea"]={docgenInfo:Textarea.__docgenInfo,name:"Textarea",path:"src/components/ui/Textarea/index.tsx#Textarea"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Utilities/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{mr:()=>formatTime});const formatTime=time=>{const t=new Date(time).toLocaleTimeString();return t.slice(0,t.length-6)+t.slice(t.length-3,t.length)};var src=__webpack_require__("./node_modules/fast-memoize/src/index.js");const DEFAULT_DATE_OPTIONS={weekday:"long",year:"numeric",month:"long",day:"numeric"};__webpack_require__.n(src)()(((dateStr,locale,dateOptions,todayText,yesterdayText)=>{const options=dateOptions||DEFAULT_DATE_OPTIONS,dateString=new Date(dateStr).toLocaleDateString(locale,options),yesterday=new Date;yesterday.setDate(yesterday.getDate()-1);return dateString===yesterday.toLocaleDateString(locale,options)?yesterdayText||"Yesterday":dateString===(new Date).toLocaleDateString(locale,options)?todayText||"Today":dateString}))},"./src/hooks/sdk/useAttendeeAudioStatus.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx");function useAttendeeAudioStatus(attendeeId){const audioVideo=(0,_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__.Lo)(),[muted,setMuted]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[signalStrength,setSignalStrength]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(1);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(!audioVideo)return;const callback=(_,__,muted,signalStrength)=>{null!==muted&&setMuted(muted),null!==signalStrength&&setSignalStrength(signalStrength)};return audioVideo.realtimeSubscribeToVolumeIndicator(attendeeId,callback),()=>audioVideo.realtimeUnsubscribeFromVolumeIndicator(attendeeId,callback)}),[audioVideo,attendeeId]),{muted,signalStrength}}const __WEBPACK_DEFAULT_EXPORT__=useAttendeeAudioStatus;try{useAttendeeAudioStatus.displayName="useAttendeeAudioStatus",useAttendeeAudioStatus.__docgenInfo={description:"",displayName:"useAttendeeAudioStatus",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/sdk/useAttendeeAudioStatus.tsx#useAttendeeAudioStatus"]={docgenInfo:useAttendeeAudioStatus.__docgenInfo,name:"useAttendeeAudioStatus",path:"src/hooks/sdk/useAttendeeAudioStatus.tsx#useAttendeeAudioStatus"})}catch(__react_docgen_typescript_loader_error){}},"./src/hooks/sdk/useAttendeeStatus.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_useAttendeeAudioStatus__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/hooks/sdk/useAttendeeAudioStatus.tsx");function useAttendeeStatus(attendeeId){const audioVideo=(0,_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_2__.Lo)(),audioState=(0,_useAttendeeAudioStatus__WEBPACK_IMPORTED_MODULE_3__.Z)(attendeeId),[videoTileId,setVideoTileId]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)((()=>{if(!audioVideo)return null;const localAttendeeId=audioVideo.audioVideoController?.realtimeController?.state?.localAttendeeId,isLocalUser=attendeeId===localAttendeeId,videoTile=audioVideo.getAllVideoTiles().find((tile=>{const state=tile.state();return!(state.isContent||isLocalUser&&!state.active)&&state.boundAttendeeId===attendeeId}));return videoTile?videoTile.state().tileId:null})),[contentTileId,setContentTileId]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)((()=>{if(!audioVideo)return null;const videoTile=audioVideo.getAllVideoTiles().find((tile=>{const state=tile.state();if(!state.boundAttendeeId||!state.isContent)return!1;return new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultModality(state.boundAttendeeId).base()===attendeeId}));return videoTile?videoTile.state().tileId:null}));(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>{if(!audioVideo)return;const observer={videoTileDidUpdate:state=>{state.boundAttendeeId===attendeeId&&(state.localTile&&videoTileId&&!state.boundVideoStream?setVideoTileId(null):videoTileId||!state.tileId||state.isContent||setVideoTileId(state.tileId))},videoTileWasRemoved:tileId=>{tileId===videoTileId&&setVideoTileId(null)}};return audioVideo.addObserver(observer),()=>audioVideo.removeObserver(observer)}),[audioVideo,videoTileId,attendeeId]),(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>{if(!audioVideo)return;const observer={videoTileDidUpdate:state=>{if(!state.isContent||!state.boundAttendeeId||contentTileId)return;new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultModality(state.boundAttendeeId).base()===attendeeId&&setContentTileId(state.tileId)},videoTileWasRemoved:tileId=>{tileId===contentTileId&&setContentTileId(null)}};return audioVideo.addObserver(observer),()=>audioVideo.removeObserver(observer)}),[audioVideo,contentTileId,attendeeId]);return{...audioState,videoEnabled:"number"==typeof videoTileId&&videoTileId>-1,sharingContent:"number"==typeof contentTileId&&contentTileId>-1}}const __WEBPACK_DEFAULT_EXPORT__=useAttendeeStatus;try{useAttendeeStatus.displayName="useAttendeeStatus",useAttendeeStatus.__docgenInfo={description:"",displayName:"useAttendeeStatus",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/sdk/useAttendeeStatus.tsx#useAttendeeStatus"]={docgenInfo:useAttendeeStatus.__docgenInfo,name:"useAttendeeStatus",path:"src/hooks/sdk/useAttendeeStatus.tsx#useAttendeeStatus"})}catch(__react_docgen_typescript_loader_error){}},"./src/hooks/sdk/useSelectVideoQuality.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{i:()=>useSelectVideoQuality});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/LoggerProvider/index.tsx");function useSelectVideoQuality(){const audioVideo=(0,_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__.Lo)(),logger=(0,_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_2__.wL)();return(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((quality=>{if(audioVideo)switch(logger.info(`Selecting video quality: ${quality}`),quality){case"360p":audioVideo.chooseVideoInputQuality(640,360,15),audioVideo.setVideoMaxBandwidthKbps(600);break;case"540p":audioVideo.chooseVideoInputQuality(960,540,15),audioVideo.setVideoMaxBandwidthKbps(1400);break;case"720p":audioVideo.chooseVideoInputQuality(1280,720,15),audioVideo.setVideoMaxBandwidthKbps(1400);break;default:logger.warn(`Unsupported video quality: ${quality}`)}}),[audioVideo])}},"./src/hooks/sdk/useToggleLocalMute.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{H:()=>useToggleLocalMute});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx");function useToggleLocalMute(){const audioVideo=(0,_providers_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__.Lo)(),[muted,setMuted]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)((()=>audioVideo?.realtimeIsLocalAudioMuted()||!1));(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{const muteUnmutecallback=localMuted=>{setMuted(localMuted)};return audioVideo?.realtimeSubscribeToMuteAndUnmuteLocalAudio(muteUnmutecallback),setMuted(audioVideo?.realtimeIsLocalAudioMuted()||!1),()=>{audioVideo?.realtimeUnsubscribeToMuteAndUnmuteLocalAudio(muteUnmutecallback)}}),[audioVideo]);const toggleMute=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((()=>{muted?audioVideo?.realtimeUnmuteLocalAudio():audioVideo?.realtimeMuteLocalAudio()}),[muted,audioVideo]);return{muted,toggleMute}}},"./src/hooks/useApplyVideoObjectFit/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>useApplyVideoObjectFit});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function useApplyVideoObjectFit(videoEl){(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{function onLoaded(){if(!videoEl.current)return;const height=videoEl.current.videoHeight,width=videoEl.current.videoWidth;videoEl.current.style.objectFit=height>width?"contain":"cover"}return videoEl.current?.addEventListener("loadedmetadata",onLoaded),()=>videoEl.current?.removeEventListener("loadedmetadata",onLoaded)}),[videoEl])}try{useApplyVideoObjectFit.displayName="useApplyVideoObjectFit",useApplyVideoObjectFit.__docgenInfo={description:"",displayName:"useApplyVideoObjectFit",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/useApplyVideoObjectFit/index.tsx#useApplyVideoObjectFit"]={docgenInfo:useApplyVideoObjectFit.__docgenInfo,name:"useApplyVideoObjectFit",path:"src/hooks/useApplyVideoObjectFit/index.tsx#useApplyVideoObjectFit"})}catch(__react_docgen_typescript_loader_error){}},"./src/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zxk:()=>Button.z,kCb:()=>Flex.k,hU:()=>IconButton.h,Agj:()=>icons.Ag,KMU:()=>PrimaryButton.K,ZLk:()=>Roster.Z,oy9:()=>RosterCell.o,ojk:()=>RosterGroup.o,Fwk:()=>RosterHeader.F,kqC:()=>SecondaryButton.k});__webpack_require__("./src/components/ui/Badge/index.tsx");var Button=__webpack_require__("./src/components/ui/Button/index.tsx"),PrimaryButton=__webpack_require__("./src/components/ui/Button/PrimaryButton.tsx"),SecondaryButton=__webpack_require__("./src/components/ui/Button/SecondaryButton.tsx"),IconButton=__webpack_require__("./src/components/ui/Button/IconButton.tsx"),Checkbox=__webpack_require__("./src/components/ui/Checkbox/index.tsx"),Flex=(__webpack_require__("./src/components/ui/ControlBar/index.tsx"),__webpack_require__("./src/components/ui/ControlBar/ControlBarButton.tsx"),__webpack_require__("./src/components/ui/Flex/index.tsx")),FormField=__webpack_require__("./src/components/ui/FormField/index.tsx"),icons=(__webpack_require__("./src/components/ui/Heading/index.tsx"),__webpack_require__("./src/components/ui/icons/index.tsx")),Roster=(__webpack_require__("./src/components/ui/Input/index.tsx"),__webpack_require__("./src/components/ui/Input/SearchInput.tsx"),__webpack_require__("./src/components/ui/Input/InputWrapper.tsx"),__webpack_require__("./src/components/ui/Label/index.tsx"),__webpack_require__("./src/components/ui/Modal/index.tsx"),__webpack_require__("./src/components/ui/Modal/ModalBody.tsx"),__webpack_require__("./src/components/ui/Modal/ModalButton.tsx"),__webpack_require__("./src/components/ui/Modal/ModalButtonGroup.tsx"),__webpack_require__("./src/components/ui/Modal/ModalHeader.tsx"),__webpack_require__("./src/components/ui/Navbar/index.tsx"),__webpack_require__("./src/components/ui/Navbar/NavbarHeader.tsx"),__webpack_require__("./src/components/ui/Navbar/NavbarItem.tsx"),__webpack_require__("./src/components/ui/Notification/index.tsx"),__webpack_require__("./src/components/ui/NotificationGroup/index.tsx"),__webpack_require__("./src/components/ui/PopOver/index.tsx"),__webpack_require__("./src/components/ui/PopOver/PopOverHeader.tsx"),__webpack_require__("./src/components/ui/PopOver/PopOverItem.tsx"),__webpack_require__("./src/components/ui/PopOver/PopOverSeparator.tsx"),__webpack_require__("./src/components/ui/PopOver/PopOverSubMenu.tsx"),__webpack_require__("./src/components/ui/Portal/index.tsx"),__webpack_require__("./src/components/ui/Radio/index.tsx"),__webpack_require__("./src/components/ui/RadioGroup/index.tsx"),__webpack_require__("./src/components/ui/Select/index.tsx"),__webpack_require__("./src/components/ui/Textarea/index.tsx"),__webpack_require__("./src/components/ui/VideoGrid/index.tsx"),__webpack_require__("./src/components/ui/VideoTile/index.tsx"),__webpack_require__("./src/components/ui/Grid/index.tsx"),__webpack_require__("./src/components/ui/Grid/Cell.tsx"),__webpack_require__("./src/components/ui/Roster/index.tsx")),RosterHeader=__webpack_require__("./src/components/ui/Roster/RosterHeader.tsx"),RosterGroup=__webpack_require__("./src/components/ui/Roster/RosterGroup.tsx"),RosterCell=__webpack_require__("./src/components/ui/Roster/RosterCell/index.tsx"),react=__webpack_require__("./node_modules/react/index.js");const hooks_useFocusIn=function useFocusIn(el,delay=3e3){const timeoutRef=(0,react.useRef)(null),[isFocused,setIsFocused]=(0,react.useState)(!1);return(0,react.useEffect)((()=>{if(!el.current)return;const onFocusIn=()=>{clearTimeout(timeoutRef.current),setIsFocused(!0)},onFocusOut=()=>{clearTimeout(timeoutRef.current),timeoutRef.current=setTimeout((()=>{setIsFocused(!1)}),delay)};return el.current.addEventListener("focusin",onFocusIn),el.current.addEventListener("focusout",onFocusOut),()=>{timeoutRef.current&&clearTimeout(timeoutRef.current),el.current?.removeEventListener("focusin",onFocusIn),el.current?.removeEventListener("focusout",onFocusOut)}}),[el]),{isFocused}};const hooks_useMouseMove=function useMouseMove(el,delay=3e3){const timeoutRef=(0,react.useRef)(null),[isMouseMoving,setIsMouseActive]=(0,react.useState)(!1);return(0,react.useEffect)((()=>{if(!el.current)return;const onMouseMove=()=>{clearTimeout(timeoutRef.current),setIsMouseActive(!0),timeoutRef.current=setTimeout((()=>{setIsMouseActive(!1)}),delay)};return el.current.addEventListener("mousemove",onMouseMove),()=>{timeoutRef.current&&clearTimeout(timeoutRef.current),el.current?.removeEventListener("mousemove",onMouseMove)}}),[el]),{isMouseMoving}};var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const UserActivityContext=(0,react.createContext)(null),UserActivityProvider=({children})=>{const ref=(0,react.useRef)(null),{isFocused}=hooks_useFocusIn(ref),{isMouseMoving}=hooks_useMouseMove(ref),isUserActive=isFocused||isMouseMoving,value=(0,react.useMemo)((()=>({isUserActive})),[isUserActive]);return(0,jsx_runtime.jsx)("div",{ref,children:(0,jsx_runtime.jsx)(UserActivityContext.Provider,{value,children})})};UserActivityProvider.displayName="UserActivityProvider";try{UserActivityProvider.displayName="UserActivityProvider",UserActivityProvider.__docgenInfo={description:"",displayName:"UserActivityProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/UserActivityProvider/index.tsx#UserActivityProvider"]={docgenInfo:UserActivityProvider.__docgenInfo,name:"UserActivityProvider",path:"src/providers/UserActivityProvider/index.tsx#UserActivityProvider"})}catch(__react_docgen_typescript_loader_error){}var styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),animations=__webpack_require__("./src/utils/animations.ts");const StyledUserActivityManager=styled_components_browser_esm.ZP.div` + z-index: ${props=>props.isActive?props.theme.zIndex.controlBar:"-10"}; + visibility: ${props=>props.isActive?"visible":"hidden"}; + + &.ch-active { + animation: ${animations.q} 0.25s ease 0s forwards; + } +`;try{StyledUserActivityManager.displayName="StyledUserActivityManager",StyledUserActivityManager.__docgenInfo={description:"",displayName:"StyledUserActivityManager",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},isActive:{defaultValue:null,description:"",name:"isActive",required:!1,type:{name:"boolean | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/UserActivityManager/Styled.tsx#StyledUserActivityManager"]={docgenInfo:StyledUserActivityManager.__docgenInfo,name:"StyledUserActivityManager",path:"src/components/ui/UserActivityManager/Styled.tsx#StyledUserActivityManager"})}catch(__react_docgen_typescript_loader_error){}const UserActivityManager=({children})=>{const{isUserActive}=function useUserActivityState(){const state=(0,react.useContext)(UserActivityContext);if(!state)throw new Error("useUserActivityState must be used within an UserActivityContextProvider");return state}();return(0,jsx_runtime.jsx)(StyledUserActivityManager,{isActive:isUserActive,className:""+(isUserActive?"ch-active":""),children})};UserActivityManager.displayName="UserActivityManager",UserActivityManager.displayName="UserActivityManager";try{UserActivityManager.displayName="UserActivityManager",UserActivityManager.__docgenInfo={description:"",displayName:"UserActivityManager",props:{isActive:{defaultValue:null,description:"",name:"isActive",required:!1,type:{name:"boolean | null | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/UserActivityManager/index.tsx#UserActivityManager"]={docgenInfo:UserActivityManager.__docgenInfo,name:"UserActivityManager",path:"src/components/ui/UserActivityManager/index.tsx#UserActivityManager"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__("./src/components/ui/Chat/ChannelList/index.tsx"),__webpack_require__("./src/components/ui/Chat/ChannelList/ChannelItem.tsx"),__webpack_require__("./src/components/ui/Chat/ChatBubble/index.tsx"),__webpack_require__("./src/components/ui/Chat/ChatBubble/EditableChatBubble.tsx"),__webpack_require__("./src/components/ui/Chat/ChatBubble/ChatBubbleContainer.tsx"),__webpack_require__("./src/components/ui/Chat/InfiniteList/index.tsx"),__webpack_require__("./src/components/ui/Chat/MessageAttachment/index.tsx"),__webpack_require__("./src/components/ui/Utilities/index.ts"),__webpack_require__("./src/components/ui/WithTooltip/index.tsx"),__webpack_require__("./src/components/sdk/DeviceSelection/CameraSelection/index.tsx");var build=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),BackgroundBlurProvider=__webpack_require__("./src/providers/BackgroundBlurProvider/index.tsx"),DevicesProvider=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),LoggerProvider=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),MeetingProvider=__webpack_require__("./src/providers/MeetingProvider/index.tsx");const BackgroundBlurCheckbox_BackgroundBlurCheckbox=({label="Blur my background",...rest})=>{const logger=(0,LoggerProvider.wL)(),{isBackgroundBlurSupported,createBackgroundBlurDevice}=(0,BackgroundBlurProvider.Q)(),[isLoading,setIsLoading]=(0,react.useState)(!1),{selectedDevice}=(0,DevicesProvider.UL)(),meetingManager=(0,MeetingProvider.fj)();return(0,jsx_runtime.jsx)(FormField.W,{field:Checkbox.X,onChange:async()=>{if(!isLoading&&selectedDevice)try{let current;if(setIsLoading(!0),(0,build.isVideoTransformDevice)(selectedDevice))current=await selectedDevice.intrinsicDevice(),logger.info(`Video filter was turned off - selecting inner device: ${JSON.stringify(current)}`);else{if(!isBackgroundBlurSupported)return void logger.warn("Background blur processor is not supported yet.");current=await createBackgroundBlurDevice(selectedDevice),logger.info(`Video filter turned on - selecting video transform device: ${JSON.stringify(current)}`)}await meetingManager.startVideoInputDevice(current)}catch(error){logger.error("Failed to toggle Background Blur")}finally{setIsLoading(!1)}},value:"Background Blur",checked:(0,build.isVideoTransformDevice)(selectedDevice),label,...rest})};BackgroundBlurCheckbox_BackgroundBlurCheckbox.displayName="BackgroundBlurCheckbox";try{BackgroundBlurCheckbox_BackgroundBlurCheckbox.displayName="BackgroundBlurCheckbox",BackgroundBlurCheckbox_BackgroundBlurCheckbox.__docgenInfo={description:"",displayName:"BackgroundBlurCheckbox",props:{label:{defaultValue:{value:"Blur my background"},description:'Label shown for video filter selection, by default it is "Blur my background"',name:"label",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/DeviceSelection/CameraSelection/BackgroundBlurCheckbox.tsx#BackgroundBlurCheckbox"]={docgenInfo:BackgroundBlurCheckbox_BackgroundBlurCheckbox.__docgenInfo,name:"BackgroundBlurCheckbox",path:"src/components/sdk/DeviceSelection/CameraSelection/BackgroundBlurCheckbox.tsx#BackgroundBlurCheckbox"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__("./src/components/sdk/DeviceSelection/CameraSelection/QualitySelection.tsx"),__webpack_require__("./src/components/sdk/DeviceSelection/MicSelection/index.tsx"),__webpack_require__("./src/components/sdk/DeviceSelection/SpeakerSelection/index.tsx");try{SpeakerSelection.displayName="SpeakerSelection",SpeakerSelection.__docgenInfo={description:"",displayName:"SpeakerSelection",props:{notFoundMsg:{defaultValue:{value:"No speaker devices found"},description:"The message that will be shown when no audio output speaker devices are found.",name:"notFoundMsg",required:!1,type:{name:"string | undefined"}},label:{defaultValue:{value:"Speaker source"},description:"The label that will be shown for speaker selection, it defaults to `Speaker source`.",name:"label",required:!1,type:{name:"string | undefined"}},onChange:{defaultValue:null,description:"The callback fired when the selection is changed.\nIt is required if you want to add testing functionality around speaker selection.",name:"onChange",required:!1,type:{name:"((selectedAudioOutputDevice: string) => void) | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/DeviceSelection/index.tsx#SpeakerSelection"]={docgenInfo:SpeakerSelection.__docgenInfo,name:"SpeakerSelection",path:"src/components/sdk/DeviceSelection/index.tsx#SpeakerSelection"})}catch(__react_docgen_typescript_loader_error){}try{MicSelection.displayName="MicSelection",MicSelection.__docgenInfo={description:"",displayName:"MicSelection",props:{notFoundMsg:{defaultValue:{value:"No microphone devices found"},description:"The message that will be shown when no microphone devices are found.",name:"notFoundMsg",required:!1,type:{name:"string | undefined"}},label:{defaultValue:{value:"Microphone source"},description:"The label that will be shown for microphone selection, it defaults to `Microphone source`.",name:"label",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/DeviceSelection/index.tsx#MicSelection"]={docgenInfo:MicSelection.__docgenInfo,name:"MicSelection",path:"src/components/sdk/DeviceSelection/index.tsx#MicSelection"})}catch(__react_docgen_typescript_loader_error){}try{CameraSelection.displayName="CameraSelection",CameraSelection.__docgenInfo={description:"",displayName:"CameraSelection",props:{notFoundMsg:{defaultValue:{value:"No camera devices found"},description:"The message that will be shown when no camera devices are found.",name:"notFoundMsg",required:!1,type:{name:"string | undefined"}},label:{defaultValue:{value:"Camera source"},description:'The label that will be shown for camera selection, it defaults to "Camera source".',name:"label",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/DeviceSelection/index.tsx#CameraSelection"]={docgenInfo:CameraSelection.__docgenInfo,name:"CameraSelection",path:"src/components/sdk/DeviceSelection/index.tsx#CameraSelection"})}catch(__react_docgen_typescript_loader_error){}try{QualitySelection.displayName="QualitySelection",QualitySelection.__docgenInfo={description:"",displayName:"QualitySelection",props:{label:{defaultValue:{value:"Video quality"},description:'Label shown for video quality selection, by default it is "Video quality"',name:"label",required:!1,type:{name:"string | undefined"}},labelForUnselected:{defaultValue:{value:"Select video quality"},description:'Label shown in the dropdown when no video quality has been selected yet, by default it is "Select video quality"',name:"labelForUnselected",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/DeviceSelection/index.tsx#QualitySelection"]={docgenInfo:QualitySelection.__docgenInfo,name:"QualitySelection",path:"src/components/sdk/DeviceSelection/index.tsx#QualitySelection"})}catch(__react_docgen_typescript_loader_error){}try{BackgroundBlurCheckbox.displayName="BackgroundBlurCheckbox",BackgroundBlurCheckbox.__docgenInfo={description:"",displayName:"BackgroundBlurCheckbox",props:{label:{defaultValue:{value:"Blur my background"},description:'Label shown for video filter selection, by default it is "Blur my background"',name:"label",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/DeviceSelection/index.tsx#BackgroundBlurCheckbox"]={docgenInfo:BackgroundBlurCheckbox.__docgenInfo,name:"BackgroundBlurCheckbox",path:"src/components/sdk/DeviceSelection/index.tsx#BackgroundBlurCheckbox"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__("./src/components/sdk/MeetingControls/AudioInputControl.tsx"),__webpack_require__("./src/components/sdk/MeetingControls/AudioInputVFControl.tsx"),__webpack_require__("./src/components/sdk/MeetingControls/AudioOutputControl.tsx"),__webpack_require__("./src/components/sdk/MeetingControls/ContentShareControl.tsx"),__webpack_require__("./src/components/sdk/MeetingControls/VideoInputBackgroundBlurControl.tsx"),__webpack_require__("./src/components/sdk/MeetingControls/VideoInputControl.tsx");try{AudioInputControl.displayName="AudioInputControl",AudioInputControl.__docgenInfo={description:"",displayName:"AudioInputControl",props:{muteLabel:{defaultValue:{value:"Mute"},description:"The label that will be shown when microphone is muted , it defaults to `Mute`.",name:"muteLabel",required:!1,type:{name:"string | undefined"}},unmuteLabel:{defaultValue:{value:"Unmute"},description:"The label that will be shown when microphone is unmuted, it defaults to `Unmute`.",name:"unmuteLabel",required:!1,type:{name:"string | undefined"}},mutedIconTitle:{defaultValue:null,description:"Title attribute for the icon when muted, it defaults to `Muted microphone`.",name:"mutedIconTitle",required:!1,type:{name:"string | undefined"}},unmutedIconTitle:{defaultValue:null,description:"Title attribute for the icon when unmuted, it defaults to `Microphone`.",name:"unmutedIconTitle",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/index.tsx#AudioInputControl"]={docgenInfo:AudioInputControl.__docgenInfo,name:"AudioInputControl",path:"src/components/sdk/MeetingControls/index.tsx#AudioInputControl"})}catch(__react_docgen_typescript_loader_error){}try{AudioInputVFControl.displayName="AudioInputVFControl",AudioInputVFControl.__docgenInfo={description:"",displayName:"AudioInputVFControl",props:{muteLabel:{defaultValue:{value:"Mute"},description:"The label that will be shown when microphone is muted, it defaults to `Mute`.",name:"muteLabel",required:!1,type:{name:"string | undefined"}},unmuteLabel:{defaultValue:{value:"Unmute"},description:"The label that will be shown when microphone is unmuted, it defaults to `Unmute`.",name:"unmuteLabel",required:!1,type:{name:"string | undefined"}},mutedIconTitle:{defaultValue:null,description:"Title attribute for the icon when muted, it defaults to `Muted microphone` in .",name:"mutedIconTitle",required:!1,type:{name:"string | undefined"}},unmutedIconTitle:{defaultValue:null,description:"Title attribute for the icon when unmuted, it defaults to `Microphone` in .",name:"unmutedIconTitle",required:!1,type:{name:"string | undefined"}},voiceFocusOnLabel:{defaultValue:{value:"Amazon Voice Focus enabled"},description:"The label that will be shown when the current input audio is an Amazon Voice Focus device,\nit defaults to `Amazon Voice Focus enabled`.",name:"voiceFocusOnLabel",required:!1,type:{name:"string | undefined"}},voiceFocusOffLabel:{defaultValue:{value:"Enable Amazon Voice Focus"},description:"The label that will be shown when the current input audio is not an Amazon Voice Focus device,\nit defaults to `Enable Amazon Voice Focus`.",name:"voiceFocusOffLabel",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/index.tsx#AudioInputVFControl"]={docgenInfo:AudioInputVFControl.__docgenInfo,name:"AudioInputVFControl",path:"src/components/sdk/MeetingControls/index.tsx#AudioInputVFControl"})}catch(__react_docgen_typescript_loader_error){}try{AudioOutputControl.displayName="AudioOutputControl",AudioOutputControl.__docgenInfo={description:"",displayName:"AudioOutputControl",props:{label:{defaultValue:{value:"Speaker"},description:"The label that will be shown for audio output speaker control, it defaults to `Speaker`.",name:"label",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/index.tsx#AudioOutputControl"]={docgenInfo:AudioOutputControl.__docgenInfo,name:"AudioOutputControl",path:"src/components/sdk/MeetingControls/index.tsx#AudioOutputControl"})}catch(__react_docgen_typescript_loader_error){}try{VideoInputControl.displayName="VideoInputControl",VideoInputControl.__docgenInfo={description:"",displayName:"VideoInputControl",props:{label:{defaultValue:{value:"Video"},description:"The label that will be shown for video input control, it defaults to `Video`.",name:"label",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/index.tsx#VideoInputControl"]={docgenInfo:VideoInputControl.__docgenInfo,name:"VideoInputControl",path:"src/components/sdk/MeetingControls/index.tsx#VideoInputControl"})}catch(__react_docgen_typescript_loader_error){}try{VideoInputBackgroundBlurControl.displayName="VideoInputBackgroundBlurControl",VideoInputBackgroundBlurControl.__docgenInfo={description:"",displayName:"VideoInputBackgroundBlurControl",props:{label:{defaultValue:{value:"Video"},description:"The label that will be shown for video input control, it defaults to `Video`.",name:"label",required:!1,type:{name:"string | undefined"}},backgroundBlurLabel:{defaultValue:{value:"Enable Background Blur"},description:"The label that will be shown for the background blur button.",name:"backgroundBlurLabel",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/index.tsx#VideoInputBackgroundBlurControl"]={docgenInfo:VideoInputBackgroundBlurControl.__docgenInfo,name:"VideoInputBackgroundBlurControl",path:"src/components/sdk/MeetingControls/index.tsx#VideoInputBackgroundBlurControl"})}catch(__react_docgen_typescript_loader_error){}try{ContentShareControl.displayName="ContentShareControl",ContentShareControl.__docgenInfo={description:"",displayName:"ContentShareControl",props:{label:{defaultValue:{value:"Content"},description:"The label that will be shown for content share control, it defaults to `Content`.",name:"label",required:!1,type:{name:"string | undefined"}},pauseLabel:{defaultValue:{value:"Pause"},description:"The label that will be shown for pausing content share button in content share control, it defaults to `Pause`.",name:"pauseLabel",required:!1,type:{name:"string | undefined"}},unpauseLabel:{defaultValue:{value:"Unpause"},description:"The label that will be shown for unpausing content share button in content share control, it defaults to `Unpause`.",name:"unpauseLabel",required:!1,type:{name:"string | undefined"}},iconTitle:{defaultValue:null,description:"Title attribute for the icon, it defaults to `Screen share`.",name:"iconTitle",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sdk/MeetingControls/index.tsx#ContentShareControl"]={docgenInfo:ContentShareControl.__docgenInfo,name:"ContentShareControl",path:"src/components/sdk/MeetingControls/index.tsx#ContentShareControl"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__("./src/components/sdk/ContentShare/index.tsx"),__webpack_require__("./src/components/sdk/LocalVideo/index.tsx"),__webpack_require__("./src/components/sdk/PreviewVideo/index.tsx"),__webpack_require__("./src/components/sdk/RemoteVideo/index.tsx"),__webpack_require__("./src/components/sdk/RemoteVideos/index.tsx"),__webpack_require__("./src/components/sdk/FeaturedRemoteVideos/index.tsx"),__webpack_require__("./src/components/sdk/VideoTileGrid/index.tsx"),__webpack_require__("./src/components/sdk/MicrophoneActivity/index.tsx"),__webpack_require__("./src/components/sdk/RosterAttendee/index.tsx"),__webpack_require__("./src/constants/index.ts"),__webpack_require__("./src/components/ui/ControlBar/ControlBarContext.tsx"),__webpack_require__("./src/components/ui/Modal/ModalContext.tsx"),__webpack_require__("./src/providers/NotificationProvider/index.tsx"),__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),__webpack_require__("./src/providers/MeetingEventProvider/index.tsx"),__webpack_require__("./src/hooks/useClickOutside/index.tsx"),__webpack_require__("./src/hooks/useTabOutside/index.tsx"),__webpack_require__("./src/hooks/useUniqueId/index.tsx"),__webpack_require__("./src/hooks/useApplyVideoObjectFit/index.tsx"),__webpack_require__("./src/hooks/useElementAspectRatio/index.tsx"),__webpack_require__("./src/providers/VoiceFocusProvider/index.tsx"),__webpack_require__("./src/providers/BackgroundReplacementProvider/index.tsx"),__webpack_require__("./src/providers/RosterProvider/index.tsx"),__webpack_require__("./src/providers/RemoteVideoTileProvider/index.tsx"),__webpack_require__("./src/providers/FeaturedVideoTileProvider/index.tsx"),__webpack_require__("./src/providers/LocalAudioOutputProvider/index.tsx"),__webpack_require__("./src/providers/LocalVideoProvider/index.tsx"),__webpack_require__("./src/providers/ContentShareProvider/index.tsx"),__webpack_require__("./src/hooks/sdk/useAttendeeStatus.tsx"),__webpack_require__("./src/hooks/sdk/useAttendeeAudioStatus.tsx"),__webpack_require__("./src/hooks/sdk/useSelectVideoQuality.tsx");__webpack_require__("./src/hooks/sdk/useToggleLocalMute.tsx");const useLocalAudioInputActivity_useLocalAudioInputActivity=cb=>{const audioVideo=useAudioVideo(),{selectedDevice}=useAudioInputs();useEffect((()=>{if(!audioVideo)return;let analyserNode,data,frameIndex,lastDecimal,restart=!1,isMounted=!0;function initializePreview(){audioVideo&&isMounted&&(analyserNode=audioVideo.createAnalyserNodeForAudioInput(),analyserNode?.getByteTimeDomainData&&(data=new Uint8Array(analyserNode.fftSize),frameIndex=0,restart=!1,requestAnimationFrame(analyserNodeCallback)))}function analyserNodeCallback(){if(analyserNode){if(0===frameIndex){analyserNode.getByteTimeDomainData(data);const lowest=.01;let max=lowest;for(const f of data)max=Math.max(max,(f-128)/128);const decimal=(Math.log(lowest)-Math.log(max))/Math.log(lowest);lastDecimal!==decimal&&(lastDecimal=decimal,cb&&cb(decimal))}frameIndex=(frameIndex+1)%2,restart?setTimeout(initializePreview,500):isMounted&&requestAnimationFrame(analyserNodeCallback)}}return audioVideo.addDeviceChangeObserver({audioInputsChanged:()=>{restart=!0}}),initializePreview(),()=>{isMounted=!1}}),[audioVideo,selectedDevice,cb])};try{useLocalAudioInputActivity_useLocalAudioInputActivity.displayName="useLocalAudioInputActivity",useLocalAudioInputActivity_useLocalAudioInputActivity.__docgenInfo={description:"",displayName:"useLocalAudioInputActivity",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/sdk/useLocalAudioInputActivity.tsx#useLocalAudioInputActivity"]={docgenInfo:useLocalAudioInputActivity_useLocalAudioInputActivity.__docgenInfo,name:"useLocalAudioInputActivity",path:"src/hooks/sdk/useLocalAudioInputActivity.tsx#useLocalAudioInputActivity"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__("./src/types/index.ts");__webpack_require__("./src/theme/index.ts"),__webpack_require__("./src/providers/MeetingProvider/MeetingManager.ts");__webpack_require__("./src/utils/device-utils.ts")},"./src/providers/BackgroundBlurProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>BackgroundBlurProvider,Q:()=>useBackgroundBlur});var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),_utils_device_utils__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/utils/device-utils.ts"),_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/utils/use-memo-compare.ts"),_LoggerProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const BackgroundBlurProviderContext=(0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)(void 0),BackgroundBlurProvider=({spec,options,children})=>{const logger=(0,_LoggerProvider__WEBPACK_IMPORTED_MODULE_4__.wL)(),[isBackgroundBlurSupported,setIsBackgroundBlurSupported]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(void 0),[backgroundBlurProcessor,setBackgroundBlurProcessor]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),blurSpec=(0,_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_3__.Z)(spec,((prev,next)=>!!Object.is(prev,next))),blurOptions=(0,_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_3__.Z)(options,((prev,next)=>!(!(0,_utils_device_utils__WEBPACK_IMPORTED_MODULE_2__.N0)(prev,next)&&!(0,_utils_device_utils__WEBPACK_IMPORTED_MODULE_2__.V5)(prev,next))||prev?.filterCPUUtilization===next?.filterCPUUtilization&&prev?.blurStrength===next?.blurStrength&&prev?.logger===next?.logger&&prev?.reportingPeriodMillis===next?.reportingPeriodMillis));async function initializeBackgroundBlur(){logger.info(`Initializing background blur processor with, spec: ${JSON.stringify(spec)}, options: ${JSON.stringify(options)}`);try{const createdProcessor=await amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.BackgroundBlurVideoFrameProcessor.create({...spec},{...options});return createdProcessor instanceof amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.NoOpVideoFrameProcessor?(logger.warn("Initialized NoOpVideoFrameProcessor"),setBackgroundBlurProcessor(void 0),void setIsBackgroundBlurSupported(!1)):(logger.info(`Initialized background blur processor: ${JSON.stringify(createdProcessor)}`),setBackgroundBlurProcessor(createdProcessor),setIsBackgroundBlurSupported(!0),createdProcessor)}catch(error){return logger.error(`Error creating a background blur video frame processor device ${error}`),setBackgroundBlurProcessor(void 0),void setIsBackgroundBlurSupported(!1)}}(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>(initializeBackgroundBlur(),()=>{logger.info("Specs or options were changed. Destroying and re-initializing background blur processor."),backgroundBlurProcessor?.destroy()})),[blurOptions,blurSpec]);const value={createBackgroundBlurDevice:async selectedDevice=>{logger.info(`Calling createBackgroundBlurDevice with device: ${JSON.stringify(selectedDevice)}`);const currentProcessor=await initializeBackgroundBlur();try{const logger=options?.logger||new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.ConsoleLogger("BackgroundBlurProvider",amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.LogLevel.INFO);if(currentProcessor){return new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultVideoTransformDevice(logger,selectedDevice,[currentProcessor])}throw new Error("Processor has not been created. Background Blur is not supported.")}catch(error){throw new Error(`Failed to create a DefaultVideoTransformDevice: ${error}`)}},isBackgroundBlurSupported,backgroundBlurProcessor};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(BackgroundBlurProviderContext.Provider,{value,children})};BackgroundBlurProvider.displayName="BackgroundBlurProvider";const useBackgroundBlur=()=>{const context=(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(BackgroundBlurProviderContext);if(!context)throw new Error("useBackgroundBlur must be used within BackgroundBlurProvider");return context};try{BackgroundBlurProvider.displayName="BackgroundBlurProvider",BackgroundBlurProvider.__docgenInfo={description:"",displayName:"BackgroundBlurProvider",props:{spec:{defaultValue:null,description:"The spec defines the assets that will be used for adding background blur to a frame. For more information, refer to\n[Amazon Chime SDK for JavaScript Background Filter Guide](https://github.com/aws/amazon-chime-sdk-js/blob/main/guides/15_Background_Filter_Video_Processor.md#adding-a-background-filter-to-your-application).",name:"spec",required:!1,type:{name:"BackgroundFilterSpec | undefined"}},options:{defaultValue:null,description:"A set of options that can be supplied when creating a background blur video frame processor. For more information, refer to\n[Amazon Chime SDK for JavaScript Background Filter Guide](https://github.com/aws/amazon-chime-sdk-js/blob/main/guides/15_Background_Filter_Video_Processor.md#adding-a-background-filter-to-your-application).",name:"options",required:!1,type:{name:"BackgroundBlurOptions | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/BackgroundBlurProvider/index.tsx#BackgroundBlurProvider"]={docgenInfo:BackgroundBlurProvider.__docgenInfo,name:"BackgroundBlurProvider",path:"src/providers/BackgroundBlurProvider/index.tsx#BackgroundBlurProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/BackgroundReplacementProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>BackgroundReplacementProvider});var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),_utils_device_utils__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/utils/device-utils.ts"),_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/utils/use-memo-compare.ts"),_LoggerProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const BackgroundReplacementProviderContext=(0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)(void 0),BackgroundReplacementProvider=({spec,options,children})=>{const logger=(0,_LoggerProvider__WEBPACK_IMPORTED_MODULE_4__.wL)(),[isBackgroundReplacementSupported,setIsBackgroundReplacementSupported]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(void 0),[backgroundReplacementProcessor,setBackgroundReplacementProcessor]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(void 0),replacementSpec=(0,_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_3__.Z)(spec,((prev,next)=>!!Object.is(prev,next))),replacementOptions=(0,_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_3__.Z)(options,((prev,next)=>!(!(0,_utils_device_utils__WEBPACK_IMPORTED_MODULE_2__.V5)(prev,next)&&!(0,_utils_device_utils__WEBPACK_IMPORTED_MODULE_2__.N0)(prev,next))||prev?.imageBlob?.size!==next?.imageBlob?.size&&prev?.filterCPUUtilization!==next?.filterCPUUtilization&&prev?.logger===next?.logger&&prev?.reportingPeriodMillis===next?.reportingPeriodMillis));async function initializeBackgroundReplacement(){logger.info(`Initializing background replacement processor with, ${JSON.stringify(spec)}, ${JSON.stringify(options)}`);try{const createdProcessor=await amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.BackgroundReplacementVideoFrameProcessor.create({...spec},{...options});return createdProcessor instanceof amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.NoOpVideoFrameProcessor?(logger.warn("Initialized NoOpVideoFrameProcessor"),setBackgroundReplacementProcessor(void 0),void setIsBackgroundReplacementSupported(!1)):(logger.info(`Initialized background replacement processor: ${JSON.stringify(createdProcessor)}`),setBackgroundReplacementProcessor(createdProcessor),setIsBackgroundReplacementSupported(!0),createdProcessor)}catch(error){return logger.error(`Error creating a background replacement video frame processor device. ${error}`),setBackgroundReplacementProcessor(void 0),void setIsBackgroundReplacementSupported(!1)}}(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>(initializeBackgroundReplacement(),()=>{logger.info("Specs or options were changed. Destroying and re-initializing background replacement processor."),backgroundReplacementProcessor?.destroy()})),[replacementSpec,replacementOptions]);const value={createBackgroundReplacementDevice:async selectedDevice=>{logger.info(`Calling createBackgroundReplacementDevice with device: ${JSON.stringify(selectedDevice)}`);const currentProcessor=await initializeBackgroundReplacement();try{const logger=options?.logger||new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.ConsoleLogger("BackgroundReplacementProvider",amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.LogLevel.INFO);if(currentProcessor){return new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultVideoTransformDevice(logger,selectedDevice,[currentProcessor])}throw new Error("Processor has not been created. Background Replacement is not supported.")}catch(error){throw new Error(`Failed to create a DefaultVideoTransformDevice: ${error}`)}},isBackgroundReplacementSupported,backgroundReplacementProcessor};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(BackgroundReplacementProviderContext.Provider,{value,children})};BackgroundReplacementProvider.displayName="BackgroundReplacementProvider";try{BackgroundReplacementProvider.displayName="BackgroundReplacementProvider",BackgroundReplacementProvider.__docgenInfo={description:"",displayName:"BackgroundReplacementProvider",props:{spec:{defaultValue:null,description:"The spec defines the assets that will be used for adding background replacement to a frame. For more information, refer to\n[Amazon Chime SDK for JavaScript Background Filter Guide](https://github.com/aws/amazon-chime-sdk-js/blob/main/guides/15_Background_Filter_Video_Processor.md#adding-a-background-filter-to-your-application).",name:"spec",required:!1,type:{name:"BackgroundFilterSpec | undefined"}},options:{defaultValue:null,description:"",name:"options",required:!1,type:{name:"BackgroundReplacementOptions | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/BackgroundReplacementProvider/index.tsx#BackgroundReplacementProvider"]={docgenInfo:BackgroundReplacementProvider.__docgenInfo,name:"BackgroundReplacementProvider",path:"src/providers/BackgroundReplacementProvider/index.tsx#BackgroundReplacementProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/NotificationProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Us:()=>ActionType,JB:()=>NotificationProvider,zb:()=>Severity,kE:()=>useNotificationDispatch,tl:()=>useNotificationState});var react=__webpack_require__("./node_modules/react/index.js"),v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js");let Severity=function(Severity){return Severity.ERROR="error",Severity.SUCCESS="success",Severity.INFO="info",Severity.WARNING="warning",Severity}({}),ActionType=function(ActionType){return ActionType[ActionType.ADD=0]="ADD",ActionType[ActionType.REMOVE=1]="REMOVE",ActionType[ActionType.REMOVE_ALL=2]="REMOVE_ALL",ActionType}({});const initialState={notifications:[]},reducer=(state,action)=>{const{type,payload}=action;switch(type){case ActionType.ADD:{const notification={id:(0,v4.Z)(),...payload},notifications=notification?.replaceAll?[notification]:[...state.notifications,notification];return{...state,notifications}}case ActionType.REMOVE:{const notifications=state.notifications.filter((notification=>notification?.id!==payload));return{...state,notifications}}case ActionType.REMOVE_ALL:return{...state,notifications:[]};default:throw new Error("Incorrect type in NotificationProvider")}};var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const StateContext=react.createContext(initialState),DispatchContext=react.createContext((()=>{})),NotificationProvider=({children})=>{const[state,dispatch]=(0,react.useReducer)(reducer,initialState);return(0,jsx_runtime.jsx)(StateContext.Provider,{value:state,children:(0,jsx_runtime.jsx)(DispatchContext.Provider,{value:dispatch,children})})};NotificationProvider.displayName="NotificationProvider";const useNotificationState=()=>(0,react.useContext)(StateContext),useNotificationDispatch=()=>(0,react.useContext)(DispatchContext);try{NotificationProvider.displayName="NotificationProvider",NotificationProvider.__docgenInfo={description:"",displayName:"NotificationProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/NotificationProvider/index.tsx#NotificationProvider"]={docgenInfo:NotificationProvider.__docgenInfo,name:"NotificationProvider",path:"src/providers/NotificationProvider/index.tsx#NotificationProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/VoiceFocusProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{k:()=>useVoiceFocus,o:()=>VoiceFocusProvider});var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/utils/use-memo-compare.ts"),_LoggerProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js");const VoiceFocusContext=(0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)(null),VoiceFocusProvider=({spec,options,createMeetingResponse,children})=>{const logger=(0,_LoggerProvider__WEBPACK_IMPORTED_MODULE_3__.wL)(),[isVoiceFocusSupported,setIsVoiceFocusSupported]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(void 0),[voiceFocusDevice,setVoiceFocusDevice]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null),[voiceFocusTransformer,setVoiceFocusTransformer]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null),vfSpec=(0,_utils_use_memo_compare__WEBPACK_IMPORTED_MODULE_2__.Z)(spec,((prev,next)=>{if(Object.is(prev,next)||JSON.stringify(prev)===JSON.stringify(next))return!0;const isPrevEmpty=void 0===prev||prev&&0===Object.keys(prev).length,isNextEmpty=void 0===next||next&&0===Object.keys(next).length;return!(!isPrevEmpty||!isNextEmpty)}));let currentPromise;async function initVoiceFocus(vfSpec,options,canceled,createMeetingResponse){voiceFocusDevice?.stop(),voiceFocusTransformer&&amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.VoiceFocusDeviceTransformer.destroyVoiceFocus(voiceFocusTransformer),setVoiceFocusTransformer(null),setVoiceFocusDevice(null),async function createVoiceFocusDeviceTransformer(spec,options,canceled,createMeetingResponse){const fetch=amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.VoiceFocusDeviceTransformer.create(spec,options,void 0,createMeetingResponse);return fetch.then((transformer=>{canceled()||(currentPromise=void 0,setVoiceFocusTransformer(transformer),setVoiceFocusDevice(null),setIsVoiceFocusSupported(transformer&&transformer.isSupported()))})).catch((()=>{canceled()||(currentPromise=void 0,setVoiceFocusTransformer(null),setVoiceFocusDevice(null),setIsVoiceFocusSupported(!1))})),currentPromise=fetch}(vfSpec,options,canceled,createMeetingResponse)}(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>{let canceled=!1;return createMeetingResponse&&initVoiceFocus(vfSpec,options,(()=>canceled),createMeetingResponse),()=>{canceled=!0}}),[vfSpec,options,createMeetingResponse]),(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>{void 0!==isVoiceFocusSupported&&(isVoiceFocusSupported?logger.info("Amazon Voice Focus is supported."):logger.warn("Amazon Voice Focus is not supported."))}),[isVoiceFocusSupported]),(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>(voiceFocusDevice&&logger.info(`Current Amazon Voice Focus transform device: ${voiceFocusDevice}`),()=>{voiceFocusDevice?(logger.info("Destroying voice focus device : "+JSON.stringify(voiceFocusDevice)),voiceFocusDevice?.stop()):logger.info("Voice focus device doesn't exist")})),[voiceFocusDevice]),(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>()=>{voiceFocusTransformer?(amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.VoiceFocusDeviceTransformer.destroyVoiceFocus(voiceFocusTransformer),logger.info("Destroying voice focus transformer : "+JSON.stringify(voiceFocusTransformer))):logger.info("VoiceFocusTransformer doesn't exist")}),[voiceFocusTransformer]);const value={isVoiceFocusSupported,addVoiceFocus:async device=>{if(logger.info(`Add Amazon Voice Focus to the following audio input device ${device}`),!isVoiceFocusSupported)return logger.debug("Not supported, not creating device."),device;try{const transformer=await async function getVoiceFocusDeviceTransformer(){if(voiceFocusTransformer)return voiceFocusTransformer;return currentPromise}(),vf=await(transformer?.createTransformDevice(device));if(vf)return logger.info("Created a new Amazon Voice Focus transform device."),setVoiceFocusDevice(vf),vf}catch(e){logger.error(`Amazon Voice Focus is not supported. ${e}`)}return device}};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(VoiceFocusContext.Provider,{value,children})};VoiceFocusProvider.displayName="VoiceFocusProvider";const useVoiceFocus=()=>{const context=(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(VoiceFocusContext);if(!context)throw new Error("useVoiceFocus must be used within VoiceFocusProvider");return context};try{VoiceFocusProvider.displayName="VoiceFocusProvider",VoiceFocusProvider.__docgenInfo={description:"",displayName:"VoiceFocusProvider",props:{spec:{defaultValue:null,description:"Determines how you want Amazon Voice Focus to behave. This spec is used to derive a runtime configuration when a transformer is created.",name:"spec",required:!1,type:{name:"VoiceFocusSpec | undefined"}},options:{defaultValue:null,description:"A set of options that can be supplied when creating an Amazon Voice Focus device.\nFor more info, you can go to https://aws.github.io/amazon-chime-sdk-js/interfaces/voicefocusdeviceoptions.html",name:"options",required:!1,type:{name:"VoiceFocusDeviceOptions | undefined"}},createMeetingResponse:{defaultValue:null,description:"Optional features like Amazon Chime Echo Reduction capability is enabled at the meeting level when CreateMeeting is called.",name:"createMeetingResponse",required:!1,type:{name:"JoinMeetingInfo | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/VoiceFocusProvider/index.tsx#VoiceFocusProvider"]={docgenInfo:VoiceFocusProvider.__docgenInfo,name:"VoiceFocusProvider",path:"src/providers/VoiceFocusProvider/index.tsx#VoiceFocusProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/theme/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$_:()=>_dark__WEBPACK_IMPORTED_MODULE_1__.$,Wb:()=>_light__WEBPACK_IMPORTED_MODULE_0__.W,nz:()=>_GlobalStyles__WEBPACK_IMPORTED_MODULE_3__.n});var _light__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/theme/light.ts"),_dark__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/theme/dark.ts"),_GlobalStyles__WEBPACK_IMPORTED_MODULE_3__=(__webpack_require__("./src/theme/StyledReset.ts"),__webpack_require__("./src/theme/GlobalStyles.ts"))},"./src/utils/device-utils.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{EB:()=>isOptionActive,N0:()=>isPrevNextUndefined,V5:()=>isPrevNextEmpty,Zw:()=>getDeviceId});var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js");const isOptionActive=async(selectedDevice,currentDeviceId)=>await getDeviceId(selectedDevice)===currentDeviceId,getDeviceId=async device=>{if(!device)return"";let intrinsicDevice;intrinsicDevice=(0,amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.isAudioTransformDevice)(device)||(0,amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.isVideoTransformDevice)(device)?await device.intrinsicDevice():device;return amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultDeviceController.getIntrinsicDeviceId(intrinsicDevice)};function isPrevNextUndefined(prev,next){return void 0===prev&&void 0===next}function isPrevNextEmpty(prev,next){const isPrevEmpty=prev&&0===Object.keys(prev).length,isNextEmpty=next&&0===Object.keys(next).length;return isPrevEmpty&&isNextEmpty}},"./src/utils/use-memo-compare.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const __WEBPACK_DEFAULT_EXPORT__=function useMemoCompare(next,compare){const previousRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(),previous=previousRef.current,isEqual=compare(previous,next);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{isEqual||(previousRef.current=next)})),isEqual?previous:next}},"./node_modules/fast-memoize/src/index.js":module=>{function monadic(fn,cache,serializer,arg){var cacheKey=function isPrimitive(value){return null==value||"number"==typeof value||"boolean"==typeof value}(arg)?arg:serializer(arg),computedValue=cache.get(cacheKey);return void 0===computedValue&&(computedValue=fn.call(this,arg),cache.set(cacheKey,computedValue)),computedValue}function variadic(fn,cache,serializer){var args=Array.prototype.slice.call(arguments,3),cacheKey=serializer(args),computedValue=cache.get(cacheKey);return void 0===computedValue&&(computedValue=fn.apply(this,args),cache.set(cacheKey,computedValue)),computedValue}function assemble(fn,context,strategy,cache,serialize){return strategy.bind(context,fn,cache,serialize)}function strategyDefault(fn,options){return assemble(fn,this,1===fn.length?monadic:variadic,options.cache.create(),options.serializer)}function serializerDefault(){return JSON.stringify(arguments)}function ObjectWithoutPrototypeCache(){this.cache=Object.create(null)}ObjectWithoutPrototypeCache.prototype.has=function(key){return key in this.cache},ObjectWithoutPrototypeCache.prototype.get=function(key){return this.cache[key]},ObjectWithoutPrototypeCache.prototype.set=function(key,value){this.cache[key]=value};var cacheDefault={create:function create(){return new ObjectWithoutPrototypeCache}};module.exports=function memoize(fn,options){var cache=options&&options.cache?options.cache:cacheDefault,serializer=options&&options.serializer?options.serializer:serializerDefault;return(options&&options.strategy?options.strategy:strategyDefault)(fn,{cache,serializer})},module.exports.strategies={variadic:function strategyVariadic(fn,options){return assemble(fn,this,variadic,options.cache.create(),options.serializer)},monadic:function strategyMonadic(fn,options){return assemble(fn,this,monadic,options.cache.create(),options.serializer)}}}}]); +//# sourceMappingURL=1229.8675e4d2.iframe.bundle.js.map \ No newline at end of file diff --git a/1229.8675e4d2.iframe.bundle.js.map b/1229.8675e4d2.iframe.bundle.js.map new file mode 100644 index 000000000..dfcafee39 --- /dev/null +++ b/1229.8675e4d2.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"1229.8675e4d2.iframe.bundle.js","mappings":";AAkBA;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgBA;;;AAMA;AACA;;;;;;;;ACrBA;;;;;ACTA;AACA;AAGA;;;AAGA;AACA;;;;;;AAMA;;;;;AAKA;AACA;AACA;;;AAGA;;;;AAIA;AACA;;;;AAIA;;;;;;;;;AASA;;;;;AAKA;;;;;;;;AAQA;AACA;;;AAGA;;;;;;;;;;;;;;;;AAgBA;;;;AAIA;;;;;;AAMA;;;AAIA;;;;;;;;;;AAUA;AACA;;AAEA;;;AAGA;;;;AAIA;AACA;;;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA;;;;;AAKA;;;;AAIA;AACA;;;AAGA;;;;;;;;;;;;;;;;;AAiBA;;;;AAIA;;;;;;AAMA;;;AAIA;;;;;;;;;;ACvLA;;;;AAIA;;;AAGA;AACA;AAGA;AACA;;;;AAIA;;;AAGA;;;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA;;;;;;;;;;;;;;;;;AAiBA;AACA;AAGA;;;;AAIA;;;;;;;;;AASA;;;AAGA;;;;;AAKA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;;;;;;;AC9GA;AACA;;;;;;;;;;;;AAYA;AACA;;;;;;;;;AASA;;;;;;;;;;;;ACvBA;;;;;AAKA;;;;;;;;;;AAUA;;;;;AAKA;AACA;;;;AAMA;AACA;;;;;;;AAOA;AACA;AAEA;AACA;;;AAGA;;;AAGA;AACA;;ACzDA;;;AAGA;AACA;;AAIA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;AAaA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;;;ACpCA;AAGA;;;;;ACIA;AACA;AACA;;AAEA;;AAaA;AAGA;AACA;AACA;;AAEA;;;;;ACzBA;;;;;;;;;;;;AAaA;;;AAKA;;;;;;;;;;;AAWA;AACA;;;;;AAOA;;;;;AAKA;AACA;;;;AAIA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;;;;AAgBA;AACA;;;;;;AChEA;AACA;;AAEA;;;;;;;;;;;;;;AAcA;AACA;;;;;;;;;AASA;;AAEA;;;AAGA;AACA;AACA;AAEA;;;AAIA;AACA;AAEA;;;AAIA;AACA;AAEA;;;AAIA;AACA;;;;;;;;;ACjEA;;;;;;;;;ACCA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;AAWA;AACA;;;;;AAKA;AACA;;;AAGA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AASA;AACA;;;;;AAKA;AACA;;;AClBA;AAEA;;;AAGA","sources":["webpack://amazon-chime-sdk-component-library-react/./src/components/sdk/LocalVideo/index.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/MicVolumeIndicator/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/sdk/PreviewVideo/index.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Chat/ChannelList/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Chat/ChatBubble/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Chat/InfiniteList/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Chat/MessageAttachment/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Checkbox/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/ContentTile/index.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Grid/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Navbar/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Notification/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/NotificationGroup/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Select/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Textarea/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/UserActivityManager/Styled.tsx"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { useEffect, useRef } from 'react';\nimport styled from 'styled-components';\n\nimport { useApplyVideoObjectFit } from '../../../hooks/useApplyVideoObjectFit';\nimport { useAudioVideo } from '../../../providers/AudioVideoProvider';\nimport { useLocalVideo } from '../../../providers/LocalVideoProvider';\nimport VideoTile from '../../ui/VideoTile';\nimport { BaseSdkProps } from '../Base';\n\ninterface Props extends BaseSdkProps {\n id?: string;\n nameplate?: string;\n}\n\nconst StyledLocalVideo = styled(VideoTile)`\n ${(props) => (!props.active ? 'display: none' : '')};\n`;\n\nexport const LocalVideo: React.FC> = ({\n nameplate,\n ...rest\n}) => {\n const { tileId, isVideoEnabled } = useLocalVideo();\n const audioVideo = useAudioVideo();\n const videoEl = useRef(null);\n useApplyVideoObjectFit(videoEl);\n\n useEffect(() => {\n if (!audioVideo || !tileId || !videoEl.current || !isVideoEnabled) {\n return;\n }\n\n audioVideo.bindVideoElement(tileId, videoEl.current);\n\n return () => {\n const tile = audioVideo.getVideoTile(tileId);\n if (tile) {\n audioVideo.unbindVideoElement(tileId);\n }\n };\n }, [audioVideo, tileId, isVideoEnabled]);\n\n return (\n \n );\n};\n\nexport default LocalVideo;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { baseSpacing, baseStyles } from '../Base';\nimport { MicVolumeIndicatorProps } from '.';\n\nexport const StyledMicVolumeIndicator = styled.div`\n position: relative;\n height: inherit;\n line-height: 0;\n\n .ch-mic-icon {\n position: relative;\n z-index: 2;\n width: 100%;\n }\n\n .ch-bg-volume-wrapper {\n position: absolute;\n bottom: 41%;\n left: 40%;\n height: 38%;\n width: 21%;\n border-radius: 20%;\n overflow: hidden;\n }\n\n .ch-bg-volume-fill {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n transform-origin: bottom;\n will-change: transform;\n background-color: ${(props) =>\n props.signalStrength && props.signalStrength <= 0.5\n ? props.theme.colors.error.light\n : props.theme.colors.primary.light};\n }\n\n ${baseSpacing}\n ${baseStyles}\n`;\n\nexport default StyledMicVolumeIndicator;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { useEffect, useRef } from 'react';\nimport styled from 'styled-components';\n\nimport { useAudioVideo } from '../../../providers/AudioVideoProvider';\nimport { useVideoInputs } from '../../../providers/DevicesProvider';\nimport { useLocalVideo } from '../../../providers/LocalVideoProvider';\nimport { useLogger } from '../../../providers/LoggerProvider';\nimport { useMeetingManager } from '../../../providers/MeetingProvider';\nimport VideoTile from '../../ui/VideoTile';\nimport { BaseSdkProps } from '../Base';\n\nconst StyledPreview = styled(VideoTile)`\n height: auto;\n background: unset;\n\n video {\n position: static;\n }\n`;\n\nexport const PreviewVideo: React.FC> = (\n props\n) => {\n const logger = useLogger();\n const audioVideo = useAudioVideo();\n const { selectedDevice } = useVideoInputs();\n const videoEl = useRef(null);\n const meetingManager = useMeetingManager();\n const { setIsVideoEnabled } = useLocalVideo();\n\n useEffect(() => {\n const videoElement = videoEl.current;\n return () => {\n if (videoElement) {\n audioVideo?.stopVideoPreviewForVideoInput(videoElement);\n audioVideo?.stopVideoInput();\n setIsVideoEnabled(false);\n }\n };\n }, [audioVideo]);\n\n useEffect(() => {\n async function startPreview(): Promise {\n if (!audioVideo || !selectedDevice || !videoEl.current) {\n return;\n }\n\n try {\n await meetingManager.startVideoInputDevice(selectedDevice);\n audioVideo.startVideoPreviewForVideoInput(videoEl.current);\n setIsVideoEnabled(true);\n } catch (error) {\n logger.error('Failed to start video preview');\n }\n }\n\n startPreview();\n }, [audioVideo, selectedDevice]);\n\n return ;\n};\n\nexport default PreviewVideo;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { baseSpacing, baseStyles } from '../../Base';\nimport { ChannelListProps } from '.';\nimport { ChannelItemProps } from './ChannelItem';\n\nexport const StyledChannelList = styled.ul`\n display: flex;\n flex-direction: column;\n width: 20rem;\n\n ${baseStyles}\n ${baseSpacing}\n`;\n\nexport const StyledChannelItem = styled.li`\n position: relative;\n\n ${baseStyles};\n ${baseSpacing};\n\n & .ch-channel-button {\n width: 100%;\n height: 100%;\n padding: 11px 0;\n background-color: ${(props) => props.theme.channelList.bgd};\n border: none;\n border-radius: unset;\n justify-content: left;\n padding-left: 1rem;\n color: ${(props) => props.theme.channelList.fontColor};\n border: ${(props) => props.theme.channelList.border};\n font-family: ${(props) => props.theme.fonts.body};\n\n &:hover {\n background-color: ${(props) => props.theme.channelList.hover.bgd};\n }\n\n &:active {\n background-color: ${(props) => props.theme.channelList.active.bgd};\n color: ${(props) => props.theme.channelList.active.fontColor};\n }\n\n &:focus {\n border: ${(props) => props.theme.channelList.focus.border};\n }\n }\n\n & .ch-label {\n padding-left: 1.5rem;\n }\n\n & .ch-unread-badge {\n display: ${(props) => (props.unread ? 'inline' : 'none')};\n position: absolute;\n z-index: 2;\n top: 12px;\n left: 5px;\n background-color: ${(props) => props.theme.colors.primary.light};\n }\n\n &.ch-unread .ch-channel-button {\n font-weight: bold;\n }\n\n &.ch-selected .ch-channel-button {\n background-color: ${(props) => props.theme.colors.primary.light};\n color: ${(props) => props.theme.channelList.selected.fontColor};\n\n &:focus {\n border: ${(props) => props.theme.channelList.focus.selectedBorder};\n }\n }\n\n & .ch-popover-toggle {\n position: absolute;\n right: 1rem;\n margin: 0.5rem 0;\n height: 1.5rem;\n border-radius: 50%;\n\n .ch-channel-actions {\n border: 1px solid transparent;\n }\n\n & g {\n fill: ${(props) => props.theme.channelList.active.fontColor};\n }\n\n & button:focus .ch-channel-actions {\n border: ${(props) => props.theme.channelList.focus.selectedBorder};\n border-radius: 50%;\n }\n\n &:hover,\n &:active {\n background-color: ${(props) =>\n props.theme.channelList.iconButton.activeBgd};\n\n & g {\n fill: ${(props) => props.theme.colors.primary.light};\n }\n }\n }\n\n & .ch-detailed-channel {\n display: grid;\n grid-template-rows: 17px 1fr max-content;\n grid-gap: 16px;\n padding: 10px 20px;\n background-color: ${(props) => props.theme.channelList.bgd};\n color: ${(props) => props.theme.channelList.fontColor};\n border-bottom: 0.5px solid #d3d3d3;\n font-family: ${(props) => props.theme.fonts.body};\n\n &:hover {\n background-color: ${(props) => props.theme.channelList.hover.bgd};\n }\n\n &:active {\n background-color: ${(props) => props.theme.channelList.active.bgd};\n color: ${(props) => props.theme.channelList.active.fontColor};\n }\n\n &:focus {\n border: ${(props) => props.theme.channelList.focus.border};\n }\n }\n\n & .ch-detailed-channel-name {\n font-weight: bold;\n padding-left: 25px;\n white-space: nowrap;\n overflow-x: hidden;\n text-overflow: ellipsis;\n font-size: 14px;\n max-width: 85%;\n }\n\n & .ch-detailed-channel-message {\n grid-row: span 2;\n padding-left: 25px;\n white-space: nowrap;\n overflow-x: hidden;\n text-overflow: ellipsis;\n font-size: 14px;\n max-width: 90%;\n }\n\n & .ch-detailed-channel-message-time {\n position: absolute;\n top: 0.8rem;\n right: 0.5rem;\n font-size: 8px;\n max-width: 15%;\n text-align: right;\n }\n\n & .ch-unread-badge-detailed {\n display: ${(props) => (props.unread ? 'inline' : 'none')};\n position: absolute;\n z-index: 2;\n top: 10px;\n left: 5px;\n background-color: ${(props) => props.theme.colors.primary.light};\n }\n\n &.ch-selected .ch-detailed-channel {\n background-color: ${(props) => props.theme.colors.primary.light};\n color: ${(props) => props.theme.channelList.selected.fontColor};\n\n &:focus {\n border: ${(props) => props.theme.channelList.focus.selectedBorder};\n }\n }\n\n & .ch-popover-toggle-detailed {\n position: absolute;\n top: 1.75rem;\n right: 1rem;\n margin: 0.5rem 0;\n height: 1.5rem;\n border-radius: 50%;\n\n .ch-channel-actions {\n border: 1px solid transparent;\n }\n\n & g {\n fill: ${(props) => props.theme.channelList.active.fontColor};\n }\n\n & button:focus .ch-channel-actions {\n border: ${(props) => props.theme.channelList.focus.selectedBorder};\n border-radius: 50%;\n }\n\n &:hover,\n &:active {\n background-color: ${(props) =>\n props.theme.channelList.iconButton.activeBgd};\n\n & g {\n fill: ${(props) => props.theme.colors.primary.light};\n }\n }\n }\n`;\n\nexport default StyledChannelList;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { BaseProps, baseSpacing, baseStyles } from '../../Base';\nimport { MessageVariant } from './ChatBubbleContainer';\n\ninterface StyledChatBubbleContainerProps extends BaseProps {\n actions?: any;\n}\n\ninterface StyledChatBubbleProps extends BaseProps {\n variant: MessageVariant;\n editable?: boolean;\n}\n\nexport const StyledChatBubbleContainer = styled.div`\n display: flex;\n flex-direction: row;\n font-size: 0.65rem;\n margin-left: 1rem;\n align-items: center;\n background-color: ${(props) => props.theme.chatBubble.container.bgd};\n width: 100%;\n\n .ch-timestamp {\n padding-right: ${(props) => (props.actions ? '1rem' : '2.5rem')};\n }\n\n ${baseSpacing}\n ${baseStyles}\n`;\n\nexport const StyledChatBubble = styled.div`\n background-color: ${(props) => props.theme.chatBubble[props.variant].bgd};\n padding: 0.625rem 1rem;\n border-radius: 4px;\n width: fit-content;\n color: ${(props) => props.theme.chatBubble[props.variant].fontColor};\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);\n line-height: 20px;\n width: ${(props) => (props.editable ? '100%' : 'fit-content')};\n max-width: 70.6%;\n font-size: 0.875rem;\n position: relative;\n margin-bottom: ${(props) => (props.editable ? '4rem' : 'unset')};\n overflow-wrap: break-word;\n word-break: break-word;\n hyphens: auto;\n\n & .ch-header {\n display: flex;\n flex-direction: row;\n margin-bottom: 0.5rem;\n align-items: baseline;\n }\n\n & .ch-sender-name {\n font-weight: bold;\n padding-right: 0.5rem;\n }\n\n & .ch-header-timestamp {\n font-size: 0.65rem;\n }\n\n & svg {\n position: absolute;\n height: 19px;\n width: 11px;\n margin-top: -14px;\n margin-left: -25px;\n\n & .ch-chat-bubble-tail {\n fill: ${(props) => props.theme.chatBubble[props.variant].bgd};\n }\n }\n\n .ch-input {\n width: 100%;\n }\n\n .ch-edit-buttons {\n position: absolute;\n margin-top: 1rem;\n display: flex;\n flex-direction: row-reverse;\n width: 10rem;\n justify-content: space-between;\n }\n\n ${baseSpacing};\n ${baseStyles};\n`;\n\nexport const StyledChatBubbleInfo = styled.div`\n display: flex;\n margin-right: 0.5rem;\n margin-left: auto;\n color: ${(props) => props.theme.chatBubble.container.fontColor};\n align-items: center;\n\n & .ch-message-actions {\n border: 1px solid transparent;\n border-radius: 50%;\n }\n\n & button:hover .ch-message-actions {\n background-color: ${(props) => props.theme.buttons.icon.hover.bgd};\n\n & g {\n fill: ${(props) => props.theme.buttons.icon.hover.text};\n }\n }\n\n & button:focus .ch-message-actions {\n border: 1px solid ${(props) => props.theme.colors.primary.dark};\n border-radius: 50%;\n }\n\n & .ch-message-actions g {\n fill: ${(props) => props.theme.chatBubble.container.fontColor};\n }\n\n & .ch-message-actions.isOpen {\n background-color: ${(props) => props.theme.buttons.icon.active.bgd};\n border-radius: 50%;\n\n & g {\n fill: ${(props) => props.theme.buttons.icon.active.text};\n }\n }\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled, { keyframes } from 'styled-components';\n\nimport { baseSpacing, baseStyles } from '../../Base';\nimport { InfiniteListProps } from './';\n\n// Create the keyframes\nconst rotate = keyframes`\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n`;\n\ninterface StyledInfiniteListProps extends InfiniteListProps {}\n\nexport const StyledInfiniteList = styled.ul`\n background-color: ${(props) => props.theme.chatBubble.container.bgd};\n overflow-y: scroll;\n display: flex;\n flex-direction: column;\n list-style: none;\n padding: 0;\n\n /* disable scrolling while fetching */\n &.ch-not-scrollable {\n overflow-y: hidden;\n }\n\n ${baseSpacing}\n ${baseStyles}\n\n .ch-spinner {\n margin: 0 auto;\n }\n\n .ch-spinner svg {\n width: 2rem;\n height: 2rem;\n animation: ${rotate} 2s linear infinite;\n display: block;\n }\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { BaseProps, baseSpacing, baseStyles } from '../../Base';\n\ninterface StyledMessageAttachmentProps extends BaseProps {\n imgStyles?: string;\n}\n\nexport const StyledMessageAttachmentContent = styled.div`\n display: flex;\n flex-direction: row;\n padding: 10px;\n\n & .ch-attachment-icon {\n height: 2rem;\n width: 2rem;\n margin: auto;\n background-color: ${(props) => props.theme.messageAttachment.icon.bgd};\n border-radius: 25px;\n\n & .ch-document-icon {\n margin: auto 0;\n color: ${(props) => props.theme.messageAttachment.icon.color};\n }\n }\n & .ch-attachment-name {\n margin-left: 1rem;\n\n & a:link,\n a:visited,\n a:hover,\n a:active {\n color: ${(props) => props.theme.messageAttachment.name.fontColor};\n text-decoration: none;\n }\n }\n & .ch-attachment-size {\n font-size: ${(props) => props.theme.messageAttachment.size.fontSize};\n color: ${(props) => props.theme.messageAttachment.size.fontColor};\n display: block;\n padding-top: 3px;\n }\n`;\n\nexport const StyledMessageAttachment = styled.div`\n color: ${(props) => props.theme.messageAttachment.content.fontColor};\n display: flex;\n flex-direction: column;\n width: fit-content;\n border-radius: 4px;\n overflow: hidden;\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);\n background-color: ${(props) => props.theme.messageAttachment.content.bgd};\n letter-spacing: ${(props) =>\n props.theme.messageAttachment.content.letterSpacing};\n font-size: ${(props) => props.theme.fontSizes.text.fontSize};\n line-height: ${(props) => props.theme.fontSizes.text.lineHeight};\n\n & img {\n ${(props) => props.imgStyles};\n }\n\n ${baseSpacing}\n ${baseStyles}\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { visuallyHidden } from '../../../utils/style';\nimport { StyledCheckboxProps } from './';\n\nexport const HiddenCheckbox = styled.input`\n ${visuallyHidden};\n\n &[aria-invalid='true'] + .ch-checkbox {\n border: ${(props) => props.theme.inputs.error.border};\n box-shadow: ${(props) => props.theme.inputs.error.shadow};\n }\n`;\n\nexport const StyledCheckbox = styled.div`\n background-color: ${(props) => props.theme.inputs.bgd};\n border: ${(props) => props.theme.inputs.border};\n border-radius: ${(props) => props.theme.radii.default};\n box-shadow: ${(props) => props.theme.inputs.shadow};\n color: ${(props) => props.theme.inputs.fontColor};\n display: inline-block;\n height: 1rem;\n position: relative;\n width: 1rem;\n transition: box-shadow 0.05s ease-in;\n\n > svg {\n left: -0.03125rem;\n position: absolute;\n transform: scale(1.5);\n }\n\n ${HiddenCheckbox}:checked ~ & {\n background-color: ${(props) => props.theme.inputs.checked.bgd};\n border: ${(props) => props.theme.inputs.checked.border};\n box-shadow: ${(props) => props.theme.inputs.checked.shadow};\n color: ${(props) => props.theme.inputs.checked.fontColor};\n }\n\n ${HiddenCheckbox}:focus ~ & {\n border: ${(props) => props.theme.inputs.focus.border};\n box-shadow: ${(props) => props.theme.inputs.focus.shadow};\n }\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { VideoTile } from '../../ui/VideoTile';\n\nexport const ContentTile = styled(VideoTile)`\n background-color: ${({ theme }) => theme.colors.greys.grey80};\n`;\n\nexport default ContentTile;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\nimport { grid } from 'styled-system';\n\nimport { baseSpacing, baseStyles } from '../Base';\nimport { GridProps } from './';\nimport { CellProps } from './Cell';\n\nexport const StyledGrid = styled.div`\n display: grid;\n width: 100%;\n height: 100%;\n\n ${grid}\n ${baseSpacing}\n ${baseStyles}\n\n ${({ responsive, theme }) =>\n responsive\n ? `\n ${theme.mediaQueries.max.md} {\n grid-template-columns: 1fr 1fr;\n }\n\n ${theme.mediaQueries.max.sm} {\n grid-template-columns: 1fr;\n }\n `\n : ''}\n\n ${(props) => props.css || ''}\n`;\n\nexport const StyledCell = styled.div`\n ${baseSpacing}\n ${grid}\n\n ${(props) => props.css || ''}\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { baseSpacing, baseStyles } from '../Base';\nimport Flex from '../Flex';\nimport { NavbarProps } from '.';\nimport { NavbarItemProps } from './NavbarItem';\n\nexport const StyledHeader = styled.div`\n display: flex;\n height: 3rem;\n align-items: center;\n border-bottom: ${({ theme }) =>\n `0.03125rem solid ${theme.navbar.headerBorder}`};\n padding: 1rem;\n\n .ch-title {\n flex: 1;\n }\n\n .ch-btn-close {\n margin-left: auto;\n margin-right: 1rem;\n }\n\n ${({ theme }) => theme.mediaQueries.min.md} {\n display: none;\n }\n`;\n\nexport const StyledNavbarItem = styled.div>`\n display: flex;\n align-items: center;\n justify-content: center;\n width: 4.25rem;\n min-height: 3rem;\n flex-direction: column;\n padding: 0 0.25rem;\n\n .ch-navigation-bar-item-label {\n text-align: center;\n display: ${({ showLabel }) => (showLabel ? 'block' : 'none')};\n font-size: ${({ theme }) => theme.fontSizes.footnote.fontSize};\n width: 100%;\n padding: 0 0.25rem;\n margin-bottom: 1.5rem;\n }\n`;\n\nexport const StyledNavbar = styled(Flex)`\n display: flex;\n flex-direction: column;\n height: 100%;\n max-width: 100%;\n color: ${(props) => props.theme.navbar.text};\n background-color: ${({ theme }) => theme.navbar.bgd};\n width: 4.25rem;\n padding-top: 1rem;\n\n ${({ theme, responsive }) => theme.mediaQueries.max.md} {\n width: ${(props) => (props.responsive ? `20rem` : `4.25rem;`)};\n padding-top: ${(props) => (props.responsive ? `0` : `1rem`)};\n\n ${StyledHeader} {\n display: ${(props) => (props.responsive ? `flex` : `none`)};\n }\n\n ${StyledNavbarItem} {\n ${(props) =>\n props.responsive &&\n ` \n width: auto;\n flex-direction: row;\n\n .ch-navigation-bar-item-label {\n font-size: 1rem;\n text-align: left;\n margin-left: 1.5rem;\n margin-bottom: 0;\n display: block;\n }`};\n }\n }\n\n ${baseStyles}\n ${baseSpacing}\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { Severity } from '../../../providers/NotificationProvider';\nimport { baseSpacing, baseStyles } from '../Base';\nimport IconButton from '../Button/IconButton';\nimport SecondaryButton from '../Button/SecondaryButton';\nimport { NotificationProps } from '.';\n\ninterface StyledNotificationProps extends NotificationProps {\n severity: Severity;\n}\n\nexport const StyledCloseIconButton = styled(IconButton)``;\nexport const StyledNotificationButton = styled(SecondaryButton)``;\n\nexport const StyledNotification = styled.div`\n align-items: center;\n position: relative;\n display: inline-flex;\n align-items: center;\n color: ${({ theme, severity }) => theme.notification[severity].text};\n background-color: ${({ theme, severity }) => theme.colors[severity].primary};\n padding: 0.75rem;\n box-shadow: ${({ theme }) => theme.notification.shadow};\n border-radius: 0.25rem;\n margin: 0.75rem;\n max-width: 45rem;\n pointer-events: auto;\n\n .ch-severity-icon {\n width: 1.5rem;\n flex-shrink: 0;\n }\n\n .ch-message {\n display: flex;\n flex-flow: column wrap;\n font-size: ${(props) => props.theme.fontSizes.text.fontSize};\n line-height: ${(props) => props.theme.fontSizes.text.lineHeight};\n letter-spacing: -0.005625rem;\n margin: 0.5rem 0.75rem;\n\n &:empty {\n margin: 0;\n }\n }\n\n ${StyledNotificationButton} {\n margin-right: 1.6rem;\n border-color: ${({ theme, severity }) => theme.notification[severity].text};\n }\n\n ${StyledCloseIconButton},\n ${StyledNotificationButton} {\n background-color: ${({ theme, severity }) =>\n theme.colors[severity].primary};\n color: ${({ theme, severity }) =>\n theme.notification[severity].closeButton.text}};\n }\n\n ${StyledCloseIconButton}:hover, ${StyledCloseIconButton}:focus, ${StyledNotificationButton}:hover, ${StyledNotificationButton}:focus {\n background-color: ${({ theme, severity }) =>\n theme.notification[severity].closeButton.hover.bgd};\n color: ${({ theme, severity }) =>\n theme.notification[severity].closeButton.hover.text};\n }\n\n ${StyledCloseIconButton}:active, ${StyledNotificationButton}:active {\n background-color: ${({ theme, severity }) =>\n theme.notification[severity].closeButton.active.bgd};\n color: ${({ theme, severity }) =>\n theme.notification[severity].closeButton.active.text};\n }\n\n ${baseSpacing}\n ${baseStyles}\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nexport const StyledNotificationGroup = styled.div`\n position: fixed;\n top: 2rem;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n z-index: ${(props) => props.theme.zIndex.notificationGroup};\n pointer-events: none;\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { baseSpacing, baseStyles } from '../Base';\n\nexport const StyledWrapper = styled.div`\n position: relative;\n\n .ch-select-icon {\n pointer-events: none;\n }\n\n ${baseSpacing}\n ${baseStyles}\n`;\n\nexport const StyledSelectInput = styled.select`\n background-color: ${(props) => props.theme.inputs.bgd};\n border: ${(props) => props.theme.inputs.border};\n border-radius: ${(props) => props.theme.inputs.borderRadius};\n box-shadow: ${(props) => props.theme.inputs.shadow};\n color: ${(props) => props.theme.inputs.fontColor};\n font-size: ${(props) => props.theme.fontSizes.text.fontSize};\n line-height: ${(props) => props.theme.fontSizes.text.lineHeight};\n height: 2rem;\n letter-spacing: -0.005625rem;\n width: 100%;\n padding: 0.375rem 1.5rem 0.375rem 0.5rem;\n transition: box-shadow 0.05s ease-in;\n display: inline-block;\n appearance: none;\n\n &:focus,\n &[aria-invalid='true']:focus {\n border: ${(props) => props.theme.inputs.focus.border};\n box-shadow: ${(props) => props.theme.inputs.focus.shadow};\n outline: none;\n }\n\n &[aria-invalid='true'] {\n border: ${(props) => props.theme.inputs.error.border};\n box-shadow: ${(props) => props.theme.inputs.error.shadow};\n }\n\n ${baseSpacing}\n ${baseStyles}\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nexport const StyledTextarea = styled.textarea`\n background-color: ${(props) => props.theme.inputs.bgd};\n border: ${(props) => props.theme.inputs.border};\n border-radius: ${(props) => props.theme.inputs.borderRadius};\n box-shadow: ${(props) => props.theme.inputs.shadow};\n color: ${(props) => props.theme.inputs.fontColor};\n font-size: ${(props) => props.theme.fontSizes.text.fontSize};\n padding: 0.5rem;\n position: relative;\n min-height: 4rem;\n transition: box-shadow 0.05s ease-in;\n width: 100%;\n\n &:focus,\n &[aria-invalid='true']:focus {\n border: ${(props) => props.theme.inputs.focus.border};\n box-shadow: ${(props) => props.theme.inputs.focus.shadow};\n outline: none;\n }\n\n &[aria-invalid='true'] {\n border: ${(props) => props.theme.inputs.error.border};\n box-shadow: ${(props) => props.theme.inputs.error.shadow};\n }\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { fadeAnimation } from '../../../utils/animations';\nimport { Props } from './';\n\nexport const StyledUserActivityManager = styled.div`\n z-index: ${(props) =>\n props.isActive ? props.theme.zIndex.controlBar : '-10'};\n visibility: ${(props) => (props.isActive ? 'visible' : 'hidden')};\n\n &.ch-active {\n animation: ${fadeAnimation} 0.25s ease 0s forwards;\n }\n`;\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/2169.30d093a3.iframe.bundle.js b/2169.30d093a3.iframe.bundle.js new file mode 100644 index 000000000..9a12583de --- /dev/null +++ b/2169.30d093a3.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[2169],{"./src/providers/AudioVideoProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Ez:()=>AudioVideoProvider,Lo:()=>useAudioVideo});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const AudioVideoContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null),AudioVideoProvider=({children})=>{const meetingManager=(0,_providers_MeetingProvider__WEBPACK_IMPORTED_MODULE_1__.fj)(),[audioVideo,setAudioVideo]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{function audioVideoUpdateCb(av){setAudioVideo(av)}return meetingManager.subscribeToAudioVideo(audioVideoUpdateCb),()=>meetingManager.unsubscribeFromAudioVideo(audioVideoUpdateCb)}),[]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(AudioVideoContext.Provider,{value:audioVideo,children})};AudioVideoProvider.displayName="AudioVideoProvider";const useAudioVideo=()=>(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(AudioVideoContext);try{AudioVideoProvider.displayName="AudioVideoProvider",AudioVideoProvider.__docgenInfo={description:"",displayName:"AudioVideoProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/AudioVideoProvider/index.tsx#AudioVideoProvider"]={docgenInfo:AudioVideoProvider.__docgenInfo,name:"AudioVideoProvider",path:"src/providers/AudioVideoProvider/index.tsx#AudioVideoProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/ContentShareProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{nk:()=>ContentShareProvider,mv:()=>useContentShareControls,EJ:()=>useContentShareState});var build=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),react=__webpack_require__("./node_modules/react/index.js"),AudioVideoProvider=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx");let ContentActionType=function(ContentActionType){return ContentActionType[ContentActionType.STARTING=0]="STARTING",ContentActionType[ContentActionType.DID_STOP=1]="DID_STOP",ContentActionType[ContentActionType.UPDATE=2]="UPDATE",ContentActionType[ContentActionType.TOGGLE_PAUSE=3]="TOGGLE_PAUSE",ContentActionType[ContentActionType.REMOVE=4]="REMOVE",ContentActionType[ContentActionType.DENIED=5]="DENIED",ContentActionType[ContentActionType.RESET=6]="RESET",ContentActionType}({});const initialState={tileId:null,paused:!1,isLocalUserSharing:!1,isLocalShareLoading:!1,sharingAttendeeId:null};function reducer(state,{type,payload}){switch(type){case ContentActionType.STARTING:return{...state,isLocalShareLoading:!0};case ContentActionType.UPDATE:{const{isLocalUser,tileState}=payload,{tileId}=state;return tileId===tileState.tileId||tileId&&tileId>tileState.tileId?state:{paused:!1,tileId:tileState.tileId,isLocalShareLoading:!1,isLocalUserSharing:isLocalUser,sharingAttendeeId:tileState.boundAttendeeId}}case ContentActionType.REMOVE:{const{tileId}=state;return tileId!==payload?state:initialState}case ContentActionType.DID_STOP:{const{isLocalUserSharing}=state;return isLocalUserSharing?initialState:{...state,isLocalShareLoading:!1,isLocalUserSharing:!1,paused:!1}}case ContentActionType.TOGGLE_PAUSE:return state.isLocalUserSharing?{...state,paused:!state.paused}:state;case ContentActionType.DENIED:return state.isLocalShareLoading?{...state,isLocalShareLoading:!1}:state;case ContentActionType.RESET:return initialState;default:throw new Error("Incorrect type in VideoProvider")}}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const ContentShareContext=(0,react.createContext)(null),ContentShareControlContext=(0,react.createContext)(null),ContentShareProvider=({children})=>{const audioVideo=(0,AudioVideoProvider.Lo)(),[state,dispatch]=(0,react.useReducer)(reducer,initialState),{paused,isLocalUserSharing,isLocalShareLoading}=state,localUserTileIdRef=(0,react.useRef)(null);(0,react.useEffect)((()=>{if(!audioVideo)return;const videoObserver={videoTileDidUpdate:tileState=>{if(!tileState.boundAttendeeId||!tileState.isContent||!tileState.tileId)return;const{boundAttendeeId}=tileState,isLocalUser=new build.DefaultModality(boundAttendeeId).base()===audioVideo.audioVideoController.realtimeController.state.localAttendeeId;!isLocalUser&&localUserTileIdRef.current&&localUserTileIdRef.current{tileId===localUserTileIdRef.current&&(localUserTileIdRef.current=null),dispatch({type:ContentActionType.REMOVE,payload:tileId})}},contentShareObserver={contentShareDidStop:()=>{dispatch({type:ContentActionType.DID_STOP})}};return audioVideo.addObserver(videoObserver),audioVideo.addContentShareObserver(contentShareObserver),()=>{audioVideo.removeObserver(videoObserver),audioVideo.removeContentShareObserver(contentShareObserver),dispatch({type:ContentActionType.RESET})}}),[audioVideo]),(0,react.useEffect)((()=>{if(!audioVideo)return;const cb=event=>{"NotAllowedError"===event.reason.name&&dispatch({type:ContentActionType.DENIED})};return window.addEventListener("unhandledrejection",cb),()=>window.removeEventListener("unhandledrejection",cb)}),[isLocalShareLoading]);const toggleContentShare=(0,react.useCallback)((async source=>{audioVideo&&(isLocalUserSharing||isLocalShareLoading?audioVideo.stopContentShare():(source&&"string"==typeof source?audioVideo.startContentShareFromScreenCapture(source):source instanceof MediaStream?audioVideo.startContentShare(source):audioVideo.startContentShareFromScreenCapture(),dispatch({type:ContentActionType.STARTING})))}),[audioVideo,isLocalUserSharing,isLocalShareLoading]),togglePauseContentShare=(0,react.useCallback)((()=>{audioVideo&&isLocalUserSharing&&(paused?audioVideo.unpauseContentShare():audioVideo.pauseContentShare(),dispatch({type:ContentActionType.TOGGLE_PAUSE}))}),[audioVideo,paused,isLocalUserSharing]),controlsValue=(0,react.useMemo)((()=>({paused,isLocalUserSharing,isLocalShareLoading,toggleContentShare,togglePauseContentShare})),[paused,toggleContentShare,togglePauseContentShare,isLocalUserSharing,isLocalShareLoading]);return(0,jsx_runtime.jsx)(ContentShareContext.Provider,{value:state,children:(0,jsx_runtime.jsx)(ContentShareControlContext.Provider,{value:controlsValue,children})})};ContentShareProvider.displayName="ContentShareProvider";const useContentShareState=()=>{const contentShareState=(0,react.useContext)(ContentShareContext);if(!contentShareState)throw new Error("useContentShareState must be used within a ContentShareProvider");return contentShareState},useContentShareControls=()=>{const context=(0,react.useContext)(ContentShareControlContext);if(!context)throw new Error("useContentShareControlContext must be used within ContentShareControlProvider");return context};try{ContentShareProvider.displayName="ContentShareProvider",ContentShareProvider.__docgenInfo={description:"",displayName:"ContentShareProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/ContentShareProvider/index.tsx#ContentShareProvider"]={docgenInfo:ContentShareProvider.__docgenInfo,name:"ContentShareProvider",path:"src/providers/ContentShareProvider/index.tsx#ContentShareProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/DevicesProvider/AudioInputProvider.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{i:()=>AudioInputProvider,m:()=>useAudioInputs});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/types/index.ts"),_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_LoggerProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_MeetingProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Context=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null),AudioInputProvider=({children,onDeviceReplacement})=>{const logger=(0,_LoggerProvider__WEBPACK_IMPORTED_MODULE_3__.wL)(),meetingManager=(0,_MeetingProvider__WEBPACK_IMPORTED_MODULE_4__.fj)(),audioVideo=(0,_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_2__.Lo)(),[audioInputs,setAudioInputs]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[selectedAudioInputDevice,setSelectedAudioInputDevice]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(meetingManager.selectedAudioInputDevice),selectedInputRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(selectedAudioInputDevice);selectedInputRef.current=selectedAudioInputDevice;(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>(meetingManager.subscribeToSelectedAudioInputDevice(setSelectedAudioInputDevice),()=>{meetingManager.unsubscribeFromSelectedAudioInputDevice(setSelectedAudioInputDevice)})),[]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{let isMounted=!0;const observer={audioInputsChanged:async newAudioInputs=>{if(logger.info("AudioInputProvider - audio inputs updated"),meetingManager.getDeviceLabels()!==_types__WEBPACK_IMPORTED_MODULE_1__.C$.Audio&&meetingManager.getDeviceLabels()!==_types__WEBPACK_IMPORTED_MODULE_1__.C$.AudioAndVideo)return void logger.info("Device labels do not allow audio, skipping audio input selection on audioInputsChanged");const hasSelectedDevice=newAudioInputs.some((device=>device.deviceId===selectedInputRef.current));let nextInput="default";selectedInputRef.current&&!hasSelectedDevice&&newAudioInputs.length?(logger.info("Previously selected audio input lost. Selecting a default device."),nextInput=newAudioInputs[0].deviceId):"default"===selectedInputRef.current&&logger.info('Audio devices updated and "default" device is selected. Reselecting input.');const nextDevice=await(async device=>onDeviceReplacement?onDeviceReplacement(device,meetingManager.selectedAudioInputDevice):device)(nextInput);try{await meetingManager.startAudioInputDevice(nextDevice)}catch(e){logger.error(`Failed to select audio input device on audioInputsChanged: ${e}`)}setAudioInputs(newAudioInputs)}};async function initAudioInput(){if(!audioVideo)return;const devices=await audioVideo.listAudioInputDevices();isMounted&&(setAudioInputs(devices),audioVideo.addDeviceChangeObserver(observer))}const callback=()=>{initAudioInput()};return meetingManager.subscribeToDeviceLabelTrigger(callback),initAudioInput(),()=>{isMounted=!1,audioVideo?.removeDeviceChangeObserver(observer),meetingManager.unsubscribeFromDeviceLabelTrigger(callback)}}),[audioVideo,onDeviceReplacement]);const contextValue=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>({devices:audioInputs,selectedDevice:selectedAudioInputDevice})),[audioInputs,selectedAudioInputDevice]);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(Context.Provider,{value:contextValue,children})};AudioInputProvider.displayName="AudioInputProvider";const useAudioInputs=()=>{const context=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(!context)throw new Error("useAudioInputs must be used within AudioInputProvider");return context};try{AudioInputProvider.displayName="AudioInputProvider",AudioInputProvider.__docgenInfo={description:"",displayName:"AudioInputProvider",props:{onDeviceReplacement:{defaultValue:null,description:"",name:"onDeviceReplacement",required:!1,type:{name:"((nextDevice: string, currentDevice: AudioInputDevice | undefined) => Promise) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/DevicesProvider/AudioInputProvider.tsx#AudioInputProvider"]={docgenInfo:AudioInputProvider.__docgenInfo,name:"AudioInputProvider",path:"src/providers/DevicesProvider/AudioInputProvider.tsx#AudioInputProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/DevicesProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Ig:()=>DevicesProvider,m6:()=>AudioInputProvider.m,rz:()=>useAudioOutputs,UL:()=>useVideoInputs});var react=__webpack_require__("./node_modules/react/index.js"),AudioInputProvider=__webpack_require__("./src/providers/DevicesProvider/AudioInputProvider.tsx"),AudioVideoProvider=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),LoggerProvider=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),MeetingProvider=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const AudioOutputContext=(0,react.createContext)(null),AudioOutputProvider=({children})=>{const logger=(0,LoggerProvider.wL)(),audioVideo=(0,AudioVideoProvider.Lo)(),[audioOutputs,setAudioOutputs]=(0,react.useState)([]),meetingManager=(0,MeetingProvider.fj)(),[selectedAudioOutputDevice,setSelectedAudioOutputDevice]=(0,react.useState)(meetingManager.selectedAudioOutputDevice);(0,react.useEffect)((()=>(meetingManager.subscribeToSelectedAudioOutputDevice(setSelectedAudioOutputDevice),()=>{meetingManager.unsubscribeFromSelectedAudioOutputDevice(setSelectedAudioOutputDevice)})),[]),(0,react.useEffect)((()=>{let isMounted=!0;const observer={audioOutputsChanged:newAudioOutputs=>{logger.info("AudioOutputProvider - audio outputs updated"),setAudioOutputs(newAudioOutputs)}};async function initAudioOutput(){if(!audioVideo)return;const devices=await audioVideo.listAudioOutputDevices();isMounted&&(setAudioOutputs(devices),audioVideo.addDeviceChangeObserver(observer))}const callback=()=>{initAudioOutput()};return meetingManager.subscribeToDeviceLabelTrigger(callback),initAudioOutput(),()=>{isMounted=!1,audioVideo?.removeDeviceChangeObserver(observer),meetingManager.unsubscribeFromDeviceLabelTrigger(callback)}}),[audioVideo]);const contextValue=(0,react.useMemo)((()=>({devices:audioOutputs,selectedDevice:selectedAudioOutputDevice})),[audioOutputs,selectedAudioOutputDevice]);return(0,jsx_runtime.jsx)(AudioOutputContext.Provider,{value:contextValue,children})};AudioOutputProvider.displayName="AudioOutputProvider";const useAudioOutputs=()=>{const context=(0,react.useContext)(AudioOutputContext);if(!context)throw new Error("useAudioOutputs must be used within AudioOutputProvider");return context};try{AudioOutputProvider.displayName="AudioOutputProvider",AudioOutputProvider.__docgenInfo={description:"",displayName:"AudioOutputProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/DevicesProvider/AudioOutputProvider.tsx#AudioOutputProvider"]={docgenInfo:AudioOutputProvider.__docgenInfo,name:"AudioOutputProvider",path:"src/providers/DevicesProvider/AudioOutputProvider.tsx#AudioOutputProvider"})}catch(__react_docgen_typescript_loader_error){}const Context=(0,react.createContext)(null),VideoInputProvider=({children})=>{const logger=(0,LoggerProvider.wL)(),audioVideo=(0,AudioVideoProvider.Lo)(),[videoInputs,setVideoInputs]=(0,react.useState)([]),meetingManager=(0,MeetingProvider.fj)(),[selectedVideoInputDevice,setSelectedVideoInputDevice]=(0,react.useState)(meetingManager.selectedVideoInputDevice);(0,react.useEffect)((()=>(meetingManager.subscribeToSelectedVideoInputDevice(setSelectedVideoInputDevice),()=>{meetingManager.unsubscribeFromSelectedVideoInputDevice(setSelectedVideoInputDevice)})),[]),(0,react.useEffect)((()=>{let isMounted=!0;const observer={videoInputsChanged:newVideoInputs=>{logger.info("VideoInputProvider - video inputs updated"),setVideoInputs(newVideoInputs)}};async function initVideoInput(){if(!audioVideo)return;const devices=await audioVideo.listVideoInputDevices();isMounted&&(setVideoInputs(devices),audioVideo.addDeviceChangeObserver(observer))}const callback=()=>{initVideoInput()};return meetingManager.subscribeToDeviceLabelTrigger(callback),initVideoInput(),()=>{isMounted=!1,audioVideo?.removeDeviceChangeObserver(observer),meetingManager.unsubscribeFromDeviceLabelTrigger(callback)}}),[audioVideo]);const contextValue=(0,react.useMemo)((()=>({devices:videoInputs,selectedDevice:selectedVideoInputDevice})),[videoInputs,selectedVideoInputDevice]);return(0,jsx_runtime.jsx)(Context.Provider,{value:contextValue,children})};VideoInputProvider.displayName="VideoInputProvider";const useVideoInputs=()=>{const context=(0,react.useContext)(Context);if(!context)throw new Error("useVideoInputs must be used within VideoInputProvider");return context};try{VideoInputProvider.displayName="VideoInputProvider",VideoInputProvider.__docgenInfo={description:"",displayName:"VideoInputProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/DevicesProvider/VideoInputProvider.tsx#VideoInputProvider"]={docgenInfo:VideoInputProvider.__docgenInfo,name:"VideoInputProvider",path:"src/providers/DevicesProvider/VideoInputProvider.tsx#VideoInputProvider"})}catch(__react_docgen_typescript_loader_error){}const DevicesProvider=({children,onDeviceReplacement})=>(0,jsx_runtime.jsx)(AudioInputProvider.i,{onDeviceReplacement,children:(0,jsx_runtime.jsx)(AudioOutputProvider,{children:(0,jsx_runtime.jsx)(VideoInputProvider,{children})})});DevicesProvider.displayName="DevicesProvider";try{DevicesProvider.displayName="DevicesProvider",DevicesProvider.__docgenInfo={description:"",displayName:"DevicesProvider",props:{onDeviceReplacement:{defaultValue:null,description:"",name:"onDeviceReplacement",required:!1,type:{name:"((nextDevice: string, currentDevice: AudioInputDevice) => Promise) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/DevicesProvider/index.tsx#DevicesProvider"]={docgenInfo:DevicesProvider.__docgenInfo,name:"DevicesProvider",path:"src/providers/DevicesProvider/index.tsx#DevicesProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/FeaturedVideoTileProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{b:()=>FeaturedVideoTileProvider,t:()=>useFeaturedTileState});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_MeetingProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),_RemoteVideoTileProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/RemoteVideoTileProvider/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js");const FeaturedTileContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null),FeaturedVideoTileProvider=({children})=>{const meetingManager=(0,_MeetingProvider__WEBPACK_IMPORTED_MODULE_1__.fj)(),{attendeeIdToTileId}=(0,_RemoteVideoTileProvider__WEBPACK_IMPORTED_MODULE_2__.a)(),activeTileRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),[activeTile,setActiveTile]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),timeout=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),pendingAttendee=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{const activeSpeakerCallback=activeAttendees=>{const activeId=activeAttendees[0];if(activeId===pendingAttendee.current)return;if(pendingAttendee.current=activeId,timeout.current&&clearTimeout(timeout.current),!activeId)return activeTileRef.current=null,void setActiveTile(null);const tileId=attendeeIdToTileId[activeId];tileId?tileId!==activeTileRef.current&&(activeTileRef.current?timeout.current=window.setTimeout((()=>{activeTileRef.current=tileId,setActiveTile(tileId)}),1500):(activeTileRef.current=tileId,setActiveTile(tileId))):activeTileRef.current&&(timeout.current=window.setTimeout((()=>{activeTileRef.current=null,setActiveTile(null)}),1500))};return meetingManager.subscribeToActiveSpeaker(activeSpeakerCallback),()=>meetingManager.unsubscribeFromActiveSpeaker(activeSpeakerCallback)}),[attendeeIdToTileId]);const value=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>({tileId:activeTile})),[activeTile]);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(FeaturedTileContext.Provider,{value,children})};function useFeaturedTileState(){const state=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(FeaturedTileContext);if(!state)throw new Error("useFeaturedTileState must be used within an FeaturedVideoTileProvider");return state}FeaturedVideoTileProvider.displayName="FeaturedVideoTileProvider";try{FeaturedVideoTileProvider.displayName="FeaturedVideoTileProvider",FeaturedVideoTileProvider.__docgenInfo={description:"",displayName:"FeaturedVideoTileProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/FeaturedVideoTileProvider/index.tsx#FeaturedVideoTileProvider"]={docgenInfo:FeaturedVideoTileProvider.__docgenInfo,name:"FeaturedVideoTileProvider",path:"src/providers/FeaturedVideoTileProvider/index.tsx#FeaturedVideoTileProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/LocalAudioOutputProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{H:()=>useLocalAudioOutput,w:()=>LocalAudioOutputProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_LoggerProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Context=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null),LocalAudioOutputProvider=({children})=>{const logger=(0,_LoggerProvider__WEBPACK_IMPORTED_MODULE_2__.wL)(),audioVideo=(0,_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__.Lo)(),[isAudioOn,setIsAudioOn]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0),audioRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(audioVideo)return audioRef.current&&(async element=>{try{await audioVideo.bindAudioElement(element)}catch(e){logger.error(`Failed to bind audio element. ${e}`)}})(audioRef.current),()=>{audioVideo.unbindAudioElement(),setIsAudioOn(!0)}}),[audioVideo]);const toggleAudio=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((()=>{audioRef.current&&(setIsAudioOn(!isAudioOn),isAudioOn?audioVideo?.unbindAudioElement():(async element=>{try{await(audioVideo?.bindAudioElement(element))}catch(e){logger.error(`Failed to bind audio element. ${e}`)}})(audioRef.current))}),[audioRef,audioVideo,isAudioOn]),value=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>({isAudioOn,toggleAudio})),[isAudioOn,toggleAudio]);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(Context.Provider,{value,children:[children,(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("audio",{ref:audioRef,style:{display:"none"}})]})};LocalAudioOutputProvider.displayName="LocalAudioOutputProvider";const useLocalAudioOutput=()=>{const context=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(!context)throw new Error("useLocalAudioOutput must be used within LocalAudioOutputProvider");return context};try{LocalAudioOutputProvider.displayName="LocalAudioOutputProvider",LocalAudioOutputProvider.__docgenInfo={description:"",displayName:"LocalAudioOutputProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/LocalAudioOutputProvider/index.tsx#LocalAudioOutputProvider"]={docgenInfo:LocalAudioOutputProvider.__docgenInfo,name:"LocalAudioOutputProvider",path:"src/providers/LocalAudioOutputProvider/index.tsx#LocalAudioOutputProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/LocalVideoProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{O:()=>useLocalVideo,v:()=>LocalVideoProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_DevicesProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),_LoggerProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_MeetingProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Context=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null),LocalVideoProvider=({children})=>{const logger=(0,_LoggerProvider__WEBPACK_IMPORTED_MODULE_3__.wL)(),meetingManager=(0,_MeetingProvider__WEBPACK_IMPORTED_MODULE_4__.fj)(),audioVideo=(0,_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__.Lo)(),{devices,selectedDevice}=(0,_DevicesProvider__WEBPACK_IMPORTED_MODULE_2__.UL)(),[isVideoEnabled,setIsVideoEnabled]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[hasReachedVideoLimit,setHasReachedVideoLimit]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[tileId,setTileId]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(!audioVideo)return;audioVideo.hasStartedLocalVideoTile()&&setIsVideoEnabled(!0);const observer={videoAvailabilityDidChange:availability=>{availability.canStartLocalVideo?setHasReachedVideoLimit(!1):setHasReachedVideoLimit(!0),logger.info(`video availability changed: canStartLocalVideo ${availability.canStartLocalVideo}`)}};return audioVideo.addObserver(observer),()=>{setIsVideoEnabled(!1),audioVideo.removeObserver(observer)}}),[audioVideo]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{hasReachedVideoLimit&&logger.warn("Reach the number of maximum active videos")}),[hasReachedVideoLimit]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{audioVideo?.hasStartedLocalVideoTile()||setIsVideoEnabled(!1)}),[devices]);const toggleVideo=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((async()=>{try{isVideoEnabled||!selectedDevice?(selectedDevice||logger.warn("There is no input video device chosen!"),await(audioVideo?.stopVideoInput()),setIsVideoEnabled(!1)):hasReachedVideoLimit?logger.error("Video limit is reached and can not turn on more videos!"):(await meetingManager.startVideoInputDevice(selectedDevice),audioVideo?.startLocalVideoTile(),setIsVideoEnabled(!0))}catch(error){logger.error("Failed to toggle video")}}),[audioVideo,isVideoEnabled,hasReachedVideoLimit,selectedDevice]);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(!audioVideo)return;const observer={videoTileDidUpdate:tileState=>{tileState.localTile&&tileState.tileId&&tileId!==tileState.tileId&&setTileId(tileState.tileId)}};return audioVideo.addObserver(observer),()=>audioVideo.removeObserver(observer)}),[audioVideo,tileId]);const value=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>({tileId,isVideoEnabled,setIsVideoEnabled,hasReachedVideoLimit,setHasReachedVideoLimit,toggleVideo})),[tileId,isVideoEnabled,setIsVideoEnabled,hasReachedVideoLimit,setHasReachedVideoLimit,toggleVideo]);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(Context.Provider,{value,children})};LocalVideoProvider.displayName="LocalVideoProvider";const useLocalVideo=()=>{const context=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(!context)throw new Error("useLocalVideo must be used within LocalVideoProvider");return context};try{LocalVideoProvider.displayName="LocalVideoProvider",LocalVideoProvider.__docgenInfo={description:"",displayName:"LocalVideoProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/LocalVideoProvider/index.tsx#LocalVideoProvider"]={docgenInfo:LocalVideoProvider.__docgenInfo,name:"LocalVideoProvider",path:"src/providers/LocalVideoProvider/index.tsx#LocalVideoProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/LoggerProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{ik:()=>LoggerProvider,wL:()=>useLogger});var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const consoleLogger=new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.ConsoleLogger("ChimeSDKReactComponent",amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.LogLevel.INFO),LoggerContext=react__WEBPACK_IMPORTED_MODULE_1__.createContext(consoleLogger),LoggerProvider=({logger,children})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(LoggerContext.Provider,{value:logger,children});LoggerProvider.displayName="LoggerProvider";const useLogger=()=>(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(LoggerContext);try{LoggerProvider.displayName="LoggerProvider",LoggerProvider.__docgenInfo={description:"",displayName:"LoggerProvider",props:{logger:{defaultValue:null,description:"",name:"logger",required:!0,type:{name:"Logger"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/LoggerProvider/index.tsx#LoggerProvider"]={docgenInfo:LoggerProvider.__docgenInfo,name:"LoggerProvider",path:"src/providers/LoggerProvider/index.tsx#LoggerProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/MeetingEventProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{xT:()=>MeetingEventProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_MeetingProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const MeetingEventProviderContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(void 0),MeetingEventProvider=({children})=>{const[meetingEvent,setMeetingEvent]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),meetingManager=(0,_MeetingProvider__WEBPACK_IMPORTED_MODULE_1__.fj)();return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{function meetingEventUpdateCallback(name,attributes){setMeetingEvent({name,attributes})}return meetingManager.subscribeToEventDidReceive(meetingEventUpdateCallback),()=>{meetingManager.unsubscribeFromEventDidReceive(meetingEventUpdateCallback)}}),[]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(MeetingEventProviderContext.Provider,{value:meetingEvent,children})};MeetingEventProvider.displayName="MeetingEventProvider";try{MeetingEventProvider.displayName="MeetingEventProvider",MeetingEventProvider.__docgenInfo={description:"",displayName:"MeetingEventProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/MeetingEventProvider/index.tsx#MeetingEventProvider"]={docgenInfo:MeetingEventProvider.__docgenInfo,name:"MeetingEventProvider",path:"src/providers/MeetingEventProvider/index.tsx#MeetingEventProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/MeetingProvider/MeetingManager.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/types/index.ts");function noOpDeviceLabelHook(){return Promise.resolve(new MediaStream)}const __WEBPACK_DEFAULT_EXPORT__=class MeetingManager{meetingSession=null;meetingStatus=_types__WEBPACK_IMPORTED_MODULE_1__.yt.Loading;meetingStatusObservers=[];audioVideo=null;audioVideoObservers={};meetingId=null;selectedAudioOutputDeviceObservers=[];selectedAudioInputDeviceObservers=[];selectedVideoInputDeviceObservers=[];audioInputDevices=null;audioOutputDevices=null;videoInputDevices=null;deviceLabelTriggerStatus=_types__WEBPACK_IMPORTED_MODULE_1__.cE.UNTRIGGERED;deviceLabelTriggerStatusObservers=[];deviceLabelTriggerObservers=[];activeSpeakerListener=null;activeSpeakerCallbacks=[];activeSpeakers=[];audioVideoCallbacks=[];devicesUpdatedCallbacks=[];meetingEventObserverSet=new Set;getDeviceLabels(){return this.deviceLabels}constructor(logger){this.logger=logger,this.eventDidReceiveRef={eventDidReceive:(name,attributes)=>{this.publishEventDidReceiveUpdate(name,attributes)}}}initializeMeetingManager(){this.meetingSession=null,this.audioVideo=null,this.meetingSessionConfiguration=void 0,this.meetingId=null,this.selectedAudioOutputDevice=null,this.selectedAudioInputDevice=void 0,this.selectedVideoInputDevice=void 0,this.audioInputDevices=[],this.audioOutputDevices=[],this.videoInputDevices=[],this.activeSpeakers=[],this.activeSpeakerListener=null,this.audioVideoObservers={}}async join(meetingSessionConfiguration,options){const{deviceLabels,eventController,enableWebAudio,activeSpeakerPolicy,skipDeviceSelection}=this.parseJoinParams(options);this.meetingSessionConfiguration=meetingSessionConfiguration,this.meetingId=this.meetingSessionConfiguration.meetingId;const deviceController=new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultDeviceController(this.logger,{enableWebAudio});this.meetingSession=new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultMeetingSession(meetingSessionConfiguration,this.logger,deviceController,eventController),this.audioVideo=this.meetingSession.audioVideo,eventController?eventController.addObserver(this.eventDidReceiveRef):this.meetingSession.eventController.addObserver(this.eventDidReceiveRef),this.setupAudioVideoObservers(),this.setupDeviceLabelTrigger(deviceLabels),skipDeviceSelection||(this.logger.info("[MeetingManager.join] listing and selecting devices"),await this.listAndSelectDevices(deviceLabels)),this.publishAudioVideo(),this.setupActiveSpeakerDetection(activeSpeakerPolicy),this.meetingStatus=_types__WEBPACK_IMPORTED_MODULE_1__.yt.Loading,this.publishMeetingStatus()}parseJoinParams(options){const deviceLabels=options?.deviceLabels||_types__WEBPACK_IMPORTED_MODULE_1__.C$.AudioAndVideo,eventController=options?.eventController;return{deviceLabels,eventController,enableWebAudio:options?.enableWebAudio||!1,activeSpeakerPolicy:options?.activeSpeakerPolicy||new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultActiveSpeakerPolicy,skipDeviceSelection:options?.skipDeviceSelection||!1}}async start(){this.audioVideo?.start()}async leave(){if(this.audioVideo){this.audioVideo.stopContentShare(),this.audioVideo.stopLocalVideoTile(),this.audioVideo.unbindAudioElement();try{await(this.meetingSession?.deviceController.chooseAudioOutput(null)),await(this.meetingSession?.deviceController.destroy())}catch(error){console.log("MeetingManager failed to clean up media resources on leave")}this.activeSpeakerListener&&this.audioVideo.unsubscribeFromActiveSpeakerDetector(this.activeSpeakerListener),this.audioVideo.stop()}this.initializeMeetingManager(),this.publishAudioVideo(),this.publishActiveSpeaker()}audioVideoDidStart=()=>{console.log("[MeetingManager audioVideoDidStart] Meeting started successfully"),this.meetingStatus=_types__WEBPACK_IMPORTED_MODULE_1__.yt.Succeeded,this.publishMeetingStatus()};audioVideoDidStartConnecting=reconnecting=>{this.meetingStatus!==_types__WEBPACK_IMPORTED_MODULE_1__.yt.Reconnecting&&reconnecting&&(this.meetingStatus=_types__WEBPACK_IMPORTED_MODULE_1__.yt.Reconnecting,this.publishMeetingStatus())};audioVideoDidStop=sessionStatus=>{const sessionStatusCode=sessionStatus.statusCode();switch(sessionStatusCode){case amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.MeetingSessionStatusCode.MeetingEnded:console.log(`[MeetingManager audioVideoDidStop] Meeting ended for all: ${sessionStatusCode}`),this.meetingStatus=_types__WEBPACK_IMPORTED_MODULE_1__.yt.Ended;break;case amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.MeetingSessionStatusCode.Left:console.log(`[MeetingManager audioVideoDidStop] Left the meeting: ${sessionStatusCode}`),this.meetingStatus=_types__WEBPACK_IMPORTED_MODULE_1__.yt.Left;break;case amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.MeetingSessionStatusCode.AudioJoinedFromAnotherDevice:console.log(`[MeetingManager audioVideoDidStop] Meeting joined from another device: ${sessionStatusCode}`),this.meetingStatus=_types__WEBPACK_IMPORTED_MODULE_1__.yt.JoinedFromAnotherDevice;break;default:sessionStatus.isFailure()&&!sessionStatus.isTerminal()?(console.log(`[MeetingManager audioVideoDidStop] Non-Terminal failure occurred: ${sessionStatusCode}`),this.meetingStatus=_types__WEBPACK_IMPORTED_MODULE_1__.yt.Failed):sessionStatus.isTerminal()?(console.log(`[MeetingManager audioVideoDidStop] Terminal failure occurred: ${sessionStatusCode}`),this.meetingStatus=_types__WEBPACK_IMPORTED_MODULE_1__.yt.TerminalFailure):console.log(`[MeetingManager audioVideoDidStop] session stopped with code ${sessionStatusCode}`)}this.publishMeetingStatus(),this.audioVideo?.removeObserver(this.audioVideoObservers),this.leave()};setupAudioVideoObservers(){this.audioVideo&&(this.audioVideoObservers={audioVideoDidStart:this.audioVideoDidStart,audioVideoDidStartConnecting:this.audioVideoDidStartConnecting,audioVideoDidStop:this.audioVideoDidStop},this.audioVideo.addObserver(this.audioVideoObservers))}async updateDeviceLists(){this.audioInputDevices=await(this.audioVideo?.listAudioInputDevices())||[],this.videoInputDevices=await(this.audioVideo?.listVideoInputDevices())||[],this.audioOutputDevices=await(this.audioVideo?.listAudioOutputDevices())||[]}setupDeviceLabelTrigger(deviceLabels=_types__WEBPACK_IMPORTED_MODULE_1__.C$.AudioAndVideo){let callback;if(this.deviceLabels=deviceLabels,"function"==typeof deviceLabels)callback=deviceLabels;else if(deviceLabels===_types__WEBPACK_IMPORTED_MODULE_1__.C$.None)callback=noOpDeviceLabelHook;else{const constraints={};switch(deviceLabels){case _types__WEBPACK_IMPORTED_MODULE_1__.C$.Audio:constraints.audio=!0;break;case _types__WEBPACK_IMPORTED_MODULE_1__.C$.Video:constraints.video=!0;break;case _types__WEBPACK_IMPORTED_MODULE_1__.C$.AudioAndVideo:constraints.audio=!0,constraints.video=!0}callback=async()=>{this.deviceLabelTriggerStatus=_types__WEBPACK_IMPORTED_MODULE_1__.cE.IN_PROGRESS,this.publishDeviceLabelTriggerStatus();try{const hasVideoInput=(await navigator.mediaDevices.enumerateDevices()).some((value=>"videoinput"===value.kind)),stream=await navigator.mediaDevices.getUserMedia({audio:constraints.audio,video:constraints.video&&hasVideoInput});return this.deviceLabelTriggerStatus=_types__WEBPACK_IMPORTED_MODULE_1__.cE.GRANTED,this.publishDeviceLabelTriggerStatus(),stream}catch(error){throw console.error("MeetingManager failed to get device permissions"),this.deviceLabelTriggerStatus=_types__WEBPACK_IMPORTED_MODULE_1__.cE.DENIED,this.publishDeviceLabelTriggerStatus(),error}}}this.audioVideo?.setDeviceLabelTrigger(callback)}setupActiveSpeakerDetection(activeSpeakerPolicy){this.publishActiveSpeaker(),this.activeSpeakerListener=activeSpeakers=>{this.activeSpeakers=activeSpeakers,this.activeSpeakerCallbacks.forEach((cb=>cb(activeSpeakers)))},this.audioVideo?.subscribeToActiveSpeakerDetector(activeSpeakerPolicy||new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultActiveSpeakerPolicy,this.activeSpeakerListener)}async listAndSelectDevices(deviceLabels=_types__WEBPACK_IMPORTED_MODULE_1__.C$.AudioAndVideo){if(await this.updateDeviceLists(),"function"==typeof deviceLabels)return;let isAudioDeviceRequested=!1,isVideoDeviceRequested=!1;switch(deviceLabels){case _types__WEBPACK_IMPORTED_MODULE_1__.C$.None:break;case _types__WEBPACK_IMPORTED_MODULE_1__.C$.Audio:isAudioDeviceRequested=!0;break;case _types__WEBPACK_IMPORTED_MODULE_1__.C$.Video:isVideoDeviceRequested=!0;break;case _types__WEBPACK_IMPORTED_MODULE_1__.C$.AudioAndVideo:isAudioDeviceRequested=!0,isVideoDeviceRequested=!0}if(isAudioDeviceRequested&&!this.selectedAudioInputDevice&&this.audioInputDevices&&this.audioInputDevices.length){this.selectedAudioInputDevice=this.audioInputDevices[0].deviceId;try{await(this.audioVideo?.startAudioInput(this.audioInputDevices[0].deviceId))}catch(error){console.error("MeetingManager failed to select audio input device on join",error)}this.publishSelectedAudioInputDevice()}if(isAudioDeviceRequested&&!this.selectedAudioOutputDevice&&this.audioOutputDevices&&this.audioOutputDevices.length){if(this.selectedAudioOutputDevice=this.audioOutputDevices[0].deviceId,(new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultBrowserBehavior).supportsSetSinkId())try{await(this.audioVideo?.chooseAudioOutput(this.audioOutputDevices[0].deviceId))}catch(error){console.error("MeetingManager failed to select audio output device on join",error)}this.publishSelectedAudioOutputDevice()}isVideoDeviceRequested&&!this.selectedVideoInputDevice&&this.videoInputDevices&&this.videoInputDevices.length&&(this.selectedVideoInputDevice=this.videoInputDevices[0].deviceId,this.publishSelectedVideoInputDevice())}startAudioInputDevice=async device=>{try{await(this.audioVideo?.startAudioInput(device)),this.selectedAudioInputDevice=device,this.publishSelectedAudioInputDevice()}catch(error){const newError=new Error("MeetingManager failed to select audio input device.");throw error instanceof Error&&(newError.name=error.name,newError.message+=" "+error.message),console.error(newError),newError}};startAudioOutputDevice=async deviceId=>{try{await(this.audioVideo?.chooseAudioOutput(deviceId)),this.selectedAudioOutputDevice=deviceId,this.publishSelectedAudioOutputDevice()}catch(error){throw console.error("MeetingManager failed to select audio output device",error),new Error("MeetingManager failed to select audio output device")}};startVideoInputDevice=async device=>{try{await(this.audioVideo?.startVideoInput(device)),this.selectedVideoInputDevice=device,this.publishSelectedVideoInputDevice()}catch(error){const newError=new Error("MeetingManager failed to select video input device.");throw error instanceof Error&&(newError.name=error.name,newError.message+=" "+error.message),console.error(newError),newError}};stopVideoInputDevice=async()=>{try{await(this.audioVideo?.stopVideoInput()),this.selectedVideoInputDevice=void 0,this.publishSelectedVideoInputDevice()}catch(error){throw console.error("MeetingManager failed to unselect video input device",error),new Error("MeetingManager failed to unselect video input device")}};selectVideoInputDevice=device=>{this.selectedVideoInputDevice=device,this.publishSelectedVideoInputDevice()};invokeDeviceProvider=deviceLabels=>{this.setupDeviceLabelTrigger(deviceLabels),this.publishDeviceLabelTrigger()};subscribeToAudioVideo=callback=>{this.audioVideoCallbacks.push(callback)};unsubscribeFromAudioVideo=callbackToRemove=>{this.audioVideoCallbacks=this.audioVideoCallbacks.filter((callback=>callback!==callbackToRemove))};publishAudioVideo=()=>{this.audioVideoCallbacks.forEach((callback=>{callback(this.audioVideo)}))};subscribeToActiveSpeaker=callback=>{this.activeSpeakerCallbacks.push(callback),callback(this.activeSpeakers)};unsubscribeFromActiveSpeaker=callbackToRemove=>{this.activeSpeakerCallbacks=this.activeSpeakerCallbacks.filter((callback=>callback!==callbackToRemove))};publishActiveSpeaker=()=>{this.activeSpeakerCallbacks.forEach((callback=>{callback(this.activeSpeakers)}))};subscribeToSelectedVideoInputDevice=callback=>{this.selectedVideoInputDeviceObservers.push(callback)};unsubscribeFromSelectedVideoInputDevice=callbackToRemove=>{this.selectedVideoInputDeviceObservers=this.selectedVideoInputDeviceObservers.filter((callback=>callback!==callbackToRemove))};publishSelectedVideoInputDevice=()=>{for(const observer of this.selectedVideoInputDeviceObservers)observer(this.selectedVideoInputDevice)};subscribeToSelectedAudioInputDevice=callback=>{this.selectedAudioInputDeviceObservers.push(callback)};unsubscribeFromSelectedAudioInputDevice=callbackToRemove=>{this.selectedAudioInputDeviceObservers=this.selectedAudioInputDeviceObservers.filter((callback=>callback!==callbackToRemove))};publishSelectedAudioInputDevice=()=>{for(const observer of this.selectedAudioInputDeviceObservers)observer(this.selectedAudioInputDevice)};subscribeToSelectedAudioOutputDevice=callback=>{this.selectedAudioOutputDeviceObservers.push(callback)};unsubscribeFromSelectedAudioOutputDevice=callbackToRemove=>{this.selectedAudioOutputDeviceObservers=this.selectedAudioOutputDeviceObservers.filter((callback=>callback!==callbackToRemove))};publishSelectedAudioOutputDevice=()=>{for(const observer of this.selectedAudioOutputDeviceObservers)observer(this.selectedAudioOutputDevice)};subscribeToMeetingStatus=callback=>{this.meetingStatusObservers.push(callback),callback(this.meetingStatus)};unsubscribeFromMeetingStatus=callbackToRemove=>{this.meetingStatusObservers=this.meetingStatusObservers.filter((callback=>callback!==callbackToRemove))};publishMeetingStatus=()=>{this.meetingStatusObservers.forEach((callback=>{callback(this.meetingStatus)}))};subscribeToDeviceLabelTrigger=callback=>{this.deviceLabelTriggerObservers.push(callback)};unsubscribeFromDeviceLabelTrigger=callbackToRemove=>{this.deviceLabelTriggerObservers=this.deviceLabelTriggerObservers.filter((callback=>callback!==callbackToRemove))};publishDeviceLabelTrigger=()=>{for(const callback of this.deviceLabelTriggerObservers)callback()};subscribeToDeviceLabelTriggerStatus=callback=>{this.deviceLabelTriggerStatusObservers.push(callback)};unsubscribeFromDeviceLabelTriggerStatus=callbackToRemove=>{this.deviceLabelTriggerStatusObservers=this.deviceLabelTriggerStatusObservers.filter((callback=>callback!==callbackToRemove))};publishDeviceLabelTriggerStatus=()=>{for(const observer of this.deviceLabelTriggerStatusObservers)observer(this.deviceLabelTriggerStatus)};subscribeToEventDidReceive=callback=>{this.meetingEventObserverSet.add(callback)};unsubscribeFromEventDidReceive=callbackToRemove=>{this.meetingEventObserverSet.delete(callbackToRemove)};publishEventDidReceiveUpdate=(name,attributes)=>{this.meetingEventObserverSet.forEach((callback=>callback(name,attributes)))}}},"./src/providers/MeetingProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{fj:()=>useMeetingManager,lU:()=>MeetingProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_ContentShareProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/ContentShareProvider/index.tsx"),_DevicesProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/DevicesProvider/index.tsx"),_FeaturedVideoTileProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/providers/FeaturedVideoTileProvider/index.tsx"),_LocalAudioOutputProvider__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/providers/LocalAudioOutputProvider/index.tsx"),_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/providers/LocalVideoProvider/index.tsx"),_LoggerProvider__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_MeetingEventProvider__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./src/providers/MeetingEventProvider/index.tsx"),_RemoteVideoTileProvider__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./src/providers/RemoteVideoTileProvider/index.tsx"),_RosterProvider__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./src/providers/RosterProvider/index.tsx"),_MeetingManager__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./src/providers/MeetingProvider/MeetingManager.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/react/jsx-runtime.js");const MeetingContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null),MeetingProvider=({onDeviceReplacement,meetingManager:meetingManagerProp,children})=>{const logger=(0,_LoggerProvider__WEBPACK_IMPORTED_MODULE_7__.wL)(),[meetingManager]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)((()=>meetingManagerProp||new _MeetingManager__WEBPACK_IMPORTED_MODULE_11__.Z(logger)));return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(MeetingContext.Provider,{value:meetingManager,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_MeetingEventProvider__WEBPACK_IMPORTED_MODULE_8__.xT,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_1__.Ez,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_DevicesProvider__WEBPACK_IMPORTED_MODULE_3__.Ig,{onDeviceReplacement,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_RosterProvider__WEBPACK_IMPORTED_MODULE_10__.X,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_RemoteVideoTileProvider__WEBPACK_IMPORTED_MODULE_9__.x,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_LocalVideoProvider__WEBPACK_IMPORTED_MODULE_6__.v,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_LocalAudioOutputProvider__WEBPACK_IMPORTED_MODULE_5__.w,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_ContentShareProvider__WEBPACK_IMPORTED_MODULE_2__.nk,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_FeaturedVideoTileProvider__WEBPACK_IMPORTED_MODULE_4__.b,{children})})})})})})})})})})};MeetingProvider.displayName="MeetingProvider";const useMeetingManager=()=>{const meetingManager=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(MeetingContext);if(!meetingManager)throw new Error("useMeetingManager must be used within MeetingProvider");return meetingManager};try{MeetingProvider.displayName="MeetingProvider",MeetingProvider.__docgenInfo={description:"",displayName:"MeetingProvider",props:{onDeviceReplacement:{defaultValue:null,description:"",name:"onDeviceReplacement",required:!1,type:{name:"((nextDevice: string, currentDevice: AudioInputDevice) => Promise) | undefined"}},meetingManager:{defaultValue:null,description:"Pass a `MeetingManager` instance if you want to share this instance\nacross multiple different `MeetingProvider`s. This approach has limitations.\nCheck `meetingManager` prop documentation for more information.",name:"meetingManager",required:!1,type:{name:"MeetingManager | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/MeetingProvider/index.tsx#MeetingProvider"]={docgenInfo:MeetingProvider.__docgenInfo,name:"MeetingProvider",path:"src/providers/MeetingProvider/index.tsx#MeetingProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/RemoteVideoTileProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{x:()=>RemoteVideoTileProvider,a:()=>useRemoteVideoTileState});var react=__webpack_require__("./node_modules/react/index.js"),AudioVideoProvider=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx");let VideoTileActionType=function(VideoTileActionType){return VideoTileActionType[VideoTileActionType.UPDATE=0]="UPDATE",VideoTileActionType[VideoTileActionType.REMOVE=1]="REMOVE",VideoTileActionType[VideoTileActionType.RESET=2]="RESET",VideoTileActionType}({});const initialState={tiles:[],tileIdToAttendeeId:{},attendeeIdToTileId:{},size:0},removeProperty=(obj,property)=>{const newState=Object.assign({},obj);return delete newState[property],newState};function reducer(state,{type,payload}){const{tiles,tileIdToAttendeeId,attendeeIdToTileId,size}=state;switch(type){case VideoTileActionType.UPDATE:{const{tileId,attendeeId=""}=payload,tileStr=tileId.toString();if(tileIdToAttendeeId[tileStr])return state;return{tiles:[...tiles,tileId],tileIdToAttendeeId:{...tileIdToAttendeeId,[tileStr]:attendeeId},attendeeIdToTileId:{...attendeeIdToTileId,[attendeeId]:tileId},size:size+1}}case VideoTileActionType.REMOVE:{const{tileId}=payload,attendeeId=tileIdToAttendeeId[tileId],tileStr=tileId.toString();if(!attendeeId)return state;return{tiles:tiles.filter((id=>tileId!==id)),tileIdToAttendeeId:removeProperty(tileIdToAttendeeId,tileStr),attendeeIdToTileId:removeProperty(attendeeIdToTileId,attendeeId),size:size-1}}case VideoTileActionType.RESET:return initialState;default:throw new Error("Incorrect type in VideoProvider")}}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const Context=(0,react.createContext)(null),RemoteVideoTileProvider=({children})=>{const audioVideo=(0,AudioVideoProvider.Lo)(),[state,dispatch]=(0,react.useReducer)(reducer,initialState);return(0,react.useEffect)((()=>{if(!audioVideo)return;const observer={videoTileDidUpdate:tileState=>{if(tileState?.boundAttendeeId&&tileState?.tileId&&!tileState.isContent&&!tileState.localTile){const{tileId,boundAttendeeId}=tileState;dispatch({type:VideoTileActionType.UPDATE,payload:{tileId,attendeeId:boundAttendeeId}})}},videoTileWasRemoved:tileId=>{dispatch({type:VideoTileActionType.REMOVE,payload:{tileId}})}};return audioVideo.addObserver(observer),()=>audioVideo.removeObserver(observer)}),[audioVideo]),(0,react.useEffect)((()=>{if(audioVideo)return()=>dispatch({type:VideoTileActionType.RESET})}),[audioVideo]),(0,jsx_runtime.jsx)(Context.Provider,{value:state,children})};RemoteVideoTileProvider.displayName="RemoteVideoTileProvider";const useRemoteVideoTileState=()=>{const state=(0,react.useContext)(Context);if(!state)throw new Error("useRemoteVideoTileState must be used within a RemoteVideoTileProvider");return state};try{RemoteVideoTileProvider.displayName="RemoteVideoTileProvider",RemoteVideoTileProvider.__docgenInfo={description:"",displayName:"RemoteVideoTileProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/RemoteVideoTileProvider/index.tsx#RemoteVideoTileProvider"]={docgenInfo:RemoteVideoTileProvider.__docgenInfo,name:"RemoteVideoTileProvider",path:"src/providers/RemoteVideoTileProvider/index.tsx#RemoteVideoTileProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/providers/RosterProvider/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{X:()=>RosterProvider,d:()=>useRosterState});var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/providers/AudioVideoProvider/index.tsx"),_MeetingProvider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/providers/MeetingProvider/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js");const RosterContext=react__WEBPACK_IMPORTED_MODULE_1__.createContext(null),RosterProvider=({children})=>{const meetingManager=(0,_MeetingProvider__WEBPACK_IMPORTED_MODULE_3__.fj)(),audioVideo=(0,_AudioVideoProvider__WEBPACK_IMPORTED_MODULE_2__.Lo)(),rosterRef=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)({}),[roster,setRoster]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({});(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>{if(!audioVideo)return;const rosterUpdateCallback=async(chimeAttendeeId,present,externalUserId)=>{if(!present)return delete rosterRef.current[chimeAttendeeId],void setRoster((currentRoster=>{const{[chimeAttendeeId]:_,...rest}=currentRoster;return{...rest}}));const attendeeId=new amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_0__.DefaultModality(chimeAttendeeId).base();if(attendeeId!==chimeAttendeeId)return;if(rosterRef.current[chimeAttendeeId])return;let attendee={chimeAttendeeId};if(externalUserId&&(attendee.externalUserId=externalUserId),rosterRef.current[attendeeId]=attendee,setRoster((oldRoster=>({...oldRoster,[attendeeId]:attendee}))),meetingManager.getAttendee){const externalData=await meetingManager.getAttendee(attendeeId,externalUserId);if(!rosterRef.current[attendeeId])return;attendee={...attendee,...externalData},setRoster((oldRoster=>({...oldRoster,[attendeeId]:attendee})))}};return audioVideo.realtimeSubscribeToAttendeeIdPresence(rosterUpdateCallback),()=>{setRoster({}),rosterRef.current={},audioVideo.realtimeUnsubscribeToAttendeeIdPresence(rosterUpdateCallback)}}),[audioVideo]);const value=(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)((()=>({roster})),[roster]);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(RosterContext.Provider,{value,children})};function useRosterState(){const state=(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(RosterContext);if(!state)throw new Error("userRosterState must be used within RosterProvider");return state}RosterProvider.displayName="RosterProvider";try{RosterProvider.displayName="RosterProvider",RosterProvider.__docgenInfo={description:"",displayName:"RosterProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/providers/RosterProvider/index.tsx#RosterProvider"]={docgenInfo:RosterProvider.__docgenInfo,name:"RosterProvider",path:"src/providers/RosterProvider/index.tsx#RosterProvider"})}catch(__react_docgen_typescript_loader_error){}},"./src/types/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{C$:()=>DeviceLabels,cE:()=>DeviceLabelTriggerStatus,yt:()=>MeetingStatus});let MeetingStatus=function(MeetingStatus){return MeetingStatus[MeetingStatus.Loading=0]="Loading",MeetingStatus[MeetingStatus.Succeeded=1]="Succeeded",MeetingStatus[MeetingStatus.Failed=2]="Failed",MeetingStatus[MeetingStatus.Ended=3]="Ended",MeetingStatus[MeetingStatus.JoinedFromAnotherDevice=4]="JoinedFromAnotherDevice",MeetingStatus[MeetingStatus.Left=5]="Left",MeetingStatus[MeetingStatus.TerminalFailure=6]="TerminalFailure",MeetingStatus[MeetingStatus.Reconnecting=7]="Reconnecting",MeetingStatus}({}),DeviceLabelTriggerStatus=function(DeviceLabelTriggerStatus){return DeviceLabelTriggerStatus.UNTRIGGERED="UNTRIGGERED",DeviceLabelTriggerStatus.IN_PROGRESS="IN_PROGRESS",DeviceLabelTriggerStatus.GRANTED="GRANTED",DeviceLabelTriggerStatus.DENIED="DENIED",DeviceLabelTriggerStatus}({}),DeviceLabels=function(DeviceLabels){return DeviceLabels[DeviceLabels.None=1]="None",DeviceLabels[DeviceLabels.Audio=2]="Audio",DeviceLabels[DeviceLabels.Video=3]="Video",DeviceLabels[DeviceLabels.AudioAndVideo=4]="AudioAndVideo",DeviceLabels}({})}}]); \ No newline at end of file diff --git a/2307.cca969a8.iframe.bundle.js b/2307.cca969a8.iframe.bundle.js new file mode 100644 index 000000000..88548baee --- /dev/null +++ b/2307.cca969a8.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[2307],{"./node_modules/lodash.isequal/index.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2,MAX_SAFE_INTEGER=9007199254740991,argsTag="[object Arguments]",arrayTag="[object Array]",asyncTag="[object AsyncFunction]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",nullTag="[object Null]",objectTag="[object Object]",proxyTag="[object Proxy]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",undefinedTag="[object Undefined]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",reIsHostCtor=/^\[object .+?Constructor\]$/,reIsUint=/^(?:0|[1-9]\d*)$/,typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags["[object WeakMap]"]=!1;var freeGlobal="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{return freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;function arraySome(array,predicate){for(var index=-1,length=null==array?0:array.length;++indexarrLength))return!1;var stacked=stack.get(array);if(stacked&&stack.get(other))return stacked==other;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index-1},ListCache.prototype.set=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this},MapCache.prototype.clear=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}},MapCache.prototype.delete=function mapCacheDelete(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result},MapCache.prototype.get=function mapCacheGet(key){return getMapData(this,key).get(key)},MapCache.prototype.has=function mapCacheHas(key){return getMapData(this,key).has(key)},MapCache.prototype.set=function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this},SetCache.prototype.add=SetCache.prototype.push=function setCacheAdd(value){return this.__data__.set(value,"__lodash_hash_undefined__"),this},SetCache.prototype.has=function setCacheHas(value){return this.__data__.has(value)},Stack.prototype.clear=function stackClear(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result},Stack.prototype.get=function stackGet(key){return this.__data__.get(key)},Stack.prototype.has=function stackHas(key){return this.__data__.has(key)},Stack.prototype.set=function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<199)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache(pairs)}return data.set(key,value),this.size=data.size,this};var getSymbols=nativeGetSymbols?function(object){return null==object?[]:(object=Object(object),function arrayFilter(array,predicate){for(var index=-1,length=null==array?0:array.length,resIndex=0,result=[];++index-1&&value%1==0&&value-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}function isObjectLike(value){return null!=value&&"object"==typeof value}var isTypedArray=nodeIsTypedArray?function baseUnary(func){return function(value){return func(value)}}(nodeIsTypedArray):function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]};function keys(object){return function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}(object)?arrayLikeKeys(object):baseKeys(object)}module.exports=function isEqual(value,other){return baseIsEqual(value,other)}}}]); \ No newline at end of file diff --git a/2333.3da7f464.iframe.bundle.js b/2333.3da7f464.iframe.bundle.js new file mode 100644 index 000000000..3ae31a387 --- /dev/null +++ b/2333.3da7f464.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[2333],{"./node_modules/@storybook/blocks/dist/Color-3YIJY6X7.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ColorControl:()=>ColorControl,default:()=>Color_default});var chunk_GWAJ4KRU=__webpack_require__("./node_modules/@storybook/blocks/dist/chunk-GWAJ4KRU.mjs"),react=__webpack_require__("./node_modules/react/index.js");function u(){return(u=Object.assign||function(e){for(var r=1;r=0||(o[t]=e[t]);return o}function i(e){var t=(0,react.useRef)(e),n=(0,react.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]}),[p,g]),C=x[0],E=x[1],H=x[2];return(0,react.useEffect)((function(){return H}),[H]),react.createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))})),g=function(e){return e.filter(Boolean).join(" ")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return react.createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},react.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function(e){return L(C(e))},C=function(e){return"#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?b(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?b(parseInt(e.substring(6,8),16)/255,2):1}},E=function(e,r){return void 0===r&&(r="deg"),Number(e)*(_[r]||1)},H=function(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?N({h:E(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},N=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},w=function(e){return K(I(e))},y=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},q=function(e){var r=y(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},k=function(e){var r=y(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},I=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},z=function(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?L({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},D=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},K=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=o<1?D(b(255*o)):"";return"#"+D(r)+D(t)+D(n)+a},L=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},S=react.memo((function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return react.createElement("div",{className:o},react.createElement(m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":b(t),"aria-valuemax":"360","aria-valuemin":"0"},react.createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:q({h:t,s:100,v:100,a:1})})))})),T=react.memo((function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:q({h:t.h,s:100,v:100,a:1})};return react.createElement("div",{className:"react-colorful__saturation",style:o},react.createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},react.createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:q(t)})))})),F=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},P=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")},X=function(e,r){return e.toLowerCase()===r.toLowerCase()||F(C(e),C(r))};function Y(e,t,l){var u=i(l),c=(0,react.useState)((function(){return e.toHsva(t)})),s=c[0],f=c[1],v=(0,react.useRef)({color:t,hsva:s});(0,react.useEffect)((function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}}),[t,e]),(0,react.useEffect)((function(){var r;F(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=(0,react.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}var R,ColorSpace2,V="undefined"!=typeof window?react.useLayoutEffect:react.useEffect,J=new Map,Q=function(e){V((function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!J.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',J.set(r,t);var n=R||__webpack_require__.nc;n&&t.setAttribute("nonce",n),r.head.appendChild(t)}}),[])},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react.useRef)(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react.createElement("div",u({},s,{ref:f,className:m}),react.createElement(T,{hsva:d,onChange:h}),react.createElement(S,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},W={defaultColor:"000",toHsva:x,fromHsva:function(e){return w({h:e.h,s:e.s,v:e.v,a:1})},equal:X},ee=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+k(Object.assign({},n,{a:0}))+", "+k(Object.assign({},n,{a:1}))+")"},l=g(["react-colorful__alpha",t]),u=b(100*n.a);return react.createElement("div",{className:l},react.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react.createElement(m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:s(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":u+"%","aria-valuenow":u,"aria-valuemin":"0","aria-valuemax":"100"},react.createElement(p,{className:"react-colorful__alpha-pointer",left:n.a,color:k(n)})))},re=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react.useRef)(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react.createElement("div",u({},s,{ref:f,className:m}),react.createElement(T,{hsva:d,onChange:h}),react.createElement(S,{hue:d.h,onChange:h}),react.createElement(ee,{hsva:d,onChange:h,className:"react-colorful__last-control"}))},le={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:H,fromHsva:k,equal:P},Ee={defaultColor:"rgba(0, 0, 0, 1)",toHsva:z,fromHsva:function(e){var r=I(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:P},color_convert=__webpack_require__("./node_modules/color-convert/index.js"),color_convert_default=__webpack_require__.n(color_convert),throttle=__webpack_require__("./node_modules/lodash/throttle.js"),throttle_default=__webpack_require__.n(throttle),dist=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/index.mjs"),components_dist=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/index.mjs"),Wrapper=dist.zo.div({position:"relative",maxWidth:250}),PickerTooltip=(0,dist.zo)(components_dist.Rl)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=dist.zo.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=(0,dist.zo)(components_dist.gu)((({theme})=>({fontFamily:theme.typography.fonts.base}))),Swatches=dist.zo.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=dist.zo.div((({theme,active})=>({width:16,height:16,boxShadow:active?`${theme.appBorderColor} 0 0 0 1px inset, ${theme.textMutedColor}50 0 0 0 4px`:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:theme.appBorderRadius}))),Swatch=({value,active,onClick,style,...props})=>{let backgroundImage=`linear-gradient(${value}, ${value}), url('data:image/svg+xml;charset=utf-8,'), linear-gradient(#fff, #fff)`;return react.createElement(SwatchColor,{...props,active,onClick,style:{...style,backgroundImage}})},Input=(0,dist.zo)(components_dist.l0.Input)((({theme})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:theme.typography.fonts.base}))),ToggleIcon=(0,dist.zo)(components_dist.PJ)((({theme})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:theme.input.color}))),ColorSpace=((ColorSpace2=ColorSpace||{}).RGB="rgb",ColorSpace2.HSL="hsl",ColorSpace2.HEX="hex",ColorSpace2),COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker={hex:function(r){return react.createElement(U,u({},r,{colorModel:W}))},rgb:function(r){return react.createElement(re,u({},r,{colorModel:Ee}))},hsl:function(r){return react.createElement(re,u({},r,{colorModel:le}))}},fallbackColor={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},stringToArgs=value=>{let match=value?.match(COLOR_REGEXP);if(!match)return[0,0,0,1];let[,x,y,z,a=1]=match;return[x,y,z,a].map(Number)},parseValue=value=>{if(!value)return;let valid=!0;if(RGB_REGEXP.test(value)){let[r,g,b,a]=stringToArgs(value),[h,s,l]=color_convert_default().rgb.hsl([r,g,b])||[0,0,0];return{valid,value,keyword:color_convert_default().rgb.keyword([r,g,b]),colorSpace:"rgb",rgb:value,hsl:`hsla(${h}, ${s}%, ${l}%, ${a})`,hex:`#${color_convert_default().rgb.hex([r,g,b]).toLowerCase()}`}}if(HSL_REGEXP.test(value)){let[h,s,l,a]=stringToArgs(value),[r,g,b]=color_convert_default().hsl.rgb([h,s,l])||[0,0,0];return{valid,value,keyword:color_convert_default().hsl.keyword([h,s,l]),colorSpace:"hsl",rgb:`rgba(${r}, ${g}, ${b}, ${a})`,hsl:value,hex:`#${color_convert_default().hsl.hex([h,s,l]).toLowerCase()}`}}let plain=value.replace("#",""),rgb=color_convert_default().keyword.rgb(plain)||color_convert_default().hex.rgb(plain),hsl=color_convert_default().rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped=`#${plain}`),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{color_convert_default().keyword.hex(mapped)}catch{valid=!1}return{valid,value:mapped,keyword:color_convert_default().rgb.keyword(rgb),colorSpace:"hex",rgb:`rgba(${rgb[0]}, ${rgb[1]}, ${rgb[2]}, 1)`,hsl:`hsla(${hsl[0]}, ${hsl[1]}%, ${hsl[2]}%, 1)`,hex:mapped}},useColorInput=(initialValue,onChange)=>{let[value,setValue]=(0,react.useState)(initialValue||""),[color,setColor]=(0,react.useState)((()=>parseValue(value))),[colorSpace,setColorSpace]=(0,react.useState)(color?.colorSpace||"hex");(0,react.useEffect)((()=>{let nextValue=initialValue||"",nextColor=parseValue(nextValue);setValue(nextValue),setColor(nextColor),setColorSpace(nextColor?.colorSpace||"hex")}),[initialValue]);let realValue=(0,react.useMemo)((()=>((value,color,colorSpace)=>{if(!value||!color?.valid)return fallbackColor[colorSpace];if("hex"!==colorSpace)return color?.[colorSpace]||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return`#${color_convert_default().keyword.hex(color.hex)}`}catch{return fallbackColor.hex}let short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;let[r,g,b]=short[1].split("");return`#${r}${r}${g}${g}${b}${b}`})(value,color,colorSpace).toLowerCase()),[value,color,colorSpace]),updateValue=(0,react.useCallback)((update=>{let parsed=parseValue(update),v=parsed?.value||update||"";setValue(v),""===v&&(setColor(void 0),onChange(void 0)),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[onChange]),cycleColorSpace=(0,react.useCallback)((()=>{let next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);let update=color?.[COLOR_SPACES[next]]||"";setValue(update),onChange(update)}),[color,colorSpace,onChange]);return{value,realValue,updateValue,color,colorSpace,cycleColorSpace}},id=value=>value.replace(/\s*/,"").toLowerCase(),ColorControl=({name,value:initialValue,onChange,onFocus,onBlur,presetColors,startOpen=!1})=>{let throttledOnChange=(0,react.useCallback)(throttle_default()(onChange,200),[onChange]),{value,realValue,updateValue,color,colorSpace,cycleColorSpace}=useColorInput(initialValue,throttledOnChange),{presets,addPreset}=((presetColors,currentColor,colorSpace)=>{let[selectedColors,setSelectedColors]=(0,react.useState)(currentColor?.valid?[currentColor]:[]);(0,react.useEffect)((()=>{void 0===currentColor&&setSelectedColors([])}),[currentColor]);let presets=(0,react.useMemo)((()=>(presetColors||[]).map((preset=>"string"==typeof preset?parseValue(preset):preset.title?{...parseValue(preset.color),keyword:preset.title}:parseValue(preset.color))).concat(selectedColors).filter(Boolean).slice(-27)),[presetColors,selectedColors]),addPreset=(0,react.useCallback)((color=>{color?.valid&&(presets.some((preset=>id(preset[colorSpace])===id(color[colorSpace])))||setSelectedColors((arr=>arr.concat(color))))}),[colorSpace,presets]);return{presets,addPreset}})(presetColors,color,colorSpace),Picker=ColorPicker[colorSpace];return react.createElement(Wrapper,null,react.createElement(PickerTooltip,{startOpen,closeOnOutsideClick:!0,onVisibleChange:()=>addPreset(color),tooltip:react.createElement(TooltipContent,null,react.createElement(Picker,{color:"transparent"===realValue?"#000000":realValue,onChange:updateValue,onFocus,onBlur}),presets.length>0&&react.createElement(Swatches,null,presets.map(((preset,index)=>react.createElement(components_dist.Rl,{key:`${preset.value}-${index}`,hasChrome:!1,tooltip:react.createElement(Note,{note:preset.keyword||preset.value})},react.createElement(Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:()=>updateValue(preset.value)}))))))},react.createElement(Swatch,{value:realValue,style:{margin:4}})),react.createElement(Input,{id:(0,chunk_GWAJ4KRU.d)(name),value,onChange:e=>updateValue(e.target.value),onFocus:e=>e.target.select(),placeholder:"Choose color..."}),value?react.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}):null)},Color_default=ColorControl},"./node_modules/color-convert/conversions.js":(module,__unused_webpack_exports,__webpack_require__)=>{const cssKeywords=__webpack_require__("./node_modules/color-name/index.js"),reverseKeywords={};for(const key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;const convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module.exports=convert;for(const model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);const{channels,labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;let h,s;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(60*h,360),h<0&&(h+=360);const l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s;const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert.rgb.hwb=function(rgb){const r=rgb[0],g=rgb[1];let b=rgb[2];const h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,100*w,100*b]},convert.rgb.cmyk=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){const reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(const keyword of Object.keys(cssKeywords)){const value=cssKeywords[keyword],distance=(y=value,((x=rgb)[0]-y[0])**2+(x[1]-y[1])**2+(x[2]-y[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92,b=b>.04045?((b+.055)/1.055)**2.4:b/12.92;return[100*(.4124*r+.3576*g+.1805*b),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert.rgb.lab=function(rgb){const xyz=convert.rgb.xyz(rgb);let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.hsl.rgb=function(hsl){const h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;let t2,t3,val;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;const t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){const h=hsl[0];let s=hsl[1]/100,l=hsl[2]/100,smin=s;const lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;return[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){const h=hsv[0]/60,s=hsv[1]/100;let v=hsv[2]/100;const hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert.hsv.hsl=function(hsv){const h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);let sl,l;l=(2-s)*v;const lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){const h=hwb[0]/360;let wh=hwb[1]/100,bl=hwb[2]/100;const ratio=wh+bl;let f;ratio>1&&(wh/=ratio,bl/=ratio);const i=Math.floor(6*h),v=1-bl;f=6*h-i,0!=(1&i)&&(f=1-f);const n=wh+f*(v-wh);let r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert.cmyk.rgb=function(cmyk){const c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert.xyz.rgb=function(xyz){const x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;let r,g,b;return r=3.2406*x+-1.5372*y+-.4986*z,g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g=g>.0031308?1.055*g**(1/2.4)-.055:12.92*g,b=b>.0031308?1.055*b**(1/2.4)-.055:12.92*b,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[255*r,255*g,255*b]},convert.xyz.lab=function(xyz){let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.lab.xyz=function(lab){let x,y,z;y=(lab[0]+16)/116,x=lab[1]/500+y,z=y-lab[2]/200;const y2=y**3,x2=x**3,z2=z**3;return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]},convert.lab.lch=function(lab){const l=lab[0],a=lab[1],b=lab[2];let h;h=360*Math.atan2(b,a)/2/Math.PI,h<0&&(h+=360);return[l,Math.sqrt(a*a+b*b),h]},convert.lch.lab=function(lch){const l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){const[r,g,b]=args;let value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){const r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];const mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){const c=10*(args-232)+8;return[c,c,c]}let rem;args-=16;return[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){const string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.hex.rgb=function(args){const match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map((char=>char+char)).join(""));const integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;let grayscale,hue;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){const s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l);let f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){const s=hsv[1]/100,v=hsv[2]/100,c=s*v;let f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){const h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];const pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;let mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);let f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert.hcg.hsl=function(hcg){const c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c;let s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert.hwb.hcg=function(hwb){const w=hwb[1]/100,v=1-hwb[2]/100,c=v-w;let g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){const val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}},"./node_modules/color-convert/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{const conversions=__webpack_require__("./node_modules/color-convert/conversions.js"),route=__webpack_require__("./node_modules/color-convert/route.js"),convert={};Object.keys(conversions).forEach((fromModel=>{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});const routes=route(fromModel);Object.keys(routes).forEach((toModel=>{const fn=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn){const wrappedFn=function(...args){const arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);const result=fn(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)}))})),module.exports=convert},"./node_modules/color-convert/route.js":(module,__unused_webpack_exports,__webpack_require__)=>{const conversions=__webpack_require__("./node_modules/color-convert/conversions.js");function deriveBFS(fromModel){const graph=function buildGraph(){const graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i{"use strict";module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},"./node_modules/lodash/_baseTrim.js":(module,__unused_webpack_exports,__webpack_require__)=>{var trimmedEndIndex=__webpack_require__("./node_modules/lodash/_trimmedEndIndex.js"),reTrimStart=/^\s+/;module.exports=function baseTrim(string){return string?string.slice(0,trimmedEndIndex(string)+1).replace(reTrimStart,""):string}},"./node_modules/lodash/_trimmedEndIndex.js":module=>{var reWhitespace=/\s/;module.exports=function trimmedEndIndex(string){for(var index=string.length;index--&&reWhitespace.test(string.charAt(index)););return index}},"./node_modules/lodash/debounce.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js"),now=__webpack_require__("./node_modules/lodash/now.js"),toNumber=__webpack_require__("./node_modules/lodash/toNumber.js"),nativeMax=Math.max,nativeMin=Math.min;module.exports=function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var timeWaiting=wait-(time-lastCallTime);return maxing?nativeMin(timeWaiting,maxWait-(time-lastInvokeTime)):timeWaiting}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now())},debounced}},"./node_modules/lodash/now.js":(module,__unused_webpack_exports,__webpack_require__)=>{var root=__webpack_require__("./node_modules/lodash/_root.js");module.exports=function(){return root.Date.now()}},"./node_modules/lodash/throttle.js":(module,__unused_webpack_exports,__webpack_require__)=>{var debounce=__webpack_require__("./node_modules/lodash/debounce.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function throttle(func,wait,options){var leading=!0,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");return isObject(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce(func,wait,{leading,maxWait:wait,trailing})}},"./node_modules/lodash/toNumber.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseTrim=__webpack_require__("./node_modules/lodash/_baseTrim.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;module.exports=function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NaN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=baseTrim(value);var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NaN:+value}}}]); \ No newline at end of file diff --git a/2642.8420b84d.iframe.bundle.js b/2642.8420b84d.iframe.bundle.js new file mode 100644 index 000000000..0badbc3e8 --- /dev/null +++ b/2642.8420b84d.iframe.bundle.js @@ -0,0 +1,40 @@ +"use strict";(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[2642],{"./src/components/ui/icons/Add/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Add=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M14.5 5C16.981 5 19 7.019 19 9.5v5c0 2.481-2.019 4.5-4.5 4.5h-5C7.019 19 5 16.981 5 14.5v-5C5 7.019 7.019 5 9.5 5zm0 1h-5C7.57 6 6 7.57 6 9.5v5C6 16.43 7.57 18 9.5 18h5c1.93 0 3.5-1.57 3.5-3.5v-5C18 7.57 16.43 6 14.5 6zM12 8.467c.276 0 .5.223.5.5V11.5h2.533c.276 0 .5.224.5.5s-.224.5-.5.5H12.5v2.533c0 .277-.224.5-.5.5-.277 0-.5-.223-.5-.5V12.5H8.967c-.277 0-.5-.224-.5-.5s.223-.5.5-.5H11.5V8.967c0-.277.223-.5.5-.5z"})});Add.displayName="Add",Add.displayName="Add";const __WEBPACK_DEFAULT_EXPORT__=Add;try{Add.displayName="Add",Add.__docgenInfo={description:"",displayName:"Add",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Add/index.tsx#Add"]={docgenInfo:Add.__docgenInfo,name:"Add",path:"src/components/ui/icons/Add/index.tsx#Add"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Arrow/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var styled_components__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const dirTransform={up:"0",right:"90",down:"180",left:"270"},StyledArrow=(0,styled_components__WEBPACK_IMPORTED_MODULE_3__.ZP)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z)` + transform: ${({direction})=>`rotate(${dirTransform[direction||"up"]}deg)`}; +`,Arrow=({direction="up",...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(StyledArrow,{direction,...rest,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{"transform-origin":"center",d:"M16.85 10.53l-4.495-4.39c-.094-.09-.214-.132-.335-.136C12.013 6.003 12.007 6 12 6c-.006 0-.012.003-.02.004-.12.004-.24.047-.334.137L7.15 10.53c-.197.193-.201.51-.008.707.098.1.228.15.357.15.126 0 .252-.046.35-.141l3.646-3.56v9.812c0 .277.223.5.5.5.276 0 .5-.223.5-.5V7.677l3.655 3.57c.097.095.223.142.349.142.13 0 .26-.05.358-.151.193-.197.189-.514-.008-.707"})});Arrow.displayName="Arrow",Arrow.displayName="Arrow";const __WEBPACK_DEFAULT_EXPORT__=Arrow;try{Arrow.displayName="Arrow",Arrow.__docgenInfo={description:"",displayName:"Arrow",props:{direction:{defaultValue:{value:"up"},description:"Defines the direction of the arrow.",name:"direction",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"up"'},{value:'"right"'},{value:'"down"'},{value:'"left"'}]}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Arrow/index.tsx#Arrow"]={docgenInfo:Arrow.__docgenInfo,name:"Arrow",path:"src/components/ui/icons/Arrow/index.tsx#Arrow"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Attachment/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Attachment=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M9.388 18.995c-1.171 0-2.337-.44-3.196-1.312-.804-.816-1.227-1.885-1.19-3.011.037-1.137.536-2.192 1.407-2.967l6.629-5.91c1.246-1.108 3.201-1.051 4.359.127.57.578.869 1.337.84 2.135-.031.799-.383 1.538-.994 2.08l-6.41 5.715c-.365.328-.841.494-1.303.462-.454-.011-.898-.202-1.227-.536-.335-.34-.509-.786-.491-1.255.016-.467.222-.9.58-1.219l6.211-5.538c.207-.185.522-.165.706.041.183.206.166.522-.04.706l-6.211 5.538c-.154.137-.239.313-.246.509-.008.195.062.373.204.517.146.148.347.233.563.239.213.016.423-.062.587-.209l6.412-5.717c.406-.36.639-.846.659-1.37.019-.52-.177-1.015-.552-1.396-.793-.805-2.129-.841-2.982-.083l-6.628 5.91c-.665.592-1.045 1.392-1.074 2.253-.027.85.293 1.659.903 2.277 1.285 1.303 3.456 1.363 4.834.134l6.429-5.731c.207-.184.522-.166.706.041.184.206.166.522-.04.705l-6.429 5.731c-.851.759-1.936 1.134-3.016 1.134"})});Attachment.displayName="Attachment",Attachment.displayName="Attachment";const __WEBPACK_DEFAULT_EXPORT__=Attachment;try{Attachment.displayName="Attachment",Attachment.__docgenInfo={description:"",displayName:"Attachment",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Attachment/index.tsx#Attachment"]={docgenInfo:Attachment.__docgenInfo,name:"Attachment",path:"src/components/ui/icons/Attachment/index.tsx#Attachment"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Attendees/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Attendees=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12.105 12.923c1.596 0 2.895 1.3 2.895 2.895v2.105H6v-2.105c0-1.596 1.299-2.895 2.895-2.895zm3.767.571c.139-.24.447-.32.684-.182.89.517 1.444 1.477 1.444 2.506v1.605c0 .277-.223.5-.5.5-.276 0-.5-.223-.5-.5v-1.605c0-.673-.362-1.302-.946-1.641-.238-.138-.32-.444-.182-.683zm-3.767.43h-3.21c-1.045 0-1.895.85-1.895 1.894v1.105h7v-1.105c0-1.045-.85-1.895-1.895-1.895zM10.645 6c1.654 0 3 1.346 3 3s-1.346 3-3 3-3-1.346-3-3 1.346-3 3-3zm3.385.488c.096-.259.386-.39.642-.298 1.18.433 1.972 1.562 1.972 2.81s-.793 2.377-1.972 2.81c-.057.02-.115.03-.172.03-.204 0-.396-.126-.47-.328-.095-.26.038-.547.298-.642.787-.288 1.316-1.04 1.316-1.87 0-.83-.529-1.582-1.316-1.87-.26-.095-.393-.383-.298-.642zM10.645 7c-1.104 0-2 .897-2 2s.896 2 2 2c1.103 0 2-.897 2-2s-.897-2-2-2z"})});Attendees.displayName="Attendees",Attendees.displayName="Attendees";const __WEBPACK_DEFAULT_EXPORT__=Attendees;try{Attendees.displayName="Attendees",Attendees.__docgenInfo={description:"",displayName:"Attendees",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Attendees/index.tsx#Attendees"]={docgenInfo:Attendees.__docgenInfo,name:"Attendees",path:"src/components/ui/icons/Attendees/index.tsx#Attendees"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Camera/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Camera=({disabled=!1,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...rest,children:disabled?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{xmlns:"http://www.w3.org/2000/svg",d:"M4.146 4.146c.196-.195.512-.195.708 0L7.707 7h.007l1 1h-.007L15 14.293v-.007l.894.894-.001.006 3.961 3.96c.195.196.195.512 0 .708-.098.097-.226.146-.354.146-.128 0-.256-.049-.354-.146l-3.747-3.748c-.459.542-1.134.894-1.899.894h-7C5.121 17 4 15.879 4 14.5v-5c0-1.314 1.022-2.383 2.312-2.481L4.146 4.854c-.195-.196-.195-.512 0-.708zM7.293 8H6.5C5.673 8 5 8.673 5 9.5v5c0 .827.673 1.5 1.5 1.5h7c.488 0 .919-.238 1.192-.601L7.293 8zM13.5 7C14.879 7 16 8.121 16 9.5v.566l1.813-1.303c.426-.306.983-.349 1.456-.107.451.231.731.684.731 1.181v4.326c0 .497-.28.95-.731 1.181-.205.104-.424.156-.642.156-.287 0-.571-.089-.814-.263l-1.592-1.144L15 12.873V9.5c0-.827-.673-1.5-1.5-1.5h-3.372l-1-1zm5.313 2.546c-.051-.026-.233-.1-.416.03l-2.256 1.621c-.089.064-.141.16-.141.262v1.082c0 .102.051.197.141.262l2.256 1.622c.182.131.365.054.416.03.055-.029.187-.116.187-.292V9.837c0-.176-.132-.263-.187-.29z"}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M19 14.164c0 .176-.131.262-.187.29-.052.027-.234.1-.416-.028l-2.256-1.622v-.001c-.09-.064-.141-.16-.141-.262v-1.082c0-.102.051-.197.141-.262l2.255-1.622c.081-.057.159-.075.227-.075.09 0 .16.03.19.046.056.029.187.115.187.29v4.328zm-4 .336c0 .828-.673 1.5-1.5 1.5h-7c-.827 0-1.5-.672-1.5-1.5v-5C5 8.673 5.673 8 6.5 8h7c.827 0 1.5.673 1.5 1.5v5zm4.27-5.843c-.471-.242-1.028-.202-1.457.106L16 10.066V9.5C16 8.122 14.879 7 13.5 7h-7C5.121 7 4 8.122 4 9.5v5C4 15.879 5.121 17 6.5 17h7c1.379 0 2.5-1.121 2.5-2.5v-.566l1.814 1.304c.243.174.527.262.813.262.219 0 .438-.051.643-.156.45-.231.73-.683.73-1.18V9.837c0-.497-.28-.95-.73-1.18z"})});Camera.displayName="Camera",Camera.displayName="Camera";const __WEBPACK_DEFAULT_EXPORT__=Camera;try{Camera.displayName="Camera",Camera.__docgenInfo={description:"",displayName:"Camera",props:{disabled:{defaultValue:{value:"false"},description:"Whether or not should show a camera icon with strikethrough.",name:"disabled",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Camera/index.tsx#Camera"]={docgenInfo:Camera.__docgenInfo,name:"Camera",path:"src/components/ui/icons/Camera/index.tsx#Camera"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Caret/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var styled_components__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const dirTransform={up:"0",right:"90",down:"180",left:"270"},StyledCaret=(0,styled_components__WEBPACK_IMPORTED_MODULE_3__.ZP)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z)` + transform: ${({direction})=>`rotate(${dirTransform[direction||"up"]}deg)`}; +`,Caret=({direction="up",...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(StyledCaret,{direction,...rest,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{"transform-origin":"center",d:"M8.824 13.88c-.21.18-.526.154-.705-.056-.159-.187-.156-.457-.006-.64l.063-.065 3.523-3c.165-.14.397-.156.577-.05l.074.052 3.477 3c.209.18.232.497.052.706-.16.185-.428.224-.632.104l-.074-.052-3.151-2.72-3.198 2.722z"})});Caret.displayName="Caret",Caret.displayName="Caret";const __WEBPACK_DEFAULT_EXPORT__=Caret;try{Caret.displayName="Caret",Caret.__docgenInfo={description:"",displayName:"Caret",props:{direction:{defaultValue:{value:"up"},description:"Defines the direction of the caret.",name:"direction",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"up"'},{value:'"right"'},{value:'"down"'},{value:'"left"'}]}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Caret/index.tsx#Caret"]={docgenInfo:Caret.__docgenInfo,name:"Caret",path:"src/components/ui/icons/Caret/index.tsx#Caret"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Caution/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>icons_Caution});__webpack_require__("./node_modules/react/index.js");var Svg=__webpack_require__("./src/components/ui/icons/Svg.tsx"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js");const variantMap={default:styled_components_browser_esm.iv` + .ch-caution-background { + fill: transparent; + } +`,"fill-warning":styled_components_browser_esm.iv` + .ch-caution-background { + fill: ${props=>props.theme.colors.warning.primary}; + } + + .ch-caution-exclamation { + fill: ${props=>props.theme.colors.greys.white}; + } + + .ch-caution-border { + fill: ${props=>props.theme.colors.warning.primary}; + } +`,"fill-error":styled_components_browser_esm.iv` + .ch-caution-background { + fill: ${props=>props.theme.colors.error.primary}; + } + + .ch-caution-exclamation { + fill: ${props=>props.theme.colors.greys.white}; + } + + .ch-caution-border { + fill: ${props=>props.theme.colors.error.primary}; + } +`},StyledCaution=styled_components_browser_esm.ZP.g` + ${props=>variantMap[props.variant||"default"]}; +`;try{StyledCaution.displayName="StyledCaution",StyledCaution.__docgenInfo={description:"",displayName:"StyledCaution",props:{css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: SVGGElement | null) => void) | RefObject | null | undefined"}},variant:{defaultValue:null,description:"toggle the range of visual variants",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"fill-warning"'},{value:'"fill-error"'}]}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Caution/styled.tsx#StyledCaution"]={docgenInfo:StyledCaution.__docgenInfo,name:"StyledCaution",path:"src/components/ui/icons/Caution/styled.tsx#StyledCaution"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const Caution=props=>(0,jsx_runtime.jsx)(Svg.Z,{...props,children:(0,jsx_runtime.jsxs)(StyledCaution,{fill:"currentColor",variant:props.variant,children:[(0,jsx_runtime.jsx)("path",{className:"ch-caution-background",d:"M18.728 15.186l-5.085-8.281C13.293 6.338 12.68 6 12 6c-.68 0-1.294.338-1.642.905l-5.085 8.281c-.351.571-.365 1.258-.04 1.841.336.6.98.972 1.68.972h10.17c.704 0 1.348-.372 1.683-.972.326-.583.312-1.27-.04-1.841"}),(0,jsx_runtime.jsx)("path",{className:"ch-caution-exclamation",d:"M12.572 14.609v1.219h-1.166v-1.219h1.166zm.023-5.388v1.83l-.288 2.727h-.597l-.305-2.727V9.22h1.19z"}),(0,jsx_runtime.jsx)("path",{className:"ch-caution-border",d:"M17.894 16.539c-.161.288-.463.46-.81.46H6.915c-.343 0-.645-.172-.806-.46-.15-.266-.143-.568.017-.829l5.085-8.281c.33-.536 1.25-.538 1.58 0l5.086 8.281c.16.261.167.563.018.829m.834-1.353l-5.085-8.281C13.293 6.338 12.68 6 12 6c-.68 0-1.294.338-1.642.905l-5.085 8.281c-.351.571-.365 1.258-.04 1.841.336.6.98.972 1.68.972h10.17c.704 0 1.348-.372 1.683-.972.326-.583.312-1.27-.04-1.841"})]})});Caution.displayName="Caution",Caution.displayName="Caution";const icons_Caution=Caution;try{Caution.displayName="Caution",Caution.__docgenInfo={description:"",displayName:"Caution",props:{variant:{defaultValue:null,description:"toggle the range of visual variants",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"fill-warning"'},{value:'"fill-error"'}]}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Caution/index.tsx#Caution"]={docgenInfo:Caution.__docgenInfo,name:"Caution",path:"src/components/ui/icons/Caution/index.tsx#Caution"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Chat/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Chat=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,title:"Chat",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M8.497 6C7.12 6 6 7.12 6 8.497v9.413l1.022-.727c1.483-1.054 4.17-1.911 5.99-1.911h2.48c1.376 0 2.496-1.121 2.496-2.498V8.497C17.988 7.12 16.868 6 15.491 6H8.497zM5.905 19c-.14 0-.284-.034-.416-.102-.302-.156-.489-.464-.489-.804V8.497C5 6.569 6.568 5 8.497 5h6.994c1.93 0 3.497 1.569 3.497 3.497v4.277c0 1.929-1.568 3.498-3.497 3.498h-2.48c-1.616 0-4.093.791-5.409 1.727l-1.172.833c-.158.111-.34.168-.525.168z"})});Chat.displayName="Chat",Chat.displayName="Chat";const __WEBPACK_DEFAULT_EXPORT__=Chat;try{Chat.displayName="Chat",Chat.__docgenInfo={description:"",displayName:"Chat",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Chat/index.tsx#Chat"]={docgenInfo:Chat.__docgenInfo,name:"Chat",path:"src/components/ui/icons/Chat/index.tsx#Chat"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Check/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Check=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M16.834 9.178c-.18-.21-.494-.238-.705-.061l-5.912 4.975-2.33-2.846c-.175-.214-.491-.245-.703-.07-.214.175-.246.49-.071.703l2.652 3.238.004.006c.037.044.085.073.132.1.015.01.026.025.04.032.068.03.138.046.21.046.056 0 .113-.01.166-.028.038-.013.07-.037.106-.06.015-.01.03-.014.045-.025v-.001l.006-.003 6.299-5.301c.21-.178.239-.493.06-.705"})});Check.displayName="Check",Check.displayName="Check";const __WEBPACK_DEFAULT_EXPORT__=Check;try{Check.displayName="Check",Check.__docgenInfo={description:"",displayName:"Check",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Check/index.tsx#Check"]={docgenInfo:Check.__docgenInfo,name:"Check",path:"src/components/ui/icons/Check/index.tsx#Check"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/CheckRound/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const CheckRound=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8zm0 1c-3.86 0-7 3.141-7 7s3.14 7 7 7 7-3.141 7-7-3.14-7-7-7zm3.493 4.873c.211-.179.526-.15.705.061.177.211.15.527-.061.705l-4.476 3.764-.003.002v.001c-.029.024-.061.035-.091.051-.02.011-.039.027-.061.035-.054.019-.11.028-.166.028-.072 0-.143-.015-.209-.045-.016-.007-.027-.023-.042-.032-.047-.028-.095-.056-.132-.1l-.001-.002-.003-.004-1.84-2.246c-.175-.213-.143-.529.07-.703.213-.177.529-.145.704.07l1.518 1.853z"})});CheckRound.displayName="CheckRound",CheckRound.displayName="CheckRound";const __WEBPACK_DEFAULT_EXPORT__=CheckRound;try{CheckRound.displayName="CheckRound",CheckRound.__docgenInfo={description:"",displayName:"CheckRound",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/CheckRound/index.tsx#CheckRound"]={docgenInfo:CheckRound.__docgenInfo,name:"CheckRound",path:"src/components/ui/icons/CheckRound/index.tsx#CheckRound"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Clear/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Clear=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,title:"Clear",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 5c3.866 0 7 3.134 7 7s-3.134 7-7 7-7-3.134-7-7 3.134-7 7-7zM9.172 9.17c-.196.196-.196.513 0 .708L11.293 12l-2.12 2.12c-.197.197-.197.513 0 .708.096.098.224.147.352.147.128 0 .256-.05.354-.147L12 12.707l2.121 2.12c.098.099.226.148.353.148.128 0 .256-.05.354-.147.195-.195.195-.511 0-.707L12.708 12l2.12-2.122c.195-.195.195-.512 0-.707-.195-.195-.512-.195-.707 0l-2.12 2.12-2.122-2.12c-.196-.195-.512-.195-.707 0z"})});Clear.displayName="Clear",Clear.displayName="Clear";const __WEBPACK_DEFAULT_EXPORT__=Clear;try{Clear.displayName="Clear",Clear.__docgenInfo={description:"",displayName:"Clear",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Clear/index.tsx#Clear"]={docgenInfo:Clear.__docgenInfo,name:"Clear",path:"src/components/ui/icons/Clear/index.tsx#Clear"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Clock/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Clock=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8zm0 1c-3.859 0-7 3.141-7 7s3.141 7 7 7 7-3.141 7-7-3.141-7-7-7zm0 2.559c.276 0 .5.223.5.5V11.5h3c.276 0 .5.224.5.5s-.224.5-.5.5H12c-.276 0-.5-.224-.5-.5V8.059c0-.277.224-.5.5-.5z"})});Clock.displayName="Clock",Clock.displayName="Clock";const __WEBPACK_DEFAULT_EXPORT__=Clock;try{Clock.displayName="Clock",Clock.__docgenInfo={description:"",displayName:"Clock",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Clock/index.tsx#Clock"]={docgenInfo:Clock.__docgenInfo,name:"Clock",path:"src/components/ui/icons/Clock/index.tsx#Clock"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Cog/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Cog=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12.616 4C13.379 4 14 4.62 14 5.384c0 .31.171.566.457.684.286.118.588.059.808-.16.539-.54 1.415-.54 1.956-.001l.872.873c.539.539.539 1.417 0 1.956-.22.219-.28.52-.161.807.118.286.374.457.684.457.763 0 1.384.62 1.384 1.384v1.233C20 13.38 19.379 14 18.616 14c-.309 0-.565.17-.684.458-.119.286-.059.588.161.807.539.54.539 1.417 0 1.956l-.872.873c-.541.539-1.417.539-1.956 0-.22-.22-.522-.28-.808-.161-.286.119-.457.374-.457.684C14 19.38 13.379 20 12.616 20h-1.233C10.62 20 10 19.38 10 18.617c0-.31-.171-.565-.457-.684-.292-.12-.589-.06-.808.16-.539.539-1.417.54-1.956 0l-.872-.872c-.261-.261-.405-.608-.406-.978 0-.37.145-.717.406-.98.219-.217.28-.52.16-.805-.119-.287-.375-.458-.684-.458C4.62 14 4 13.38 4 12.617v-1.233C4 10.62 4.62 10 5.383 10c.309 0 .566-.171.684-.457.119-.286.059-.588-.16-.807-.261-.261-.406-.61-.406-.978 0-.37.145-.717.406-.98l.872-.87c.537-.54 1.415-.541 1.956 0 .219.219.523.28.807.16.287-.118.458-.374.458-.684C10 4.62 10.62 4 11.383 4zm0 1h-1.233c-.211 0-.383.172-.383.384 0 .717-.412 1.334-1.075 1.608-.662.274-1.39.13-1.897-.377-.15-.15-.391-.15-.542 0l-.872.872c-.073.072-.113.169-.113.27 0 .103.04.199.113.272.507.507.652 1.234.377 1.897-.274.663-.89 1.074-1.608 1.074-.211 0-.383.172-.383.384v1.233c0 .21.172.383.383.383.718 0 1.334.412 1.608 1.075.275.663.13 1.39-.377 1.897-.073.073-.113.169-.113.27.001.104.04.199.113.27l.872.875c.152.15.393.149.542 0 .337-.338.772-.515 1.22-.515.226 0 .455.045.677.137.663.275 1.075.89 1.075 1.608 0 .21.172.383.383.383h1.233c.212 0 .384-.172.384-.383 0-.717.411-1.333 1.074-1.608.659-.272 1.389-.13 1.898.378.149.149.394.149.542-.001l.872-.872c.149-.15.149-.393 0-.542-.508-.507-.653-1.234-.378-1.897.274-.663.89-1.075 1.608-1.075.212 0 .384-.172.384-.383v-1.233c0-.212-.172-.384-.384-.384-.718 0-1.334-.412-1.608-1.075-.275-.662-.13-1.39.378-1.896.149-.15.149-.393 0-.542l-.872-.872c-.15-.15-.393-.15-.542 0-.509.508-1.239.65-1.898.377C13.412 6.717 13 6.1 13 5.384c0-.212-.172-.384-.384-.384zM12 8c2.206 0 4 1.794 4 4s-1.794 4-4 4-4-1.794-4-4 1.794-4 4-4zm0 1c-1.654 0-3 1.346-3 3s1.346 3 3 3 3-1.346 3-3-1.346-3-3-3z"})});Cog.displayName="Cog",Cog.displayName="Cog";const __WEBPACK_DEFAULT_EXPORT__=Cog;try{Cog.displayName="Cog",Cog.__docgenInfo={description:"",displayName:"Cog",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Cog/index.tsx#Cog"]={docgenInfo:Cog.__docgenInfo,name:"Cog",path:"src/components/ui/icons/Cog/index.tsx#Cog"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/ConnectionProblem/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ConnectionProblem=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M6.113 13.03h3.5c.496 0 .898.403.898.898v4.91l6.398-7.808h-3.5c-.495 0-.898-.402-.898-.897V5.19l-6.398 7.84zm4.295 6.995c-.108 0-.215-.02-.32-.06-.35-.133-.577-.462-.577-.837V14.03H5.9c-.358 0-.673-.204-.82-.532-.147-.327-.09-.698.149-.966l6.7-8.213c.265-.296.65-.395 1.004-.258.35.133.577.462.577.837v5.132h3.604c.36 0 .676.205.823.533.148.328.09.7-.148.969l-6.7 8.176c-.184.208-.43.317-.682.317z"})});ConnectionProblem.displayName="ConnectionProblem",ConnectionProblem.displayName="ConnectionProblem";const __WEBPACK_DEFAULT_EXPORT__=ConnectionProblem;try{ConnectionProblem.displayName="ConnectionProblem",ConnectionProblem.__docgenInfo={description:"",displayName:"ConnectionProblem",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/ConnectionProblem/index.tsx#ConnectionProblem"]={docgenInfo:ConnectionProblem.__docgenInfo,name:"ConnectionProblem",path:"src/components/ui/icons/ConnectionProblem/index.tsx#ConnectionProblem"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Crown/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Crown=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M16.116 16h-8.23l-1.674-4.994 1.973 1.607c.355.289.815.388 1.257.274.444-.116.795-.427.965-.853L12 8.019l1.593 4.015c.17.426.521.737.964.853.444.114.903.015 1.257-.274l1.972-1.606L16.116 16zm.39 2h-9.01C7.22 18 7 17.778 7 17.495c0-.273.221-.495.495-.495h9.011c.272 0 .494.222.494.505 0 .273-.222.495-.495.495zM19 8.105c-.552 0-1 .457-1 1.018 0 .184.061.347.145.496-.164.01-.324.07-.458.179l-2.504 2.039c-.106.087-.242.116-.374.082-.13-.035-.237-.127-.287-.254l-1.776-4.477c-.052-.132-.144-.23-.25-.306.295-.176.504-.49.504-.864C13 5.457 12.552 5 12 5s-1 .457-1 1.018c0 .374.21.688.505.864-.108.076-.2.173-.25.305l-1.778 4.478c-.049.127-.155.219-.287.254-.13.034-.266.005-.374-.082L6.312 9.798c-.133-.109-.294-.169-.458-.179.084-.149.146-.312.146-.496 0-.561-.448-1.018-1-1.018s-1 .457-1 1.018c0 .561.448 1.017 1 1.017.02 0 .035-.01.054-.011-.056.151-.066.324-.02.506l1.845 5.502c-.517.236-.879.757-.879 1.368C6 18.329 6.671 19 7.495 19h9.01C17.33 19 18 18.329 18 17.495c0-.603-.362-1.121-.877-1.357l1.853-5.541c.04-.161.028-.322-.028-.468.02.001.033.011.052.011.552 0 1-.456 1-1.017 0-.561-.448-1.018-1-1.018z"})});Crown.displayName="Crown",Crown.displayName="Crown";const __WEBPACK_DEFAULT_EXPORT__=Crown;try{Crown.displayName="Crown",Crown.__docgenInfo={description:"",displayName:"Crown",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Crown/index.tsx#Crown"]={docgenInfo:Crown.__docgenInfo,name:"Crown",path:"src/components/ui/icons/Crown/index.tsx#Crown"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/DeskPhone/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const DeskPhone=({disabled=!1,poorConnection=!1,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...rest,children:poorConnection?disabled?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M4.146 4.147c.196-.196.512-.196.707 0l15 15c.196.195.196.511 0 .707-.097.097-.225.146-.353.146-.128 0-.256-.049-.354-.146l-.938-.939c-.13.051-.266.085-.413.085h-.125v-.623L16.293 17H16v-.294l-1.628-1.628H14v-.372L12.293 13H12v-.294l-1-1v4.138C11 16.482 10.48 17 9.843 17H8.156C7.52 17 7 16.482 7 15.844V7.706L6.293 7h-.058c-.08 0-.138.06-.152.12l-.973-.235c.065-.266.218-.488.422-.645L4.146 4.854c-.195-.196-.195-.512 0-.707zm1.858 13.734c.014.06.071.12.152.12h.125v1h-.125c-.537 0-.999-.365-1.125-.886zM8.263 18v1h-1v-1h1zm2.106 0v1h-1v-1h1zm2.107 0v1h-1v-1h1zm2.106 0v1h-1v-1h1zm2.107 0v1h-1v-1h1zm-3.69-2v1h-1v-1h1zM15 16v1h-1.001v-1H15zm-9 0v1H5v-1h1zm13 0v.907L18.093 16H19zM8 8.706v7.138c0 .086.07.156.156.156h1.687c.086 0 .156-.07.156-.156v-5.138l-2-2zm4.999 5.372v1.001h-1v-1.001h1zM19 14v1h-1v-1h1zM6 14v1H5v-1h1zm11 .078v.828l-.829-.828H17zM17 12v1.001h-1V12h1zm2 0v1h-1v-1h1zM6 12v1H5v-1h1zm9 0v.906L14.092 12H15zM9.843 5C10.48 5 11 5.52 11 6.156V8h5.172c.457 0 .828.372.828.83v1.341c0 .457-.371.83-.828.83h-3.078l-1-1H16V9h-4.906L10 7.905v-1.75C10 6.07 9.929 6 9.844 6H8.157c-.018 0-.03.014-.045.02l-.717-.718C7.599 5.12 7.862 5 8.157 5zM19 10v1h-1v-1h1zM6 10v1H5v-1h1zm13-2v1h-1V8h1zM6 8v1H5V8h1zm11.876-2c.537 0 .999.364 1.125.885l-.973.234c-.014-.06-.071-.119-.152-.119h-.125V6zm-5.321 0v1h-1V6h1zm2.106 0v1h-1V6h1zm2.108 0v1h-1V6h1z"}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M6.003 17.882c.012.047.05.095.107.112l.045.007h.125v1h-.125c-.495 0-.927-.311-1.09-.768l-.035-.117.973-.234zM8.262 18v1h-1v-1h1zm2.107 0v1h-1v-1h1zm2.107 0v1h-1v-1h1zm2.107 0v1h-1v-1h1zm2.106 0v1h-1v-1h1zm1.259-.118l.973.234c-.117.48-.52.828-1.003.879l-.122.006h-.125v-1h.125c.08 0 .139-.061.152-.119zM9.843 5c.595 0 1.087.453 1.15 1.032l.007.125v1.844h5.172c.422 0 .77.316.822.725l.006.103v1.342c0 .422-.316.772-.724.823l-.104.007H11v4.843c0 .595-.452 1.087-1.031 1.15L9.843 17H8.156c-.595 0-1.086-.452-1.15-1.03L7 15.842V6.159c0-.596.451-1.088 1.03-1.15L8.156 5h1.687zM6 16v1H5v-1h1zm13 0v1h-1v-1h1zm-6.001 0v1h-1v-1h1zM15 16v1h-1v-1h1zm2 0v1h-1v-1h1zM9.843 6H8.156c-.069 0-.127.045-.148.108L8 6.158v9.685c0 .07.045.129.107.15l.049.007h1.687c.069 0 .128-.045.149-.107l.008-.05V6.159C10 6.07 9.929 6 9.843 6zm3.156 8.079v1h-1v-1h1zm2.001 0v1h-1v-1h1zm2 0v1h-1v-1h1zM6 14v1H5v-1h1zm13 0v1h-1v-1h1zM6 12.003v1H5v-1h1zm13 0v1h-1v-1h1zM12.999 12v1h-1v-1h1zM15 12v1h-1v-1h1zm2 0v1h-1v-1h1zM6 10.003v1H5v-1h1zm13 0v1h-1v-1h1zM16 9h-5v1h5V9zm3-1v1h-1V8h1zM6 8v1H5V8h1zm.361-2v1h-.125c-.065 0-.115.039-.139.084l-.013.036-.973-.234c.116-.481.519-.828 1.003-.879l.122-.006h.125zm11.514.001c.496 0 .927.31 1.09.768l.035.117-.973.234c-.011-.049-.05-.096-.106-.112L17.875 7h-.125v-1h.125zm-5.32 0v1h-1V6h1zm2.107 0v1h-1V6h1zm2.106 0v1h-1V6h1z"}):disabled?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M4.146 4.146c.196-.195.512-.195.707 0l15 15c.196.196.196.512 0 .708-.097.097-.225.146-.353.146-.128 0-.256-.049-.354-.146l-.923-.923c-.119.042-.245.069-.379.069H6.156C5.518 19 5 18.481 5 17.844V7.156c0-.394.211-.726.513-.935L4.146 4.854c-.195-.196-.195-.512 0-.708zM6.293 7h-.137C6.07 7 6 7.07 6 7.156v10.688c0 .086.07.156.156.156h11.137l-1-1H16v-.293l-1.629-1.629h-.37v-.371L12.292 13H12v-.293l-1-1v4.137C11 16.481 10.481 17 9.844 17H8.156C7.518 17 7 16.481 7 15.844V7.707L6.293 7zM13 16v1h-1v-1h1zm2 0v1h-1v-1h1zM9.843 5c.542 0 .979.379 1.103.882L10.97 6h6.875c.595 0 1.086.452 1.15 1.03l.006.126v9.76l-1-1v-8.76c0-.069-.045-.127-.107-.148L17.844 7H11v1h5.171c.422 0 .771.317.823.725L17 8.83v1.342c0 .422-.317.771-.725.823l-.104.006h-3.087l-1-1H16V9h-4.916L10 7.916v-1.76c0-.069-.045-.127-.107-.148L9.843 6H8.156l-.026.008-.025.013-.716-.716c.171-.153.384-.263.621-.295L8.156 5h1.687zM8 8.707v7.137c0 .086.07.156.156.156h1.688c.085 0 .156-.07.156-.156v-5.137l-2-2zm5 5.371v1h-1v-1h1zm4 0v.837l-.838-.837H17zM17 12v1h-1v-1h1zm-2 0v.916L14.084 12H15z"}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M9.844 5c.582 0 1.045.44 1.125 1h6.875C18.481 6 19 6.519 19 7.157v10.687c0 .638-.519 1.156-1.156 1.156H6.156C5.519 19 5 18.482 5 17.844V7.157C5 6.519 5.519 6 6.156 6h.875c.08-.56.543-1 1.125-1zM7 7h-.844C6.07 7 6 7.07 6 7.157v10.687c0 .086.07.156.156.156h11.688c.086 0 .156-.07.156-.156V7.157C18 7.07 17.93 7 17.844 7H11v1h5.171c.457 0 .829.372.829.829v1.343c0 .457-.372.828-.829.828H11v4.844C11 16.482 10.481 17 9.844 17H8.156C7.519 17 7 16.482 7 15.844V7zm6 9v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zM9.844 6H8.156C8.07 6 8 6.07 8 6.157v9.687c0 .086.07.156.156.156h1.688c.086 0 .156-.07.156-.156V6.157C10 6.07 9.93 6 9.844 6zM13 14.078v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zM13 12v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm-1-3h-5v1h5V9z"})});DeskPhone.displayName="DeskPhone",DeskPhone.displayName="DeskPhone";const __WEBPACK_DEFAULT_EXPORT__=DeskPhone;try{DeskPhone.displayName="DeskPhone",DeskPhone.__docgenInfo={description:"",displayName:"DeskPhone",props:{disabled:{defaultValue:{value:"false"},description:"Whether or not should show a desk phone icon with strikethrough.",name:"disabled",required:!1,type:{name:"boolean | undefined"}},poorConnection:{defaultValue:{value:"false"},description:"Whether or not should show a desk phone icon dashed.",name:"poorConnection",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/DeskPhone/index.tsx#DeskPhone"]={docgenInfo:DeskPhone.__docgenInfo,name:"DeskPhone",path:"src/components/ui/icons/DeskPhone/index.tsx#DeskPhone"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Dialer/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Dialer=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 15.972c1.11 0 2.014.904 2.014 2.015C14.014 19.097 13.11 20 12 20c-1.11 0-2.014-.903-2.014-2.013 0-1.111.904-2.015 2.014-2.015zm0 1.036c-.54 0-.977.44-.977.979 0 .54.438.977.977.977.54 0 .977-.438.977-.977 0-.54-.438-.979-.977-.979zm-4.986-6.022c1.11 0 2.014.904 2.014 2.014 0 1.11-.904 2.014-2.014 2.014C5.904 15.014 5 14.11 5 13c0-1.11.904-2.014 2.014-2.014zm4.986 0c1.11 0 2.014.904 2.014 2.014 0 1.11-.904 2.014-2.014 2.014-1.11 0-2.014-.904-2.014-2.014 0-1.11.904-2.014 2.014-2.014zm4.986 0c1.11 0 2.014.904 2.014 2.014 0 1.11-.904 2.014-2.014 2.014-1.11 0-2.014-.904-2.014-2.014 0-1.11.904-2.014 2.014-2.014zm-9.972 1.036c-.54 0-.977.439-.977.978 0 .54.438.978.977.978.54 0 .977-.438.977-.978 0-.539-.437-.978-.977-.978zm4.986 0c-.54 0-.977.439-.977.978 0 .54.438.978.977.978.54 0 .977-.438.977-.978 0-.539-.438-.978-.977-.978zm4.986 0c-.54 0-.977.439-.977.978 0 .54.437.978.977.978s.977-.438.977-.978c0-.539-.438-.978-.977-.978zM7.014 6c1.11 0 2.014.903 2.014 2.014 0 1.11-.904 2.014-2.014 2.014C5.904 10.028 5 9.124 5 8.014 5 6.904 5.904 6 7.014 6zM12 6c1.11 0 2.014.903 2.014 2.014 0 1.11-.904 2.014-2.014 2.014-1.11 0-2.014-.904-2.014-2.014C9.986 6.904 10.89 6 12 6zm4.986 0C18.096 6 19 6.904 19 8.013c0 1.111-.904 2.015-2.014 2.015-1.11 0-2.014-.904-2.014-2.015 0-1.11.904-2.013 2.014-2.013zM7.014 7.036c-.54 0-.977.439-.977.978 0 .54.438.978.977.978.54 0 .977-.438.977-.978s-.437-.978-.977-.978zm4.986 0c-.54 0-.977.439-.977.978 0 .54.438.978.977.978.54 0 .977-.438.977-.978s-.438-.978-.977-.978zm4.986 0c-.54 0-.977.438-.977.977 0 .54.437.979.977.979s.977-.439.977-.979c0-.539-.438-.977-.977-.977z"})});Dialer.displayName="Dialer",Dialer.displayName="Dialer";const __WEBPACK_DEFAULT_EXPORT__=Dialer;try{Dialer.displayName="Dialer",Dialer.__docgenInfo={description:"",displayName:"Dialer",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Dialer/index.tsx#Dialer"]={docgenInfo:Dialer.__docgenInfo,name:"Dialer",path:"src/components/ui/icons/Dialer/index.tsx#Dialer"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Dislike/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Dislike=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M18.977 11.946l-1.29-4.575C17.528 6.577 16.818 6 16 6H9.126c-.197 0-.357.158-.357.352V12.614l3.034 5.353c.123.044.45.069.76-.105.479-.271.732-.897.733-1.842l.089-1.43c.02-.45.389-.803.84-.803h3.194c.479 0 .926-.211 1.228-.58.298-.364.415-.837.33-1.261M7.337 6h-1.99C5.156 6 5 6.156 5 6.347v5.552c0 .191.156.347.347.347h2.037c.212 0 .385-.173.385-.385V6.43c0-.237-.193-.43-.431-.43m12.082 7.84c-.492.602-1.22.947-2.001.947h-3.044l-.08 1.264c0 2.228-1.244 2.765-1.778 2.893-.577.137-1.321.028-1.55-.423l-3.05-5.383c-.164.069-.344.108-.533.108H5.347c-.742 0-1.347-.605-1.347-1.347V6.347C4 5.605 4.605 5 5.347 5h1.99c.347 0 .66.128.908.333.238-.204.544-.333.88-.333H16c1.29 0 2.413.914 2.66 2.136l1.289 4.575c.153.756-.04 1.531-.53 2.129"})});Dislike.displayName="Dislike",Dislike.displayName="Dislike";const __WEBPACK_DEFAULT_EXPORT__=Dislike;try{Dislike.displayName="Dislike",Dislike.__docgenInfo={description:"",displayName:"Dislike",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Dislike/index.tsx#Dislike"]={docgenInfo:Dislike.__docgenInfo,name:"Dislike",path:"src/components/ui/icons/Dislike/index.tsx#Dislike"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Dock/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Dock=({undock,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...rest,children:undock?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M11.434 5c.276 0 .5.223.5.5 0 .276-.224.5-.5.5H8.967C7.331 6 6 7.331 6 8.966v6.067C6 16.67 7.331 18 8.967 18h6.066C16.669 18 18 16.67 18 15.033v-2.467c0-.276.224-.5.5-.5s.5.224.5.5v2.467C19 17.22 17.221 19 15.033 19H8.967C6.779 19 5 17.22 5 15.033V8.966C5 6.78 6.779 5 8.967 5zM18.5 5c.066 0 .13.014.19.038.124.05.22.149.272.27.024.063.038.127.038.192v4c0 .277-.224.5-.5.5s-.5-.223-.5-.5V6.707l-6.121 6.122c-.098.097-.226.146-.354.146-.127 0-.255-.05-.353-.146-.195-.196-.195-.512 0-.708L17.292 6H14.5c-.276 0-.5-.223-.5-.5 0-.276.224-.5.5-.5z"}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M11.434 5c.276 0 .5.223.5.5 0 .276-.224.5-.5.5H8.967C7.331 6 6 7.331 6 8.966v6.067C6 16.67 7.331 18 8.967 18h6.066C16.669 18 18 16.67 18 15.033v-2.467c0-.276.224-.5.5-.5s.5.224.5.5v2.467C19 17.22 17.221 19 15.033 19H8.967C6.779 19 5 17.22 5 15.033V8.966C5 6.78 6.779 5 8.967 5zm6.067 1c.127 0 .255.049.353.146.195.196.195.512 0 .708l-6.121 6.12h2.793c.276 0 .5.224.5.5 0 .277-.224.5-.5.5h-4c-.066 0-.13-.013-.191-.037-.123-.051-.22-.15-.271-.271-.024-.062-.038-.126-.038-.191v-4c0-.277.224-.5.5-.5s.5.223.5.5v2.793l6.12-6.122c.099-.097.227-.146.355-.146z"})});Dock.displayName="Dock",Dock.displayName="Dock";const __WEBPACK_DEFAULT_EXPORT__=Dock;try{Dock.displayName="Dock",Dock.__docgenInfo={description:"",displayName:"Dock",props:{undock:{defaultValue:null,description:"Whether or not should show a undock icon.",name:"undock",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Dock/index.tsx#Dock"]={docgenInfo:Dock.__docgenInfo,name:"Dock",path:"src/components/ui/icons/Dock/index.tsx#Dock"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Document/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Document=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M16.042 18H7.959C7.43 18 7 17.57 7 17.042V6.959C7 6.431 7.43 6 7.959 6h5.461v2.131c0 .899.732 1.632 1.632 1.632H17v7.279c0 .528-.43.958-.958.958zm.63-9.293c.014.017.019.038.033.056h-1.653c-.348 0-.632-.284-.632-.632V6.2c.125.074.243.163.34.277l1.912 2.23zm.759-.65L15.52 5.826C15.069 5.301 14.416 5 13.725 5H7.959C6.878 5 6 5.879 6 6.959v10.083C6 18.122 6.878 19 7.959 19h8.083c1.08 0 1.958-.878 1.958-1.958V9.595c0-.564-.202-1.11-.569-1.538z"})});Document.displayName="Document",Document.displayName="Document";const __WEBPACK_DEFAULT_EXPORT__=Document;try{Document.displayName="Document",Document.__docgenInfo={description:"",displayName:"Document",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Document/index.tsx#Document"]={docgenInfo:Document.__docgenInfo,name:"Document",path:"src/components/ui/icons/Document/index.tsx#Document"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Dots/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Dots=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 4c4.418 0 8 3.582 8 8s-3.582 8-8 8-8-3.582-8-8 3.582-8 8-8zm0 1c-3.86 0-7 3.14-7 7 0 3.859 3.14 7 7 7 3.859 0 7-3.141 7-7 0-3.86-3.141-7-7-7zm-3 6c.552 0 1 .448 1 1s-.448 1-1 1-1-.448-1-1 .448-1 1-1zm6 0c.553 0 1 .448 1 1s-.447 1-1 1c-.553 0-1-.448-1-1s.447-1 1-1zm-3 0c.552 0 1 .448 1 1s-.448 1-1 1-1-.448-1-1 .448-1 1-1z"})});Dots.displayName="Dots",Dots.displayName="Dots";const __WEBPACK_DEFAULT_EXPORT__=Dots;try{Dots.displayName="Dots",Dots.__docgenInfo={description:"",displayName:"Dots",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Dots/index.tsx#Dots"]={docgenInfo:Dots.__docgenInfo,name:"Dots",path:"src/components/ui/icons/Dots/index.tsx#Dots"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/DropToAttach/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const DropToAttach=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,viewBox:"0 0 130 130",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{fill:"#FFF",d:"M65.43 29.094L65.903 39.871 74.377 40.564 60.598 57.243 60.04 46.147 51.452 45.361 64.931 28.57z",transform:"translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{fill:"#075FFF",d:"M64.961 29.412L52.258 44.977l7.018.038c.828 0 1.502.673 1.502 1.501v9.852l12.706-15.537h-7.02c-.829 0-1.503-.673-1.503-1.502v-9.917zM60.78 57.87c-.178 0-.359-.032-.534-.1-.587-.222-.967-.773-.967-1.402v-9.852h-7.034c-.602 0-1.129-.342-1.375-.89-.247-.55-.152-1.17.248-1.62l12.701-15.567c.438-.494 1.09-.652 1.676-.43.587.223.967.774.967 1.403v9.917l7.023.002c.604 0 1.132.342 1.38.893.247.551.152 1.173-.249 1.625L61.92 57.343c-.307.345-.718.527-1.14.527z",transform:"translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{fill:"#FFF",d:"M91.059 29.729L92.616 26.084 97.976 31.805 91.896 33.737 91.517 31.805z",transform:"translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{fill:"#075FFF",d:"M90.539 18.583c1.533-.23 3.08-.148 4.596.242 6.188 1.593 9.927 7.924 8.334 14.113-1.042 4.051-4.203 7.236-8.25 8.313-.938.251-1.907.382-2.88.389-.417 0-.753-.332-.756-.745-.003-.414.33-.752.745-.755.846-.006 1.689-.12 2.506-.338 3.523-.938 6.275-3.712 7.182-7.238.672-2.61.287-5.325-1.083-7.646-1.37-2.321-3.562-3.968-6.172-4.64-1.32-.34-2.666-.41-4.001-.212-.408.065-.791-.221-.852-.631-.061-.409.22-.791.63-.852zm1.831 6.982c.65-.152 1.331.07 1.768.58l3.464 4.047c.38.443.52 1.046.374 1.613-.145.567-.559 1.027-1.107 1.233l-3.982 1.493c-.086.032-.176.048-.263.048-.304 0-.589-.186-.702-.487-.146-.388.05-.82.44-.966l3.981-1.493c.124-.047.167-.146.181-.202.014-.055.025-.163-.06-.263l-3.466-4.046c-.1-.118-.223-.11-.289-.095-.065.015-.179.062-.217.213l-.603 2.34c-.104.402-.512.644-.914.54-.4-.103-.642-.512-.539-.913l.602-2.341c.168-.65.678-1.15 1.332-1.301z",transform:"translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M70.507 8.38c2.633 0 5.125 1.146 6.838 3.144l8.47 9.883c1.399 1.631 2.169 3.712 2.169 5.861v32.995c0 3.977-3.235 7.211-7.211 7.211H44.96c-3.976 0-7.211-3.234-7.211-7.211V15.591c0-3.976 3.235-7.211 7.21-7.211zm0 1.5H44.96c-3.15 0-5.711 2.562-5.711 5.711v44.672c0 3.149 2.562 5.711 5.71 5.711h35.813c3.149 0 5.71-2.562 5.71-5.711V27.268c0-.242-.013-.483-.036-.722h-10.06c-3.177 0-5.763-2.586-5.763-5.764V9.886c-.04 0-.078-.006-.117-.006zm-45.95-5.234c1.732-.217 3.492.19 4.954 1.187l5.185 3.906c.33.249.397.719.148 1.05-.25.33-.72.396-1.05.148l-5.157-3.885c-.955-.65-2.092-.978-3.246-.964l2.134 7.89c.456 1.688 2.2 2.69 3.888 2.233.397-.11.81.128.92.529.108.4-.13.81-.53.92-.405.11-.814.162-1.217.162-2.057 0-3.947-1.372-4.51-3.452l-2.182-8.071-19.212 5.194c-1.11.3-2.035 1.014-2.608 2.01-.572.997-.722 2.157-.422 3.266l9.117 33.719c.618 2.29 2.987 3.647 5.275 3.03l17.509-4.28c.403-.098.81.148.907.55.099.402-.148.809-.55.907L16.418 54.97c-.5.135-1.003.199-1.5.199-2.548 0-4.9-1.705-5.597-4.29L.204 17.16c-.404-1.495-.202-3.06.57-4.403.77-1.344 2.02-2.307 3.516-2.712l19.283-5.213c.173-.047.348-.078.522-.111.044-.022.083-.053.132-.066.112-.031.223-.03.33-.01zm55.34-.158c.822-3.19 4.085-5.12 7.28-4.298l20.016 5.152c2.103.541 3.858 1.97 4.816 3.92l4.644 9.452c.782 1.59.97 3.412.527 5.128l-6.656 25.854c-.398 1.546-1.374 2.845-2.749 3.658-.932.55-1.973.833-3.029.833-.5 0-1.003-.064-1.5-.192l-11.73-3.22c-.4-.103-.642-.513-.54-.914.105-.4.512-.64.915-.539l11.73 3.22c1.156.297 2.362.128 3.392-.48 1.03-.609 1.761-1.58 2.06-2.74l6.655-25.854c.037-.144.045-.29.071-.437l-7.734-1.99c-1.244-.32-2.288-1.106-2.94-2.21-.654-1.107-.837-2.4-.517-3.644l2.164-8.404-19.97-5.14c-2.39-.617-4.837.828-5.452 3.22l-.966 3.81c-.103.4-.512.643-.913.539-.4-.103-.642-.512-.539-.914zm-7.773 5.567v10.727c0 2.351 1.913 4.264 4.264 4.264h9.752c-.301-.971-.792-1.88-1.463-2.662l-8.471-9.883c-1.07-1.249-2.506-2.099-4.082-2.446zm36.054-2.717l-2.117 8.223c-.22.856-.094 1.745.355 2.506.45.76 1.167 1.3 2.023 1.521l7.446 1.917c-.06-.735-.248-1.459-.578-2.13l-4.644-9.452c-.546-1.11-1.42-2.004-2.485-2.585z",transform:"translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{fill:"#FFF",d:"M24.191 24.91L27.535 37.359 26.365 37.927 21.12 36.082 17.066 36.891 15.453 30.572 19.261 29.247 22.98 24.91z",transform:"translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{fill:"#075FFF",d:"M21.934 24.52c.467-.598 1.216-.876 1.967-.73.724.144 1.292.667 1.48 1.365l3.05 11.279c.189.698-.038 1.436-.592 1.924-.376.332-.846.505-1.324.505-.255 0-.513-.05-.76-.151l-4.436-1.586c-.161-.058-.342-.064-.51-.02l-2.833.768c-1.025.276-2.081-.314-2.353-1.317l-1.364-5.045c-.272-1.008.345-2.056 1.376-2.335l2.826-.764c.167-.045.319-.141.428-.271zm1.676.742c-.072-.014-.323-.043-.497.184l-.021.027-3.055 3.634c-.308.367-.718.627-1.185.754l-2.825.764c-.233.063-.377.285-.32.496l1.364 5.044c.056.205.284.32.514.26l2.833-.766c.204-.055.412-.083.619-.083.267 0 .533.046.787.137l4.469 1.6c.298.123.5-.03.554-.08.074-.065.19-.206.136-.408l-3.05-11.28c-.054-.201-.226-.263-.323-.283zm5.45 1.149c.178-.374.627-.531 1-.352 1.302.624 2.261 1.768 2.632 3.137.37 1.37.117 2.84-.692 4.036-.145.214-.382.33-.622.33-.145 0-.29-.042-.42-.13-.343-.232-.433-.698-.2-1.041.564-.834.742-1.856.486-2.803-.257-.948-.925-1.741-1.833-2.177-.373-.18-.53-.627-.352-1z",transform:"translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("g",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("text",{transform:"translate(0 84)",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("tspan",{x:".14",y:"14",children:"Drop to attach file"})})})]});DropToAttach.displayName="DropToAttach",DropToAttach.displayName="DropToAttach";const __WEBPACK_DEFAULT_EXPORT__=DropToAttach;try{DropToAttach.displayName="DropToAttach",DropToAttach.__docgenInfo={description:"",displayName:"DropToAttach",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/DropToAttach/index.tsx#DropToAttach"]={docgenInfo:DropToAttach.__docgenInfo,name:"DropToAttach",path:"src/components/ui/icons/DropToAttach/index.tsx#DropToAttach"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Echo/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Echo=({muted=!1,poorConnection=!1,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...rest,children:poorConnection?muted?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12.463 18.992l.037 1c-.145.005-.29.008-.438.008-.19-.003-.361-.003-.54-.008l.033-1c.165.006.335.007.505.008.138 0 .271-.003.402-.008zM4.146 4.146c.194-.195.511-.195.707 0l2.228 2.229c-.005-.013-.014-.024-.02-.037l.913.912c-.016-.008-.03-.019-.045-.027l1.447 1.446.026.01 1.23 1.229-.021-.003 5.387 5.388v-.018l.298.297h.014l.537.538-.015.015 3.02 3.021c.195.195.195.512 0 .707-.098.098-.226.147-.354.147-.127 0-.255-.049-.352-.146L17 17.707v.11h-1v-.943h.169l-.09-.088c-.966.532-2.556.786-4.08.786-2.171 0-4.489-.512-4.92-1.622h-.08v-.943h1v.565c0 .256 1.375 1 4 1 1.57 0 2.682-.267 3.332-.535l-6.47-6.47C8 9.313 7.337 8.93 7.101 8.41H7v-.702L4.146 4.854c-.195-.196-.195-.513 0-.708zm5.616 14.647c.278.055.575.101.89.135l-.11.994c-.345-.038-.672-.087-.977-.149zm4.49-.005l.2.98c-.305.063-.632.114-.978.152l-.109-.994c.312-.034.61-.081.886-.138zm-6.05-.568c.17.123.417.243.716.346l-.328.945c-.396-.137-.724-.299-.974-.48zm7.604-.006l.596.803c-.246.184-.575.348-.974.488l-.332-.944c.3-.105.546-.226.71-.348zM8 16.895v.942H7v-.942h1zm0-3.772v.943H7v-.943h1zm9-.019v.943h-.813L16 13.86v-.756h1zm-9-1.866v.943H7v-.943h1zm9-.019v.942h-1v-.942h1zM8 9.352v.943H7v-.943h1zm9-.018v.942h-1v-.942h1zm0-1.886v.942h-.091c-.46 1.066-2.68 1.567-4.796 1.583l-1.03-1.03c.286.021.592.032.917.032 2.625 0 4-.743 4-1v-.527h1zM12 4c2.408 0 5 .626 5 2l-.001.005H17v.5h-.132C16.315 7.527 14.09 8 12 8c-.678 0-1.369-.052-2.014-.153L8.563 6.424C9.194 6.706 10.349 7 12 7c2.625 0 4-.743 4-1s-1.375-1-4-1c-2.372 0-3.712.604-3.95.91l-.702-.702C8.128 4.385 10.117 4 12 4zM9.892 5.648c.514 0 .931.142.931.318 0 .176-.417.317-.93.317-.515 0-.932-.141-.932-.317 0-.176.417-.318.931-.318zm4.328 0c.515 0 .932.142.932.318 0 .176-.417.317-.932.317-.513 0-.93-.141-.93-.317 0-.176.417-.318.93-.318z"}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12.46 18.992l.038 1c-.144.005-.29.008-.436.008-.181-.003-.362-.003-.54-.008l.03-1c.167.006.335.007.508.008.136 0 .27-.003.4-.008zm-2.697-.2c.277.056.573.102.887.136l-.109.994c-.345-.038-.673-.088-.979-.15zm4.488-.004l.201.98c-.305.063-.632.114-.978.152l-.109-.994c.312-.034.61-.081.886-.138zm-6.046-.568c.168.122.414.242.714.345l-.328.945c-.397-.137-.725-.299-.974-.48zm7.603-.008l.592.806c-.248.183-.576.346-.973.485l-.332-.942c.3-.105.546-.227.713-.35zM8 16.893v.942H7v-.942h1zm9-.017v.942h-1v-.942h1zm0-1.886v.942h-.071c-.415 1.121-2.744 1.64-4.929 1.64-2.173 0-4.489-.513-4.922-1.622H7v-.943h1v.564c0 .257 1.375 1 4 1s4-.743 4-1v-.58h1zm-9-1.869v.943H7v-.943h1zm9-.016v.942h-1v-.942h1zm-9-1.87v.943H7v-.943h1zm9-.016v.942h-1v-.942h1zM8 9.351v.943H7v-.943h1zm9-.017v.942h-1v-.942h1zm0-1.885v.942h-.092C16.44 9.475 14.149 9.976 12 9.976c-2.139 0-4.417-.495-4.901-1.567H7v-.944h1v.51c0 .258 1.375 1 4 1s4-.742 4-1V7.45h1zM12 4c2.408 0 5 .626 5 2l-.001.005H17v.5h-.132C16.315 7.527 14.09 8 12 8c-2.09 0-4.315-.473-4.868-1.495H7v-.5V6c0-1.374 2.592-2 5-2zm0 1c-2.625 0-4 .743-4 1s1.375 1 4 1 4-.743 4-1-1.375-1-4-1zm-2.107.647c.515 0 .932.143.932.318 0 .176-.417.319-.932.319-.515 0-.932-.143-.932-.319 0-.175.417-.317.932-.317zm4.329 0c.514 0 .93.143.93.318 0 .176-.416.319-.93.319-.515 0-.932-.143-.932-.319 0-.175.417-.317.932-.317z"}):muted?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M4.146 4.146c.196-.195.512-.195.708 0l15 15c.195.196.195.512 0 .708-.098.097-.226.146-.354.146-.128 0-.256-.049-.354-.146L17 17.707V18c0 1.374-2.592 2-5 2s-5-.626-5-2V7.707L4.146 4.854c-.195-.196-.195-.512 0-.708zM16 16.825c-.972.505-2.516.747-4 .747-1.479 0-3.025-.237-4-.738V18c0 .257 1.375 1 4 1s4-.743 4-1zM8 9.232v6.34c0 .257 1.375 1 4 1 1.569 0 2.682-.265 3.331-.534L8.86 9.567c-.317-.094-.608-.205-.86-.335zM12 4c2.409 0 5 .626 5 2v8.909l-1-1V9.237c-.96.494-2.474.73-3.934.738L11.03 8.939c.302.022.624.037.97.037 2.625 0 4-.743 4-1v-.714c-.974.5-2.52.738-4 .738-.698 0-1.41-.054-2.072-.163L8.463 6.372C9.063 6.669 10.246 7 12 7c2.625 0 4-.743 4-1s-1.375-1-4-1c-2.46 0-3.806.649-3.967.942L7.62 5.53l-.297-.296C8.088 4.393 10.099 4 12 4zM9.892 5.648c.515 0 .931.142.931.318 0 .176-.416.317-.93.317-.515 0-.932-.141-.932-.317 0-.176.417-.318.931-.318zm4.33 0c.513 0 .93.142.93.318 0 .176-.417.317-.93.317-.515 0-.932-.141-.932-.317 0-.176.417-.318.931-.318z"}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 4c2.408 0 5 .626 5 2v12c0 1.374-2.592 2-5 2s-5-.626-5-2V6c0-1.374 2.592-2 5-2zm4 12.834c-.975.5-2.521.739-4 .739s-3.025-.238-4-.74V18c0 .257 1.375 1 4 1s4-.743 4-1zm0-7.595c-.975.5-2.521.738-4 .738s-3.025-.237-4-.738v6.334c0 .257 1.375 1 4 1s4-.743 4-1zm0-1.977c-.975.5-2.521.738-4 .738s-3.025-.237-4-.738v.715c0 .257 1.375 1 4 1s4-.743 4-1zM12 5c-2.625 0-4 .744-4 1 0 .257 1.375 1 4 1s4-.743 4-1c0-.256-1.375-1-4-1zm-2.108.648c.515 0 .932.143.932.32 0 .173-.417.316-.932.316-.514 0-.931-.143-.931-.317 0-.176.417-.319.93-.319zm4.329 0c.515 0 .932.143.932.32 0 .173-.417.316-.932.316-.514 0-.931-.143-.931-.317 0-.176.417-.319.93-.319z"})});Echo.displayName="Echo",Echo.displayName="Echo";const __WEBPACK_DEFAULT_EXPORT__=Echo;try{Echo.displayName="Echo",Echo.__docgenInfo={description:"",displayName:"Echo",props:{muted:{defaultValue:{value:"false"},description:"",name:"muted",required:!1,type:{name:"boolean | undefined"}},poorConnection:{defaultValue:{value:"false"},description:"",name:"poorConnection",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Echo/index.tsx#Echo"]={docgenInfo:Echo.__docgenInfo,name:"Echo",path:"src/components/ui/icons/Echo/index.tsx#Echo"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/EmojiPicker/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const EmojiPicker=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8zm0 1c-3.859 0-7 3.141-7 7s3.141 7 7 7 7-3.141 7-7-3.141-7-7-7zm3 8c0 1.657-1.343 3-3 3s-3-1.343-3-3zm-5-4.267c.414 0 .75.336.75.75s-.336.75-.75.75-.75-.336-.75-.75.336-.75.75-.75zm4 0c.414 0 .75.336.75.75s-.336.75-.75.75-.75-.336-.75-.75.336-.75.75-.75z"})});EmojiPicker.displayName="EmojiPicker",EmojiPicker.displayName="EmojiPicker";const __WEBPACK_DEFAULT_EXPORT__=EmojiPicker;try{EmojiPicker.displayName="EmojiPicker",EmojiPicker.__docgenInfo={description:"",displayName:"EmojiPicker",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/EmojiPicker/index.tsx#EmojiPicker"]={docgenInfo:EmojiPicker.__docgenInfo,name:"EmojiPicker",path:"src/components/ui/icons/EmojiPicker/index.tsx#EmojiPicker"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Eye/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Eye=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12.006 7c2.627 0 4.897 1.813 6.339 3.334.888.934.888 2.398 0 3.332-1.442 1.52-3.712 3.334-6.34 3.334-2.626 0-4.897-1.813-6.34-3.335-.887-.933-.887-2.396.002-3.331C7.107 8.814 9.379 7 12.006 7zm0 1c-2.392 0-4.544 1.893-5.614 3.023-.512.539-.512 1.415-.001 1.954 1.07 1.13 3.223 3.022 5.615 3.022 2.39 0 4.544-1.893 5.613-3.022.513-.539.513-1.415 0-1.954C16.55 9.893 14.398 8 12.007 8zm0 1c1.653 0 3 1.346 3 3s-1.347 3-3 3c-1.655 0-3-1.346-3-3s1.345-3 3-3zm0 1c-1.104 0-2 .897-2 2s.896 2 2 2c1.102 0 2-.897 2-2s-.898-2-2-2z"})});Eye.displayName="Eye";const __WEBPACK_DEFAULT_EXPORT__=Eye;try{Eye.displayName="Eye",Eye.__docgenInfo={description:"",displayName:"Eye",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Eye/index.tsx#Eye"]={docgenInfo:Eye.__docgenInfo,name:"Eye",path:"src/components/ui/icons/Eye/index.tsx#Eye"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Feedback/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Feedback=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M11.434 5c.276 0 .5.224.5.5 0 .277-.224.5-.5.5H8.967C7.331 6 6 7.33 6 8.968v6.067C6 16.67 7.331 18 8.967 18h6.066C16.669 18 18 16.67 18 15.034v-2.467c0-.276.224-.5.5-.5s.5.224.5.5v2.467C19 17.22 17.221 19 15.033 19H8.967C6.779 19 5 17.22 5 15.034V8.967C5 6.78 6.779 5 8.967 5zm4.305.434c.565-.564 1.468-.58 2.014-.034l.848.848c.258.257.399.604.399.975 0 .386-.158.764-.433 1.04l-4.271 4.27c-.612.612-1.378 1.019-2.217 1.176l-.953.179c-.05.01-.1.014-.151.014-.21 0-.412-.08-.563-.226-.187-.181-.275-.445-.235-.706l.143-.953c.132-.884.558-1.723 1.2-2.365zM16.778 6h-.012c-.12.003-.232.053-.32.14l-.39.39.707.707c.195.195.195.512 0 .707-.098.098-.226.147-.353.147-.128 0-.256-.05-.354-.147l-.707-.707-3.121 3.122c-.492.49-.818 1.132-.92 1.805l-.103.69.69-.128c.64-.12 1.225-.432 1.694-.901l4.27-4.271c.09-.09.14-.21.14-.332 0-.104-.037-.2-.105-.268l-.848-.848c-.07-.07-.164-.106-.268-.106z"})});Feedback.displayName="Feedback",Feedback.displayName="Feedback";const __WEBPACK_DEFAULT_EXPORT__=Feedback;try{Feedback.displayName="Feedback",Feedback.__docgenInfo={description:"",displayName:"Feedback",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Feedback/index.tsx#Feedback"]={docgenInfo:Feedback.__docgenInfo,name:"Feedback",path:"src/components/ui/icons/Feedback/index.tsx#Feedback"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Hamburger/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Hamburger=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8zm0 1c-3.859 0-7 3.14-7 7s3.141 7 7 7 7-3.14 7-7-3.141-7-7-7zm3.5 8.5c.276 0 .5.224.5.5 0 .245-.177.45-.41.492l-.09.008h-7c-.276 0-.5-.224-.5-.5 0-.245.177-.45.41-.492l.09-.008h7zm-1-2c.276 0 .5.224.5.5 0 .245-.177.45-.41.492l-.09.008h-6c-.276 0-.5-.224-.5-.5 0-.245.177-.45.41-.492l.09-.008h6zm1-2c.276 0 .5.224.5.5 0 .245-.177.45-.41.492l-.09.008h-7c-.276 0-.5-.224-.5-.5 0-.245.177-.45.41-.492L8.5 9.5h7z"})});Hamburger.displayName="Hamburger",Hamburger.displayName="Hamburger";const __WEBPACK_DEFAULT_EXPORT__=Hamburger;try{Hamburger.displayName="Hamburger",Hamburger.__docgenInfo={description:"",displayName:"Hamburger",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Hamburger/index.tsx#Hamburger"]={docgenInfo:Hamburger.__docgenInfo,name:"Hamburger",path:"src/components/ui/icons/Hamburger/index.tsx#Hamburger"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/HandRaise/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>icons_HandRaise});__webpack_require__("./node_modules/react/index.js");var Svg=__webpack_require__("./src/components/ui/icons/Svg.tsx");const StyledCircle=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js").ZP.circle` + fill: ${props=>props.theme.colors.primary.main}; +`;try{StyledCircle.displayName="StyledCircle",StyledCircle.__docgenInfo={description:"",displayName:"StyledCircle",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: SVGCircleElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/HandRaise/Styled.tsx#StyledCircle"]={docgenInfo:StyledCircle.__docgenInfo,name:"StyledCircle",path:"src/components/ui/icons/HandRaise/Styled.tsx#StyledCircle"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const HandRaise=({isRaised,...rest})=>(0,jsx_runtime.jsxs)(Svg.Z,{...rest,children:[isRaised&&(0,jsx_runtime.jsx)(StyledCircle,{id:"Circle",cx:"12",cy:"12",r:"10"}),(0,jsx_runtime.jsx)("path",{d:"M6.386 12.04c-.11 0-.218.055-.317.163-.156.17-.05.694.213 1.059l1.804 2.467c.026.038.763 1.175 1.947 1.933.626.399 3.462 1.309 5.433-.303.76-.621 1.161-1.924 1.161-3.772V8.326c0-.388-.233-.728-.5-.728-.27 0-.5.334-.5.728v3.053c0 .276-.223.5-.5.5-.276 0-.5-.224-.5-.5V6.386c0-.343-.228-.632-.5-.632-.27 0-.5.289-.5.632v4.935c0 .277-.223.5-.5.5-.276 0-.5-.223-.5-.5V5.633c0-.343-.228-.633-.5-.633-.275 0-.5.284-.5.633v5.618c0 .276-.223.5-.5.5-.276 0-.5-.224-.5-.5v-4.19c0-.395-.228-.729-.5-.729-.27 0-.5.334-.5.729v6.824c0 .276-.223.5-.5.5-.138 0-.33-.058-.425-.158l-1.356-1.452c-.367-.469-.7-.724-.946-.735h-.014zm6.29 7.251c-1.42 0-2.667-.458-3.182-.787-1.376-.88-2.199-2.157-2.233-2.211L5.474 13.85c-.487-.673-.7-1.714-.142-2.323.303-.33.693-.51 1.11-.486.562.023 1.123.389 1.664 1.086l.521.557V7.061c0-.954.673-1.729 1.5-1.729.18 0 .352.036.511.104.09-.808.724-1.436 1.49-1.436.59 0 1.103.374 1.347.916.197-.104.42-.162.652-.162.827 0 1.5.732 1.5 1.632v.31c.156-.063.325-.098.5-.098.827 0 1.5.775 1.5 1.728v5.261c0 2.188-.514 3.718-1.528 4.547-1.064.869-2.298 1.157-3.424 1.157z",fill:isRaised?"white":""})]});HandRaise.displayName="HandRaise",HandRaise.displayName="HandRaise";const icons_HandRaise=HandRaise;try{HandRaise.displayName="HandRaise",HandRaise.__docgenInfo={description:"",displayName:"HandRaise",props:{isRaised:{defaultValue:null,description:"Whether or not should show a raised icon.",name:"isRaised",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/HandRaise/index.tsx#HandRaise"]={docgenInfo:HandRaise.__docgenInfo,name:"HandRaise",path:"src/components/ui/icons/HandRaise/index.tsx#HandRaise"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Information/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Information=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8zm0 1c-3.859 0-7 3.141-7 7s3.141 7 7 7 7-3.141 7-7-3.141-7-7-7zm.016 6.476c.276 0 .5.224.5.5v2.498c0 .276-.224.5-.5.5s-.5-.224-.5-.5v-2.498c0-.276.224-.5.5-.5zM12 8.709c.414 0 .75.335.75.75 0 .414-.336.75-.75.75s-.75-.336-.75-.75c0-.415.336-.75.75-.75z"})});Information.displayName="Information",Information.displayName="Information";const __WEBPACK_DEFAULT_EXPORT__=Information;try{Information.displayName="Information",Information.__docgenInfo={description:"",displayName:"Information",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Information/index.tsx#Information"]={docgenInfo:Information.__docgenInfo,name:"Information",path:"src/components/ui/icons/Information/index.tsx#Information"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Laptop/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Laptop=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M19.5 17c.276 0 .5.224.5.5s-.224.5-.5.5h-15c-.276 0-.5-.224-.5-.5s.224-.5.5-.5zM17 6c1.103 0 2 .897 2 2v6c0 1.103-.897 2-2 2H7c-1.103 0-2-.897-2-2V8c0-1.103.897-2 2-2zm0 1H7c-.552 0-1 .449-1 1v6c0 .551.448 1 1 1h10c.552 0 1-.449 1-1V8c0-.551-.448-1-1-1z"})});Laptop.displayName="Laptop",Laptop.displayName="Laptop";const __WEBPACK_DEFAULT_EXPORT__=Laptop;try{Laptop.displayName="Laptop",Laptop.__docgenInfo={description:"",displayName:"Laptop",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Laptop/index.tsx#Laptop"]={docgenInfo:Laptop.__docgenInfo,name:"Laptop",path:"src/components/ui/icons/Laptop/index.tsx#Laptop"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/LeaveMeeting/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const LeaveMeeting=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M14.407 5c2.405 0 4.384 1.91 4.495 4.289l.005.211v5c0 2.405-1.91 4.384-4.29 4.495l-.21.005h-2c-1.372 0-2.647-.625-3.498-1.676-.174-.215-.14-.53.074-.704.215-.173.53-.14.703.074.62.765 1.524 1.24 2.509 1.3l.212.006h2c1.86 0 3.394-1.473 3.494-3.309l.006-.191v-5c0-1.86-1.473-3.395-3.31-3.495L14.408 6h-2c-.936 0-1.817.374-2.472 1.029-.195.195-.512.195-.707 0-.195-.196-.195-.513 0-.708.785-.783 1.825-1.255 2.939-1.315l.24-.006h2zM8.682 8.843c.174.173.193.443.058.637l-.058.07-1.976 1.974h6.658c.276 0 .5.224.5.5 0 .246-.177.45-.41.492l-.09.008H6.707L8.682 14.5c.195.195.195.511 0 .707-.174.173-.443.193-.638.058l-.07-.058-2.828-2.83-.013-.013-.032-.038.045.052c-.027-.027-.05-.056-.07-.087l-.02-.035-.019-.041-.006-.016-.007-.019-.008-.03-.005-.02-.006-.032c-.003-.02-.005-.041-.005-.062v-.022c0-.022.002-.043.005-.064L5 12.024c0-.036.004-.071.01-.105l.013-.045c.004-.015.01-.03.016-.044l.006-.014.01-.023.013-.021.007-.012.013-.02.013-.018.032-.038.013-.013 2.829-2.829c.195-.195.512-.195.707 0z"})});LeaveMeeting.displayName="LeaveMeeting",LeaveMeeting.displayName="LeaveMeeting";const __WEBPACK_DEFAULT_EXPORT__=LeaveMeeting;try{LeaveMeeting.displayName="LeaveMeeting",LeaveMeeting.__docgenInfo={description:"",displayName:"LeaveMeeting",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/LeaveMeeting/index.tsx#LeaveMeeting"]={docgenInfo:LeaveMeeting.__docgenInfo,name:"LeaveMeeting",path:"src/components/ui/icons/LeaveMeeting/index.tsx#LeaveMeeting"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Like/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Like=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M18.977 12.053l-1.29 4.575C17.528 17.422 16.818 18 16 18H9.126c-.197 0-.357-.158-.357-.352V11.385l3.034-5.353c.123-.044.45-.069.76.105.479.271.732.897.733 1.842l.089 1.43c.02.45.389.803.84.803h3.194c.479 0 .926.211 1.228.58.298.364.415.837.33 1.261M7.337 18h-1.99C5.156 18 5 17.843 5 17.652V12.1c0-.19.156-.347.347-.347h2.037c.212 0 .385.173.385.385v5.431c0 .237-.193.43-.431.43m12.082-7.84c-.492-.602-1.22-.947-2.001-.947h-3.044l-.08-1.264c0-2.228-1.244-2.765-1.778-2.893-.577-.137-1.321-.028-1.55.423l-3.05 5.383c-.164-.069-.344-.108-.533-.108H5.347C4.605 10.753 4 11.358 4 12.1v5.552C4 18.394 4.605 19 5.347 19h1.99c.347 0 .66-.128.908-.333.238.204.544.333.88.333H16c1.29 0 2.413-.914 2.66-2.136l1.289-4.575c.153-.756-.04-1.53-.53-2.129"})});Like.displayName="Like",Like.displayName="Like";const __WEBPACK_DEFAULT_EXPORT__=Like;try{Like.displayName="Like",Like.__docgenInfo={description:"",displayName:"Like",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Like/index.tsx#Like"]={docgenInfo:Like.__docgenInfo,name:"Like",path:"src/components/ui/icons/Like/index.tsx#Like"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/ListHandRasie/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ListHandRaise=({...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...rest,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M16.06 10.682c1.623 0 2.943 1.32 2.943 2.942v3.434c0 1.622-1.32 2.942-2.942 2.942h-3.34c-1.623 0-2.944-1.32-2.944-2.942v-3.434c0-1.622 1.32-2.942 2.944-2.942zm0 1h-3.34c-1.072 0-1.944.87-1.944 1.942v3.434c0 1.07.873 1.942 1.944 1.942h3.34c1.072 0 1.943-.871 1.943-1.942v-3.434c0-1.071-.872-1.942-1.942-1.942zm-.033 4.863c.276 0 .5.224.5.5 0 .245-.177.45-.41.492l-.09.008h-2.13c-.275 0-.5-.224-.5-.5 0-.245.178-.45.411-.492l.09-.008h2.129zm-3.109.146c.1.09.15.22.15.35 0 .07-.01.13-.04.19-.02.07-.06.12-.11.17-.09.09-.22.14-.35.14-.14 0-.26-.05-.35-.14-.05-.05-.09-.1-.11-.17-.03-.06-.04-.12-.04-.19 0-.13.05-.26.15-.35.18-.19.51-.19.7 0zm0-1.7c.1.09.15.221.15.351 0 .13-.05.26-.15.35-.09.1-.22.15-.35.15-.07 0-.13-.01-.19-.04-.07-.02-.12-.06-.16-.11-.1-.09-.15-.22-.15-.35 0-.07.01-.13.04-.19.02-.06.06-.12.11-.16.18-.19.521-.19.7 0zm-2.042-10.99c.485 0 .91.287 1.136.714.151-.064.314-.1.485-.1.68 0 1.24.566 1.304 1.286l.006.137v.123c.1-.029.203-.043.311-.043.68 0 1.24.597 1.304 1.359l.006.144v1.625c0 .276-.223.5-.5.5-.245 0-.45-.177-.492-.41l-.008-.09V7.621c0-.288-.164-.503-.31-.503-.13 0-.275.17-.305.41l-.006.093v1.674c0 .277-.223.5-.5.5-.245 0-.45-.176-.492-.41l-.008-.09V6.038c0-.23-.142-.423-.31-.423-.147 0-.275.148-.305.34l-.006.083V9.25c0 .276-.224.5-.5.5-.245 0-.45-.177-.492-.41l-.008-.09V5.423c0-.229-.142-.423-.31-.423-.147 0-.275.149-.305.34l-.006.083v3.768c0 .276-.224.5-.5.5-.245 0-.45-.177-.492-.41l-.008-.09V6.588c0-.287-.164-.5-.311-.5-.13 0-.274.168-.304.408l-.006.092v5.567c0 .276-.224.5-.5.5-.111 0-.249-.037-.348-.104l-.066-.056-1.1-1.185c-.403-.519-.637-.565-.7-.568-.026.001-.098-.003-.194.101-.07.078-.04.38.116.65l.064.1 1.461 2.012c.002.002.493.657 1.227 1.38.197.192.199.51.006.706-.098.1-.228.15-.357.15-.127 0-.253-.048-.35-.144-.745-.732-1.248-1.388-1.322-1.487l-.009-.012-1.466-2.019c-.426-.592-.599-1.47-.11-2.009.267-.292.609-.456.975-.427.438.018.87.272 1.284.754l.137.168.252.27V6.588c0-.828.588-1.5 1.31-1.5.117 0 .23.016.337.05C9.714 4.488 10.244 4 10.876 4zm4.318 10.84c.276 0 .5.224.5.5 0 .245-.177.45-.41.492l-.09.008h-1.296c-.276 0-.5-.224-.5-.5 0-.246.177-.45.41-.492l.09-.008h1.296zm-2.276-1.56c.1.101.15.22.15.36 0 .13-.05.25-.15.35-.09.09-.22.15-.35.15-.14 0-.26-.06-.35-.15-.1-.09-.15-.22-.15-.35 0-.07.01-.14.04-.2.02-.059.06-.11.11-.16.18-.18.521-.18.7 0zm3.294-.143c.276 0 .5.224.5.5 0 .245-.177.45-.41.492l-.09.008h-2.314c-.277 0-.5-.224-.5-.5 0-.246.177-.45.41-.492l.09-.008h2.314z"})});ListHandRaise.displayName="ListHandRaise",ListHandRaise.displayName="ListHandRaise";const __WEBPACK_DEFAULT_EXPORT__=ListHandRaise;try{ListHandRaise.displayName="ListHandRaise",ListHandRaise.__docgenInfo={description:"",displayName:"ListHandRaise",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/ListHandRasie/index.tsx#ListHandRaise"]={docgenInfo:ListHandRaise.__docgenInfo,name:"ListHandRaise",path:"src/components/ui/icons/ListHandRasie/index.tsx#ListHandRaise"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Lock/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Lock=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 5c2.206 0 4 1.696 4 3.78v.924c1.153.356 2 1.418 2 2.687v3.786C18 17.734 16.733 19 15.177 19H8.823C7.267 19 6 17.734 6 16.177V12.39c0-1.27.847-2.331 2-2.687V8.78C8 6.696 9.794 5 12 5zm3.177 5.568H8.823C7.818 10.568 7 11.386 7 12.39v3.786C7 17.182 7.818 18 8.823 18h6.354C16.182 18 17 17.182 17 16.177V12.39c0-1.005-.818-1.823-1.823-1.823zm-3.186 2.831c.276 0 .5.224.5.5v1.066c0 .277-.224.5-.5.5s-.5-.223-.5-.5V13.9c0-.276.224-.5.5-.5zM12 6c-1.654 0-3 1.248-3 2.78v.789h6V8.78C15 7.247 13.654 6 12 6z"})});Lock.displayName="Lock",Lock.displayName="Lock";const __WEBPACK_DEFAULT_EXPORT__=Lock;try{Lock.displayName="Lock",Lock.__docgenInfo={description:"",displayName:"Lock",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Lock/index.tsx#Lock"]={docgenInfo:Lock.__docgenInfo,name:"Lock",path:"src/components/ui/icons/Lock/index.tsx#Lock"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Meeting/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Meeting=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 14c.276 0 .5.224.5.5 0 .277-.224.5-.5.5-1.103 0-2 .897-2 2s.897 2 2 2c.806 0 1.529-.48 1.844-1.221.107-.256.398-.372.655-.266.254.108.373.4.265.655C14.293 19.28 13.208 20 12 20c-1.654 0-3-1.345-3-3 0-1.654 1.346-3 3-3zm5.504-4.5c.106-.256.398-.375.654-.269 1.12.47 1.842 1.556 1.842 2.77 0 1.653-1.346 3-3 3-1.655 0-3-1.347-3-3 0-.278.223-.5.5-.5.276 0 .5.222.5.5 0 1.102.897 2 2 2 1.102 0 2-.898 2-2 0-.81-.483-1.535-1.229-1.847-.255-.107-.374-.4-.267-.655zM7 9c1.654 0 3 1.346 3 3 0 .276-.224.5-.5.5S9 12.276 9 12c0-1.103-.897-2-2-2s-2 .897-2 2c0 .872.557 1.637 1.385 1.903.262.085.407.367.322.63-.068.212-.265.346-.476.346-.05 0-.102-.007-.153-.024C4.835 14.455 4 13.308 4 12c0-1.654 1.346-3 3-3zm5-5c1.654 0 3 1.346 3 3s-1.346 3-3 3c-.277 0-.5-.224-.5-.5 0-.277.223-.5.5-.5 1.102 0 2-.897 2-2s-.898-2-2-2c-.825 0-1.577.517-1.87 1.287-.099.26-.389.388-.646.29-.258-.1-.387-.389-.288-.647C9.636 4.776 10.763 4 12 4z"})});Meeting.displayName="Meeting",Meeting.displayName="Meeting";const __WEBPACK_DEFAULT_EXPORT__=Meeting;try{Meeting.displayName="Meeting",Meeting.__docgenInfo={description:"",displayName:"Meeting",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Meeting/index.tsx#Meeting"]={docgenInfo:Meeting.__docgenInfo,name:"Meeting",path:"src/components/ui/icons/Meeting/index.tsx#Meeting"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Microphone/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>icons_Microphone});__webpack_require__("./node_modules/react/index.js");var styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),Svg=__webpack_require__("./src/components/ui/icons/Svg.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const SvgWithoutMicrophoneProps=({poorConnection,muted,...rest})=>(0,jsx_runtime.jsx)(Svg.Z,{...rest});SvgWithoutMicrophoneProps.displayName="SvgWithoutMicrophoneProps";const StyledSvg=(0,styled_components_browser_esm.ZP)(SvgWithoutMicrophoneProps)` + ${props=>props.poorConnection?`color: ${props.theme.colors.error.light}`:""} +`;try{StyledSvg.displayName="StyledSvg",StyledSvg.__docgenInfo={description:"",displayName:"StyledSvg",props:{css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},muted:{defaultValue:null,description:"Whether or not should show muted status.",name:"muted",required:!1,type:{name:"boolean | undefined"}},poorConnection:{defaultValue:null,description:"Whether or not should show poor connected status.",name:"poorConnection",required:!1,type:{name:"boolean | undefined"}},mutedTitle:{defaultValue:null,description:"Title attribute for the icon when muted, it defaults to `Muted microphone`",name:"mutedTitle",required:!1,type:{name:"string | undefined"}},unmutedTitle:{defaultValue:null,description:"Title attribute for the icon when unmuted, it defaults to `Microphone`",name:"unmutedTitle",required:!1,type:{name:"string | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Microphone/Styled.tsx#StyledSvg"]={docgenInfo:StyledSvg.__docgenInfo,name:"StyledSvg",path:"src/components/ui/icons/Microphone/Styled.tsx#StyledSvg"})}catch(__react_docgen_typescript_loader_error){}const Microphone=({muted=!1,poorConnection=!1,mutedTitle="Muted microphone",unmutedTitle="Microphone",...rest})=>{const iconPath=function getPath(muted,poorConnection){return muted?poorConnection?"M4.146 4.146c.196-.195.513-.195.708 0L9.168 8.46h.018l.813.815v.018l5.854 5.854c.002-.005.005-.008.008-.01l.724.724-.008.01 3.276 3.275c.195.195.195.512 0 .707-.098.098-.226.147-.354.147-.127 0-.255-.049-.352-.146l-3.281-3.281C14.82 17.459 13.475 18 11.998 18c-3.308 0-6-2.691-6-6 0-.277.224-.5.5-.5.278 0 .5.223.5.5 0 2.757 2.244 5 5 5 1.2 0 2.29-.436 3.147-1.146l-1.439-1.438c-.14.105-.287.207-.445.285l-.447-.895c.062-.03.116-.073.174-.11l-2.99-2.989v.941H9v-1.063h.88L4.147 4.853c-.196-.194-.196-.511 0-.707zM14.5 19c.276 0 .5.224.5.5s-.224.5-.5.5h-5c-.276 0-.5-.224-.5-.5s.224-.5.5-.5zm3-7.5c.276 0 .5.224.5.5 0 1.106-.307 2.14-.83 3.031l-.748-.748c.357-.687.578-1.456.578-2.283 0-.276.224-.5.5-.5zm-6.293 2.317c.25.121.517.183.793.183l.016 1.001-.098-.008c-.359-.012-.76-.089-1.147-.275zm-1.085-1.278c.093.282.234.536.42.757l-.766.644c-.267-.319-.47-.685-.603-1.089zM15 11.618v.155c0 .325-.051.643-.139.95l-.867-.868c.001-.027.006-.055.006-.082v-.155h1zm0-2.126v1.062h-1V9.492h1zm0-2.125v1.062h-1V7.367h1zM9.155 6.201l.955.297c-.073.235-.11.48-.11.73v.17h-.463l-.512-.512c.024-.232.061-.463.13-.685zm5.079-1.128c.268.321.469.689.599 1.093l-.951.307c-.091-.283-.231-.537-.415-.759zm-3.514-.765l.453.891c-.246.126-.474.312-.656.535l-.776-.63c.274-.338.603-.604.979-.796zM12 4c.434 0 .853.098 1.245.29l-.44.897C12.553 5.064 12.282 5 12 5l-.031-1z":"M14.5 19c.276 0 .5.224.5.5s-.224.5-.5.5h-5c-.276 0-.5-.224-.5-.5s.224-.5.5-.5zM4.146 4.146c.196-.195.512-.195.708 0l15 15c.195.196.195.512 0 .708-.098.097-.226.146-.354.146-.128 0-.256-.049-.354-.146l-3.282-3.283C14.819 17.458 13.475 18 12 18c-3.309 0-6-2.691-6-6 0-.276.224-.5.5-.5s.5.224.5.5c0 2.757 2.243 5 5 5 1.199 0 2.288-.437 3.146-1.146l-1.452-1.453c-.483.366-1.058.599-1.694.599-1.654 0-3-1.448-3-3.228V9.707L4.146 4.854c-.195-.196-.195-.512 0-.708zM17.5 11.5c.276 0 .5.224.5.5 0 1.112-.31 2.152-.84 3.046l-.747-.746c.362-.693.587-1.467.587-2.3 0-.276.224-.5.5-.5zm-7.5-.793v1.065c0 1.229.897 2.228 2 2.228.362 0 .7-.111.992-.301L10 10.707zm2-6.708c1.654 0 3 1.45 3 3.228v4.546c0 .337-.062.655-.151.962l-.859-.858.01-.104V7.228C14 5.998 13.103 5 12 5s-2 .998-2 2.228v.658l-.971-.97C9.178 5.284 10.445 3.998 12 3.998z":poorConnection?"M14.5 19c.276 0 .5.224.5.5s-.224.5-.5.5h-5c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h5zm3-7.5c.276 0 .5.224.5.5 0 3.309-2.691 6-6 6s-6-2.691-6-6c0-.276.224-.5.5-.5s.5.224.5.5c0 2.757 2.243 5 5 5s5-2.243 5-5c0-.276.224-.5.5-.5zm-6.293 2.318c.25.12.517.183.793.183l.013.958v-.46l.085.492H12.014c-.486-.002-.876-.096-1.242-.274l.435-.9zm2.268-.543l.77.637c-.275.335-.606.6-.983.79l-.447-.896c.25-.125.473-.303.66-.53zm-3.353-.736c.093.283.235.537.42.757l-.765.645c-.268-.32-.472-.687-.604-1.09l.949-.312zM15 11.619v.155c0 .359-.053.71-.16 1.043l-.953-.305c.075-.233.113-.482.113-.738v-.155h1zm-5-1.033v1.063H9v-1.063h1zm5-1.093v1.063h-1V9.492h1zm-5-1.03v1.062H9V8.46h1zm5-1.095V8.43h-1V7.367h1zM9.156 6.2l.955.3c-.074.232-.111.478-.111.728v.17H9v-.17c0-.351.053-.696.156-1.027zm5.08-1.127c.267.32.468.688.598 1.093l-.951.306c-.091-.282-.23-.537-.415-.759l.768-.64zm-3.516-.766l.453.891c-.246.126-.473.311-.656.535l-.775-.63c.273-.337.602-.603.978-.795zM12 4c.433 0 .852.098 1.245.29l-.44.899C12.55 5.064 12.28 5 12 5l-.031-1h.03z":"M14.5 19c.276 0 .5.224.5.5s-.224.5-.5.5h-5c-.276 0-.5-.224-.5-.5s.224-.5.5-.5zm3-7.5c.276 0 .5.224.5.5 0 3.309-2.691 6-6 6s-6-2.691-6-6c0-.276.224-.5.5-.5s.5.224.5.5c0 2.757 2.243 5 5 5s5-2.243 5-5c0-.276.224-.5.5-.5zM12 4c1.654 0 3 1.448 3 3.227v4.546C15 13.552 13.654 15 12 15s-3-1.448-3-3.227V7.227C9 5.447 10.346 4 12 4zm0 1c-1.103 0-2 .999-2 2.227v4.546C10 13 10.897 14 12 14s2-1 2-2.227V7.227C14 5.999 13.103 5 12 5z"}(muted,poorConnection);return(0,jsx_runtime.jsx)(StyledSvg,{...rest,muted,poorConnection,title:muted?mutedTitle:unmutedTitle,"data-testid":poorConnection?"poor-connection-mic":"good-connection-mic",children:(0,jsx_runtime.jsx)("path",{d:iconPath})})};Microphone.displayName="Microphone",Microphone.displayName="Microphone";const icons_Microphone=Microphone;try{Microphone.displayName="Microphone",Microphone.__docgenInfo={description:"",displayName:"Microphone",props:{muted:{defaultValue:{value:"false"},description:"Whether or not should show muted status.",name:"muted",required:!1,type:{name:"boolean | undefined"}},poorConnection:{defaultValue:{value:"false"},description:"Whether or not should show poor connected status.",name:"poorConnection",required:!1,type:{name:"boolean | undefined"}},mutedTitle:{defaultValue:{value:"Muted microphone"},description:"Title attribute for the icon when muted, it defaults to `Muted microphone`",name:"mutedTitle",required:!1,type:{name:"string | undefined"}},unmutedTitle:{defaultValue:{value:"Microphone"},description:"Title attribute for the icon when unmuted, it defaults to `Microphone`",name:"unmutedTitle",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Microphone/index.tsx#Microphone"]={docgenInfo:Microphone.__docgenInfo,name:"Microphone",path:"src/components/ui/icons/Microphone/index.tsx#Microphone"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Pause/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Pause=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8zm0 1c-3.859 0-7 3.141-7 7s3.141 7 7 7 7-3.141 7-7-3.141-7-7-7zm-2 3.663c.827 0 1.5.673 1.5 1.5v3.673c0 .827-.673 1.5-1.5 1.5s-1.5-.673-1.5-1.5v-3.673c0-.827.673-1.5 1.5-1.5zm4 0c.827 0 1.5.673 1.5 1.5v3.673c0 .827-.673 1.5-1.5 1.5s-1.5-.673-1.5-1.5v-3.673c0-.827.673-1.5 1.5-1.5zm-4 1c-.275 0-.5.225-.5.5v3.673c0 .275.225.5.5.5s.5-.225.5-.5v-3.673c0-.275-.225-.5-.5-.5zm4 0c-.275 0-.5.225-.5.5v3.673c0 .275.225.5.5.5s.5-.225.5-.5v-3.673c0-.275-.225-.5-.5-.5z"})});Pause.displayName="Pause",Pause.displayName="Pause";const __WEBPACK_DEFAULT_EXPORT__=Pause;try{Pause.displayName="Pause",Pause.__docgenInfo={description:"",displayName:"Pause",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Pause/index.tsx#Pause"]={docgenInfo:Pause.__docgenInfo,name:"Pause",path:"src/components/ui/icons/Pause/index.tsx#Pause"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Phone/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Phone=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M11.999 10.19c.738 0 3.194.089 3.792 1.241.08.158.117.315.138.418l.228 1.112c.033.167.116.318.239.438l.423.414c.349.341.919.343 1.27 0l.649-.635c.308-.3.347-.777.09-1.107-.776-1.005-2.696-2.698-6.83-2.771-4.132.073-6.052 1.766-6.828 2.77-.257.331-.218.808.09 1.108l.649.635c.349.341.919.343 1.27 0L7.6 13.4c.124-.121.207-.272.24-.438l.228-1.116c.02-.1.058-.257.137-.412.599-1.155 3.055-1.244 3.793-1.244m5.455 4.877c-.483 0-.966-.18-1.334-.539l-.422-.413c-.266-.26-.447-.59-.521-.953l-.23-1.115c-.008-.047-.022-.113-.046-.158-.145-.28-1.17-.699-2.902-.699-1.732 0-2.757.419-2.903.702-.023.042-.037.108-.046.152l-.23 1.119c-.073.362-.254.692-.521.953l-.421.412c-.736.719-1.932.719-2.668 0l-.65-.635c-.67-.656-.75-1.703-.181-2.435.887-1.146 3.056-3.08 7.61-3.158h.019c4.555.078 6.724 2.012 7.61 3.159.569.731.49 1.778-.181 2.434l-.65.635c-.367.359-.85.539-1.333.539"})});Phone.displayName="Phone",Phone.displayName="Phone";const __WEBPACK_DEFAULT_EXPORT__=Phone;try{Phone.displayName="Phone",Phone.__docgenInfo={description:"",displayName:"Phone",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Phone/index.tsx#Phone"]={docgenInfo:Phone.__docgenInfo,name:"Phone",path:"src/components/ui/icons/Phone/index.tsx#Phone"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Pin/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Pin=({unpin,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...rest,children:unpin?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M4.147 4.146c.195-.195.51-.195.707 0L14.707 14l.979.979 4.168 4.167c.195.196.195.512 0 .708-.098.097-.226.146-.354.146-.128 0-.256-.049-.353-.146L14.293 15h-1.791v3.5c0 .276-.224.5-.5.5s-.5-.224-.5-.5V15H8.474c-.583 0-1.096-.324-1.337-.845-.236-.507-.156-1.089.206-1.518l.977-1.157c.425-.47.58-1.151.604-1.849L4.147 4.854c-.196-.196-.196-.512 0-.708zM14.046 5c.01 0 .02.005.03.005.505.018.969.266 1.246.681.28.418.332.942.14 1.405 0 .005-1.024 3.009.212 4.376l.988 1.17c.363.428.442 1.01.206 1.518-.061.134-.141.253-.234.357l-.712-.71c.02-.028.032-.053.039-.067.034-.073.097-.264-.062-.452l-.978-1.157c-1.623-1.796-.444-5.244-.392-5.39.074-.183.056-.353-.038-.494-.103-.154-.272-.242-.464-.242H9.979c-.193 0-.362.088-.465.242-.094.141-.111.311-.047.468.018.05.133.388.244.88L8.446 6.324c.03-.223.106-.442.237-.638.287-.43.77-.686 1.296-.686zm-4.223 5.53c-.117.587-.337 1.151-.75 1.608l-.966 1.144c-.16.188-.097.379-.063.452.028.062.146.266.43.266h4.819z"}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M15.959 13.734c-.028.062-.146.266-.431.266H8.472c-.285 0-.402-.204-.431-.266-.033-.073-.096-.264.064-.452l.965-1.144c1.634-1.809.455-5.257.394-5.429-.065-.156-.047-.326.047-.467.103-.154.272-.242.465-.242h4.048c.193 0 .362.088.465.242.094.141.112.311.037.493-.051.146-1.23 3.594.393 5.39l.978 1.157c.159.187.096.38.062.452m.7-1.098l-.987-1.169c-1.236-1.368-.212-4.372-.212-4.376.19-.462.14-.987-.14-1.404-.278-.417-.741-.665-1.246-.682-.011 0-.02-.005-.03-.005H9.976c-.525 0-1.01.256-1.296.687-.28.417-.331.942-.15 1.378.293.838.828 3.263-.213 4.415l-.976 1.156c-.363.43-.443 1.012-.206 1.52.24.52.754.844 1.337.844H11.5v3.5c0 .276.224.5.5.5s.5-.224.5-.5V15h3.028c.583 0 1.096-.325 1.338-.845.236-.508.156-1.09-.206-1.519"})});Pin.displayName="Pin",Pin.displayName="Pin";const __WEBPACK_DEFAULT_EXPORT__=Pin;try{Pin.displayName="Pin",Pin.__docgenInfo={description:"",displayName:"Pin",props:{unpin:{defaultValue:null,description:"Whether or not should show a Unpin icon.",name:"unpin",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Pin/index.tsx#Pin"]={docgenInfo:Pin.__docgenInfo,name:"Pin",path:"src/components/ui/icons/Pin/index.tsx#Pin"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Play/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Play=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8zm0 1c-3.859 0-7 3.141-7 7s3.141 7 7 7 7-3.141 7-7-3.141-7-7-7zm-1.342 3.803c.402-.211.89-.181 1.265.083l3.02 2.113c.325.229.52.603.52 1 0 .4-.195.774-.52 1.002l-3.02 2.114c-.21.147-.455.22-.7.22-.194 0-.387-.045-.565-.137-.406-.211-.658-.627-.658-1.084V9.887c0-.457.252-.873.658-1.084zm.565.86c-.043 0-.08.014-.103.027-.045.023-.12.08-.12.197v4.227c0 .117.075.173.12.197.044.024.135.05.228-.015l3.02-2.113c.082-.058.095-.14.095-.183 0-.043-.013-.125-.095-.182l-3.02-2.114c-.043-.03-.086-.041-.125-.041z"})});Play.displayName="Play",Play.displayName="Play";const __WEBPACK_DEFAULT_EXPORT__=Play;try{Play.displayName="Play",Play.__docgenInfo={description:"",displayName:"Play",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Play/index.tsx#Play"]={docgenInfo:Play.__docgenInfo,name:"Play",path:"src/components/ui/icons/Play/index.tsx#Play"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Presenter/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Presenter=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12.966 10c1.662 0 3.013 1.343 3.034 3h.731c.425 0 .82.216 1.055.579.248.379.287.855.103 1.272l-1.237 3.804c-.069.211-.265.345-.476.345-.05 0-.103-.008-.155-.024-.263-.086-.405-.369-.32-.631l1.255-3.85c.064-.154.055-.274-.007-.37-.03-.047-.1-.125-.218-.125H7.276c-.118 0-.187.078-.218.125-.062.096-.07.216-.024.323l1.272 3.897c.085.262-.057.545-.32.631-.052.016-.104.024-.155.024-.21 0-.406-.134-.476-.345L6.1 14.804c-.166-.37-.127-.846.121-1.225.237-.363.63-.579 1.055-.579h.732c.02-1.657 1.372-3 3.034-3zm0 1h-1.924c-1.112 0-2.018.894-2.038 2h6c-.02-1.106-.927-2-2.038-2zm-.87-6c1.104 0 2 .897 2 2s-.896 2-2 2c-1.102 0-2-.897-2-2s.898-2 2-2zm0 1c-.551 0-1 .449-1 1 0 .551.449 1 1 1 .553 0 1-.449 1-1 0-.551-.447-1-1-1z"})});Presenter.displayName="Presenter",Presenter.displayName="Presenter";const __WEBPACK_DEFAULT_EXPORT__=Presenter;try{Presenter.displayName="Presenter",Presenter.__docgenInfo={description:"",displayName:"Presenter",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Presenter/index.tsx#Presenter"]={docgenInfo:Presenter.__docgenInfo,name:"Presenter",path:"src/components/ui/icons/Presenter/index.tsx#Presenter"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Record/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Record=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M17.073 7C18.136 7 19 7.864 19 8.926v7.021c0 1.062-.864 1.926-1.927 1.926H6.926C5.864 17.873 5 17.01 5 15.947v-7.02C5 7.863 5.864 7 6.926 7zm0 1H6.926C6.415 8 6 8.415 6 8.926v7.021c0 .511.415.926.926.926h10.147c.511 0 .927-.415.927-.926v-7.02c0-.512-.416-.927-.927-.927zm-2.533 2.367c1.142 0 2.07.929 2.07 2.07 0 1.14-.928 2.069-2.07 2.069H9.459c-1.141 0-2.069-.93-2.069-2.07 0-1.14.928-2.07 2.069-2.07 1.142 0 2.07.93 2.07 2.07 0 .393-.116.757-.306 1.07h1.554c-.19-.313-.306-.677-.306-1.07 0-1.14.928-2.07 2.069-2.07zm0 1c-.59 0-1.069.48-1.069 1.07 0 .59.479 1.069 1.069 1.069s1.07-.48 1.07-1.07c0-.59-.48-1.07-1.07-1.07zm-5.081 0c-.59 0-1.069.48-1.069 1.07 0 .59.479 1.069 1.069 1.069s1.07-.48 1.07-1.07c0-.59-.48-1.07-1.07-1.07z"})});Record.displayName="Record",Record.displayName="Record";const __WEBPACK_DEFAULT_EXPORT__=Record;try{Record.displayName="Record",Record.__docgenInfo={description:"",displayName:"Record",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Record/index.tsx#Record"]={docgenInfo:Record.__docgenInfo,name:"Record",path:"src/components/ui/icons/Record/index.tsx#Record"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Remove/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Remove=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M14.5 5C16.981 5 19 7.019 19 9.5v5c0 2.481-2.019 4.5-4.5 4.5h-5C7.019 19 5 16.981 5 14.5v-5C5 7.019 7.019 5 9.5 5zm0 1h-5C7.57 6 6 7.57 6 9.5v5C6 16.43 7.57 18 9.5 18h5c1.93 0 3.5-1.57 3.5-3.5v-5C18 7.57 16.43 6 14.5 6zM9.172 9.17c.195-.194.511-.194.707 0L12 11.293l2.121-2.121c.195-.195.512-.195.707 0 .195.195.195.512 0 .707L12.708 12l2.12 2.12c.195.197.195.513 0 .708-.098.098-.226.147-.354.147-.127 0-.255-.05-.353-.147l-2.12-2.121-2.122 2.12c-.098.099-.226.148-.354.148-.128 0-.256-.05-.353-.147-.196-.195-.196-.511 0-.707L11.293 12l-2.12-2.122c-.197-.195-.197-.512 0-.707z"})});Remove.displayName="Remove",Remove.displayName="Remove";const __WEBPACK_DEFAULT_EXPORT__=Remove;try{Remove.displayName="Remove",Remove.__docgenInfo={description:"",displayName:"Remove",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Remove/index.tsx#Remove"]={docgenInfo:Remove.__docgenInfo,name:"Remove",path:"src/components/ui/icons/Remove/index.tsx#Remove"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Rooms/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Rooms=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,title:"Rooms",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M15.962 6.99C17.637 6.99 19 8.353 19 10.028v3.623c0 1.675-1.363 3.038-3.038 3.038h-2.1c-1.356 0-3.433.663-4.537 1.448l-.994.706c-.146.103-.316.156-.487.156-.133 0-.266-.03-.389-.095-.28-.145-.455-.432-.455-.748v-8.128C7 8.353 8.363 6.99 10.038 6.99h5.924zm0 1h-5.924C8.914 7.99 8 8.904 8 10.028v7.824l.746-.529c1.266-.9 3.561-1.634 5.115-1.634h2.101c1.124 0 2.038-.914 2.038-2.038v-3.623c0-1.124-.914-2.038-2.038-2.038zM13.243 5c.277 0 .5.224.5.5s-.223.5-.5.5H8.497C7.12 6 6 7.12 6 8.497v6.627c0 .276-.224.5-.5.5s-.5-.224-.5-.5V8.497C5 6.568 6.568 5 8.497 5h4.746z"})});Rooms.displayName="Rooms",Rooms.displayName="Rooms";const __WEBPACK_DEFAULT_EXPORT__=Rooms;try{Rooms.displayName="Rooms",Rooms.__docgenInfo={description:"",displayName:"Rooms",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Rooms/index.tsx#Rooms"]={docgenInfo:Rooms.__docgenInfo,name:"Rooms",path:"src/components/ui/icons/Rooms/index.tsx#Rooms"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/ScreenShare/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ScreenShare=({title="Screen share",...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...rest,title,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M15.5 17c.276 0 .5.224.5.5s-.224.5-.5.5h-7c-.276 0-.5-.224-.5-.5s.224-.5.5-.5zM18 6c1.103 0 2 .897 2 2v6c0 1.103-.897 2-2 2H6c-1.103 0-2-.897-2-2V8c0-1.103.897-2 2-2zm0 1H6c-.552 0-1 .449-1 1v6c0 .551.448 1 1 1h12c.552 0 1-.449 1-1V8c0-.551-.448-1-1-1z"})});ScreenShare.displayName="ScreenShare",ScreenShare.displayName="ScreenShare";const __WEBPACK_DEFAULT_EXPORT__=ScreenShare;try{ScreenShare.displayName="ScreenShare",ScreenShare.__docgenInfo={description:"",displayName:"ScreenShare",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:{value:"Screen share"},description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/ScreenShare/index.tsx#ScreenShare"]={docgenInfo:ScreenShare.__docgenInfo,name:"ScreenShare",path:"src/components/ui/icons/ScreenShare/index.tsx#ScreenShare"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Search/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Search=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M11 16c-2.757 0-5-2.243-5-5s2.243-5 5-5 5 2.243 5 5-2.243 5-5 5m7.852 2.145l-3.294-3.253C16.455 13.843 17 12.485 17 11c0-3.309-2.691-6-6-6s-6 2.691-6 6 2.691 6 6 6c1.464 0 2.807-.528 3.849-1.403l3.299 3.258c.098.097.225.145.352.145.129 0 .258-.05.355-.148.195-.197.193-.514-.003-.707"})});Search.displayName="Search",Search.displayName="Search";const __WEBPACK_DEFAULT_EXPORT__=Search;try{Search.displayName="Search",Search.__docgenInfo={description:"",displayName:"Search",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Search/index.tsx#Search"]={docgenInfo:Search.__docgenInfo,name:"Search",path:"src/components/ui/icons/Search/index.tsx#Search"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Share/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Share=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M15.239 15.197c.778-.778 2.047-.779 2.829.003.78.781.781 2.05.002 2.828-.389.39-.9.584-1.412.584-.462 0-.92-.168-1.293-.486-.02.014-.033.033-.055.045-1.027.551-2.16.833-3.303.833-.592 0-1.187-.075-1.771-.227-.268-.07-.428-.343-.357-.61.069-.266.34-.429.609-.358 1.452.377 2.975.197 4.299-.498-.266-.71-.118-1.543.452-2.114zM5.747 9.866l.09.014c.268.07.428.343.357.61-.373 1.434-.202 2.924.468 4.235.213-.077.44-.123.673-.123.537 0 1.038.208 1.417.586.78.781.781 2.05.002 2.83-.377.376-.877.584-1.411.584-.537 0-1.04-.21-1.417-.588-.378-.378-.587-.88-.587-1.414 0-.486.178-.94.493-1.303C5 13.74 4.78 11.953 5.228 10.238c.069-.266.34-.426.609-.358zm10.904 5.747c-.256 0-.511.097-.705.291-.389.39-.388 1.024.003 1.415.391.39 1.025.39 1.414.002.389-.389.388-1.023-.002-1.414-.196-.196-.453-.294-.71-.294zm-9.314-.01c-.268 0-.518.102-.707.29-.188.188-.292.44-.29.706 0 .267.104.52.293.708.19.19.44.294.708.295.268 0 .518-.104.706-.292.39-.39.388-1.024-.003-1.415-.189-.189-.44-.293-.708-.293zm7.807-9.594c.777-.778 2.047-.779 2.828.002.72.72.77 1.847.165 2.631.862 1.572 1.09 3.388.637 5.125-.059.225-.26.374-.483.374-.042 0-.084-.005-.126-.016-.268-.07-.428-.343-.358-.61.374-1.435.191-2.929-.484-4.242-.242.1-.5.15-.76.15-.514 0-1.026-.195-1.417-.586-.78-.78-.78-2.049-.002-2.828zm-6.49-.144c1.568-.86 3.363-1.092 5.111-.636.268.07.428.343.358.61-.07.267-.34.427-.61.358-1.442-.377-2.926-.207-4.234.463.104.244.161.509.162.783 0 .534-.207 1.037-.585 1.414-.39.389-.9.584-1.412.584-.513 0-1.026-.196-1.417-.586-.78-.781-.78-2.05-.002-2.83.377-.375.878-.583 1.411-.583.45 0 .87.154 1.218.423zm-1.216.577c-.268 0-.518.104-.706.29-.389.39-.388 1.025.002 1.416.392.39 1.025.39 1.415.002.188-.188.292-.44.292-.706 0-.244-.098-.47-.257-.651-.014-.017-.033-.024-.045-.043-.005-.008-.005-.017-.01-.025-.187-.18-.43-.283-.69-.283zm9.118-.017c-.256 0-.51.097-.705.291-.389.39-.388 1.023.002 1.414.393.392 1.026.392 1.415.002.39-.389.388-1.023-.003-1.414-.195-.195-.453-.293-.709-.293z"})});Share.displayName="Share",Share.displayName="Share";const __WEBPACK_DEFAULT_EXPORT__=Share;try{Share.displayName="Share",Share.__docgenInfo={description:"",displayName:"Share",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Share/index.tsx#Share"]={docgenInfo:Share.__docgenInfo,name:"Share",path:"src/components/ui/icons/Share/index.tsx#Share"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/SignalStrength/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const SignalStrength=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M17.366 5c.772 0 1.4.629 1.4 1.4v11.2c0 .772-.628 1.4-1.4 1.4h-1.2c-.772 0-1.4-.628-1.4-1.4V6.4c0-.771.628-1.4 1.4-1.4zm-5 4c.772 0 1.4.629 1.4 1.4v7.2c0 .772-.628 1.4-1.4 1.4h-1.2c-.772 0-1.4-.628-1.4-1.4v-7.2c0-.771.628-1.4 1.4-1.4zM7.6 13c.772 0 1.4.629 1.4 1.4v3.2c0 .772-.628 1.4-1.4 1.4H6.4c-.772 0-1.4-.628-1.4-1.4v-3.2c0-.771.628-1.4 1.4-1.4zm9.766-7h-1.2c-.22 0-.4.18-.4.4v11.2c0 .22.18.4.4.4h1.2c.22 0 .4-.18.4-.4V6.4c0-.22-.18-.4-.4-.4zm-5 4h-1.2c-.22 0-.4.18-.4.4v7.2c0 .22.18.4.4.4h1.2c.22 0 .4-.18.4-.4v-7.2c0-.22-.18-.4-.4-.4zM7.6 14H6.4c-.22 0-.4.18-.4.4v3.2c0 .22.18.4.4.4h1.2c.22 0 .4-.18.4-.4v-3.2c0-.22-.18-.4-.4-.4z"})});SignalStrength.displayName="SignalStrength",SignalStrength.displayName="SignalStrength";const __WEBPACK_DEFAULT_EXPORT__=SignalStrength;try{SignalStrength.displayName="SignalStrength",SignalStrength.__docgenInfo={description:"",displayName:"SignalStrength",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/SignalStrength/index.tsx#SignalStrength"]={docgenInfo:SignalStrength.__docgenInfo,name:"SignalStrength",path:"src/components/ui/icons/SignalStrength/index.tsx#SignalStrength"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Sound/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Sound=({disabled,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...rest,children:disabled?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M10.939 7.261c.393-.297.914-.344 1.361-.124.431.213.7.638.7 1.11v7.506c0 .472-.269.897-.7 1.11-.187.092-.385.137-.582.137-.28 0-.557-.09-.788-.268l-2.486-1.728c-.087-.06-.193-.093-.302-.093H6.256C5.563 14.911 5 14.36 5 13.682v-3.358c0-.68.566-1.235 1.263-1.235h1.88c.108 0 .213-.032.298-.092zm.918.772c-.042-.019-.182-.077-.32.03l-.018.012-2.505 1.741c-.253.178-.555.273-.871.273h-1.88c-.145 0-.263.105-.263.235v3.358c0 .127.115.23.256.23h1.886c.316 0 .618.093.874.272l2.503 1.741c.159.12.297.062.338.042.053-.027.143-.089.143-.214V8.247c0-.125-.09-.187-.143-.214zM14.9 10.13c.195-.195.512-.195.707 0l1.163 1.163 1.163-1.163c.195-.195.512-.195.707 0 .195.195.195.512 0 .707L17.477 12l1.163 1.163c.195.195.195.512 0 .707-.098.098-.226.147-.352.147-.128 0-.256-.049-.355-.147l-1.163-1.163-1.162 1.163c-.099.098-.226.147-.354.147-.128 0-.255-.049-.354-.147-.194-.195-.194-.512 0-.707L16.064 12 14.9 10.837c-.194-.195-.194-.512 0-.707z"}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M10.939 7.26c.397-.295.914-.343 1.361-.123.431.213.7.638.7 1.11v7.506c0 .473-.269.898-.7 1.111-.187.092-.386.137-.582.137-.28 0-.557-.091-.788-.269l-2.486-1.727c-.088-.061-.194-.094-.302-.094H6.256c-.693 0-1.256-.552-1.256-1.229v-3.357c0-.681.566-1.236 1.263-1.236h1.88c.108 0 .214-.033.3-.092zm5.148.054c.176-.211.49-.241.704-.065 1.406 1.164 2.213 2.896 2.213 4.751 0 1.855-.807 3.588-2.213 4.752-.094.077-.207.115-.319.115-.144 0-.286-.061-.385-.18-.177-.213-.147-.529.065-.705 1.177-.974 1.852-2.425 1.852-3.982 0-1.556-.675-3.007-1.852-3.981-.212-.176-.242-.492-.065-.705zm-4.23.719c-.041-.02-.183-.077-.32.029l-.018.013-2.505 1.742c-.255.178-.556.272-.871.272h-1.88c-.145 0-.263.106-.263.236v3.357c0 .127.115.229.256.229h1.886c.315 0 .617.095.874.274l2.503 1.741c.157.117.298.062.337.042.054-.027.144-.09.144-.215V8.247c0-.125-.09-.187-.143-.214zm2.841 1.62c.181-.21.496-.232.705-.053.707.608 1.112 1.483 1.112 2.4 0 .917-.405 1.793-1.112 2.402-.095.08-.21.12-.326.12-.14 0-.28-.058-.379-.173-.18-.21-.156-.524.053-.705.486-.42.764-1.018.764-1.644 0-.625-.278-1.223-.764-1.642-.209-.181-.233-.496-.053-.705z"})});Sound.displayName="Sound",Sound.displayName="Sound";const __WEBPACK_DEFAULT_EXPORT__=Sound;try{Sound.displayName="Sound",Sound.__docgenInfo={description:"",displayName:"Sound",props:{disabled:{defaultValue:null,description:"Whether or not should show a sound off icon.",name:"disabled",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Sound/index.tsx#Sound"]={docgenInfo:Sound.__docgenInfo,name:"Sound",path:"src/components/ui/icons/Sound/index.tsx#Sound"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Spinner/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Spinner=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M0 0H24V24H0z"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("g",{fill:"currentColor",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M8 0c.316 0 .571.256.571.571V4c0 .316-.255.571-.571.571-.316 0-.571-.255-.571-.571V.571C7.429.256 7.684 0 8 0z",transform:"translate(4 4)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M14.928 4c.158.273.064.623-.209.78l-2.97 1.715c-.272.158-.622.064-.78-.21-.158-.273-.064-.622.21-.78l2.969-1.714c.273-.158.622-.064.78.209z",opacity:".2",transform:"translate(4 4)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 1.072c.273.158.367.507.21.78l-1.715 2.97c-.158.273-.507.367-.78.209-.274-.158-.368-.508-.21-.78l1.714-2.97c.158-.273.508-.367.781-.21z",opacity:".12",transform:"translate(4 4)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M16 8c0 .316-.256.571-.571.571H12c-.316 0-.571-.255-.571-.571 0-.316.255-.571.571-.571h3.429c.315 0 .571.255.571.571z",opacity:".28",transform:"translate(4 4)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M12 14.928c-.273.158-.623.064-.78-.209l-1.715-2.97c-.158-.272-.064-.622.21-.78.273-.158.622-.064.78.21l1.714 2.969c.158.273.064.622-.209.78z",opacity:".44",transform:"translate(4 4)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M14.928 12c-.158.273-.507.367-.78.21l-2.97-1.715c-.273-.158-.367-.507-.209-.78.158-.274.508-.368.78-.21l2.97 1.714c.273.158.367.508.21.781z",opacity:".36",transform:"translate(4 4)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M8 16c-.316 0-.571-.256-.571-.571V12c0-.316.255-.571.571-.571.316 0 .571.255.571.571v3.429c0 .315-.255.571-.571.571z",opacity:".52",transform:"translate(4 4)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M1.072 12c-.158-.273-.064-.623.209-.78l2.97-1.715c.272-.158.622-.064.78.21.158.273.064.622-.21.78l-2.969 1.714c-.273.158-.622.064-.78-.209z",opacity:".68",transform:"translate(4 4)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M4 14.928c-.273-.158-.367-.507-.21-.78l1.715-2.97c.158-.273.507-.367.78-.209.274.158.368.508.21.78L4.78 14.72c-.158.273-.508.367-.781.21z",opacity:".6",transform:"translate(4 4)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M0 8c0-.316.256-.571.571-.571H4c.316 0 .571.255.571.571 0 .316-.255.571-.571.571H.571C.256 8.571 0 8.316 0 8z",opacity:".76",transform:"translate(4 4)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M4 1.072c.273-.158.623-.064.78.209l1.715 2.97c.158.272.064.622-.21.78-.273.158-.622.064-.78-.21L3.791 1.853c-.158-.273-.064-.622.209-.78z",opacity:".92",transform:"translate(4 4)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M1.072 4c.158-.273.507-.367.78-.21l2.97 1.715c.273.158.367.507.209.78-.158.274-.508.368-.78.21L1.28 4.78c-.273-.158-.367-.508-.21-.781z",opacity:".84",transform:"translate(4 4)"})]})]})});Spinner.displayName="Spinner",Spinner.displayName="Spinner";const __WEBPACK_DEFAULT_EXPORT__=Spinner;try{Spinner.displayName="Spinner",Spinner.__docgenInfo={description:"",displayName:"Spinner",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Spinner/index.tsx#Spinner"]={docgenInfo:Spinner.__docgenInfo,name:"Spinner",path:"src/components/ui/icons/Spinner/index.tsx#Spinner"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/Svg.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Svg=({className,children,viewBox="0 0 24 24",xmlns="http://www.w3.org/2000/svg",width,height,title,...otherProps})=>{const styles={width,height};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{xmlns,className:`Svg ${className||""}`,height,style:styles,viewBox,width,...otherProps,children:[title&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("title",{children:title}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("g",{fillRule:"evenodd",fill:"currentColor",children})]})};Svg.displayName="Svg";const __WEBPACK_DEFAULT_EXPORT__=Svg;try{Svg.displayName="Svg",Svg.__docgenInfo={description:"",displayName:"Svg",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:{value:"0 0 24 24"},description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/Svg.tsx#Svg"]={docgenInfo:Svg.__docgenInfo,name:"Svg",path:"src/components/ui/icons/Svg.tsx#Svg"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/UpAndDownCaret/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const UpAndDownCaret=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M8.824 9.88c-.21.18-.526.154-.705-.056-.159-.187-.156-.457-.006-.64l.063-.065 3.523-3c.165-.14.397-.156.577-.05l.074.052 3.477 3c.209.18.232.497.052.706-.16.185-.428.224-.632.104l-.074-.052-3.151-2.72-3.198 2.722zM15.176 14.12c.21-.18.526-.154.705.056.159.187.157.457.006.64l-.063.065-3.523 3c-.165.14-.397.156-.577.05l-.074-.052-3.477-3c-.209-.18-.232-.497-.052-.706.16-.185.428-.224.632-.104l.074.052 3.151 2.72 3.198-2.722z"})});UpAndDownCaret.displayName="UpAndDownCaret",UpAndDownCaret.displayName="UpAndDownCaret";const __WEBPACK_DEFAULT_EXPORT__=UpAndDownCaret;try{UpAndDownCaret.displayName="UpAndDownCaret",UpAndDownCaret.__docgenInfo={description:"",displayName:"UpAndDownCaret",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/UpAndDownCaret/index.tsx#UpAndDownCaret"]={docgenInfo:UpAndDownCaret.__docgenInfo,name:"UpAndDownCaret",path:"src/components/ui/icons/UpAndDownCaret/index.tsx#UpAndDownCaret"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/ZoomIn/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ZoomIn=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("g",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M0 0H24V24H0z"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{fill:"currentColor",d:"M11 5c3.309 0 6 2.691 6 6 0 1.485-.545 2.843-1.442 3.892l3.294 3.253c.196.193.198.51.003.707-.097.098-.226.148-.355.148-.127 0-.254-.048-.352-.145l-3.299-3.258C13.807 16.472 12.464 17 11 17c-3.309 0-6-2.691-6-6s2.691-6 6-6zm0 1c-2.757 0-5 2.243-5 5s2.243 5 5 5 5-2.243 5-5-2.243-5-5-5zm0 2c.276 0 .5.224.5.5v2h2c.276 0 .5.224.5.5s-.224.5-.5.5h-2v2c0 .276-.224.5-.5.5s-.5-.224-.5-.5v-2h-2c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h2v-2c0-.276.224-.5.5-.5z"})]})})});ZoomIn.displayName="ZoomIn",ZoomIn.displayName="ZoomIn";const __WEBPACK_DEFAULT_EXPORT__=ZoomIn;try{ZoomIn.displayName="ZoomIn",ZoomIn.__docgenInfo={description:"",displayName:"ZoomIn",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/ZoomIn/index.tsx#ZoomIn"]={docgenInfo:ZoomIn.__docgenInfo,name:"ZoomIn",path:"src/components/ui/icons/ZoomIn/index.tsx#ZoomIn"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/ZoomOut/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Svg__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Svg.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ZoomOut=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Svg__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("g",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{d:"M0 0H24V24H0z"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path",{fill:"currentColor",d:"M11 5c3.309 0 6 2.691 6 6 0 1.485-.545 2.843-1.442 3.892l3.294 3.253c.196.193.198.51.003.707-.097.098-.226.148-.355.148-.127 0-.254-.048-.352-.145l-3.299-3.258C13.807 16.472 12.464 17 11 17c-3.309 0-6-2.691-6-6s2.691-6 6-6zm0 1c-2.757 0-5 2.243-5 5s2.243 5 5 5 5-2.243 5-5-2.243-5-5-5zm2.5 4.5c.276 0 .5.224.5.5s-.224.5-.5.5h-5c-.276 0-.5-.224-.5-.5s.224-.5.5-.5z"})]})})});ZoomOut.displayName="ZoomOut",ZoomOut.displayName="ZoomOut";const __WEBPACK_DEFAULT_EXPORT__=ZoomOut;try{ZoomOut.displayName="ZoomOut",ZoomOut.__docgenInfo={description:"",displayName:"ZoomOut",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/ZoomOut/index.tsx#ZoomOut"]={docgenInfo:ZoomOut.__docgenInfo,name:"ZoomOut",path:"src/components/ui/icons/ZoomOut/index.tsx#ZoomOut"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/icons/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{$j:()=>_Spinner__WEBPACK_IMPORTED_MODULE_49__.Z,$u:()=>_Sound__WEBPACK_IMPORTED_MODULE_48__.Z,Ag:()=>_Meeting__WEBPACK_IMPORTED_MODULE_35__.Z,BB:()=>_Document__WEBPACK_IMPORTED_MODULE_22__.Z,CE:()=>_ScreenShare__WEBPACK_IMPORTED_MODULE_14__.Z,HE:()=>_Lock__WEBPACK_IMPORTED_MODULE_34__.Z,Iz:()=>_Laptop__WEBPACK_IMPORTED_MODULE_30__.Z,JW:()=>_Remove__WEBPACK_IMPORTED_MODULE_43__.Z,Jr:()=>_Check__WEBPACK_IMPORTED_MODULE_8__.Z,LP:()=>_Phone__WEBPACK_IMPORTED_MODULE_39__.Z,Oz:()=>_Cog__WEBPACK_IMPORTED_MODULE_12__.Z,Pj:()=>_Microphone__WEBPACK_IMPORTED_MODULE_36__.Z,QN:()=>_LeaveMeeting__WEBPACK_IMPORTED_MODULE_31__.Z,SU:()=>_Clock__WEBPACK_IMPORTED_MODULE_11__.Z,UB:()=>_Dialer__WEBPACK_IMPORTED_MODULE_17__.Z,UZ:()=>_Clear__WEBPACK_IMPORTED_MODULE_10__.Z,V1:()=>_Camera__WEBPACK_IMPORTED_MODULE_4__.Z,bb:()=>_Dots__WEBPACK_IMPORTED_MODULE_20__.Z,d:()=>_Information__WEBPACK_IMPORTED_MODULE_29__.Z,ge:()=>_Caution__WEBPACK_IMPORTED_MODULE_6__.Z,ol:()=>_Search__WEBPACK_IMPORTED_MODULE_45__.Z,rK:()=>_CheckRound__WEBPACK_IMPORTED_MODULE_9__.Z,tg:()=>_Attendees__WEBPACK_IMPORTED_MODULE_3__.Z});__webpack_require__("./src/components/ui/icons/Add/index.tsx"),__webpack_require__("./src/components/ui/icons/Arrow/index.tsx"),__webpack_require__("./src/components/ui/icons/Attachment/index.tsx");var _Attendees__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/icons/Attendees/index.tsx"),_Camera__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/ui/icons/Camera/index.tsx"),_Caution__WEBPACK_IMPORTED_MODULE_6__=(__webpack_require__("./src/components/ui/icons/Caret/index.tsx"),__webpack_require__("./src/components/ui/icons/Caution/index.tsx")),_Check__WEBPACK_IMPORTED_MODULE_8__=(__webpack_require__("./src/components/ui/icons/Chat/index.tsx"),__webpack_require__("./src/components/ui/icons/Check/index.tsx")),_CheckRound__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./src/components/ui/icons/CheckRound/index.tsx"),_Clear__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./src/components/ui/icons/Clear/index.tsx"),_Clock__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./src/components/ui/icons/Clock/index.tsx"),_Cog__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./src/components/ui/icons/Cog/index.tsx"),_ScreenShare__WEBPACK_IMPORTED_MODULE_14__=(__webpack_require__("./src/components/ui/icons/ConnectionProblem/index.tsx"),__webpack_require__("./src/components/ui/icons/ScreenShare/index.tsx")),_Dialer__WEBPACK_IMPORTED_MODULE_17__=(__webpack_require__("./src/components/ui/icons/Crown/index.tsx"),__webpack_require__("./src/components/ui/icons/DeskPhone/index.tsx"),__webpack_require__("./src/components/ui/icons/Dialer/index.tsx")),_Dots__WEBPACK_IMPORTED_MODULE_20__=(__webpack_require__("./src/components/ui/icons/Dislike/index.tsx"),__webpack_require__("./src/components/ui/icons/DropToAttach/index.tsx"),__webpack_require__("./src/components/ui/icons/Dots/index.tsx")),_Document__WEBPACK_IMPORTED_MODULE_22__=(__webpack_require__("./src/components/ui/icons/Dock/index.tsx"),__webpack_require__("./src/components/ui/icons/Document/index.tsx")),_Information__WEBPACK_IMPORTED_MODULE_29__=(__webpack_require__("./src/components/ui/icons/Echo/index.tsx"),__webpack_require__("./src/components/ui/icons/Eye/index.tsx"),__webpack_require__("./src/components/ui/icons/EmojiPicker/index.tsx"),__webpack_require__("./src/components/ui/icons/Feedback/index.tsx"),__webpack_require__("./src/components/ui/icons/Hamburger/index.tsx"),__webpack_require__("./src/components/ui/icons/HandRaise/index.tsx"),__webpack_require__("./src/components/ui/icons/Information/index.tsx")),_Laptop__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__("./src/components/ui/icons/Laptop/index.tsx"),_LeaveMeeting__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__("./src/components/ui/icons/LeaveMeeting/index.tsx"),_Lock__WEBPACK_IMPORTED_MODULE_34__=(__webpack_require__("./src/components/ui/icons/Like/index.tsx"),__webpack_require__("./src/components/ui/icons/ListHandRasie/index.tsx"),__webpack_require__("./src/components/ui/icons/Lock/index.tsx")),_Meeting__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__("./src/components/ui/icons/Meeting/index.tsx"),_Microphone__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__("./src/components/ui/icons/Microphone/index.tsx"),_Phone__WEBPACK_IMPORTED_MODULE_39__=(__webpack_require__("./src/components/ui/icons/Pause/index.tsx"),__webpack_require__("./src/components/ui/icons/Pin/index.tsx"),__webpack_require__("./src/components/ui/icons/Phone/index.tsx")),_Remove__WEBPACK_IMPORTED_MODULE_43__=(__webpack_require__("./src/components/ui/icons/Play/index.tsx"),__webpack_require__("./src/components/ui/icons/Presenter/index.tsx"),__webpack_require__("./src/components/ui/icons/Record/index.tsx"),__webpack_require__("./src/components/ui/icons/Remove/index.tsx")),_Search__WEBPACK_IMPORTED_MODULE_45__=(__webpack_require__("./src/components/ui/icons/Rooms/index.tsx"),__webpack_require__("./src/components/ui/icons/Search/index.tsx")),_Sound__WEBPACK_IMPORTED_MODULE_48__=(__webpack_require__("./src/components/ui/icons/Share/index.tsx"),__webpack_require__("./src/components/ui/icons/SignalStrength/index.tsx"),__webpack_require__("./src/components/ui/icons/Sound/index.tsx")),_Spinner__WEBPACK_IMPORTED_MODULE_49__=__webpack_require__("./src/components/ui/icons/Spinner/index.tsx");__webpack_require__("./src/components/ui/icons/UpAndDownCaret/index.tsx"),__webpack_require__("./src/components/ui/icons/ZoomIn/index.tsx"),__webpack_require__("./src/components/ui/icons/ZoomOut/index.tsx");try{Add.displayName="Add",Add.__docgenInfo={description:"",displayName:"Add",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Add"]={docgenInfo:Add.__docgenInfo,name:"Add",path:"src/components/ui/icons/index.tsx#Add"})}catch(__react_docgen_typescript_loader_error){}try{Arrow.displayName="Arrow",Arrow.__docgenInfo={description:"",displayName:"Arrow",props:{direction:{defaultValue:{value:"up"},description:"Defines the direction of the arrow.",name:"direction",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"up"'},{value:'"right"'},{value:'"down"'},{value:'"left"'}]}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Arrow"]={docgenInfo:Arrow.__docgenInfo,name:"Arrow",path:"src/components/ui/icons/index.tsx#Arrow"})}catch(__react_docgen_typescript_loader_error){}try{Attachment.displayName="Attachment",Attachment.__docgenInfo={description:"",displayName:"Attachment",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Attachment"]={docgenInfo:Attachment.__docgenInfo,name:"Attachment",path:"src/components/ui/icons/index.tsx#Attachment"})}catch(__react_docgen_typescript_loader_error){}try{Attendees.displayName="Attendees",Attendees.__docgenInfo={description:"",displayName:"Attendees",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Attendees"]={docgenInfo:Attendees.__docgenInfo,name:"Attendees",path:"src/components/ui/icons/index.tsx#Attendees"})}catch(__react_docgen_typescript_loader_error){}try{Camera.displayName="Camera",Camera.__docgenInfo={description:"",displayName:"Camera",props:{disabled:{defaultValue:{value:"false"},description:"Whether or not should show a camera icon with strikethrough.",name:"disabled",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Camera"]={docgenInfo:Camera.__docgenInfo,name:"Camera",path:"src/components/ui/icons/index.tsx#Camera"})}catch(__react_docgen_typescript_loader_error){}try{Caret.displayName="Caret",Caret.__docgenInfo={description:"",displayName:"Caret",props:{direction:{defaultValue:{value:"up"},description:"Defines the direction of the caret.",name:"direction",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"up"'},{value:'"right"'},{value:'"down"'},{value:'"left"'}]}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Caret"]={docgenInfo:Caret.__docgenInfo,name:"Caret",path:"src/components/ui/icons/index.tsx#Caret"})}catch(__react_docgen_typescript_loader_error){}try{Caution.displayName="Caution",Caution.__docgenInfo={description:"",displayName:"Caution",props:{variant:{defaultValue:null,description:"toggle the range of visual variants",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"fill-warning"'},{value:'"fill-error"'}]}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Caution"]={docgenInfo:Caution.__docgenInfo,name:"Caution",path:"src/components/ui/icons/index.tsx#Caution"})}catch(__react_docgen_typescript_loader_error){}try{Chat.displayName="Chat",Chat.__docgenInfo={description:"",displayName:"Chat",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Chat"]={docgenInfo:Chat.__docgenInfo,name:"Chat",path:"src/components/ui/icons/index.tsx#Chat"})}catch(__react_docgen_typescript_loader_error){}try{Check.displayName="Check",Check.__docgenInfo={description:"",displayName:"Check",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Check"]={docgenInfo:Check.__docgenInfo,name:"Check",path:"src/components/ui/icons/index.tsx#Check"})}catch(__react_docgen_typescript_loader_error){}try{CheckRound.displayName="CheckRound",CheckRound.__docgenInfo={description:"",displayName:"CheckRound",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#CheckRound"]={docgenInfo:CheckRound.__docgenInfo,name:"CheckRound",path:"src/components/ui/icons/index.tsx#CheckRound"})}catch(__react_docgen_typescript_loader_error){}try{Clear.displayName="Clear",Clear.__docgenInfo={description:"",displayName:"Clear",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Clear"]={docgenInfo:Clear.__docgenInfo,name:"Clear",path:"src/components/ui/icons/index.tsx#Clear"})}catch(__react_docgen_typescript_loader_error){}try{Clock.displayName="Clock",Clock.__docgenInfo={description:"",displayName:"Clock",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Clock"]={docgenInfo:Clock.__docgenInfo,name:"Clock",path:"src/components/ui/icons/index.tsx#Clock"})}catch(__react_docgen_typescript_loader_error){}try{Cog.displayName="Cog",Cog.__docgenInfo={description:"",displayName:"Cog",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Cog"]={docgenInfo:Cog.__docgenInfo,name:"Cog",path:"src/components/ui/icons/index.tsx#Cog"})}catch(__react_docgen_typescript_loader_error){}try{ConnectionProblem.displayName="ConnectionProblem",ConnectionProblem.__docgenInfo={description:"",displayName:"ConnectionProblem",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#ConnectionProblem"]={docgenInfo:ConnectionProblem.__docgenInfo,name:"ConnectionProblem",path:"src/components/ui/icons/index.tsx#ConnectionProblem"})}catch(__react_docgen_typescript_loader_error){}try{ScreenShare.displayName="ScreenShare",ScreenShare.__docgenInfo={description:"",displayName:"ScreenShare",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:{value:"Screen share"},description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#ScreenShare"]={docgenInfo:ScreenShare.__docgenInfo,name:"ScreenShare",path:"src/components/ui/icons/index.tsx#ScreenShare"})}catch(__react_docgen_typescript_loader_error){}try{Crown.displayName="Crown",Crown.__docgenInfo={description:"",displayName:"Crown",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Crown"]={docgenInfo:Crown.__docgenInfo,name:"Crown",path:"src/components/ui/icons/index.tsx#Crown"})}catch(__react_docgen_typescript_loader_error){}try{DeskPhone.displayName="DeskPhone",DeskPhone.__docgenInfo={description:"",displayName:"DeskPhone",props:{disabled:{defaultValue:{value:"false"},description:"Whether or not should show a desk phone icon with strikethrough.",name:"disabled",required:!1,type:{name:"boolean | undefined"}},poorConnection:{defaultValue:{value:"false"},description:"Whether or not should show a desk phone icon dashed.",name:"poorConnection",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#DeskPhone"]={docgenInfo:DeskPhone.__docgenInfo,name:"DeskPhone",path:"src/components/ui/icons/index.tsx#DeskPhone"})}catch(__react_docgen_typescript_loader_error){}try{Dialer.displayName="Dialer",Dialer.__docgenInfo={description:"",displayName:"Dialer",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Dialer"]={docgenInfo:Dialer.__docgenInfo,name:"Dialer",path:"src/components/ui/icons/index.tsx#Dialer"})}catch(__react_docgen_typescript_loader_error){}try{Dislike.displayName="Dislike",Dislike.__docgenInfo={description:"",displayName:"Dislike",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Dislike"]={docgenInfo:Dislike.__docgenInfo,name:"Dislike",path:"src/components/ui/icons/index.tsx#Dislike"})}catch(__react_docgen_typescript_loader_error){}try{DropToAttach.displayName="DropToAttach",DropToAttach.__docgenInfo={description:"",displayName:"DropToAttach",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#DropToAttach"]={docgenInfo:DropToAttach.__docgenInfo,name:"DropToAttach",path:"src/components/ui/icons/index.tsx#DropToAttach"})}catch(__react_docgen_typescript_loader_error){}try{Dots.displayName="Dots",Dots.__docgenInfo={description:"",displayName:"Dots",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Dots"]={docgenInfo:Dots.__docgenInfo,name:"Dots",path:"src/components/ui/icons/index.tsx#Dots"})}catch(__react_docgen_typescript_loader_error){}try{Dock.displayName="Dock",Dock.__docgenInfo={description:"",displayName:"Dock",props:{undock:{defaultValue:null,description:"Whether or not should show a undock icon.",name:"undock",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Dock"]={docgenInfo:Dock.__docgenInfo,name:"Dock",path:"src/components/ui/icons/index.tsx#Dock"})}catch(__react_docgen_typescript_loader_error){}try{Document.displayName="Document",Document.__docgenInfo={description:"",displayName:"Document",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Document"]={docgenInfo:Document.__docgenInfo,name:"Document",path:"src/components/ui/icons/index.tsx#Document"})}catch(__react_docgen_typescript_loader_error){}try{Echo.displayName="Echo",Echo.__docgenInfo={description:"",displayName:"Echo",props:{muted:{defaultValue:{value:"false"},description:"",name:"muted",required:!1,type:{name:"boolean | undefined"}},poorConnection:{defaultValue:{value:"false"},description:"",name:"poorConnection",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Echo"]={docgenInfo:Echo.__docgenInfo,name:"Echo",path:"src/components/ui/icons/index.tsx#Echo"})}catch(__react_docgen_typescript_loader_error){}try{Eye.displayName="Eye",Eye.__docgenInfo={description:"",displayName:"Eye",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Eye"]={docgenInfo:Eye.__docgenInfo,name:"Eye",path:"src/components/ui/icons/index.tsx#Eye"})}catch(__react_docgen_typescript_loader_error){}try{EmojiPicker.displayName="EmojiPicker",EmojiPicker.__docgenInfo={description:"",displayName:"EmojiPicker",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#EmojiPicker"]={docgenInfo:EmojiPicker.__docgenInfo,name:"EmojiPicker",path:"src/components/ui/icons/index.tsx#EmojiPicker"})}catch(__react_docgen_typescript_loader_error){}try{Feedback.displayName="Feedback",Feedback.__docgenInfo={description:"",displayName:"Feedback",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Feedback"]={docgenInfo:Feedback.__docgenInfo,name:"Feedback",path:"src/components/ui/icons/index.tsx#Feedback"})}catch(__react_docgen_typescript_loader_error){}try{Hamburger.displayName="Hamburger",Hamburger.__docgenInfo={description:"",displayName:"Hamburger",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Hamburger"]={docgenInfo:Hamburger.__docgenInfo,name:"Hamburger",path:"src/components/ui/icons/index.tsx#Hamburger"})}catch(__react_docgen_typescript_loader_error){}try{HandRaise.displayName="HandRaise",HandRaise.__docgenInfo={description:"",displayName:"HandRaise",props:{isRaised:{defaultValue:null,description:"Whether or not should show a raised icon.",name:"isRaised",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#HandRaise"]={docgenInfo:HandRaise.__docgenInfo,name:"HandRaise",path:"src/components/ui/icons/index.tsx#HandRaise"})}catch(__react_docgen_typescript_loader_error){}try{Information.displayName="Information",Information.__docgenInfo={description:"",displayName:"Information",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Information"]={docgenInfo:Information.__docgenInfo,name:"Information",path:"src/components/ui/icons/index.tsx#Information"})}catch(__react_docgen_typescript_loader_error){}try{Laptop.displayName="Laptop",Laptop.__docgenInfo={description:"",displayName:"Laptop",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Laptop"]={docgenInfo:Laptop.__docgenInfo,name:"Laptop",path:"src/components/ui/icons/index.tsx#Laptop"})}catch(__react_docgen_typescript_loader_error){}try{LeaveMeeting.displayName="LeaveMeeting",LeaveMeeting.__docgenInfo={description:"",displayName:"LeaveMeeting",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#LeaveMeeting"]={docgenInfo:LeaveMeeting.__docgenInfo,name:"LeaveMeeting",path:"src/components/ui/icons/index.tsx#LeaveMeeting"})}catch(__react_docgen_typescript_loader_error){}try{Like.displayName="Like",Like.__docgenInfo={description:"",displayName:"Like",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Like"]={docgenInfo:Like.__docgenInfo,name:"Like",path:"src/components/ui/icons/index.tsx#Like"})}catch(__react_docgen_typescript_loader_error){}try{ListHandRaise.displayName="ListHandRaise",ListHandRaise.__docgenInfo={description:"",displayName:"ListHandRaise",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#ListHandRaise"]={docgenInfo:ListHandRaise.__docgenInfo,name:"ListHandRaise",path:"src/components/ui/icons/index.tsx#ListHandRaise"})}catch(__react_docgen_typescript_loader_error){}try{Lock.displayName="Lock",Lock.__docgenInfo={description:"",displayName:"Lock",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Lock"]={docgenInfo:Lock.__docgenInfo,name:"Lock",path:"src/components/ui/icons/index.tsx#Lock"})}catch(__react_docgen_typescript_loader_error){}try{Meeting.displayName="Meeting",Meeting.__docgenInfo={description:"",displayName:"Meeting",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Meeting"]={docgenInfo:Meeting.__docgenInfo,name:"Meeting",path:"src/components/ui/icons/index.tsx#Meeting"})}catch(__react_docgen_typescript_loader_error){}try{Microphone.displayName="Microphone",Microphone.__docgenInfo={description:"",displayName:"Microphone",props:{muted:{defaultValue:{value:"false"},description:"Whether or not should show muted status.",name:"muted",required:!1,type:{name:"boolean | undefined"}},poorConnection:{defaultValue:{value:"false"},description:"Whether or not should show poor connected status.",name:"poorConnection",required:!1,type:{name:"boolean | undefined"}},mutedTitle:{defaultValue:{value:"Muted microphone"},description:"Title attribute for the icon when muted, it defaults to `Muted microphone`",name:"mutedTitle",required:!1,type:{name:"string | undefined"}},unmutedTitle:{defaultValue:{value:"Microphone"},description:"Title attribute for the icon when unmuted, it defaults to `Microphone`",name:"unmutedTitle",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Microphone"]={docgenInfo:Microphone.__docgenInfo,name:"Microphone",path:"src/components/ui/icons/index.tsx#Microphone"})}catch(__react_docgen_typescript_loader_error){}try{Pause.displayName="Pause",Pause.__docgenInfo={description:"",displayName:"Pause",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Pause"]={docgenInfo:Pause.__docgenInfo,name:"Pause",path:"src/components/ui/icons/index.tsx#Pause"})}catch(__react_docgen_typescript_loader_error){}try{Pin.displayName="Pin",Pin.__docgenInfo={description:"",displayName:"Pin",props:{unpin:{defaultValue:null,description:"Whether or not should show a Unpin icon.",name:"unpin",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Pin"]={docgenInfo:Pin.__docgenInfo,name:"Pin",path:"src/components/ui/icons/index.tsx#Pin"})}catch(__react_docgen_typescript_loader_error){}try{Phone.displayName="Phone",Phone.__docgenInfo={description:"",displayName:"Phone",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Phone"]={docgenInfo:Phone.__docgenInfo,name:"Phone",path:"src/components/ui/icons/index.tsx#Phone"})}catch(__react_docgen_typescript_loader_error){}try{Play.displayName="Play",Play.__docgenInfo={description:"",displayName:"Play",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Play"]={docgenInfo:Play.__docgenInfo,name:"Play",path:"src/components/ui/icons/index.tsx#Play"})}catch(__react_docgen_typescript_loader_error){}try{Presenter.displayName="Presenter",Presenter.__docgenInfo={description:"",displayName:"Presenter",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Presenter"]={docgenInfo:Presenter.__docgenInfo,name:"Presenter",path:"src/components/ui/icons/index.tsx#Presenter"})}catch(__react_docgen_typescript_loader_error){}try{Record.displayName="Record",Record.__docgenInfo={description:"",displayName:"Record",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Record"]={docgenInfo:Record.__docgenInfo,name:"Record",path:"src/components/ui/icons/index.tsx#Record"})}catch(__react_docgen_typescript_loader_error){}try{Remove.displayName="Remove",Remove.__docgenInfo={description:"",displayName:"Remove",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Remove"]={docgenInfo:Remove.__docgenInfo,name:"Remove",path:"src/components/ui/icons/index.tsx#Remove"})}catch(__react_docgen_typescript_loader_error){}try{Rooms.displayName="Rooms",Rooms.__docgenInfo={description:"",displayName:"Rooms",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Rooms"]={docgenInfo:Rooms.__docgenInfo,name:"Rooms",path:"src/components/ui/icons/index.tsx#Rooms"})}catch(__react_docgen_typescript_loader_error){}try{Search.displayName="Search",Search.__docgenInfo={description:"",displayName:"Search",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Search"]={docgenInfo:Search.__docgenInfo,name:"Search",path:"src/components/ui/icons/index.tsx#Search"})}catch(__react_docgen_typescript_loader_error){}try{Share.displayName="Share",Share.__docgenInfo={description:"",displayName:"Share",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Share"]={docgenInfo:Share.__docgenInfo,name:"Share",path:"src/components/ui/icons/index.tsx#Share"})}catch(__react_docgen_typescript_loader_error){}try{SignalStrength.displayName="SignalStrength",SignalStrength.__docgenInfo={description:"",displayName:"SignalStrength",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#SignalStrength"]={docgenInfo:SignalStrength.__docgenInfo,name:"SignalStrength",path:"src/components/ui/icons/index.tsx#SignalStrength"})}catch(__react_docgen_typescript_loader_error){}try{Sound.displayName="Sound",Sound.__docgenInfo={description:"",displayName:"Sound",props:{disabled:{defaultValue:null,description:"Whether or not should show a sound off icon.",name:"disabled",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Sound"]={docgenInfo:Sound.__docgenInfo,name:"Sound",path:"src/components/ui/icons/index.tsx#Sound"})}catch(__react_docgen_typescript_loader_error){}try{Spinner.displayName="Spinner",Spinner.__docgenInfo={description:"",displayName:"Spinner",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#Spinner"]={docgenInfo:Spinner.__docgenInfo,name:"Spinner",path:"src/components/ui/icons/index.tsx#Spinner"})}catch(__react_docgen_typescript_loader_error){}try{UpAndDownCaret.displayName="UpAndDownCaret",UpAndDownCaret.__docgenInfo={description:"",displayName:"UpAndDownCaret",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#UpAndDownCaret"]={docgenInfo:UpAndDownCaret.__docgenInfo,name:"UpAndDownCaret",path:"src/components/ui/icons/index.tsx#UpAndDownCaret"})}catch(__react_docgen_typescript_loader_error){}try{ZoomIn.displayName="ZoomIn",ZoomIn.__docgenInfo={description:"",displayName:"ZoomIn",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#ZoomIn"]={docgenInfo:ZoomIn.__docgenInfo,name:"ZoomIn",path:"src/components/ui/icons/index.tsx#ZoomIn"})}catch(__react_docgen_typescript_loader_error){}try{ZoomOut.displayName="ZoomOut",ZoomOut.__docgenInfo={description:"",displayName:"ZoomOut",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},viewBox:{defaultValue:null,description:"Defines the position and dimension of an SVG viewport. viewBox attribute is a list of four numbers: min-x, min-y, width and height.",name:"viewBox",required:!1,type:{name:"string | undefined"}},width:{defaultValue:null,description:"The horizontal length of a SVG component.",name:"width",required:!1,type:{name:"string | undefined"}},height:{defaultValue:null,description:"The vertical length of a SVG component.",name:"height",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"The title of a SVG component.",name:"title",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional styling via styled component string.",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/icons/index.tsx#ZoomOut"]={docgenInfo:ZoomOut.__docgenInfo,name:"ZoomOut",path:"src/components/ui/icons/index.tsx#ZoomOut"})}catch(__react_docgen_typescript_loader_error){}}}]); +//# sourceMappingURL=2642.8420b84d.iframe.bundle.js.map \ No newline at end of file diff --git a/2642.8420b84d.iframe.bundle.js.map b/2642.8420b84d.iframe.bundle.js.map new file mode 100644 index 000000000..41e8a602f --- /dev/null +++ b/2642.8420b84d.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"2642.8420b84d.iframe.bundle.js","mappings":";AAsBA;AAIA;ACHA;AAIA;;;;ACgBA;;AA5BA;;;;AAIA;;;;AAIA;;AAqBA;;AAfA;;;;AAIA;;;;AAIA;;AAUA;AACA;;AC1CA;;ACUA","sources":["webpack://amazon-chime-sdk-component-library-react/./src/components/ui/icons/Arrow/index.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/icons/Caret/index.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/icons/Caution/styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/icons/HandRaise/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/icons/Microphone/Styled.tsx"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\nimport styled from 'styled-components';\n\nimport { Direction } from '../../../../types';\nimport Svg, { SvgProps } from '../Svg';\n\nconst dirTransform = {\n up: '0',\n right: '90',\n down: '180',\n left: '270',\n};\n\ninterface ArrowProps extends SvgProps {\n /** Defines the direction of the arrow. */\n direction?: Direction;\n}\n\nconst StyledArrow = styled(Svg)`\n transform: ${({ direction }) =>\n `rotate(${dirTransform[direction || 'up']}deg)`};\n`;\n\nexport const Arrow: React.FC> = ({\n direction = 'up',\n ...rest\n}) => (\n \n \n \n);\n\nArrow.displayName = 'Arrow';\n\nexport default Arrow;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\nimport styled from 'styled-components';\n\nimport { Direction } from '../../../../types';\nimport Svg, { SvgProps } from '../Svg';\n\nconst dirTransform = {\n up: '0',\n right: '90',\n down: '180',\n left: '270',\n};\n\ninterface CaretProps extends SvgProps {\n /** Defines the direction of the caret. */\n direction?: Direction;\n className?: string;\n}\n\nconst StyledCaret = styled(Svg)`\n transform: ${({ direction }) =>\n `rotate(${dirTransform[direction || 'up']}deg)`};\n`;\n\nexport const Caret: React.FC> = ({\n direction = 'up',\n ...rest\n}) => {\n return (\n \n \n \n );\n};\n\nCaret.displayName = 'Caret';\n\nexport default Caret;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled, { css } from 'styled-components';\n\nimport { CautionProps } from './';\n\nconst defaultStyle = css`\n .ch-caution-background {\n fill: transparent;\n }\n`;\n\nconst warningStyle = css`\n .ch-caution-background {\n fill: ${(props) => props.theme.colors.warning.primary};\n }\n\n .ch-caution-exclamation {\n fill: ${(props) => props.theme.colors.greys.white};\n }\n\n .ch-caution-border {\n fill: ${(props) => props.theme.colors.warning.primary};\n }\n`;\n\nconst errorStyle = css`\n .ch-caution-background {\n fill: ${(props) => props.theme.colors.error.primary};\n }\n\n .ch-caution-exclamation {\n fill: ${(props) => props.theme.colors.greys.white};\n }\n\n .ch-caution-border {\n fill: ${(props) => props.theme.colors.error.primary};\n }\n`;\n\nconst variantMap = {\n default: defaultStyle,\n 'fill-warning': warningStyle,\n 'fill-error': errorStyle,\n};\n\nexport const StyledCaution = styled.g`\n ${(props) => variantMap[props.variant || 'default']};\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nexport const StyledCircle = styled.circle`\n fill: ${(props) => props.theme.colors.primary.main};\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\nimport styled from 'styled-components';\n\nimport Svg from '../Svg';\nimport { MicrophoneProps } from './';\n\nconst SvgWithoutMicrophoneProps = ({\n poorConnection,\n muted,\n ...rest\n}: MicrophoneProps) => ;\n\nexport const StyledSvg = styled(SvgWithoutMicrophoneProps)`\n ${(props) =>\n props.poorConnection ? `color: ${props.theme.colors.error.light}` : ''}\n`;\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/3019.24421870.iframe.bundle.js b/3019.24421870.iframe.bundle.js new file mode 100644 index 000000000..aba1dc945 --- /dev/null +++ b/3019.24421870.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[3019],{"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/OverlayScrollbars-VAV6LJAB.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{OverlayScrollbarsComponent:()=>OverlayScrollbarsComponent,default:()=>OverlayScrollbars_default});var _chunk_NNAAFZ4U_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-NNAAFZ4U.mjs"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),require_OverlayScrollbars=(0,_chunk_NNAAFZ4U_mjs__WEBPACK_IMPORTED_MODULE_1__.E)({"../../node_modules/overlayscrollbars/js/OverlayScrollbars.js"(exports,module){var global,factory;global=typeof window<"u"?window:exports,factory=function(window2,document,undefined2){var _targets,_easingsMath,TYPES_o="object",TYPES_f="function",TYPES_a="array",TYPES_s="string",TYPES_b="boolean",TYPES_n="number",TYPES_u="undefined",TYPES_z="null",LEXICON={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},VENDORS=function(){var jsCache={},cssCache={},cssPrefixes=["-webkit-","-moz-","-o-","-ms-"],jsPrefixes=["WebKit","Moz","O","MS"];function firstLetterToUpper(str){return str.charAt(0).toUpperCase()+str.slice(1)}return{_cssPrefixes:cssPrefixes,_jsPrefixes:jsPrefixes,_cssProperty:function(name){var result=cssCache[name];if(cssCache[LEXICON.hOP](name))return result;for(var resultPossibilities,v,currVendorWithoutDashes,uppercasedName=firstLetterToUpper(name),elmStyle=document.createElement("div")[LEXICON.s],i=0;i0&&length2-1 in obj)}function stripAndCollapse(value){return(value.match(_rnothtmlwhite)||[]).join(" ")}function matches(elem,selector){for(var nodeList=(elem.parentNode||document).querySelectorAll(selector)||[],i=nodeList[LEXICON.l];i--;)if(nodeList[i]==elem)return!0;return!1}function insertAdjacentElement(el,strategy,child){if(COMPATIBILITY.isA(child))for(var i=0;i0?(nextAnim=animObj.q[0],animate(animObj.el,nextAnim.props,nextAnim.duration,nextAnim.easing,nextAnim.complete,!0)):(index=inArray(animObj,_animations))>-1&&_animations.splice(index,1)}function setAnimationValue(el,prop,value){prop===_strScrollLeft||prop===_strScrollTop?el[prop]=value:setCSSVal(el,prop,value)}function animate(el,props,options,easing,complete,guaranteedNext){var key,animObj,progress,step,specialEasing,duration,hasOptions=isPlainObject(options),from={},to={},i=0;for(hasOptions?(easing=options.easing,options.start,progress=options.progress,step=options.step,specialEasing=options.specialEasing,complete=options.complete,duration=options.duration):duration=options,specialEasing=specialEasing||{},duration=duration||400,easing=easing||"swing",guaranteedNext=guaranteedNext||!1;i<_animations[LEXICON.l];i++)if(_animations[i].el===el){animObj=_animations[i];break}for(key in animObj||(animObj={el,q:[]},_animations.push(animObj)),props)from[key]=key===_strScrollLeft||key===_strScrollTop?el[key]:FakejQuery(el).css(key);for(key in from)from[key]!==props[key]&&props[key]!==undefined2&&(to[key]=props[key]);if(isEmptyObject(to))guaranteedNext&&startNextAnimationInQ(animObj);else{var timeNow,end,percent,fromVal,toVal,easedVal,timeStart,frame,elapsed,qPos=guaranteedNext?0:inArray(qObj,animObj.q),qObj={props:to,duration:hasOptions?options:duration,easing,complete};if(-1===qPos&&(qPos=animObj.q[LEXICON.l],animObj.q.push(qObj)),0===qPos)if(duration>0)timeStart=COMPATIBILITY.now(),frame=function(){for(key in timeNow=COMPATIBILITY.now(),elapsed=timeNow-timeStart,end=qObj.stop||elapsed>=duration,percent=1-(MATH.max(0,timeStart+duration-timeNow)/duration||0),to)fromVal=parseFloat(from[key]),toVal=parseFloat(to[key]),easedVal=(toVal-fromVal)*EASING[specialEasing[key]||easing](percent,percent*duration,0,1,duration)+fromVal,setAnimationValue(el,key,easedVal),isFunction(step)&&step(easedVal,{elem:el,prop:key,start:fromVal,now:easedVal,end:toVal,pos:percent,options:{easing,speacialEasing:specialEasing,duration,complete,step},startTime:timeStart});isFunction(progress)&&progress({},percent,MATH.max(0,duration-elapsed)),end?(startNextAnimationInQ(animObj),isFunction(complete)&&complete()):qObj.frame=COMPATIBILITY.rAF()(frame)},qObj.frame=COMPATIBILITY.rAF()(frame);else{for(key in to)setAnimationValue(el,key,to[key]);startNextAnimationInQ(animObj)}}}function elementIsVisible(el){return!!(el[LEXICON.oW]||el[LEXICON.oH]||el.getClientRects()[LEXICON.l])}function FakejQuery(selector){if(0===arguments[LEXICON.l])return this;var elms,el,base=new FakejQuery,elements=selector,i=0;if(_type(selector)==TYPES_s)for(elements=[],"<"===selector.charAt(0)?((el=document.createElement("div")).innerHTML=selector,elms=el.children):elms=document.querySelectorAll(selector);i0;)deepest=deepest.childNodes[0];for(i=0;this[LEXICON.l]-i;deepest.firstChild===this[0]&&i++)deepest.appendChild(this[i]);var nextSibling=previousSibling?previousSibling.nextSibling:parent.firstChild;return parent.insertBefore(wrapper,nextSibling),this},wrapInner:function(wrapperHTML){return this.each((function(){var el=FakejQuery(this),contents=el.contents();contents[LEXICON.l]?contents.wrapAll(wrapperHTML):el.append(wrapperHTML)}))},wrap:function(wrapperHTML){return this.each((function(){FakejQuery(this).wrapAll(wrapperHTML)}))},css:function(styles,val){var el,key,cptStyle,getCptStyle=window2.getComputedStyle;return _type(styles)==TYPES_s?val===undefined2?(el=this[0],cptStyle=getCptStyle?getCptStyle(el,null):el.currentStyle[styles],getCptStyle?null!=cptStyle?cptStyle.getPropertyValue(styles):el[LEXICON.s][styles]:cptStyle):this.each((function(){setCSSVal(this,styles,val)})):this.each((function(){for(key in styles)setCSSVal(this,key,styles[key])}))},hasClass:function(className){for(var elem,classList,i=0,classNamePrepared=" "+className+" ";elem=this[i++];){if((classList=elem.classList)&&classList.contains(className))return!0;if(1===elem.nodeType&&(" "+stripAndCollapse(elem.className+"")+" ").indexOf(classNamePrepared)>-1)return!0}return!1},addClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined2&&(supportClassList=elmClassList!==undefined2),supportClassList)for(;clazz=classes[v++];)elmClassList.add(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)cur.indexOf(" "+clazz+" ")<0&&(cur+=clazz+" ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},removeClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined2&&(supportClassList=elmClassList!==undefined2),supportClassList)for(;clazz=classes[v++];)elmClassList.remove(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)for(;cur.indexOf(" "+clazz+" ")>-1;)cur=cur.replace(" "+clazz+" "," ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},hide:function(){return this.each((function(){this[LEXICON.s].display="none"}))},show:function(){return this.each((function(){this[LEXICON.s].display="block"}))},attr:function(attrName,value){for(var el,i=0;el=this[i++];){if(value===undefined2)return el.getAttribute(attrName);el.setAttribute(attrName,value)}return this},removeAttr:function(attrName){return this.each((function(){this.removeAttribute(attrName)}))},offset:function(){var rect=this[0][LEXICON.bCR](),scrollLeft=window2.pageXOffset||document.documentElement[_strScrollLeft],scrollTop=window2.pageYOffset||document.documentElement[_strScrollTop];return{top:rect.top+scrollTop,left:rect.left+scrollLeft}},position:function(){var el=this[0];return{top:el.offsetTop,left:el.offsetLeft}},scrollLeft:function(value){for(var el,i=0;el=this[i++];){if(value===undefined2)return el[_strScrollLeft];el[_strScrollLeft]=value}return this},scrollTop:function(value){for(var el,i=0;el=this[i++];){if(value===undefined2)return el[_strScrollTop];el[_strScrollTop]=value}return this},val:function(value){var el=this[0];return value?(el.value=value,this):el.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(index){return FakejQuery(this[index>=0?index:this[LEXICON.l]+index])},find:function(selector){var i,children=[];return this.each((function(){var ch=this.querySelectorAll(selector);for(i=0;i0){if((qObj=animObj.q[0]).stop=!0,COMPATIBILITY.cAF()(qObj.frame),animObj.q.splice(0,1),jumpToEnd)for(key in qObj.props)setAnimationValue(el,key,qObj.props[key]);clearQ?animObj.q=[]:startNextAnimationInQ(animObj,!1)}break}}(this,clearQ,jump)}))}},extend(FakejQuery,{extend,inArray,isEmptyObject,isPlainObject,each}),FakejQuery}(),INSTANCES=(_targets=[],function(target,instance){var argLen=arguments[LEXICON.l];if(argLen<1)return _targets;if(instance)target.__overlayScrollbars__=instance,_targets.push(target);else{var index=COMPATIBILITY.inA(target,_targets);if(index>-1){if(!(argLen>1))return _targets[index].__overlayScrollbars__;delete target.__overlayScrollbars__,_targets.splice(index,1)}}}),PLUGIN=function(){var _plugin,_pluginsGlobals,_pluginsAutoUpdateLoop,type,possibleTemplateTypes,booleanTrueTemplate,booleanFalseTemplate,callbackTemplate,optionsDefaultsAndTemplate,convert,_pluginsExtensions=[],_pluginsOptions=(type=COMPATIBILITY.type,possibleTemplateTypes=[TYPES_b,TYPES_n,TYPES_s,TYPES_a,TYPES_o,TYPES_f,TYPES_z],optionsDefaultsAndTemplate={className:["os-theme-dark",[TYPES_z,TYPES_s]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:booleanTrueTemplate=[!0,TYPES_b],clipAlways:booleanTrueTemplate,normalizeRTL:booleanTrueTemplate,paddingAbsolute:booleanFalseTemplate=[!1,TYPES_b],autoUpdate:[null,[TYPES_z,TYPES_b]],autoUpdateInterval:[33,TYPES_n],updateOnLoad:[["img"],[TYPES_s,TYPES_a,TYPES_z]],nativeScrollbarsOverlaid:{showNativeScrollbars:booleanFalseTemplate,initialize:booleanTrueTemplate},overflowBehavior:{x:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,TYPES_n],dragScrolling:booleanTrueTemplate,clickScrolling:booleanFalseTemplate,touchSupport:booleanTrueTemplate,snapHandle:booleanFalseTemplate},textarea:{dynWidth:booleanFalseTemplate,dynHeight:booleanFalseTemplate,inheritedAttrs:[["style","class"],[TYPES_s,TYPES_a,TYPES_z]]},callbacks:{onInitialized:callbackTemplate=[null,[TYPES_z,TYPES_f]],onInitializationWithdrawn:callbackTemplate,onDestroyed:callbackTemplate,onScrollStart:callbackTemplate,onScroll:callbackTemplate,onScrollStop:callbackTemplate,onOverflowChanged:callbackTemplate,onOverflowAmountChanged:callbackTemplate,onDirectionChanged:callbackTemplate,onContentSizeChanged:callbackTemplate,onHostSizeChanged:callbackTemplate,onUpdated:callbackTemplate}},{_defaults:(convert=function(template){var recursive=function(obj){var key,val,valType;for(key in obj)obj[LEXICON.hOP](key)&&(val=obj[key],(valType=type(val))==TYPES_a?obj[key]=val[template?1:0]:valType==TYPES_o&&(obj[key]=recursive(val)));return obj};return recursive(FRAMEWORK.extend(!0,{},optionsDefaultsAndTemplate))})(),_template:convert(!0),_validate:function(obj,template,writeErrors,diffObj){var validatedOptions={},validatedOptionsPrepared={},objectCopy=FRAMEWORK.extend(!0,{},obj),inArray=FRAMEWORK.inArray,isEmptyObj=FRAMEWORK.isEmptyObject,checkObjectProps=function(data,template2,diffData,validatedOptions2,validatedOptionsPrepared2,prevPropName){for(var prop in template2)if(template2[LEXICON.hOP](prop)&&data[LEXICON.hOP](prop)){var restrictedStringValuesSplit,restrictedStringValuesPossibilitiesSplit,isRestrictedValue,mainPossibility,currType,i,v,j,isValid=!1,isDiff=!1,templateValue=template2[prop],templateValueType=type(templateValue),templateIsComplex=templateValueType==TYPES_o,templateTypes=COMPATIBILITY.isA(templateValue)?templateValue:[templateValue],dataDiffValue=diffData[prop],dataValue=data[prop],dataValueType=type(dataValue),propPrefix=prevPropName?prevPropName+".":"",error='The option "'+propPrefix+prop+"\" wasn't set, because",errorPossibleTypes=[],errorRestrictedStrings=[];if(dataDiffValue=dataDiffValue===undefined2?{}:dataDiffValue,templateIsComplex&&dataValueType==TYPES_o)validatedOptions2[prop]={},validatedOptionsPrepared2[prop]={},checkObjectProps(dataValue,templateValue,dataDiffValue,validatedOptions2[prop],validatedOptionsPrepared2[prop],propPrefix+prop),FRAMEWORK.each([data,validatedOptions2,validatedOptionsPrepared2],(function(index,value){isEmptyObj(value[prop])&&delete value[prop]}));else if(!templateIsComplex){for(i=0;i0?"\r\nValid strings are: [ "+errorRestrictedStrings.join(", ").split(":").join(", ")+" ].":"")),delete data[prop]}}};return checkObjectProps(objectCopy,template,diffObj||{},validatedOptions,validatedOptionsPrepared),!isEmptyObj(objectCopy)&&writeErrors&&console.warn("The following options are discarded due to invalidity:\r\n"+window2.JSON.stringify(objectCopy,null,2)),{_default:validatedOptions,_prepared:validatedOptionsPrepared}}});function initOverlayScrollbarsStatics(){_pluginsGlobals||(_pluginsGlobals=new OverlayScrollbarsGlobals(_pluginsOptions._defaults)),_pluginsAutoUpdateLoop||(_pluginsAutoUpdateLoop=new OverlayScrollbarsAutoUpdateLoop(_pluginsGlobals))}function OverlayScrollbarsGlobals(defaultOptions){var _base=this,bodyElement=FRAMEWORK("body"),scrollbarDummyElement=FRAMEWORK('
'),scrollbarDummyElement0=scrollbarDummyElement[0],dummyContainerChild=FRAMEWORK(scrollbarDummyElement.children("div").eq(0));bodyElement.append(scrollbarDummyElement),scrollbarDummyElement.hide().show();var result,ua,msie2,trident,edge,rv,parseIntFunc,nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement0),nativeScrollbarIsOverlaid={x:0===nativeScrollbarSize.x,y:0===nativeScrollbarSize.y},msie=(ua=window2.navigator.userAgent,msie2=ua.indexOf("MSIE "),trident=ua.indexOf("Trident/"),edge=ua.indexOf("Edge/"),rv=ua.indexOf("rv:"),parseIntFunc=parseInt,msie2>0?result=parseIntFunc(ua.substring(msie2+5,ua.indexOf(".",msie2)),10):trident>0?result=parseIntFunc(ua.substring(rv+3,ua.indexOf(".",rv)),10):edge>0&&(result=parseIntFunc(ua.substring(edge+5,ua.indexOf(".",edge)),10)),result);function calcNativeScrollbarSize(measureElement){return{x:measureElement[LEXICON.oH]-measureElement[LEXICON.cH],y:measureElement[LEXICON.oW]-measureElement[LEXICON.cW]}}FRAMEWORK.extend(_base,{defaultOptions,msie,autoUpdateLoop:!1,autoUpdateRecommended:!COMPATIBILITY.mO(),nativeScrollbarSize,nativeScrollbarIsOverlaid,nativeScrollbarStyling:function(){var result=!1;scrollbarDummyElement.addClass("os-viewport-native-scrollbars-invisible");try{result="none"===scrollbarDummyElement.css("scrollbar-width")&&(msie>9||!msie)||"none"===window2.getComputedStyle(scrollbarDummyElement0,"::-webkit-scrollbar").getPropertyValue("display")}catch{}return result}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:VENDORS._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){scrollbarDummyElement.css("overflow","hidden");var scrollSize_w=scrollbarDummyElement0[LEXICON.sW],scrollSize_h=scrollbarDummyElement0[LEXICON.sH];scrollbarDummyElement.css("overflow","visible");var scrollSize2_w=scrollbarDummyElement0[LEXICON.sW],scrollSize2_h=scrollbarDummyElement0[LEXICON.sH];return scrollSize_w-scrollSize2_w!=0||scrollSize_h-scrollSize2_h!=0}(),rtlScrollBehavior:function(){scrollbarDummyElement.css({"overflow-y":"hidden","overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var dummyContainerOffset=scrollbarDummyElement.offset(),dummyContainerChildOffset=dummyContainerChild.offset();scrollbarDummyElement.scrollLeft(-999);var dummyContainerChildOffsetAfterScroll=dummyContainerChild.offset();return{i:dummyContainerOffset.left===dummyContainerChildOffset.left,n:dummyContainerChildOffset.left!==dummyContainerChildOffsetAfterScroll.left}}(),supportTransform:!!VENDORS._cssProperty("transform"),supportTransition:!!VENDORS._cssProperty("transition"),supportPassiveEvents:function(){var supportsPassive=!1;try{window2.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){supportsPassive=!0}}))}catch{}return supportsPassive}(),supportResizeObserver:!!COMPATIBILITY.rO(),supportMutationObserver:!!COMPATIBILITY.mO()}),scrollbarDummyElement.removeAttr(LEXICON.s).remove(),function(){if(!nativeScrollbarIsOverlaid.x||!nativeScrollbarIsOverlaid.y){var abs=MATH.abs,windowWidth=COMPATIBILITY.wW(),windowHeight=COMPATIBILITY.wH(),windowDpr=getWindowDPR();FRAMEWORK(window2).on("resize",(function(){if(INSTANCES().length>0){var newW=COMPATIBILITY.wW(),newH=COMPATIBILITY.wH(),deltaW=newW-windowWidth,deltaH=newH-windowHeight;if(0===deltaW&&0===deltaH)return;var newScrollbarSize,deltaWRatio=MATH.round(newW/(windowWidth/100)),deltaHRatio=MATH.round(newH/(windowHeight/100)),absDeltaW=abs(deltaW),absDeltaH=abs(deltaH),absDeltaWRatio=abs(deltaWRatio),absDeltaHRatio=abs(deltaHRatio),newDPR=getWindowDPR(),deltaIsBigger=absDeltaW>2&&absDeltaH>2,difference=!function differenceIsBiggerThanOne(valOne,valTwo){var absValOne=abs(valOne),absValTwo=abs(valTwo);return!(absValOne===absValTwo||absValOne+1===absValTwo||absValOne-1===absValTwo)}(absDeltaWRatio,absDeltaHRatio),isZoom=deltaIsBigger&&difference&&newDPR!==windowDpr&&windowDpr>0,oldScrollbarSize=_base.nativeScrollbarSize;isZoom&&(bodyElement.append(scrollbarDummyElement),newScrollbarSize=_base.nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement[0]),scrollbarDummyElement.remove(),(oldScrollbarSize.x!==newScrollbarSize.x||oldScrollbarSize.y!==newScrollbarSize.y)&&FRAMEWORK.each(INSTANCES(),(function(){INSTANCES(this)&&INSTANCES(this).update("zoom")}))),windowWidth=newW,windowHeight=newH,windowDpr=newDPR}}))}function getWindowDPR(){var dDPI=window2.screen.deviceXDPI||0,sDPI=window2.screen.logicalXDPI||1;return window2.devicePixelRatio||dDPI/sDPI}}()}function OverlayScrollbarsAutoUpdateLoop(globals){var _loopID,_inArray=FRAMEWORK.inArray,_getNow=COMPATIBILITY.now,_strLength=LEXICON.l,_loopingInstances=[],_loopingInstancesIntervalCache=[],_loopIsActive=!1,_loopInterval=33,_loopTimeOld=_getNow(),loop=function(){if(_loopingInstances[_strLength]>0&&_loopIsActive){_loopID=COMPATIBILITY.rAF()((function(){loop()}));var lowestInterval,instance,instanceOptions,instanceAutoUpdateAllowed,instanceAutoUpdateInterval,now,timeNew=_getNow(),timeDelta=timeNew-_loopTimeOld;if(timeDelta>_loopInterval){_loopTimeOld=timeNew-timeDelta%_loopInterval,lowestInterval=33;for(var i=0;i<_loopingInstances[_strLength];i++)(instance=_loopingInstances[i])!==undefined2&&(instanceAutoUpdateAllowed=(instanceOptions=instance.options()).autoUpdate,instanceAutoUpdateInterval=MATH.max(1,instanceOptions.autoUpdateInterval),now=_getNow(),(!0===instanceAutoUpdateAllowed||null===instanceAutoUpdateAllowed)&&now-_loopingInstancesIntervalCache[i]>instanceAutoUpdateInterval&&(instance.update("auto"),_loopingInstancesIntervalCache[i]=new Date(now+=instanceAutoUpdateInterval)),lowestInterval=MATH.max(1,MATH.min(lowestInterval,instanceAutoUpdateInterval)));_loopInterval=lowestInterval}}else _loopInterval=33};this.add=function(instance){-1===_inArray(instance,_loopingInstances)&&(_loopingInstances.push(instance),_loopingInstancesIntervalCache.push(_getNow()),_loopingInstances[_strLength]>0&&!_loopIsActive&&(_loopIsActive=!0,globals.autoUpdateLoop=_loopIsActive,loop()))},this.remove=function(instance){var index=_inArray(instance,_loopingInstances);index>-1&&(_loopingInstancesIntervalCache.splice(index,1),_loopingInstances.splice(index,1),0===_loopingInstances[_strLength]&&_loopIsActive&&(_loopIsActive=!1,globals.autoUpdateLoop=_loopIsActive,_loopID!==undefined2&&(COMPATIBILITY.cAF()(_loopID),_loopID=-1)))}}function OverlayScrollbarsInstance(pluginTargetElement,options,extensions,globals,autoUpdateLoop){var type=COMPATIBILITY.type,inArray=FRAMEWORK.inArray,each=FRAMEWORK.each,_base=new _plugin,_frameworkProto=FRAMEWORK[LEXICON.p];if(isHTMLElement(pluginTargetElement)){if(INSTANCES(pluginTargetElement)){var inst=INSTANCES(pluginTargetElement);return inst.options(options),inst}var _nativeScrollbarIsOverlaid,_overlayScrollbarDummySize,_rtlScrollBehavior,_autoUpdateRecommended,_msieVersion,_nativeScrollbarStyling,_cssCalc,_nativeScrollbarSize,_supportTransition,_supportTransform,_supportPassiveEvents,_supportResizeObserver,_supportMutationObserver,_initialized,_destroyed,_isTextarea,_isBody,_documentMixed,_domExists,_isBorderBox,_sizeAutoObserverAdded,_paddingX,_paddingY,_borderX,_borderY,_marginX,_marginY,_isRTL,_sleeping,_defaultOptions,_currentOptions,_currentPreparedOptions,_lastUpdateTime,_swallowedUpdateTimeout,_windowElement,_documentElement,_htmlElement,_bodyElement,_targetElement,_hostElement,_sizeAutoObserverElement,_sizeObserverElement,_paddingElement,_viewportElement,_contentElement,_contentArrangeElement,_contentGlueElement,_textareaCoverElement,_scrollbarCornerElement,_scrollbarHorizontalElement,_scrollbarHorizontalTrackElement,_scrollbarHorizontalHandleElement,_scrollbarVerticalElement,_scrollbarVerticalTrackElement,_scrollbarVerticalHandleElement,_windowElementNative,_documentElementNative,_targetElementNative,_hostElementNative,_sizeAutoObserverElementNative,_sizeObserverElementNative,_paddingElementNative,_viewportElementNative,_contentElementNative,_hostSizeCache,_contentScrollSizeCache,_arrangeContentSizeCache,_hasOverflowCache,_hideOverflowCache,_widthAutoCache,_heightAutoCache,_cssBoxSizingCache,_cssPaddingCache,_cssBorderCache,_cssMarginCache,_cssDirectionCache,_cssDirectionDetectedCache,_paddingAbsoluteCache,_clipAlwaysCache,_contentGlueSizeCache,_overflowBehaviorCache,_overflowAmountCache,_ignoreOverlayScrollbarHidingCache,_autoUpdateCache,_sizeAutoCapableCache,_contentElementScrollSizeChangeDetectedCache,_hostElementSizeChangeDetectedCache,_scrollbarsVisibilityCache,_scrollbarsAutoHideCache,_scrollbarsClickScrollingCache,_scrollbarsDragScrollingCache,_resizeCache,_normalizeRTLCache,_classNameCache,_oldClassName,_textareaAutoWrappingCache,_textareaInfoCache,_textareaSizeCache,_textareaDynHeightCache,_textareaDynWidthCache,_bodyMinSizeCache,_mutationObserverHost,_mutationObserverContent,_mutationObserverHostCallback,_mutationObserverContentCallback,_mutationObserversConnected,_textareaHasFocus,_scrollbarsAutoHideTimeoutId,_scrollbarsAutoHideMoveTimeoutId,_scrollbarsAutoHideDelay,_scrollbarsAutoHideNever,_scrollbarsAutoHideScroll,_scrollbarsAutoHideMove,_scrollbarsAutoHideLeave,_scrollbarsHandleHovered,_scrollbarsHandlesDefineScrollPos,_resizeNone,_resizeBoth,_resizeHorizontal,_resizeVertical,_contentBorderSize={},_scrollHorizontalInfo={},_scrollVerticalInfo={},_viewportSize={},_nativeScrollbarMinSize={},_strMarginMinus="margin-",_strPaddingMinus="padding-",_strBorderMinus="border-",_strTop="top",_strRight="right",_strBottom="bottom",_strLeft="left",_strMinMinus="min-",_strMaxMinus="max-",_strWidth="width",_strHeight="height",_strFloat="float",_strEmpty="",_strAuto="auto",_strScroll="scroll",_strHundredPercent="100%",_strX="x",_strY="y",_strDot=".",_strSpace=" ",_strScrollLeft=_strScroll+"Left",_strScrollTop=_strScroll+"Top",_strMouseTouchDownEvent="mousedown touchstart",_strMouseTouchUpEvent="mouseup touchend touchcancel",_strMouseTouchMoveEvent="mousemove touchmove",_strMouseEnter="mouseenter",_strMouseLeave="mouseleave",_strKeyDownEvent="keydown",_strKeyUpEvent="keyup",_strSelectStartEvent="selectstart",_strTransitionEndEvent="transitionend webkitTransitionEnd oTransitionEnd",_strResizeObserverProperty="__overlayScrollbarsRO__",_classNameHTMLElement="os-html",_classNameHostElement="os-host",_classNameHostElementForeign=_classNameHostElement+"-foreign",_classNameHostTextareaElement=_classNameHostElement+"-textarea",_classNameHostScrollbarHorizontalHidden=_classNameHostElement+"-scrollbar-horizontal-hidden",_classNameHostScrollbarVerticalHidden=_classNameHostElement+"-scrollbar-vertical-hidden",_classNameHostTransition=_classNameHostElement+"-transition",_classNameHostRTL=_classNameHostElement+"-rtl",_classNameHostResizeDisabled=_classNameHostElement+"-resize-disabled",_classNameHostScrolling=_classNameHostElement+"-scrolling",_classNameHostOverflow=_classNameHostElement+"-overflow",_classNameHostOverflowX=(_classNameHostOverflow=_classNameHostElement+"-overflow")+"-x",_classNameHostOverflowY=_classNameHostOverflow+"-y",_classNameTextareaElement="os-textarea",_classNameTextareaCoverElement=_classNameTextareaElement+"-cover",_classNamePaddingElement="os-padding",_classNameViewportElement="os-viewport",_classNameViewportNativeScrollbarsInvisible=_classNameViewportElement+"-native-scrollbars-invisible",_classNameViewportNativeScrollbarsOverlaid=_classNameViewportElement+"-native-scrollbars-overlaid",_classNameContentElement="os-content",_classNameContentArrangeElement="os-content-arrange",_classNameContentGlueElement="os-content-glue",_classNameSizeAutoObserverElement="os-size-auto-observer",_classNameResizeObserverElement="os-resize-observer",_classNameResizeObserverItemElement="os-resize-observer-item",_classNameResizeObserverItemFinalElement=_classNameResizeObserverItemElement+"-final",_classNameTextInherit="os-text-inherit",_classNameScrollbar="os-scrollbar",_classNameScrollbarTrack=_classNameScrollbar+"-track",_classNameScrollbarTrackOff=_classNameScrollbarTrack+"-off",_classNameScrollbarHandle=_classNameScrollbar+"-handle",_classNameScrollbarHandleOff=_classNameScrollbarHandle+"-off",_classNameScrollbarUnusable=_classNameScrollbar+"-unusable",_classNameScrollbarAutoHidden=_classNameScrollbar+"-"+_strAuto+"-hidden",_classNameScrollbarCorner=_classNameScrollbar+"-corner",_classNameScrollbarCornerResize=_classNameScrollbarCorner+"-resize",_classNameScrollbarCornerResizeB=_classNameScrollbarCornerResize+"-both",_classNameScrollbarCornerResizeH=_classNameScrollbarCornerResize+"-horizontal",_classNameScrollbarCornerResizeV=_classNameScrollbarCornerResize+"-vertical",_classNameScrollbarHorizontal=_classNameScrollbar+"-horizontal",_classNameScrollbarVertical=_classNameScrollbar+"-vertical",_classNameDragging="os-dragging",_classNameThemeNone="os-theme-none",_classNamesDynamicDestroy=[_classNameViewportNativeScrollbarsInvisible,_classNameViewportNativeScrollbarsOverlaid,_classNameScrollbarTrackOff,_classNameScrollbarHandleOff,_classNameScrollbarUnusable,_classNameScrollbarAutoHidden,_classNameScrollbarCornerResize,_classNameScrollbarCornerResizeB,_classNameScrollbarCornerResizeH,_classNameScrollbarCornerResizeV,_classNameDragging].join(_strSpace),_callbacksInitQeueue=[],_viewportAttrsFromTarget=[LEXICON.ti],_extensions={},_swallowedUpdateHints={},_swallowUpdateLag=42,_updateOnLoadEventName="load",_updateOnLoadElms=[],_updateAutoCache={},_mutationObserverAttrsTextarea=["wrap","cols","rows"],_mutationObserverAttrsHost=[LEXICON.i,LEXICON.c,LEXICON.s,"open"].concat(_viewportAttrsFromTarget),_destroyEvents=[];return _base.sleep=function(){_sleeping=!0},_base.update=function(force){var attrsChanged,contentSizeC,doUpdateAuto,mutHost,mutContent;if(!_destroyed)return type(force)==TYPES_s?force===_strAuto?(attrsChanged=function meaningfulAttrsChanged(){if(!_sleeping&&!_mutationObserversConnected){var elem,curr,cache,changedAttrs=[],checks=[{_elem:_hostElement,_attrs:_mutationObserverAttrsHost.concat(":visible")},{_elem:_isTextarea?_targetElement:undefined2,_attrs:_mutationObserverAttrsTextarea}];return each(checks,(function(index,check){(elem=check._elem)&&each(check._attrs,(function(index2,attr){curr=":"===attr.charAt(0)?elem.is(attr):elem.attr(attr),cache=_updateAutoCache[attr],checkCache(curr,cache)&&changedAttrs.push(attr),_updateAutoCache[attr]=curr}))})),updateViewportAttrsFromTarget(changedAttrs),changedAttrs[LEXICON.l]>0}}(),contentSizeC=function updateAutoContentSizeChanged(){if(_sleeping)return!1;var float,bodyMinSizeC,changed,contentElementScrollSize,contentMeasureElement=getContentMeasureElement(),textareaValueLength=_isTextarea&&_widthAutoCache&&!_textareaAutoWrappingCache?_targetElement.val().length:0,setCSS=!_mutationObserversConnected&&_widthAutoCache&&!_isTextarea,css={};return setCSS&&(float=_contentElement.css(_strFloat),css[_strFloat]=_isRTL?_strRight:_strLeft,css[_strWidth]=_strAuto,_contentElement.css(css)),contentElementScrollSize={w:contentMeasureElement[LEXICON.sW]+textareaValueLength,h:contentMeasureElement[LEXICON.sH]+textareaValueLength},setCSS&&(css[_strFloat]=float,css[_strWidth]=_strHundredPercent,_contentElement.css(css)),bodyMinSizeC=bodyMinSizeChanged(),changed=checkCache(contentElementScrollSize,_contentElementScrollSizeChangeDetectedCache),_contentElementScrollSizeChangeDetectedCache=contentElementScrollSize,changed||bodyMinSizeC}(),(doUpdateAuto=attrsChanged||contentSizeC)&&update({_contentSizeChanged:contentSizeC,_changedOptions:_initialized?undefined2:_currentPreparedOptions})):"sync"===force?_mutationObserversConnected?(mutHost=_mutationObserverHostCallback(_mutationObserverHost.takeRecords()),mutContent=_mutationObserverContentCallback(_mutationObserverContent.takeRecords())):mutHost=_base.update(_strAuto):"zoom"===force&&update({_hostSizeChanged:!0,_contentSizeChanged:!0}):(force=_sleeping||force,_sleeping=!1,(!_base.update("sync")||force)&&update({_force:force})),updateElementsOnLoad(),doUpdateAuto||mutHost||mutContent},_base.options=function(newOptions,value){var changedOps,option={};if(FRAMEWORK.isEmptyObject(newOptions)||!FRAMEWORK.isPlainObject(newOptions)){if(type(newOptions)!=TYPES_s)return _currentOptions;if(!(arguments.length>1))return getObjectPropVal(_currentOptions,newOptions);(function setObjectPropVal(obj,path,val){for(var splits=path.split(_strDot),splitsLength=splits.length,i=0,extendObj={},extendObjRoot=extendObj;i0;)_destroyEvents.pop()();setupHostMouseTouchEvents(!0),_contentGlueElement&&remove(_contentGlueElement),_contentArrangeElement&&remove(_contentArrangeElement),_sizeAutoObserverAdded&&remove(_sizeAutoObserverElement),setupScrollbarsDOM(!0),setupScrollbarCornerDOM(!0),setupStructureDOM(!0);for(var i=0;i<_updateOnLoadElms[LEXICON.l];i++)FRAMEWORK(_updateOnLoadElms[i]).off(_updateOnLoadEventName,updateOnLoadCallback);_updateOnLoadElms=undefined2,_destroyed=!0,_sleeping=!0,INSTANCES(pluginTargetElement,0),dispatchCallback("onDestroyed")}},_base.scroll=function(coordinates,duration,easing,complete){if(0===arguments.length||coordinates===undefined2){var infoX=_scrollHorizontalInfo,infoY=_scrollVerticalInfo,normalizeInvert=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.i,normalizeNegate=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.n,scrollX=infoX._currentScroll,scrollXRatio=infoX._currentScrollRatio,maxScrollX=infoX._maxScroll;return scrollXRatio=normalizeInvert?1-scrollXRatio:scrollXRatio,scrollX=normalizeInvert?maxScrollX-scrollX:scrollX,maxScrollX*=normalizeNegate?-1:1,{position:{x:scrollX*=normalizeNegate?-1:1,y:infoY._currentScroll},ratio:{x:scrollXRatio,y:infoY._currentScrollRatio},max:{x:maxScrollX,y:infoY._maxScroll},handleOffset:{x:infoX._handleOffset,y:infoY._handleOffset},handleLength:{x:infoX._handleLength,y:infoY._handleLength},handleLengthRatio:{x:infoX._handleLengthRatio,y:infoY._handleLengthRatio},trackLength:{x:infoX._trackLength,y:infoY._trackLength},snappedHandleOffset:{x:infoX._snappedHandleOffset,y:infoY._snappedHandleOffset},isRTL:_isRTL,isRTLNormalized:_normalizeRTLCache}}_base.update("sync");var i,doScrollLeft,doScrollTop,animationOptions,settingsAxis,settingsScroll,settingsBlock,settingsMargin,finalElement,normalizeRTL=_normalizeRTLCache,coordinatesXAxisProps=[_strX,_strLeft,"l"],coordinatesYAxisProps=[_strY,_strTop,"t"],coordinatesOperators=["+=","-=","*=","/="],durationIsObject=type(duration)==TYPES_o,completeCallback=durationIsObject?duration.complete:complete,finalScroll={},specialEasing={},strLength=LEXICON.l,elementObjSettingsAxisValues=[_strX,_strY,"xy","yx"],elementObjSettingsBlockValues=["begin","end","center","nearest"],elementObjSettingsScrollValues=["always","never","ifneeded"],coordinatesIsElementObj=coordinates[LEXICON.hOP]("el"),possibleElement=coordinatesIsElementObj?coordinates.el:coordinates,possibleElementIsJQuery=!!(possibleElement instanceof FRAMEWORK||JQUERY)&&possibleElement instanceof JQUERY,possibleElementIsHTMLElement=!possibleElementIsJQuery&&isHTMLElement(possibleElement),updateScrollbarInfos=function(){doScrollLeft&&refreshScrollbarHandleOffset(!0),doScrollTop&&refreshScrollbarHandleOffset(!1)},proxyCompleteCallback=type(completeCallback)!=TYPES_f?undefined2:function(){updateScrollbarInfos(),completeCallback()};function checkSettingsStringValue(currValue,allowedValues){for(i=0;i2&&(possibleOperator=rawScroll.substr(0,2),inArray(possibleOperator,coordinatesOperators)>-1&&(operator=possibleOperator)),rawScroll=(rawScroll=operator?rawScroll.substr(2):rawScroll).replace(/min/g,0).replace(//g,(normalizeShortcuts?"-":_strEmpty)+_strHundredPercent).replace(/px/g,_strEmpty).replace(/%/g," * "+maxScroll*(isRTLisX&&_rtlScrollBehavior.n?-1:1)/100).replace(/vw/g," * "+_viewportSize.w).replace(/vh/g," * "+_viewportSize.h),amount=parseToZeroOrNumber(isNaN(rawScroll)?parseToZeroOrNumber(evalFunc(rawScroll),!0).toFixed():rawScroll)):amount=rawScroll,amount!==undefined2&&!isNaN(amount)&&type(amount)==TYPES_n){var normalizeIsRTLisX=normalizeRTL&&isRTLisX,operatorCurrScroll=currScroll*(normalizeIsRTLisX&&_rtlScrollBehavior.n?-1:1),invert=normalizeIsRTLisX&&_rtlScrollBehavior.i,negate=normalizeIsRTLisX&&_rtlScrollBehavior.n;switch(operatorCurrScroll=invert?maxScroll-operatorCurrScroll:operatorCurrScroll,operator){case"+=":finalValue=operatorCurrScroll+amount;break;case"-=":finalValue=operatorCurrScroll-amount;break;case"*=":finalValue=operatorCurrScroll*amount;break;case"/=":finalValue=operatorCurrScroll/amount;break;default:finalValue=amount}finalValue=invert?maxScroll-finalValue:finalValue,finalValue*=negate?-1:1,finalValue=isRTLisX&&_rtlScrollBehavior.n?MATH.min(0,MATH.max(maxScroll,finalValue)):MATH.max(0,MATH.min(maxScroll,finalValue))}return finalValue===currScroll?undefined2:finalValue}function getPerAxisValue(value,valueInternalType,defaultValue,allowedValues){var valueArrLength,valueArrItem,resultDefault=[defaultValue,defaultValue],valueType=type(value);if(valueType==valueInternalType)value=[value,value];else if(valueType==TYPES_a){if((valueArrLength=value[strLength])>2||valueArrLength<1)value=resultDefault;else for(1===valueArrLength&&(value[1]=defaultValue),i=0;i0){margin=marginType==TYPES_n||marginType==TYPES_b?generateMargin([margin,margin,margin,margin]):marginType==TYPES_a?2===(marginLength=margin[strLength])?generateMargin([margin[0],margin[1],margin[0],margin[1]]):marginLength>=4?generateMargin(margin):marginDefault:marginType==TYPES_o?generateMargin([margin[_strTop],margin[_strRight],margin[_strBottom],margin[_strLeft]]):marginDefault,settingsAxis=checkSettingsStringValue(axis,elementObjSettingsAxisValues)?axis:"xy",settingsScroll=getPerAxisValue(scroll,TYPES_s,"always",elementObjSettingsScrollValues),settingsBlock=getPerAxisValue(block,TYPES_s,"begin",elementObjSettingsBlockValues),settingsMargin=margin;var viewportScroll={l:_scrollHorizontalInfo._currentScroll,t:_scrollVerticalInfo._currentScroll},viewportOffset=_paddingElement.offset(),elementOffset=finalElement.offset(),doNotScroll={x:"never"==settingsScroll.x||settingsAxis==_strY,y:"never"==settingsScroll.y||settingsAxis==_strX};elementOffset[_strTop]-=settingsMargin[0],elementOffset[_strLeft]-=settingsMargin[3];var elementScrollCoordinates={x:MATH.round(elementOffset[_strLeft]-viewportOffset[_strLeft]+viewportScroll.l),y:MATH.round(elementOffset[_strTop]-viewportOffset[_strTop]+viewportScroll.t)};if(_isRTL&&(!_rtlScrollBehavior.n&&!_rtlScrollBehavior.i&&(elementScrollCoordinates.x=MATH.round(viewportOffset[_strLeft]-elementOffset[_strLeft]+viewportScroll.l)),_rtlScrollBehavior.n&&normalizeRTL&&(elementScrollCoordinates.x*=-1),_rtlScrollBehavior.i&&normalizeRTL&&(elementScrollCoordinates.x=MATH.round(viewportOffset[_strLeft]-elementOffset[_strLeft]+(_scrollHorizontalInfo._maxScroll-viewportScroll.l)))),"begin"!=settingsBlock.x||"begin"!=settingsBlock.y||"ifneeded"==settingsScroll.x||"ifneeded"==settingsScroll.y||_isRTL){var measuringElm=finalElement[0],rawElementSize=_supportTransform?measuringElm[LEXICON.bCR]():{width:measuringElm[LEXICON.oW],height:measuringElm[LEXICON.oH]},elementSize={w:rawElementSize[_strWidth]+settingsMargin[3]+settingsMargin[1],h:rawElementSize[_strHeight]+settingsMargin[0]+settingsMargin[2]},finalizeBlock=function(isX){var vars=getScrollbarVars(isX),wh=vars._w_h,lt=vars._left_top,xy=vars._x_y,blockIsEnd=settingsBlock[xy]==(isX&&_isRTL?"begin":"end"),blockIsCenter="center"==settingsBlock[xy],blockIsNearest="nearest"==settingsBlock[xy],scrollNever="never"==settingsScroll[xy],scrollIfNeeded="ifneeded"==settingsScroll[xy],vpSize=_viewportSize[wh],vpOffset=viewportOffset[lt],elSize=elementSize[wh],elOffset=elementOffset[lt],divide=blockIsCenter?2:1,elementCenterOffset=elOffset+elSize/2,viewportCenterOffset=vpOffset+vpSize/2,isInView=elSize<=vpSize&&elOffset>=vpOffset&&elOffset+elSize<=vpOffset+vpSize;scrollNever?doNotScroll[xy]=!0:doNotScroll[xy]||((blockIsNearest||scrollIfNeeded)&&(doNotScroll[xy]=!!scrollIfNeeded&&isInView,blockIsEnd=elSizeviewportCenterOffset:elementCenterOffset0||durationIsObject)?durationIsObject?(duration.complete=proxyCompleteCallback,_viewportElement.animate(finalScroll,duration)):(animationOptions={duration,complete:proxyCompleteCallback},COMPATIBILITY.isA(easing)||FRAMEWORK.isPlainObject(easing)?(specialEasing[_strScrollLeft]=easing[0]||easing.x,specialEasing[_strScrollTop]=easing[1]||easing.y,animationOptions.specialEasing=specialEasing):animationOptions.easing=easing,_viewportElement.animate(finalScroll,animationOptions)):(doScrollLeft&&_viewportElement[_strScrollLeft](finalScroll[_strScrollLeft]),doScrollTop&&_viewportElement[_strScrollTop](finalScroll[_strScrollTop]),updateScrollbarInfos())},_base.scrollStop=function(param1,param2,param3){return _viewportElement.stop(param1,param2,param3),_base},_base.getElements=function(elementName){var obj={target:_targetElementNative,host:_hostElementNative,padding:_paddingElementNative,viewport:_viewportElementNative,content:_contentElementNative,scrollbarHorizontal:{scrollbar:_scrollbarHorizontalElement[0],track:_scrollbarHorizontalTrackElement[0],handle:_scrollbarHorizontalHandleElement[0]},scrollbarVertical:{scrollbar:_scrollbarVerticalElement[0],track:_scrollbarVerticalTrackElement[0],handle:_scrollbarVerticalHandleElement[0]},scrollbarCorner:_scrollbarCornerElement[0]};return type(elementName)==TYPES_s?getObjectPropVal(obj,elementName):obj},_base.getState=function(stateProperty){function prepare(obj2){if(!FRAMEWORK.isPlainObject(obj2))return obj2;var extended=extendDeep({},obj2),changePropertyName=function(from,to){extended[LEXICON.hOP](from)&&(extended[to]=extended[from],delete extended[from])};return changePropertyName("w",_strWidth),changePropertyName("h",_strHeight),delete extended.c,extended}var obj={destroyed:!!prepare(_destroyed),sleeping:!!prepare(_sleeping),autoUpdate:prepare(!_mutationObserversConnected),widthAuto:prepare(_widthAutoCache),heightAuto:prepare(_heightAutoCache),padding:prepare(_cssPaddingCache),overflowAmount:prepare(_overflowAmountCache),hideOverflow:prepare(_hideOverflowCache),hasOverflow:prepare(_hasOverflowCache),contentScrollSize:prepare(_contentScrollSizeCache),viewportSize:prepare(_viewportSize),hostSize:prepare(_hostSizeCache),documentMixed:prepare(_documentMixed)};return type(stateProperty)==TYPES_s?getObjectPropVal(obj,stateProperty):obj},_base.ext=function(extName){var result,privateMethods="added removed on contract".split(" "),i=0;if(type(extName)==TYPES_s){if(_extensions[LEXICON.hOP](extName))for(result=extendDeep({},_extensions[extName]);i9||!_autoUpdateRecommended){targetElement.prepend(generateDiv(_classNameResizeObserverElement,generateDiv({c:_classNameResizeObserverItemElement,dir:"ltr"},generateDiv(_classNameResizeObserverItemElement,generateDiv(_classNameResizeObserverItemFinalElement))+generateDiv(_classNameResizeObserverItemElement,generateDiv({c:_classNameResizeObserverItemFinalElement,style:"width: 200%; height: 200%"})))));var isDirty,rAFId,currWidth,currHeight,observerElement=targetElement[0].childNodes[0].childNodes[0],shrinkElement=FRAMEWORK(observerElement.childNodes[1]),expandElement=FRAMEWORK(observerElement.childNodes[0]),expandElementChild=FRAMEWORK(expandElement[0].childNodes[0]),widthCache=observerElement[LEXICON.oW],heightCache=observerElement[LEXICON.oH],nativeScrollbarSize=globals.nativeScrollbarSize,reset=function(){expandElement[_strScrollLeft](3333333)[_strScrollTop](3333333),shrinkElement[_strScrollLeft](3333333)[_strScrollTop](3333333)},onResized=function(){rAFId=0,isDirty&&(widthCache=currWidth,heightCache=currHeight,callback())},onScroll=function(event){return currWidth=observerElement[LEXICON.oW],currHeight=observerElement[LEXICON.oH],isDirty=currWidth!=widthCache||currHeight!=heightCache,event&&isDirty&&!rAFId?(COMPATIBILITY.cAF()(rAFId),rAFId=COMPATIBILITY.rAF()(onResized)):event||onResized(),reset(),event&&(COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)),!1},expandChildCSS={},observerElementCSS={};setTopRightBottomLeft(observerElementCSS,_strEmpty,[-2*(nativeScrollbarSize.y+1),-2*nativeScrollbarSize.x,-2*nativeScrollbarSize.y,-2*(nativeScrollbarSize.x+1)]),FRAMEWORK(observerElement).css(observerElementCSS),expandElement.on(_strScroll,onScroll),shrinkElement.on(_strScroll,onScroll),targetElement.on(strAnimationStartEvent,(function(){onScroll(!1)})),expandChildCSS[_strWidth]=3333333,expandChildCSS[_strHeight]=3333333,expandElementChild.css(expandChildCSS),reset()}else{var attachEvent=_documentElementNative.attachEvent,isIE=_msieVersion!==undefined2;if(attachEvent)targetElement.prepend(generateDiv(_classNameResizeObserverElement)),findFirst(targetElement,_strDot+_classNameResizeObserverElement)[0].attachEvent("onresize",callback);else{var obj=_documentElementNative.createElement(TYPES_o);obj.setAttribute(LEXICON.ti,"-1"),obj.setAttribute(LEXICON.c,_classNameResizeObserverElement),obj.onload=function(){var wnd=this.contentDocument.defaultView;wnd.addEventListener("resize",callback),wnd.document.documentElement.style.display="none"},obj.type="text/html",isIE&&targetElement.prepend(obj),obj.data="about:blank",isIE||targetElement.prepend(obj),targetElement.on(strAnimationStartEvent,callback)}}if(targetElement[0]===_sizeObserverElementNative){var directionChanged=function(){var dir=_hostElement.css("direction"),css={},scrollLeftValue=0,result=!1;return dir!==_cssDirectionDetectedCache&&("ltr"===dir?(css[_strLeft]=0,css[_strRight]=_strAuto,scrollLeftValue=3333333):(css[_strLeft]=_strAuto,css[_strRight]=0,scrollLeftValue=_rtlScrollBehavior.n?-3333333:_rtlScrollBehavior.i?0:3333333),_sizeObserverElement.children().eq(0).css(css),_sizeObserverElement[_strScrollLeft](scrollLeftValue)[_strScrollTop](3333333),_cssDirectionDetectedCache=dir,result=!0),result};directionChanged(),addDestroyEventListener(targetElement,_strScroll,(function(event){return directionChanged()&&update(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1}))}}else if(_supportResizeObserver){var element,resizeObserverObj=(element=targetElement.contents()[0])[_strResizeObserverProperty];resizeObserverObj&&(resizeObserverObj.disconnect(),delete element[_strResizeObserverProperty])}else remove(targetElement.children(_strDot+_classNameResizeObserverElement).eq(0))}}function createMutationObservers(){if(_supportMutationObserver){var mutationTarget,mutationAttrName,mutationIsClass,oldMutationVal,newClassVal,hostClassNameRegex,contentTimeout,now,sizeAuto,action,mutationObserver=COMPATIBILITY.mO(),contentLastUpdate=COMPATIBILITY.now();_mutationObserverContentCallback=function(mutations){var doUpdate=!1;return _initialized&&!_sleeping&&(each(mutations,(function(){return doUpdate=function isUnknownMutation(mutation){var attributeName=mutation.attributeName,mutationTarget=mutation.target,mutationType=mutation.type,strClosest="closest";if(mutationTarget===_contentElementNative)return null===attributeName;if("attributes"===mutationType&&(attributeName===LEXICON.c||attributeName===LEXICON.s)&&!_isTextarea){if(attributeName===LEXICON.c&&FRAMEWORK(mutationTarget).hasClass(_classNameHostElement))return hostClassNamesChanged(mutation.oldValue,mutationTarget.className);if(typeof mutationTarget[strClosest]!=TYPES_f)return!0;if(null!==mutationTarget[strClosest](_strDot+_classNameResizeObserverElement)||null!==mutationTarget[strClosest](_strDot+_classNameScrollbar)||null!==mutationTarget[strClosest](_strDot+_classNameScrollbarCorner))return!1}return!0}(this),!doUpdate})),doUpdate&&(now=COMPATIBILITY.now(),sizeAuto=_heightAutoCache||_widthAutoCache,action=function(){_destroyed||(contentLastUpdate=now,_isTextarea&&textareaUpdate(),sizeAuto?update():_base.update(_strAuto))},clearTimeout(contentTimeout),now-contentLastUpdate>11||!sizeAuto?action():contentTimeout=setTimeout(action,11))),doUpdate},_mutationObserverHost=new mutationObserver(_mutationObserverHostCallback=function(mutations){var mutation,doUpdate=!1,doUpdateForce=!1,mutatedAttrs=[];return _initialized&&!_sleeping&&(each(mutations,(function(){mutationTarget=(mutation=this).target,mutationAttrName=mutation.attributeName,mutationIsClass=mutationAttrName===LEXICON.c,oldMutationVal=mutation.oldValue,newClassVal=mutationTarget.className,_domExists&&mutationIsClass&&!doUpdateForce&&oldMutationVal.indexOf(_classNameHostElementForeign)>-1&&newClassVal.indexOf(_classNameHostElementForeign)<0&&(hostClassNameRegex=createHostClassNameRegExp(!0),_hostElementNative.className=newClassVal.split(_strSpace).concat(oldMutationVal.split(_strSpace).filter((function(name){return name.match(hostClassNameRegex)}))).join(_strSpace),doUpdate=doUpdateForce=!0),doUpdate||(doUpdate=mutationIsClass?hostClassNamesChanged(oldMutationVal,newClassVal):mutationAttrName!==LEXICON.s||oldMutationVal!==mutationTarget[LEXICON.s].cssText),mutatedAttrs.push(mutationAttrName)})),updateViewportAttrsFromTarget(mutatedAttrs),doUpdate&&_base.update(doUpdateForce||_strAuto)),doUpdate}),_mutationObserverContent=new mutationObserver(_mutationObserverContentCallback)}}function connectMutationObservers(){_supportMutationObserver&&!_mutationObserversConnected&&(_mutationObserverHost.observe(_hostElementNative,{attributes:!0,attributeOldValue:!0,attributeFilter:_mutationObserverAttrsHost}),_mutationObserverContent.observe(_isTextarea?_targetElementNative:_contentElementNative,{attributes:!0,attributeOldValue:!0,subtree:!_isTextarea,childList:!_isTextarea,characterData:!_isTextarea,attributeFilter:_isTextarea?_mutationObserverAttrsTextarea:_mutationObserverAttrsHost}),_mutationObserversConnected=!0)}function disconnectMutationObservers(){_supportMutationObserver&&_mutationObserversConnected&&(_mutationObserverHost.disconnect(),_mutationObserverContent.disconnect(),_mutationObserversConnected=!1)}function hostOnResized(){if(!_sleeping){var changed,hostSize={w:_sizeObserverElementNative[LEXICON.sW],h:_sizeObserverElementNative[LEXICON.sH]};changed=checkCache(hostSize,_hostElementSizeChangeDetectedCache),_hostElementSizeChangeDetectedCache=hostSize,changed&&update({_hostSizeChanged:!0})}}function hostOnMouseEnter(){_scrollbarsAutoHideLeave&&refreshScrollbarsAutoHide(!0)}function hostOnMouseLeave(){_scrollbarsAutoHideLeave&&!_bodyElement.hasClass(_classNameDragging)&&refreshScrollbarsAutoHide(!1)}function hostOnMouseMove(){_scrollbarsAutoHideMove&&(refreshScrollbarsAutoHide(!0),clearTimeout(_scrollbarsAutoHideMoveTimeoutId),_scrollbarsAutoHideMoveTimeoutId=setTimeout((function(){_scrollbarsAutoHideMove&&!_destroyed&&refreshScrollbarsAutoHide(!1)}),100))}function documentOnSelectStart(event){return COMPATIBILITY.prvD(event),!1}function updateOnLoadCallback(event){if(!_destroyed){var target=event.target,elm=FRAMEWORK(event.target),index=FRAMEWORK.inArray(target,_updateOnLoadElms);index>-1&&_updateOnLoadElms.splice(index,1),eachUpdateOnLoad((function(i,updateOnLoadSelector){elm.is(updateOnLoadSelector)&&update({_contentSizeChanged:!0})}))}}function setupHostMouseTouchEvents(destroy){destroy||setupHostMouseTouchEvents(!0),setupResponsiveEventListener(_hostElement,_strMouseTouchMoveEvent.split(_strSpace)[0],hostOnMouseMove,!_scrollbarsAutoHideMove||destroy,!0),setupResponsiveEventListener(_hostElement,[_strMouseEnter,_strMouseLeave],[hostOnMouseEnter,hostOnMouseLeave],!_scrollbarsAutoHideLeave||destroy,!0),!_initialized&&!destroy&&_hostElement.one("mouseover",hostOnMouseEnter)}function bodyMinSizeChanged(){var bodyMinSize={};return _isBody&&_contentArrangeElement&&(bodyMinSize.w=parseToZeroOrNumber(_contentArrangeElement.css(_strMinMinus+_strWidth)),bodyMinSize.h=parseToZeroOrNumber(_contentArrangeElement.css(_strMinMinus+_strHeight)),bodyMinSize.c=checkCache(bodyMinSize,_bodyMinSizeCache),bodyMinSize.f=!0),_bodyMinSizeCache=bodyMinSize,!!bodyMinSize.c}function hostClassNamesChanged(oldClassNames,newClassNames){var i,regex,currClasses=typeof newClassNames==TYPES_s?newClassNames.split(_strSpace):[],diff=function getArrayDifferences(a1,a2){var i,k,a=[],diff=[];for(i=0;i-1&&diff.splice(idx,1),diff[LEXICON.l]>0)for(regex=createHostClassNameRegExp(!0,!0),i=0;i-1){var targetAttr=_targetElement.attr(attr);type(targetAttr)==TYPES_s?_viewportElement.attr(attr,targetAttr):_viewportElement.removeAttr(attr)}}))}function textareaUpdate(){if(!_sleeping){var origWidth,width,origHeight,height,wrapAttrOff=!_textareaAutoWrappingCache,minWidth=_viewportSize.w,minHeight=_viewportSize.h,css={},doMeasure=_widthAutoCache||wrapAttrOff;return css[_strMinMinus+_strWidth]=_strEmpty,css[_strMinMinus+_strHeight]=_strEmpty,css[_strWidth]=_strAuto,_targetElement.css(css),origWidth=_targetElementNative[LEXICON.oW],width=doMeasure?MATH.max(origWidth,_targetElementNative[LEXICON.sW]-1):1,css[_strWidth]=_widthAutoCache?_strAuto:_strHundredPercent,css[_strMinMinus+_strWidth]=_strHundredPercent,css[_strHeight]=_strAuto,_targetElement.css(css),origHeight=_targetElementNative[LEXICON.oH],height=MATH.max(origHeight,_targetElementNative[LEXICON.sH]-1),css[_strWidth]=width,css[_strHeight]=height,_textareaCoverElement.css(css),css[_strMinMinus+_strWidth]=minWidth,css[_strMinMinus+_strHeight]=minHeight,_targetElement.css(css),{_originalWidth:origWidth,_originalHeight:origHeight,_dynamicWidth:width,_dynamicHeight:height}}}function update(updateHints){clearTimeout(_swallowedUpdateTimeout),updateHints=updateHints||{},_swallowedUpdateHints._hostSizeChanged|=updateHints._hostSizeChanged,_swallowedUpdateHints._contentSizeChanged|=updateHints._contentSizeChanged,_swallowedUpdateHints._force|=updateHints._force;var displayIsHidden,now=COMPATIBILITY.now(),hostSizeChanged=!!_swallowedUpdateHints._hostSizeChanged,contentSizeChanged=!!_swallowedUpdateHints._contentSizeChanged,force=!!_swallowedUpdateHints._force,changedOptions=updateHints._changedOptions,swallow=_initialized&&!_destroyed&&!force&&!changedOptions&&now-_lastUpdateTime<_swallowUpdateLag&&!_heightAutoCache&&!_widthAutoCache;if(swallow&&(_swallowedUpdateTimeout=setTimeout(update,_swallowUpdateLag)),!(_destroyed||swallow||_sleeping&&!changedOptions||_initialized&&!force&&(displayIsHidden=_hostElement.is(":hidden"))||"inline"===_hostElement.css("display"))){_lastUpdateTime=now,_swallowedUpdateHints={},!_nativeScrollbarStyling||_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y?_nativeScrollbarSize=extendDeep({},globals.nativeScrollbarSize):(_nativeScrollbarSize.x=0,_nativeScrollbarSize.y=0),_nativeScrollbarMinSize={x:3*(_nativeScrollbarSize.x+(_nativeScrollbarIsOverlaid.x?0:3)),y:3*(_nativeScrollbarSize.y+(_nativeScrollbarIsOverlaid.y?0:3))},changedOptions=changedOptions||{};var checkCacheAutoForce=function(){return checkCache.apply(this,[].slice.call(arguments).concat([force]))},currScroll={x:_viewportElement[_strScrollLeft](),y:_viewportElement[_strScrollTop]()},currentPreparedOptionsScrollbars=_currentPreparedOptions.scrollbars,currentPreparedOptionsTextarea=_currentPreparedOptions.textarea,scrollbarsVisibility=currentPreparedOptionsScrollbars.visibility,scrollbarsVisibilityChanged=checkCacheAutoForce(scrollbarsVisibility,_scrollbarsVisibilityCache),scrollbarsAutoHide=currentPreparedOptionsScrollbars.autoHide,scrollbarsAutoHideChanged=checkCacheAutoForce(scrollbarsAutoHide,_scrollbarsAutoHideCache),scrollbarsClickScrolling=currentPreparedOptionsScrollbars.clickScrolling,scrollbarsClickScrollingChanged=checkCacheAutoForce(scrollbarsClickScrolling,_scrollbarsClickScrollingCache),scrollbarsDragScrolling=currentPreparedOptionsScrollbars.dragScrolling,scrollbarsDragScrollingChanged=checkCacheAutoForce(scrollbarsDragScrolling,_scrollbarsDragScrollingCache),className=_currentPreparedOptions.className,classNameChanged=checkCacheAutoForce(className,_classNameCache),resize=_currentPreparedOptions.resize,resizeChanged=checkCacheAutoForce(resize,_resizeCache)&&!_isBody,paddingAbsolute=_currentPreparedOptions.paddingAbsolute,paddingAbsoluteChanged=checkCacheAutoForce(paddingAbsolute,_paddingAbsoluteCache),clipAlways=_currentPreparedOptions.clipAlways,clipAlwaysChanged=checkCacheAutoForce(clipAlways,_clipAlwaysCache),sizeAutoCapable=_currentPreparedOptions.sizeAutoCapable&&!_isBody,sizeAutoCapableChanged=checkCacheAutoForce(sizeAutoCapable,_sizeAutoCapableCache),ignoreOverlayScrollbarHiding=_currentPreparedOptions.nativeScrollbarsOverlaid.showNativeScrollbars,ignoreOverlayScrollbarHidingChanged=checkCacheAutoForce(ignoreOverlayScrollbarHiding,_ignoreOverlayScrollbarHidingCache),autoUpdate=_currentPreparedOptions.autoUpdate,autoUpdateChanged=checkCacheAutoForce(autoUpdate,_autoUpdateCache),overflowBehavior=_currentPreparedOptions.overflowBehavior,overflowBehaviorChanged=checkCacheAutoForce(overflowBehavior,_overflowBehaviorCache,force),textareaDynWidth=currentPreparedOptionsTextarea.dynWidth,textareaDynWidthChanged=checkCacheAutoForce(_textareaDynWidthCache,textareaDynWidth),textareaDynHeight=currentPreparedOptionsTextarea.dynHeight,textareaDynHeightChanged=checkCacheAutoForce(_textareaDynHeightCache,textareaDynHeight);if(_scrollbarsAutoHideNever="n"===scrollbarsAutoHide,_scrollbarsAutoHideScroll="s"===scrollbarsAutoHide,_scrollbarsAutoHideMove="m"===scrollbarsAutoHide,_scrollbarsAutoHideLeave="l"===scrollbarsAutoHide,_scrollbarsAutoHideDelay=currentPreparedOptionsScrollbars.autoHideDelay,_oldClassName=_classNameCache,_resizeNone="n"===resize,_resizeBoth="b"===resize,_resizeHorizontal="h"===resize,_resizeVertical="v"===resize,_normalizeRTLCache=_currentPreparedOptions.normalizeRTL,ignoreOverlayScrollbarHiding=ignoreOverlayScrollbarHiding&&_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y,_scrollbarsVisibilityCache=scrollbarsVisibility,_scrollbarsAutoHideCache=scrollbarsAutoHide,_scrollbarsClickScrollingCache=scrollbarsClickScrolling,_scrollbarsDragScrollingCache=scrollbarsDragScrolling,_classNameCache=className,_resizeCache=resize,_paddingAbsoluteCache=paddingAbsolute,_clipAlwaysCache=clipAlways,_sizeAutoCapableCache=sizeAutoCapable,_ignoreOverlayScrollbarHidingCache=ignoreOverlayScrollbarHiding,_autoUpdateCache=autoUpdate,_overflowBehaviorCache=extendDeep({},overflowBehavior),_textareaDynWidthCache=textareaDynWidth,_textareaDynHeightCache=textareaDynHeight,_hasOverflowCache=_hasOverflowCache||{x:!1,y:!1},classNameChanged&&(removeClass(_hostElement,_oldClassName+_strSpace+_classNameThemeNone),addClass(_hostElement,className!==undefined2&&null!==className&&className.length>0?className:_classNameThemeNone)),autoUpdateChanged&&(!0===autoUpdate||null===autoUpdate&&_autoUpdateRecommended?(disconnectMutationObservers(),autoUpdateLoop.add(_base)):(autoUpdateLoop.remove(_base),connectMutationObservers())),sizeAutoCapableChanged)if(sizeAutoCapable)if(_contentGlueElement?_contentGlueElement.show():(_contentGlueElement=FRAMEWORK(generateDiv(_classNameContentGlueElement)),_paddingElement.before(_contentGlueElement)),_sizeAutoObserverAdded)_sizeAutoObserverElement.show();else{_sizeAutoObserverElement=FRAMEWORK(generateDiv(_classNameSizeAutoObserverElement)),_sizeAutoObserverElementNative=_sizeAutoObserverElement[0],_contentGlueElement.before(_sizeAutoObserverElement);var oldSize={w:-1,h:-1};setupResizeObserver(_sizeAutoObserverElement,(function(){var newSize={w:_sizeAutoObserverElementNative[LEXICON.oW],h:_sizeAutoObserverElementNative[LEXICON.oH]};checkCache(newSize,oldSize)&&(_initialized&&_heightAutoCache&&newSize.h>0||_widthAutoCache&&newSize.w>0||_initialized&&!_heightAutoCache&&0===newSize.h||!_widthAutoCache&&0===newSize.w)&&update(),oldSize=newSize})),_sizeAutoObserverAdded=!0,null!==_cssCalc&&_sizeAutoObserverElement.css(_strHeight,_cssCalc+"(100% + 1px)")}else _sizeAutoObserverAdded&&_sizeAutoObserverElement.hide(),_contentGlueElement&&_contentGlueElement.hide();force&&(_sizeObserverElement.find("*").trigger(_strScroll),_sizeAutoObserverAdded&&_sizeAutoObserverElement.find("*").trigger(_strScroll)),displayIsHidden=displayIsHidden===undefined2?_hostElement.is(":hidden"):displayIsHidden;var sizeAutoObserverElementBCRect,textareaAutoWrapping=!!_isTextarea&&"off"!==_targetElement.attr("wrap"),textareaAutoWrappingChanged=checkCacheAutoForce(textareaAutoWrapping,_textareaAutoWrappingCache),cssDirection=_hostElement.css("direction"),cssDirectionChanged=checkCacheAutoForce(cssDirection,_cssDirectionCache),boxSizing=_hostElement.css("box-sizing"),boxSizingChanged=checkCacheAutoForce(boxSizing,_cssBoxSizingCache),padding=getTopRightBottomLeftHost(_strPaddingMinus);try{sizeAutoObserverElementBCRect=_sizeAutoObserverAdded?_sizeAutoObserverElementNative[LEXICON.bCR]():null}catch{return}_isBorderBox="border-box"===boxSizing;var isRTLLeft=(_isRTL="rtl"===cssDirection)?_strLeft:_strRight,isRTLRight=_isRTL?_strRight:_strLeft,widthAutoResizeDetection=!1,widthAutoObserverDetection=!(!_sizeAutoObserverAdded||"none"===_hostElement.css(_strFloat))&&0===MATH.round(sizeAutoObserverElementBCRect.right-sizeAutoObserverElementBCRect.left)&&(!!paddingAbsolute||_hostElementNative[LEXICON.cW]-_paddingX>0);if(sizeAutoCapable&&!widthAutoObserverDetection){var tmpCurrHostWidth=_hostElementNative[LEXICON.oW],tmpCurrContentGlueWidth=_contentGlueElement.css(_strWidth);_contentGlueElement.css(_strWidth,_strAuto);var tmpNewHostWidth=_hostElementNative[LEXICON.oW];_contentGlueElement.css(_strWidth,tmpCurrContentGlueWidth),(widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)||(_contentGlueElement.css(_strWidth,tmpCurrHostWidth+1),tmpNewHostWidth=_hostElementNative[LEXICON.oW],_contentGlueElement.css(_strWidth,tmpCurrContentGlueWidth),widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)}var widthAuto=(widthAutoObserverDetection||widthAutoResizeDetection)&&sizeAutoCapable&&!displayIsHidden,widthAutoChanged=checkCacheAutoForce(widthAuto,_widthAutoCache),wasWidthAuto=!widthAuto&&_widthAutoCache,heightAuto=!(!_sizeAutoObserverAdded||!sizeAutoCapable||displayIsHidden)&&0===MATH.round(sizeAutoObserverElementBCRect.bottom-sizeAutoObserverElementBCRect.top),heightAutoChanged=checkCacheAutoForce(heightAuto,_heightAutoCache),wasHeightAuto=!heightAuto&&_heightAutoCache,border=getTopRightBottomLeftHost(_strBorderMinus,"-"+_strWidth,!(widthAuto&&_isBorderBox||!_isBorderBox),!(heightAuto&&_isBorderBox||!_isBorderBox)),margin=getTopRightBottomLeftHost(_strMarginMinus),contentElementCSS={},contentGlueElementCSS={},getHostSize=function(){return{w:_hostElementNative[LEXICON.cW],h:_hostElementNative[LEXICON.cH]}},getViewportSize=function(){return{w:_paddingElementNative[LEXICON.oW]+MATH.max(0,_contentElementNative[LEXICON.cW]-_contentElementNative[LEXICON.sW]),h:_paddingElementNative[LEXICON.oH]+MATH.max(0,_contentElementNative[LEXICON.cH]-_contentElementNative[LEXICON.sH])}},paddingAbsoluteX=_paddingX=padding.l+padding.r,paddingAbsoluteY=_paddingY=padding.t+padding.b;if(paddingAbsoluteX*=paddingAbsolute?1:0,paddingAbsoluteY*=paddingAbsolute?1:0,padding.c=checkCacheAutoForce(padding,_cssPaddingCache),_borderX=border.l+border.r,_borderY=border.t+border.b,border.c=checkCacheAutoForce(border,_cssBorderCache),_marginX=margin.l+margin.r,_marginY=margin.t+margin.b,margin.c=checkCacheAutoForce(margin,_cssMarginCache),_textareaAutoWrappingCache=textareaAutoWrapping,_cssDirectionCache=cssDirection,_cssBoxSizingCache=boxSizing,_widthAutoCache=widthAuto,_heightAutoCache=heightAuto,_cssPaddingCache=padding,_cssBorderCache=border,_cssMarginCache=margin,cssDirectionChanged&&_sizeAutoObserverAdded&&_sizeAutoObserverElement.css(_strFloat,isRTLRight),padding.c||cssDirectionChanged||paddingAbsoluteChanged||widthAutoChanged||heightAutoChanged||boxSizingChanged||sizeAutoCapableChanged){var paddingElementCSS={},textareaCSS={},paddingValues=[padding.t,padding.r,padding.b,padding.l];setTopRightBottomLeft(contentGlueElementCSS,_strMarginMinus,[-padding.t,-padding.r,-padding.b,-padding.l]),paddingAbsolute?(setTopRightBottomLeft(paddingElementCSS,_strEmpty,paddingValues),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,_strPaddingMinus)):(setTopRightBottomLeft(paddingElementCSS,_strEmpty),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,_strPaddingMinus,paddingValues)),_paddingElement.css(paddingElementCSS),_targetElement.css(textareaCSS)}_viewportSize=getViewportSize();var textareaSize=!!_isTextarea&&textareaUpdate(),textareaSizeChanged=_isTextarea&&checkCacheAutoForce(textareaSize,_textareaSizeCache),textareaDynOrigSize=_isTextarea&&textareaSize?{w:textareaDynWidth?textareaSize._dynamicWidth:textareaSize._originalWidth,h:textareaDynHeight?textareaSize._dynamicHeight:textareaSize._originalHeight}:{};if(_textareaSizeCache=textareaSize,heightAuto&&(heightAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c)?contentElementCSS[_strHeight]=_strAuto:(heightAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS[_strHeight]=_strHundredPercent),widthAuto&&(widthAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c||cssDirectionChanged)?(contentElementCSS[_strWidth]=_strAuto,contentGlueElementCSS[_strMaxMinus+_strWidth]=_strHundredPercent):(widthAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS[_strWidth]=_strHundredPercent,contentElementCSS[_strFloat]=_strEmpty,contentGlueElementCSS[_strMaxMinus+_strWidth]=_strEmpty),widthAuto?(contentGlueElementCSS[_strWidth]=_strAuto,contentElementCSS[_strWidth]=VENDORS._cssPropertyValue(_strWidth,"max-content intrinsic")||_strAuto,contentElementCSS[_strFloat]=isRTLRight):contentGlueElementCSS[_strWidth]=_strEmpty,contentGlueElementCSS[_strHeight]=heightAuto?textareaDynOrigSize.h||_contentElementNative[LEXICON.cH]:_strEmpty,sizeAutoCapable&&_contentGlueElement.css(contentGlueElementCSS),_contentElement.css(contentElementCSS),contentElementCSS={},contentGlueElementCSS={},hostSizeChanged||contentSizeChanged||textareaSizeChanged||cssDirectionChanged||boxSizingChanged||paddingAbsoluteChanged||widthAutoChanged||widthAuto||heightAutoChanged||heightAuto||ignoreOverlayScrollbarHidingChanged||overflowBehaviorChanged||clipAlwaysChanged||resizeChanged||scrollbarsVisibilityChanged||scrollbarsAutoHideChanged||scrollbarsDragScrollingChanged||scrollbarsClickScrollingChanged||textareaDynWidthChanged||textareaDynHeightChanged||textareaAutoWrappingChanged){if(!_nativeScrollbarStyling){var viewportElementResetCSS={},resetXTmp=_hasOverflowCache.y&&_hideOverflowCache.ys&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.y?_viewportElement.css(isRTLLeft):-_nativeScrollbarSize.y:0,resetBottomTmp=_hasOverflowCache.x&&_hideOverflowCache.xs&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.x?_viewportElement.css(_strBottom):-_nativeScrollbarSize.x:0;setTopRightBottomLeft(viewportElementResetCSS,_strEmpty),_viewportElement.css(viewportElementResetCSS)}var contentMeasureElement=getContentMeasureElement(),contentSize={w:textareaDynOrigSize.w||contentMeasureElement[LEXICON.cW],h:textareaDynOrigSize.h||contentMeasureElement[LEXICON.cH]},scrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};_nativeScrollbarStyling||(viewportElementResetCSS[_strBottom]=wasHeightAuto?_strEmpty:resetBottomTmp,viewportElementResetCSS[isRTLLeft]=wasWidthAuto?_strEmpty:resetXTmp,_viewportElement.css(viewportElementResetCSS)),_viewportSize=getViewportSize();var hostSize=getHostSize(),hostAbsoluteRectSize={w:hostSize.w-_marginX-_borderX-(_isBorderBox?0:_paddingX),h:hostSize.h-_marginY-_borderY-(_isBorderBox?0:_paddingY)},contentGlueSize={w:MATH.max((widthAuto?contentSize.w:scrollSize.w)+paddingAbsoluteX,hostAbsoluteRectSize.w),h:MATH.max((heightAuto?contentSize.h:scrollSize.h)+paddingAbsoluteY,hostAbsoluteRectSize.h)};if(contentGlueSize.c=checkCacheAutoForce(contentGlueSize,_contentGlueSizeCache),_contentGlueSizeCache=contentGlueSize,sizeAutoCapable){(contentGlueSize.c||heightAuto||widthAuto)&&(contentGlueElementCSS[_strWidth]=contentGlueSize.w,contentGlueElementCSS[_strHeight]=contentGlueSize.h,_isTextarea||(contentSize={w:contentMeasureElement[LEXICON.cW],h:contentMeasureElement[LEXICON.cH]}));var textareaCoverCSS={},setContentGlueElementCSSfunction=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),wh=scrollbarVars._w_h,strWH=scrollbarVars._width_height,autoSize=horizontal?widthAuto:heightAuto,borderSize=horizontal?_borderX:_borderY,paddingSize=horizontal?_paddingX:_paddingY,marginSize=horizontal?_marginX:_marginY,viewportSize=_viewportSize[wh]-borderSize-marginSize-(_isBorderBox?0:paddingSize);(!autoSize||!autoSize&&border.c)&&(contentGlueElementCSS[strWH]=hostAbsoluteRectSize[wh]-1),autoSize&&contentSize[wh]0&&(contentGlueElementCSS[strWH]=MATH.max(1,contentGlueElementCSS[strWH]))};setContentGlueElementCSSfunction(!0),setContentGlueElementCSSfunction(!1),_isTextarea&&_textareaCoverElement.css(textareaCoverCSS),_contentGlueElement.css(contentGlueElementCSS)}widthAuto&&(contentElementCSS[_strWidth]=_strHundredPercent),widthAuto&&!_isBorderBox&&!_mutationObserversConnected&&(contentElementCSS[_strFloat]="none"),_contentElement.css(contentElementCSS),contentElementCSS={};var contentScrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};contentScrollSize.c=contentSizeChanged=checkCacheAutoForce(contentScrollSize,_contentScrollSizeCache),_contentScrollSizeCache=contentScrollSize,_viewportSize=getViewportSize(),hostSizeChanged=checkCacheAutoForce(hostSize=getHostSize(),_hostSizeCache),_hostSizeCache=hostSize;var hideOverflowForceTextarea=_isTextarea&&(0===_viewportSize.w||0===_viewportSize.h),previousOverflowAmount=_overflowAmountCache,overflowBehaviorIsVS={},overflowBehaviorIsVH={},overflowBehaviorIsS={},overflowAmount={},hasOverflow={},hideOverflow={},canScroll={},viewportRect=_paddingElementNative[LEXICON.bCR](),setOverflowVariables=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),xyI=getScrollbarVars(!horizontal)._x_y,xy=scrollbarVars._x_y,wh=scrollbarVars._w_h,widthHeight=scrollbarVars._width_height,scrollMax=_strScroll+scrollbarVars._Left_Top+"Max",fractionalOverflowAmount=viewportRect[widthHeight]?MATH.abs(viewportRect[widthHeight]-_viewportSize[wh]):0,checkFractionalOverflowAmount=previousOverflowAmount&&previousOverflowAmount[xy]>0&&0===_viewportElementNative[scrollMax];overflowBehaviorIsVS[xy]="v-s"===overflowBehavior[xy],overflowBehaviorIsVH[xy]="v-h"===overflowBehavior[xy],overflowBehaviorIsS[xy]="s"===overflowBehavior[xy],overflowAmount[xy]=MATH.max(0,MATH.round(100*(contentScrollSize[wh]-_viewportSize[wh]))/100),overflowAmount[xy]*=hideOverflowForceTextarea||checkFractionalOverflowAmount&&fractionalOverflowAmount>0&&fractionalOverflowAmount<1?0:1,hasOverflow[xy]=overflowAmount[xy]>0,hideOverflow[xy]=overflowBehaviorIsVS[xy]||overflowBehaviorIsVH[xy]?hasOverflow[xyI]&&!overflowBehaviorIsVS[xyI]&&!overflowBehaviorIsVH[xyI]:hasOverflow[xy],hideOverflow[xy+"s"]=!!hideOverflow[xy]&&(overflowBehaviorIsS[xy]||overflowBehaviorIsVS[xy]),canScroll[xy]=hasOverflow[xy]&&hideOverflow[xy+"s"]};if(setOverflowVariables(!0),setOverflowVariables(!1),overflowAmount.c=checkCacheAutoForce(overflowAmount,_overflowAmountCache),_overflowAmountCache=overflowAmount,hasOverflow.c=checkCacheAutoForce(hasOverflow,_hasOverflowCache),_hasOverflowCache=hasOverflow,hideOverflow.c=checkCacheAutoForce(hideOverflow,_hideOverflowCache),_hideOverflowCache=hideOverflow,_nativeScrollbarIsOverlaid.x||_nativeScrollbarIsOverlaid.y){var setContentElementCSS,contentArrangeElementCSS={},arrangeContent={},arrangeChanged=force;(hasOverflow.x||hasOverflow.y)&&(arrangeContent.w=_nativeScrollbarIsOverlaid.y&&hasOverflow.y?contentScrollSize.w+_overlayScrollbarDummySize.y:_strEmpty,arrangeContent.h=_nativeScrollbarIsOverlaid.x&&hasOverflow.x?contentScrollSize.h+_overlayScrollbarDummySize.x:_strEmpty,arrangeChanged=checkCacheAutoForce(arrangeContent,_arrangeContentSizeCache),_arrangeContentSizeCache=arrangeContent),(hasOverflow.c||hideOverflow.c||contentScrollSize.c||cssDirectionChanged||widthAutoChanged||heightAutoChanged||widthAuto||heightAuto||ignoreOverlayScrollbarHidingChanged)&&(contentElementCSS[_strMarginMinus+isRTLRight]=contentElementCSS[_strBorderMinus+isRTLRight]=_strEmpty,setContentElementCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,strDirection=horizontal?_strBottom:isRTLLeft,invertedAutoSize=horizontal?heightAuto:widthAuto;_nativeScrollbarIsOverlaid[xy]&&hasOverflow[xy]&&hideOverflow[xy+"s"]?(contentElementCSS[_strMarginMinus+strDirection]=invertedAutoSize?ignoreOverlayScrollbarHiding?_strEmpty:_overlayScrollbarDummySize[xy]:_strEmpty,contentElementCSS[_strBorderMinus+strDirection]=horizontal&&invertedAutoSize||ignoreOverlayScrollbarHiding?_strEmpty:_overlayScrollbarDummySize[xy]+"px solid transparent"):(arrangeContent[scrollbarVarsInverted._w_h]=contentElementCSS[_strMarginMinus+strDirection]=contentElementCSS[_strBorderMinus+strDirection]=_strEmpty,arrangeChanged=!0)},_nativeScrollbarStyling?addRemoveClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible,!ignoreOverlayScrollbarHiding):(setContentElementCSS(!0),setContentElementCSS(!1))),ignoreOverlayScrollbarHiding&&(arrangeContent.w=arrangeContent.h=_strEmpty,arrangeChanged=!0),arrangeChanged&&!_nativeScrollbarStyling&&(contentArrangeElementCSS[_strWidth]=hideOverflow.y?arrangeContent.w:_strEmpty,contentArrangeElementCSS[_strHeight]=hideOverflow.x?arrangeContent.h:_strEmpty,_contentArrangeElement||(_contentArrangeElement=FRAMEWORK(generateDiv(_classNameContentArrangeElement)),_viewportElement.prepend(_contentArrangeElement)),_contentArrangeElement.css(contentArrangeElementCSS)),_contentElement.css(contentElementCSS)}var setViewportCSS,viewportElementCSS={};if(paddingElementCSS={},(hostSizeChanged||hasOverflow.c||hideOverflow.c||contentScrollSize.c||overflowBehaviorChanged||boxSizingChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged||clipAlwaysChanged||heightAutoChanged)&&(viewportElementCSS[isRTLRight]=_strEmpty,(setViewportCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,XY=scrollbarVars._X_Y,strDirection=horizontal?_strBottom:isRTLLeft,reset=function(){viewportElementCSS[strDirection]=_strEmpty,_contentBorderSize[scrollbarVarsInverted._w_h]=0};hasOverflow[xy]&&hideOverflow[xy+"s"]?(viewportElementCSS["overflow"+XY]=_strScroll,ignoreOverlayScrollbarHiding||_nativeScrollbarStyling?reset():(viewportElementCSS[strDirection]=-(_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[xy]:_nativeScrollbarSize[xy]),_contentBorderSize[scrollbarVarsInverted._w_h]=_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[scrollbarVarsInverted._x_y]:0)):(viewportElementCSS["overflow"+XY]=_strEmpty,reset())})(!0),setViewportCSS(!1),!_nativeScrollbarStyling&&(_viewportSize.h<_nativeScrollbarMinSize.x||_viewportSize.w<_nativeScrollbarMinSize.y)&&(hasOverflow.x&&hideOverflow.x&&!_nativeScrollbarIsOverlaid.x||hasOverflow.y&&hideOverflow.y&&!_nativeScrollbarIsOverlaid.y)?(viewportElementCSS[_strPaddingMinus+_strTop]=_nativeScrollbarMinSize.x,viewportElementCSS[_strMarginMinus+_strTop]=-_nativeScrollbarMinSize.x,viewportElementCSS[_strPaddingMinus+isRTLRight]=_nativeScrollbarMinSize.y,viewportElementCSS[_strMarginMinus+isRTLRight]=-_nativeScrollbarMinSize.y):viewportElementCSS[_strPaddingMinus+_strTop]=viewportElementCSS[_strMarginMinus+_strTop]=viewportElementCSS[_strPaddingMinus+isRTLRight]=viewportElementCSS[_strMarginMinus+isRTLRight]=_strEmpty,viewportElementCSS[_strPaddingMinus+isRTLLeft]=viewportElementCSS[_strMarginMinus+isRTLLeft]=_strEmpty,hasOverflow.x&&hideOverflow.x||hasOverflow.y&&hideOverflow.y||hideOverflowForceTextarea?_isTextarea&&hideOverflowForceTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]="hidden"):(!clipAlways||overflowBehaviorIsVH.x||overflowBehaviorIsVS.x||overflowBehaviorIsVH.y||overflowBehaviorIsVS.y)&&(_isTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]=_strEmpty),viewportElementCSS["overflow-x"]=viewportElementCSS["overflow-y"]="visible"),_paddingElement.css(paddingElementCSS),_viewportElement.css(viewportElementCSS),viewportElementCSS={},(hasOverflow.c||boxSizingChanged||widthAutoChanged||heightAutoChanged)&&(!_nativeScrollbarIsOverlaid.x||!_nativeScrollbarIsOverlaid.y))){var elementStyle=_contentElementNative[LEXICON.s];elementStyle.webkitTransform="scale(1)",elementStyle.display="run-in",_contentElementNative[LEXICON.oH],elementStyle.display=_strEmpty,elementStyle.webkitTransform=_strEmpty}if(contentElementCSS={},cssDirectionChanged||widthAutoChanged||heightAutoChanged)if(_isRTL&&widthAuto){var floatTmp=_contentElement.css(_strFloat),posLeftWithoutFloat=MATH.round(_contentElement.css(_strFloat,_strEmpty).css(_strLeft,_strEmpty).position().left);_contentElement.css(_strFloat,floatTmp),posLeftWithoutFloat!==MATH.round(_contentElement.position().left)&&(contentElementCSS[_strLeft]=posLeftWithoutFloat)}else contentElementCSS[_strLeft]=_strEmpty;if(_contentElement.css(contentElementCSS),_isTextarea&&contentSizeChanged){var textareaInfo=function getTextareaInfo(){var textareaCursorPosition=_targetElementNative.selectionStart;if(textareaCursorPosition!==undefined2){var rowCols,i,textareaValue=_targetElement.val(),textareaLength=textareaValue[LEXICON.l],textareaRowSplit=textareaValue.split("\n"),textareaLastRow=textareaRowSplit[LEXICON.l],textareaCurrentCursorRowSplit=textareaValue.substr(0,textareaCursorPosition).split("\n"),widestRow=0,textareaLastCol=0,cursorRow=textareaCurrentCursorRowSplit[LEXICON.l],cursorCol=textareaCurrentCursorRowSplit[textareaCurrentCursorRowSplit[LEXICON.l]-1][LEXICON.l];for(i=0;itextareaLastCol&&(widestRow=i+1,textareaLastCol=rowCols);return{_cursorRow:cursorRow,_cursorColumn:cursorCol,_rows:textareaLastRow,_columns:textareaLastCol,_widestRow:widestRow,_cursorPosition:textareaCursorPosition,_cursorMax:textareaLength}}}();if(textareaInfo){var textareaRowsChanged=_textareaInfoCache===undefined2||textareaInfo._rows!==_textareaInfoCache._rows,cursorRow=textareaInfo._cursorRow,cursorCol=textareaInfo._cursorColumn,widestRow=textareaInfo._widestRow,lastRow=textareaInfo._rows,lastCol=textareaInfo._columns,cursorIsLastPosition=textareaInfo._cursorPosition>=textareaInfo._cursorMax&&_textareaHasFocus,textareaScrollAmount={x:textareaAutoWrapping||cursorCol!==lastCol||cursorRow!==widestRow?-1:_overflowAmountCache.x,y:(textareaAutoWrapping?cursorIsLastPosition||textareaRowsChanged&&previousOverflowAmount&&currScroll.y===previousOverflowAmount.y:(cursorIsLastPosition||textareaRowsChanged)&&cursorRow===lastRow)?_overflowAmountCache.y:-1};currScroll.x=textareaScrollAmount.x>-1?_isRTL&&_normalizeRTLCache&&_rtlScrollBehavior.i?0:textareaScrollAmount.x:currScroll.x,currScroll.y=textareaScrollAmount.y>-1?textareaScrollAmount.y:currScroll.y}_textareaInfoCache=textareaInfo}_isRTL&&_rtlScrollBehavior.i&&_nativeScrollbarIsOverlaid.y&&hasOverflow.x&&_normalizeRTLCache&&(currScroll.x+=_contentBorderSize.w||0),widthAuto&&_hostElement[_strScrollLeft](0),heightAuto&&_hostElement[_strScrollTop](0),_viewportElement[_strScrollLeft](currScroll.x)[_strScrollTop](currScroll.y);var scrollbarsVisibilityVisible="v"===scrollbarsVisibility,scrollbarsVisibilityHidden="h"===scrollbarsVisibility,scrollbarsVisibilityAuto="a"===scrollbarsVisibility,refreshScrollbarsVisibility=function(showX,showY){showY=showY===undefined2?showX:showY,refreshScrollbarAppearance(!0,showX,canScroll.x),refreshScrollbarAppearance(!1,showY,canScroll.y)};addRemoveClass(_hostElement,_classNameHostOverflow,hideOverflow.x||hideOverflow.y),addRemoveClass(_hostElement,_classNameHostOverflowX,hideOverflow.x),addRemoveClass(_hostElement,_classNameHostOverflowY,hideOverflow.y),cssDirectionChanged&&!_isBody&&addRemoveClass(_hostElement,_classNameHostRTL,_isRTL),_isBody&&addClass(_hostElement,_classNameHostResizeDisabled),resizeChanged&&(addRemoveClass(_hostElement,_classNameHostResizeDisabled,_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResize,!_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeB,_resizeBoth),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeH,_resizeHorizontal),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeV,_resizeVertical)),(scrollbarsVisibilityChanged||overflowBehaviorChanged||hideOverflow.c||hasOverflow.c||ignoreOverlayScrollbarHidingChanged)&&(ignoreOverlayScrollbarHiding?ignoreOverlayScrollbarHidingChanged&&(removeClass(_hostElement,_classNameHostScrolling),ignoreOverlayScrollbarHiding&&refreshScrollbarsVisibility(!1)):scrollbarsVisibilityAuto?refreshScrollbarsVisibility(canScroll.x,canScroll.y):scrollbarsVisibilityVisible?refreshScrollbarsVisibility(!0):scrollbarsVisibilityHidden&&refreshScrollbarsVisibility(!1)),(scrollbarsAutoHideChanged||ignoreOverlayScrollbarHidingChanged)&&(setupHostMouseTouchEvents(!_scrollbarsAutoHideLeave&&!_scrollbarsAutoHideMove),refreshScrollbarsAutoHide(_scrollbarsAutoHideNever,!_scrollbarsAutoHideNever)),(hostSizeChanged||overflowAmount.c||heightAutoChanged||widthAutoChanged||resizeChanged||boxSizingChanged||paddingAbsoluteChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged)&&(refreshScrollbarHandleLength(!0),refreshScrollbarHandleOffset(!0),refreshScrollbarHandleLength(!1),refreshScrollbarHandleOffset(!1)),scrollbarsClickScrollingChanged&&refreshScrollbarsInteractive(!0,scrollbarsClickScrolling),scrollbarsDragScrollingChanged&&refreshScrollbarsInteractive(!1,scrollbarsDragScrolling),dispatchCallback("onDirectionChanged",{isRTL:_isRTL,dir:cssDirection},cssDirectionChanged),dispatchCallback("onHostSizeChanged",{width:_hostSizeCache.w,height:_hostSizeCache.h},hostSizeChanged),dispatchCallback("onContentSizeChanged",{width:_contentScrollSizeCache.w,height:_contentScrollSizeCache.h},contentSizeChanged),dispatchCallback("onOverflowChanged",{x:hasOverflow.x,y:hasOverflow.y,xScrollable:hideOverflow.xs,yScrollable:hideOverflow.ys,clipped:hideOverflow.x||hideOverflow.y},hasOverflow.c||hideOverflow.c),dispatchCallback("onOverflowAmountChanged",{x:overflowAmount.x,y:overflowAmount.y},overflowAmount.c)}_isBody&&_bodyMinSizeCache&&(_hasOverflowCache.c||_bodyMinSizeCache.c)&&(_bodyMinSizeCache.f||bodyMinSizeChanged(),_nativeScrollbarIsOverlaid.y&&_hasOverflowCache.x&&_contentElement.css(_strMinMinus+_strWidth,_bodyMinSizeCache.w+_overlayScrollbarDummySize.y),_nativeScrollbarIsOverlaid.x&&_hasOverflowCache.y&&_contentElement.css(_strMinMinus+_strHeight,_bodyMinSizeCache.h+_overlayScrollbarDummySize.x),_bodyMinSizeCache.c=!1),_initialized&&changedOptions.updateOnLoad&&updateElementsOnLoad(),dispatchCallback("onUpdated",{forced:force})}}function updateElementsOnLoad(){_isTextarea||eachUpdateOnLoad((function(i,updateOnLoadSelector){_contentElement.find(updateOnLoadSelector).each((function(i2,el){COMPATIBILITY.inA(el,_updateOnLoadElms)<0&&(_updateOnLoadElms.push(el),FRAMEWORK(el).off(_updateOnLoadEventName,updateOnLoadCallback).on(_updateOnLoadEventName,updateOnLoadCallback))}))}))}function setOptions(newOptions){var validatedOpts=_pluginsOptions._validate(newOptions,_pluginsOptions._template,!0,_currentOptions);return _currentOptions=extendDeep({},_currentOptions,validatedOpts._default),_currentPreparedOptions=extendDeep({},_currentPreparedOptions,validatedOpts._prepared),validatedOpts._prepared}function setupStructureDOM(destroy){var classNameTextareaElementFull=_classNameTextareaElement+_strSpace+_classNameTextInherit,textareaClass=_isTextarea?_strSpace+_classNameTextInherit:_strEmpty,adoptAttrs=_currentPreparedOptions.textarea.inheritedAttrs,adoptAttrsMap={},applyAdoptedAttrs=function(){var applyAdoptedAttrsElm=destroy?_targetElement:_hostElement;each(adoptAttrsMap,(function(key,value){type(value)==TYPES_s&&(key==LEXICON.c?applyAdoptedAttrsElm.addClass(value):applyAdoptedAttrsElm.attr(key,value))}))},hostElementClassNames=[_classNameHostElement,_classNameHostElementForeign,_classNameHostTextareaElement,_classNameHostResizeDisabled,_classNameHostRTL,_classNameHostScrollbarHorizontalHidden,_classNameHostScrollbarVerticalHidden,_classNameHostTransition,_classNameHostScrolling,_classNameHostOverflow,_classNameHostOverflowX,_classNameHostOverflowY,_classNameThemeNone,_classNameTextareaElement,_classNameTextInherit,_classNameCache].join(_strSpace),hostElementCSS={};_hostElement=_hostElement||(_isTextarea?_domExists?_targetElement.parent().parent().parent().parent():FRAMEWORK(generateDiv(_classNameHostTextareaElement)):_targetElement),_contentElement=_contentElement||selectOrGenerateDivByClass(_classNameContentElement+textareaClass),_viewportElement=_viewportElement||selectOrGenerateDivByClass(_classNameViewportElement+textareaClass),_paddingElement=_paddingElement||selectOrGenerateDivByClass(_classNamePaddingElement+textareaClass),_sizeObserverElement=_sizeObserverElement||selectOrGenerateDivByClass("os-resize-observer-host"),_textareaCoverElement=_textareaCoverElement||(_isTextarea?selectOrGenerateDivByClass(_classNameTextareaCoverElement):undefined2),_domExists&&addClass(_hostElement,_classNameHostElementForeign),destroy&&removeClass(_hostElement,hostElementClassNames),adoptAttrs=type(adoptAttrs)==TYPES_s?adoptAttrs.split(_strSpace):adoptAttrs,COMPATIBILITY.isA(adoptAttrs)&&_isTextarea&&each(adoptAttrs,(function(i,v){type(v)==TYPES_s&&(adoptAttrsMap[v]=destroy?_hostElement.attr(v):_targetElement.attr(v))})),destroy?(_domExists&&_initialized?(_sizeObserverElement.children().remove(),each([_paddingElement,_viewportElement,_contentElement,_textareaCoverElement],(function(i,elm){elm&&removeClass(elm.removeAttr(LEXICON.s),_classNamesDynamicDestroy)})),addClass(_hostElement,_isTextarea?_classNameHostTextareaElement:_classNameHostElement)):(remove(_sizeObserverElement),_contentElement.contents().unwrap().unwrap().unwrap(),_isTextarea&&(_targetElement.unwrap(),remove(_hostElement),remove(_textareaCoverElement),applyAdoptedAttrs())),_isTextarea&&_targetElement.removeAttr(LEXICON.s),_isBody&&removeClass(_htmlElement,_classNameHTMLElement)):(_isTextarea&&(_currentPreparedOptions.sizeAutoCapable||(hostElementCSS[_strWidth]=_targetElement.css(_strWidth),hostElementCSS[_strHeight]=_targetElement.css(_strHeight)),_domExists||_targetElement.addClass(_classNameTextInherit).wrap(_hostElement),_hostElement=_targetElement.parent().css(hostElementCSS)),_domExists||(addClass(_targetElement,_isTextarea?classNameTextareaElementFull:_classNameHostElement),_hostElement.wrapInner(_contentElement).wrapInner(_viewportElement).wrapInner(_paddingElement).prepend(_sizeObserverElement),_contentElement=findFirst(_hostElement,_strDot+_classNameContentElement),_viewportElement=findFirst(_hostElement,_strDot+_classNameViewportElement),_paddingElement=findFirst(_hostElement,_strDot+_classNamePaddingElement),_isTextarea&&(_contentElement.prepend(_textareaCoverElement),applyAdoptedAttrs())),_nativeScrollbarStyling&&addClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible),_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y&&addClass(_viewportElement,_classNameViewportNativeScrollbarsOverlaid),_isBody&&addClass(_htmlElement,_classNameHTMLElement),_sizeObserverElementNative=_sizeObserverElement[0],_hostElementNative=_hostElement[0],_paddingElementNative=_paddingElement[0],_viewportElementNative=_viewportElement[0],_contentElementNative=_contentElement[0],updateViewportAttrsFromTarget())}function setupStructureEvents(){var textareaUpdateIntervalID,scrollStopTimeoutId,textareaKeyDownRestrictedKeyCodes=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],textareaKeyDownKeyCodesList=[];function updateTextarea(doClearInterval){textareaUpdate(),_base.update(_strAuto),doClearInterval&&_autoUpdateRecommended&&clearInterval(textareaUpdateIntervalID)}_isTextarea?(_msieVersion>9||!_autoUpdateRecommended?addDestroyEventListener(_targetElement,"input",updateTextarea):addDestroyEventListener(_targetElement,[_strKeyDownEvent,_strKeyUpEvent],[function textareaOnKeyDown(event){var keyCode=event.keyCode;inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(textareaKeyDownKeyCodesList[LEXICON.l]||(updateTextarea(),textareaUpdateIntervalID=setInterval(updateTextarea,1e3/60)),inArray(keyCode,textareaKeyDownKeyCodesList)<0&&textareaKeyDownKeyCodesList.push(keyCode))},function textareaOnKeyUp(event){var keyCode=event.keyCode,index=inArray(keyCode,textareaKeyDownKeyCodesList);inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(index>-1&&textareaKeyDownKeyCodesList.splice(index,1),textareaKeyDownKeyCodesList[LEXICON.l]||updateTextarea(!0))}]),addDestroyEventListener(_targetElement,[_strScroll,"drop","focus","focusout"],[function textareaOnScroll(event){return _targetElement[_strScrollLeft](_rtlScrollBehavior.i&&_normalizeRTLCache?9999999:0),_targetElement[_strScrollTop](0),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1},function textareaOnDrop(event){setTimeout((function(){_destroyed||updateTextarea()}),50)},function textareaOnFocus(){_textareaHasFocus=!0,addClass(_hostElement,"focus")},function textareaOnFocusout(){_textareaHasFocus=!1,textareaKeyDownKeyCodesList=[],removeClass(_hostElement,"focus"),updateTextarea(!0)}])):addDestroyEventListener(_contentElement,_strTransitionEndEvent,(function contentOnTransitionEnd(event){!0!==_autoUpdateCache&&function isSizeAffectingCSSProperty(propertyName){if(!_initialized)return!0;var affectingPropsX=[_strWidth,_strMinMinus+_strWidth,_strMaxMinus+_strWidth,_strMarginMinus+_strLeft,_strMarginMinus+_strRight,_strLeft,_strRight,"font-weight","word-spacing","flex-grow","flex-shrink","flex-basis"],affectingPropsXContentBox=[_strPaddingMinus+_strLeft,_strPaddingMinus+_strRight,_strBorderMinus+_strLeft+_strWidth,_strBorderMinus+_strRight+_strWidth],affectingPropsY=[_strHeight,_strMinMinus+_strHeight,_strMaxMinus+_strHeight,_strMarginMinus+_strTop,_strMarginMinus+_strBottom,_strTop,_strBottom,"line-height","flex-grow","flex-shrink","flex-basis"],affectingPropsYContentBox=[_strPaddingMinus+_strTop,_strPaddingMinus+_strBottom,_strBorderMinus+_strTop+_strWidth,_strBorderMinus+_strBottom+_strWidth],checkX="s"===_overflowBehaviorCache.x||"v-s"===_overflowBehaviorCache.x,sizeIsAffected=!1,checkPropertyName=function(arr,name){for(var i=0;i-1&&increaseTrackScrollAmount()}function documentKeyUp(event){inArray(event.keyCode,increaseDecreaseScrollAmountKeyCodes)>-1&&decreaseTrackScrollAmount()}function onMouseTouchDownContinue(event){var isTouchEvent=(event.originalEvent||event).touches!==undefined2;return!(_sleeping||_destroyed||nativeOverlayScrollbarsAreActive()||!_scrollbarsDragScrollingCache||isTouchEvent&&!getPreparedScrollbarsOption("touchSupport"))&&(1===COMPATIBILITY.mBtn(event)||isTouchEvent)}function documentDragMove(event){if(onMouseTouchDownContinue(event)){var trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollDelta=scrollbarVarsInfo._maxScroll*((getPointerPosition(event)-mouseDownOffset)*mouseDownInvertedScale/(trackLength-handleLength));scrollDelta=isFinite(scrollDelta)?scrollDelta:0,_isRTL&&isHorizontal&&!_rtlScrollBehavior.i&&(scrollDelta*=-1),_viewportElement[scroll](MATH.round(mouseDownScroll+scrollDelta)),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,mouseDownScroll+scrollDelta),_supportPassiveEvents||COMPATIBILITY.prvD(event)}else documentMouseTouchUp(event)}function documentMouseTouchUp(event){if(event=event||event.originalEvent,setupResponsiveEventListener(_documentElement,[_strMouseTouchMoveEvent,_strMouseTouchUpEvent,_strKeyDownEvent,_strKeyUpEvent,_strSelectStartEvent],[documentDragMove,documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart],!0),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,strClickEvent,stopClickEventPropagation,!0,{_capture:!0})})),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,!0),_scrollbarsHandlesDefineScrollPos=!1,removeClass(_bodyElement,_classNameDragging),removeClass(scrollbarVars._handle,strActive),removeClass(scrollbarVars._track,strActive),removeClass(scrollbarVars._scrollbar,strActive),mouseDownScroll=undefined2,mouseDownOffset=undefined2,mouseDownInvertedScale=1,decreaseTrackScrollAmount(),trackTimeout!==undefined2&&(_base.scrollStop(),clearTimeout(trackTimeout),trackTimeout=undefined2),event){var rect=_hostElementNative[LEXICON.bCR]();event.clientX>=rect.left&&event.clientX<=rect.right&&event.clientY>=rect.top&&event.clientY<=rect.bottom||hostOnMouseLeave(),(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}}function onHandleMouseTouchDownAction(event){mouseDownScroll=_viewportElement[scroll](),mouseDownScroll=isNaN(mouseDownScroll)?0:mouseDownScroll,(_isRTL&&isHorizontal&&!_rtlScrollBehavior.n||!_isRTL)&&(mouseDownScroll=mouseDownScroll<0?0:mouseDownScroll),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=getPointerPosition(event),_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption(strSnapHandle),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._handle,strActive),addClass(scrollbarVars._scrollbar,strActive),setupResponsiveEventListener(_documentElement,[_strMouseTouchMoveEvent,_strMouseTouchUpEvent,_strSelectStartEvent],[documentDragMove,documentMouseTouchUp,documentOnSelectStart]),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,strClickEvent,stopClickEventPropagation,!1,{_capture:!0})})),(_msieVersion||!_documentMixed)&&COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}addDestroyEventListener(scrollbarVars._handle,_strMouseTouchDownEvent,(function onHandleMouseTouchDown(event){onMouseTouchDownContinue(event)&&onHandleMouseTouchDownAction(event)})),addDestroyEventListener(scrollbarVars._track,[_strMouseTouchDownEvent,_strMouseEnter,_strMouseLeave],[function onTrackMouseTouchDown(event){if(onMouseTouchDownContinue(event)){var decreaseScroll,handleToViewportRatio=scrollbarVars._info._handleLength/Math.round(MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h])*scrollbarVars._info._trackLength),scrollDistance=MATH.round(_viewportSize[scrollbarVars._w_h]*handleToViewportRatio),scrollBaseDuration=270*handleToViewportRatio,scrollFirstIterationDelay=400*handleToViewportRatio,trackOffset=scrollbarVars._track.offset()[scrollbarVars._left_top],ctrlKey=event.ctrlKey,instantScroll=event.shiftKey,instantScrollTransition=instantScroll&&ctrlKey,isFirstIteration=!0,scrollActionFinsished=function(transition){_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,transition)},scrollActionInstantFinished=function(){scrollActionFinsished(),onHandleMouseTouchDownAction(event)},scrollAction=function(){if(!_destroyed){var mouseOffset=(mouseDownOffset-trackOffset)*mouseDownInvertedScale,handleOffset=scrollbarVarsInfo._handleOffset,trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollRange=scrollbarVarsInfo._maxScroll,currScroll=scrollbarVarsInfo._currentScroll,scrollDuration=scrollBaseDuration*scrollDurationFactor,timeoutDelay=isFirstIteration?MATH.max(scrollFirstIterationDelay,scrollDuration):scrollDuration,instantScrollPosition=scrollRange*((mouseOffset-handleLength/2)/(trackLength-handleLength)),rtlIsNormal=_isRTL&&isHorizontal&&(!_rtlScrollBehavior.i&&!_rtlScrollBehavior.n||_normalizeRTLCache),decreaseScrollCondition=rtlIsNormal?handleOffsetmouseOffset,scrollObj={},animationObj={easing:"linear",step:function(now){_scrollbarsHandlesDefineScrollPos&&(_viewportElement[scroll](now),refreshScrollbarHandleOffset(isHorizontal,now))}};instantScrollPosition=isFinite(instantScrollPosition)?instantScrollPosition:0,instantScrollPosition=_isRTL&&isHorizontal&&!_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScroll?(_viewportElement[scroll](instantScrollPosition),instantScrollTransition?(instantScrollPosition=_viewportElement[scroll](),_viewportElement[scroll](currScroll),instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.n?-instantScrollPosition:instantScrollPosition,scrollObj[xy]=instantScrollPosition,_base.scroll(scrollObj,extendDeep(animationObj,{duration:130,complete:scrollActionInstantFinished}))):scrollActionInstantFinished()):(decreaseScroll=isFirstIteration?decreaseScrollCondition:decreaseScroll,(rtlIsNormal?decreaseScroll?handleOffset+handleLength>=mouseOffset:handleOffset<=mouseOffset:decreaseScroll?handleOffset<=mouseOffset:handleOffset+handleLength>=mouseOffset)?(clearTimeout(trackTimeout),_base.scrollStop(),trackTimeout=undefined2,scrollActionFinsished(!0)):(trackTimeout=setTimeout(scrollAction,timeoutDelay),scrollObj[xy]=(decreaseScroll?"-=":"+=")+scrollDistance,_base.scroll(scrollObj,extendDeep(animationObj,{duration:scrollDuration}))),isFirstIteration=!1)}};ctrlKey&&increaseTrackScrollAmount(),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=COMPATIBILITY.page(event)[xy],_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption(strSnapHandle),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._track,strActive),addClass(scrollbarVars._scrollbar,strActive),setupResponsiveEventListener(_documentElement,[_strMouseTouchUpEvent,_strKeyDownEvent,_strKeyUpEvent,_strSelectStartEvent],[documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart]),scrollAction(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}},function onTrackMouseTouchEnter(event){_scrollbarsHandleHovered=!0,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!0)},function onTrackMouseTouchLeave(event){_scrollbarsHandleHovered=!1,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}]),addDestroyEventListener(scrollbarVars._scrollbar,_strMouseTouchDownEvent,(function onScrollbarMouseTouchDown(event){COMPATIBILITY.stpP(event)})),_supportTransition&&addDestroyEventListener(scrollbarVars._scrollbar,_strTransitionEndEvent,(function(event){event.target===scrollbarVars._scrollbar[0]&&(refreshScrollbarHandleLength(isHorizontal),refreshScrollbarHandleOffset(isHorizontal))}))}function refreshScrollbarAppearance(isHorizontal,shallBeVisible,canScroll){var scrollbarElement=isHorizontal?_scrollbarHorizontalElement:_scrollbarVerticalElement;addRemoveClass(_hostElement,isHorizontal?_classNameHostScrollbarHorizontalHidden:_classNameHostScrollbarVerticalHidden,!shallBeVisible),addRemoveClass(scrollbarElement,_classNameScrollbarUnusable,!canScroll)}function refreshScrollbarsAutoHide(shallBeVisible,delayfree){if(clearTimeout(_scrollbarsAutoHideTimeoutId),shallBeVisible)removeClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),removeClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden);else{var anyActive,hide=function(){!_scrollbarsHandleHovered&&!_destroyed&&(!(anyActive=_scrollbarHorizontalHandleElement.hasClass("active")||_scrollbarVerticalHandleElement.hasClass("active"))&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),!anyActive&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden))};_scrollbarsAutoHideDelay>0&&!0!==delayfree?_scrollbarsAutoHideTimeoutId=setTimeout(hide,_scrollbarsAutoHideDelay):hide()}}function refreshScrollbarHandleLength(isHorizontal){var handleCSS={},scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,handleRatio=MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h]);handleCSS[scrollbarVars._width_height]=MATH.floor(100*handleRatio*1e6)/1e6+"%",nativeOverlayScrollbarsAreActive()||scrollbarVars._handle.css(handleCSS),scrollbarVarsInfo._handleLength=scrollbarVars._handle[0]["offset"+scrollbarVars._Width_Height],scrollbarVarsInfo._handleLengthRatio=handleRatio}function refreshScrollbarHandleOffset(isHorizontal,scrollOrTransition){var transformOffset,translateValue,transition=type(scrollOrTransition)==TYPES_b,isRTLisHorizontal=_isRTL&&isHorizontal,scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,strTransform=VENDORS._cssProperty("transform"),strTransition=VENDORS._cssProperty("transition"),nativeScroll=isHorizontal?_viewportElement[_strScrollLeft]():_viewportElement[_strScrollTop](),currentScroll=scrollOrTransition===undefined2||transition?nativeScroll:scrollOrTransition,handleLength=scrollbarVarsInfo._handleLength,trackLength=scrollbarVars._track[0]["offset"+scrollbarVars._Width_Height],handleTrackDiff=trackLength-handleLength,handleCSS={},maxScroll=(_viewportElementNative[_strScroll+scrollbarVars._Width_Height]-_viewportElementNative["client"+scrollbarVars._Width_Height])*(_rtlScrollBehavior.n&&isRTLisHorizontal?-1:1),getScrollRatio=function(base){return isNaN(base/maxScroll)?0:MATH.max(0,MATH.min(1,base/maxScroll))},getHandleOffset=function(scrollRatio2){var offset=handleTrackDiff*scrollRatio2;return offset=isNaN(offset)?0:offset,offset=isRTLisHorizontal&&!_rtlScrollBehavior.i?trackLength-handleLength-offset:offset,offset=MATH.max(0,offset)},scrollRatio=getScrollRatio(nativeScroll),handleOffset=getHandleOffset(getScrollRatio(currentScroll)),snappedHandleOffset=getHandleOffset(scrollRatio);scrollbarVarsInfo._maxScroll=maxScroll,scrollbarVarsInfo._currentScroll=nativeScroll,scrollbarVarsInfo._currentScrollRatio=scrollRatio,_supportTransform?(transformOffset=isRTLisHorizontal?-(trackLength-handleLength-handleOffset):handleOffset,translateValue=isHorizontal?"translate("+transformOffset+"px, 0)":"translate(0, "+transformOffset+"px)",handleCSS[strTransform]=translateValue,_supportTransition&&(handleCSS[strTransition]=transition&&MATH.abs(handleOffset-scrollbarVarsInfo._handleOffset)>1?function getCSSTransitionString(element){var transitionStr=VENDORS._cssProperty("transition"),assembledValue=element.css(transitionStr);if(assembledValue)return assembledValue;for(var strResult,valueArray,j,regExpString="\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*",regExpMain=new RegExp(regExpString),regExpValidate=new RegExp("^("+regExpString+")+$"),properties="property duration timing-function delay".split(" "),result=[],i=0,splitCssStyleByComma=function(str){if(strResult=[],!str.match(regExpValidate))return str;for(;str.match(regExpMain);)strResult.push(RegExp.$1),str=str.replace(regExpMain,_strEmpty);return strResult};i"+(content||_strEmpty)+""}function selectOrGenerateDivByClass(className,selectParentOrOnlyChildren){var onlyChildren=type(selectParentOrOnlyChildren)==TYPES_b,selectParent=onlyChildren?_hostElement:selectParentOrOnlyChildren||_hostElement;return _domExists&&!selectParent[LEXICON.l]?null:_domExists?selectParent[onlyChildren?"children":"find"](_strDot+className.replace(/\s/g,_strDot)).eq(0):FRAMEWORK(generateDiv(className))}function getObjectPropVal(obj,path){for(var val,splits=path.split(_strDot),i=0;i0&&(optsIsPlainObj?FRAMEWORK.each(pluginTargetElements,(function(i,v){(inst=v)!==undefined2&&arr.push(OverlayScrollbarsInstance(inst,options,extensions,_pluginsGlobals,_pluginsAutoUpdateLoop))})):FRAMEWORK.each(pluginTargetElements,(function(i,v){inst=INSTANCES(v),("!"===options&&_plugin.valid(inst)||COMPATIBILITY.type(options)==TYPES_f&&options(v,inst)||options===undefined2)&&arr.push(inst)})),result=1===arr[LEXICON.l]?arr[0]:arr),result):optsIsPlainObj||!options?result:arr},_plugin.globals=function(){initOverlayScrollbarsStatics();var globals=FRAMEWORK.extend(!0,{},_pluginsGlobals);return delete globals.msie,globals},_plugin.defaultOptions=function(newDefaultOptions){initOverlayScrollbarsStatics();var currDefaultOptions=_pluginsGlobals.defaultOptions;if(newDefaultOptions===undefined2)return FRAMEWORK.extend(!0,{},currDefaultOptions);_pluginsGlobals.defaultOptions=FRAMEWORK.extend(!0,{},currDefaultOptions,_pluginsOptions._validate(newDefaultOptions,_pluginsOptions._template,!0,currDefaultOptions)._default)},_plugin.valid=function(osInstance){return osInstance instanceof _plugin&&!osInstance.getState().destroyed},_plugin.extension=function(extensionName,extension,defaultOptions){var extNameTypeString=COMPATIBILITY.type(extensionName)==TYPES_s,argLen=arguments[LEXICON.l],i=0;if(argLen<1||!extNameTypeString)return FRAMEWORK.extend(!0,{length:_pluginsExtensions[LEXICON.l]},_pluginsExtensions);if(extNameTypeString)if(COMPATIBILITY.type(extension)==TYPES_f)_pluginsExtensions.push({name:extensionName,extensionFactory:extension,defaultOptions});else for(;i<_pluginsExtensions[LEXICON.l];i++)if(_pluginsExtensions[i].name===extensionName){if(!(argLen>1))return FRAMEWORK.extend(!0,{},_pluginsExtensions[i]);_pluginsExtensions.splice(i,1)}},_plugin}();return JQUERY&&JQUERY.fn&&(JQUERY.fn.overlayScrollbars=function(options,extensions){return JQUERY.isPlainObject(options)?(JQUERY.each(this,(function(){PLUGIN(this,options,extensions)})),this):PLUGIN(this,options)}),PLUGIN},"function"==typeof define&&__webpack_require__.amdO?define((function(){return factory(global,global.document,void 0)})):"object"==typeof module&&"object"==typeof module.exports?module.exports=factory(global,global.document,void 0):factory(global,global.document,void 0)}}),import_overlayscrollbars=(0,_chunk_NNAAFZ4U_mjs__WEBPACK_IMPORTED_MODULE_1__.v)(require_OverlayScrollbars()),OverlayScrollbarsComponent=({options={},extensions,className,children,...rest})=>{let osTargetRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(),osInstance=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>(osInstance.current=(0,import_overlayscrollbars.default)(osTargetRef.current,options,extensions),mergeHostClassNames(osInstance.current,className),()=>{import_overlayscrollbars.default.valid(osInstance.current)&&(osInstance.current.destroy(),osInstance.current=null)})),[]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{import_overlayscrollbars.default.valid(osInstance.current)&&osInstance.current.options(options)}),[options]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{import_overlayscrollbars.default.valid(osInstance.current)&&mergeHostClassNames(osInstance.current,className)}),[className]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-host",...rest,ref:osTargetRef},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-resize-observer-host"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-padding"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-viewport"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-content"},children))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-scrollbar os-scrollbar-horizontal "},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-scrollbar os-scrollbar-vertical"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"os-scrollbar-corner"}))};function mergeHostClassNames(osInstance,className){if(import_overlayscrollbars.default.valid(osInstance)){let{host}=osInstance.getElements(),regex=new RegExp(`(^os-host([-_].+|)$)|${osInstance.options().className.replace(/\s/g,"$|")}$`,"g"),osClassNames=host.className.split(" ").filter((name=>name.match(regex))).join(" ");host.className=`${osClassNames} ${className||""}`}}var OverlayScrollbars_default=OverlayScrollbarsComponent}}]); \ No newline at end of file diff --git a/3410.f71b5d4f.iframe.bundle.js b/3410.f71b5d4f.iframe.bundle.js new file mode 100644 index 000000000..2f7ff534f --- /dev/null +++ b/3410.f71b5d4f.iframe.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 3410.f71b5d4f.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[3410],{"./node_modules/classnames/index.js":(module,exports)=>{var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i{var hasElementType="undefined"!=typeof Element,hasMap="function"==typeof Map,hasSet="function"==typeof Set,hasArrayBuffer="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function equal(a,b){if(a===b)return!0;if(a&&b&&"object"==typeof a&&"object"==typeof b){if(a.constructor!==b.constructor)return!1;var length,i,keys,it;if(Array.isArray(a)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(!equal(a[i],b[i]))return!1;return!0}if(hasMap&&a instanceof Map&&b instanceof Map){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;for(it=a.entries();!(i=it.next()).done;)if(!equal(i.value[1],b.get(i.value[0])))return!1;return!0}if(hasSet&&a instanceof Set&&b instanceof Set){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(b)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(a[i]!==b[i])return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf&&"function"==typeof a.valueOf&&"function"==typeof b.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString&&"function"==typeof a.toString&&"function"==typeof b.toString)return a.toString()===b.toString();if((length=(keys=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return!1;if(hasElementType&&a instanceof Element)return!1;for(i=length;0!=i--;)if(("_owner"!==keys[i]&&"__v"!==keys[i]&&"__o"!==keys[i]||!a.$$typeof)&&!equal(a[keys[i]],b[keys[i]]))return!1;return!0}return a!=a&&b!=b}module.exports=function isEqual(a,b){try{return equal(a,b)}catch(error){if((error.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw error}}},"./node_modules/react-popper/lib/esm/Manager.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{C8:()=>ManagerReferenceNodeContext,dK:()=>Manager,mq:()=>ManagerReferenceNodeSetterContext});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),ManagerReferenceNodeContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(),ManagerReferenceNodeSetterContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext();function Manager(_ref){var children=_ref.children,_React$useState=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),referenceNode=_React$useState[0],setReferenceNode=_React$useState[1],hasUnmounted=react__WEBPACK_IMPORTED_MODULE_0__.useRef(!1);react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){return function(){hasUnmounted.current=!0}}),[]);var handleSetReferenceNode=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(node){hasUnmounted.current||setReferenceNode(node)}),[]);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(ManagerReferenceNodeContext.Provider,{value:referenceNode},react__WEBPACK_IMPORTED_MODULE_0__.createElement(ManagerReferenceNodeSetterContext.Provider,{value:handleSetReferenceNode},children))}},"./node_modules/react-popper/lib/esm/Popper.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{r:()=>Popper});var react=__webpack_require__("./node_modules/react/index.js"),Manager=__webpack_require__("./node_modules/react-popper/lib/esm/Manager.js"),utils=__webpack_require__("./node_modules/react-popper/lib/esm/utils.js"),react_dom=__webpack_require__("./node_modules/react-dom/index.js");function getWindow(node){if(null==node)return window;if("[object Window]"!==node.toString()){var ownerDocument=node.ownerDocument;return ownerDocument&&ownerDocument.defaultView||window}return node}function isElement(node){return node instanceof getWindow(node).Element||node instanceof Element}function isHTMLElement(node){return node instanceof getWindow(node).HTMLElement||node instanceof HTMLElement}function isShadowRoot(node){return"undefined"!=typeof ShadowRoot&&(node instanceof getWindow(node).ShadowRoot||node instanceof ShadowRoot)}var math_max=Math.max,math_min=Math.min,round=Math.round;function getUAString(){var uaData=navigator.userAgentData;return null!=uaData&&uaData.brands&&Array.isArray(uaData.brands)?uaData.brands.map((function(item){return item.brand+"/"+item.version})).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(element,includeScale,isFixedStrategy){void 0===includeScale&&(includeScale=!1),void 0===isFixedStrategy&&(isFixedStrategy=!1);var clientRect=element.getBoundingClientRect(),scaleX=1,scaleY=1;includeScale&&isHTMLElement(element)&&(scaleX=element.offsetWidth>0&&round(clientRect.width)/element.offsetWidth||1,scaleY=element.offsetHeight>0&&round(clientRect.height)/element.offsetHeight||1);var visualViewport=(isElement(element)?getWindow(element):window).visualViewport,addVisualOffsets=!isLayoutViewport()&&isFixedStrategy,x=(clientRect.left+(addVisualOffsets&&visualViewport?visualViewport.offsetLeft:0))/scaleX,y=(clientRect.top+(addVisualOffsets&&visualViewport?visualViewport.offsetTop:0))/scaleY,width=clientRect.width/scaleX,height=clientRect.height/scaleY;return{width,height,top:y,right:x+width,bottom:y+height,left:x,x,y}}function getWindowScroll(node){var win=getWindow(node);return{scrollLeft:win.pageXOffset,scrollTop:win.pageYOffset}}function getNodeName(element){return element?(element.nodeName||"").toLowerCase():null}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function isScrollParent(element){var _getComputedStyle=getComputedStyle(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){void 0===isFixed&&(isFixed=!1);var isOffsetParentAnElement=isHTMLElement(offsetParent),offsetParentIsScaled=isHTMLElement(offsetParent)&&function isElementScaled(element){var rect=element.getBoundingClientRect(),scaleX=round(rect.width)/element.offsetWidth||1,scaleY=round(rect.height)/element.offsetHeight||1;return 1!==scaleX||1!==scaleY}(offsetParent),documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement,offsetParentIsScaled,isFixed),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&(("body"!==getNodeName(offsetParent)||isScrollParent(documentElement))&&(scroll=function getNodeScroll(node){return node!==getWindow(node)&&isHTMLElement(node)?function getHTMLElementScroll(element){return{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}(node):getWindowScroll(node)}(offsetParent)),isHTMLElement(offsetParent)?((offsets=getBoundingClientRect(offsetParent,!0)).x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width,height}}function getParentNode(element){return"html"===getNodeName(element)?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function getScrollParent(node){return["html","body","#document"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}function listScrollParents(element,list){var _element$ownerDocumen;void 0===list&&(list=[]);var scrollParent=getScrollParent(element),isBody=scrollParent===(null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function isTableElement(element){return["table","td","th"].indexOf(getNodeName(element))>=0}function getTrueOffsetParent(element){return isHTMLElement(element)&&"fixed"!==getComputedStyle(element).position?element.offsetParent:null}function getOffsetParent(element){for(var window=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&"static"===getComputedStyle(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&("html"===getNodeName(offsetParent)||"body"===getNodeName(offsetParent)&&"static"===getComputedStyle(offsetParent).position)?window:offsetParent||function getContainingBlock(element){var isFirefox=/firefox/i.test(getUAString());if(/Trident/i.test(getUAString())&&isHTMLElement(element)&&"fixed"===getComputedStyle(element).position)return null;var currentNode=getParentNode(element);for(isShadowRoot(currentNode)&&(currentNode=currentNode.host);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle(currentNode);if("none"!==css.transform||"none"!==css.perspective||"paint"===css.contain||-1!==["transform","perspective"].indexOf(css.willChange)||isFirefox&&"filter"===css.willChange||isFirefox&&css.filter&&"none"!==css.filter)return currentNode;currentNode=currentNode.parentNode}return null}(element)||window}var enums_top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[enums_top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce((function(acc,placement){return acc.concat([placement+"-"+start,placement+"-"+end])}),[]),enums_placements=[].concat(basePlacements,[auto]).reduce((function(acc,placement){return acc.concat([placement,placement+"-"+start,placement+"-"+end])}),[]),modifierPhases=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function order(modifiers){var map=new Map,visited=new Set,result=[];function sort(modifier){visited.add(modifier.name),[].concat(modifier.requires||[],modifier.requiresIfExists||[]).forEach((function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier)}})),result.push(modifier)}return modifiers.forEach((function(modifier){map.set(modifier.name,modifier)})),modifiers.forEach((function(modifier){visited.has(modifier.name)||sort(modifier)})),result}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some((function(element){return!(element&&"function"==typeof element.getBoundingClientRect)}))}function popperGenerator(generatorOptions){void 0===generatorOptions&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers=void 0===_generatorOptions$def?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=void 0===_generatorOptions$def2?DEFAULT_OPTIONS:_generatorOptions$def2;return function createPopper(reference,popper,options){void 0===options&&(options=defaultOptions);var fn,pending,state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference,popper},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state,setOptions:function setOptions(setOptionsAction){var options="function"==typeof setOptionsAction?setOptionsAction(state.options):setOptionsAction;cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options),state.scrollParents={reference:isElement(reference)?listScrollParents(reference):reference.contextElement?listScrollParents(reference.contextElement):[],popper:listScrollParents(popper)};var orderedModifiers=function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return modifierPhases.reduce((function(acc,phase){return acc.concat(orderedModifiers.filter((function(modifier){return modifier.phase===phase})))}),[])}(function mergeByName(modifiers){var merged=modifiers.reduce((function(merged,current){var existing=merged[current.name];return merged[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged}),{});return Object.keys(merged).map((function(key){return merged[key]}))}([].concat(defaultModifiers,state.options.modifiers)));return state.orderedModifiers=orderedModifiers.filter((function(m){return m.enabled})),function runModifierEffects(){state.orderedModifiers.forEach((function(_ref){var name=_ref.name,_ref$options=_ref.options,options=void 0===_ref$options?{}:_ref$options,effect=_ref.effect;if("function"==typeof effect){var cleanupFn=effect({state,name,instance,options}),noopFn=function noopFn(){};effectCleanupFns.push(cleanupFn||noopFn)}}))}(),instance.update()},forceUpdate:function forceUpdate(){if(!isDestroyed){var _state$elements=state.elements,reference=_state$elements.reference,popper=_state$elements.popper;if(areValidElements(reference,popper)){state.rects={reference:getCompositeRect(reference,getOffsetParent(popper),"fixed"===state.options.strategy),popper:getLayoutRect(popper)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach((function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)}));for(var index=0;index=0?"x":"y"}function computeOffsets(_ref){var offsets,reference=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference.x+reference.width/2-element.width/2,commonY=reference.y+reference.height/2-element.height/2;switch(basePlacement){case enums_top:offsets={x:commonX,y:reference.y-element.height};break;case bottom:offsets={x:commonX,y:reference.y+reference.height};break;case right:offsets={x:reference.x+reference.width,y:commonY};break;case left:offsets={x:reference.x-element.width,y:commonY};break;default:offsets={x:reference.x,y:reference.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(null!=mainAxis){var len="y"===mainAxis?"height":"width";switch(variation){case start:offsets[mainAxis]=offsets[mainAxis]-(reference[len]/2-element[len]/2);break;case end:offsets[mainAxis]=offsets[mainAxis]+(reference[len]/2-element[len]/2)}}return offsets}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(_ref2){var _Object$assign2,popper=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,variation=_ref2.variation,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,isFixed=_ref2.isFixed,_offsets$x=offsets.x,x=void 0===_offsets$x?0:_offsets$x,_offsets$y=offsets.y,y=void 0===_offsets$y?0:_offsets$y,_ref3="function"==typeof roundOffsets?roundOffsets({x,y}):{x,y};x=_ref3.x,y=_ref3.y;var hasX=offsets.hasOwnProperty("x"),hasY=offsets.hasOwnProperty("y"),sideX=left,sideY=enums_top,win=window;if(adaptive){var offsetParent=getOffsetParent(popper),heightProp="clientHeight",widthProp="clientWidth";if(offsetParent===getWindow(popper)&&"static"!==getComputedStyle(offsetParent=getDocumentElement(popper)).position&&"absolute"===position&&(heightProp="scrollHeight",widthProp="scrollWidth"),placement===enums_top||(placement===left||placement===right)&&variation===end)sideY=bottom,y-=(isFixed&&offsetParent===win&&win.visualViewport?win.visualViewport.height:offsetParent[heightProp])-popperRect.height,y*=gpuAcceleration?1:-1;if(placement===left||(placement===enums_top||placement===bottom)&&variation===end)sideX=right,x-=(isFixed&&offsetParent===win&&win.visualViewport?win.visualViewport.width:offsetParent[widthProp])-popperRect.width,x*=gpuAcceleration?1:-1}var _Object$assign,commonStyles=Object.assign({position},adaptive&&unsetSides),_ref4=!0===roundOffsets?function roundOffsetsByDPR(_ref,win){var x=_ref.x,y=_ref.y,dpr=win.devicePixelRatio||1;return{x:round(x*dpr)/dpr||0,y:round(y*dpr)/dpr||0}}({x,y},getWindow(popper)):{x,y};return x=_ref4.x,y=_ref4.y,gpuAcceleration?Object.assign({},commonStyles,((_Object$assign={})[sideY]=hasY?"0":"",_Object$assign[sideX]=hasX?"0":"",_Object$assign.transform=(win.devicePixelRatio||1)<=1?"translate("+x+"px, "+y+"px)":"translate3d("+x+"px, "+y+"px, 0)",_Object$assign)):Object.assign({},commonStyles,((_Object$assign2={})[sideY]=hasY?y+"px":"",_Object$assign2[sideX]=hasX?x+"px":"",_Object$assign2.transform="",_Object$assign2))}const modifiers_offset={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function offset(_ref2){var state=_ref2.state,options=_ref2.options,name=_ref2.name,_options$offset=options.offset,offset=void 0===_options$offset?[0,0]:_options$offset,data=enums_placements.reduce((function(acc,placement){return acc[placement]=function distanceAndSkiddingToXY(placement,rects,offset){var basePlacement=getBasePlacement(placement),invertDistance=[left,enums_top].indexOf(basePlacement)>=0?-1:1,_ref="function"==typeof offset?offset(Object.assign({},rects,{placement})):offset,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[left,right].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}(placement,state.rects,offset),acc}),{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;null!=state.modifiersData.popperOffsets&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data}};var hash={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,(function(matched){return hash[matched]}))}var getOppositeVariationPlacement_hash={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,(function(matched){return getOppositeVariationPlacement_hash[matched]}))}function contains(parent,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent.isSameNode(next))return!0;next=next.parentNode||next.host}while(next)}return!1}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getClientRectFromMixedType(element,clippingParent,strategy){return clippingParent===viewport?rectToClientRect(function getViewportRect(element,strategy){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;if(visualViewport){width=visualViewport.width,height=visualViewport.height;var layoutViewport=isLayoutViewport();(layoutViewport||!layoutViewport&&"fixed"===strategy)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}return{width,height,x:x+getWindowScrollBarX(element),y}}(element,strategy)):isElement(clippingParent)?function getInnerBoundingClientRect(element,strategy){var rect=getBoundingClientRect(element,!1,"fixed"===strategy);return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}(clippingParent,strategy):rectToClientRect(function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body,width=math_max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=math_max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return"rtl"===getComputedStyle(body||html).direction&&(x+=math_max(html.clientWidth,body?body.clientWidth:0)-width),{width,height,x,y}}(getDocumentElement(element)))}function getClippingRect(element,boundary,rootBoundary,strategy){var mainClippingParents="clippingParents"===boundary?function getClippingParents(element){var clippingParents=listScrollParents(getParentNode(element)),clipperElement=["absolute","fixed"].indexOf(getComputedStyle(element).position)>=0&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents.filter((function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&"body"!==getNodeName(clippingParent)})):[]}(element):[].concat(boundary),clippingParents=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents[0],clippingRect=clippingParents.reduce((function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent,strategy);return accRect.top=math_max(rect.top,accRect.top),accRect.right=math_min(rect.right,accRect.right),accRect.bottom=math_min(rect.bottom,accRect.bottom),accRect.left=math_max(rect.left,accRect.left),accRect}),getClientRectFromMixedType(element,firstClippingParent,strategy));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function mergePaddingObject(paddingObject){return Object.assign({},{top:0,right:0,bottom:0,left:0},paddingObject)}function expandToHashMap(value,keys){return keys.reduce((function(hashMap,key){return hashMap[key]=value,hashMap}),{})}function detectOverflow(state,options){void 0===options&&(options={});var _options=options,_options$placement=_options.placement,placement=void 0===_options$placement?state.placement:_options$placement,_options$strategy=_options.strategy,strategy=void 0===_options$strategy?state.strategy:_options$strategy,_options$boundary=_options.boundary,boundary=void 0===_options$boundary?clippingParents:_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=void 0===_options$rootBoundary?viewport:_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=void 0===_options$elementConte?popper:_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=void 0!==_options$altBoundary&&_options$altBoundary,_options$padding=_options.padding,padding=void 0===_options$padding?0:_options$padding,paddingObject=mergePaddingObject("number"!=typeof padding?padding:expandToHashMap(padding,basePlacements)),altContext=elementContext===popper?reference:popper,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary,strategy),referenceClientRect=getBoundingClientRect(state.elements.reference),popperOffsets=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:"absolute",placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets)),elementClientRect=elementContext===popper?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if(elementContext===popper&&offsetData){var offset=offsetData[placement];Object.keys(overflowOffsets).forEach((function(key){var multiply=[right,bottom].indexOf(key)>=0?1:-1,axis=[enums_top,bottom].indexOf(key)>=0?"y":"x";overflowOffsets[key]+=offset[axis]*multiply}))}return overflowOffsets}function within(min,value,max){return math_max(min,math_min(value,max))}const modifiers_preventOverflow={name:"preventOverflow",enabled:!0,phase:"main",fn:function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0!==_options$altAxis&&_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=void 0===_options$tether||_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=void 0===_options$tetherOffset?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary,rootBoundary,padding,altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=function getAltAxis(axis){return"x"===axis?"y":"x"}(mainAxis),popperOffsets=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue="function"==typeof tetherOffset?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,normalizedTetherOffsetValue="number"==typeof tetherOffsetValue?{mainAxis:tetherOffsetValue,altAxis:tetherOffsetValue}:Object.assign({mainAxis:0,altAxis:0},tetherOffsetValue),offsetModifierState=state.modifiersData.offset?state.modifiersData.offset[state.placement]:null,data={x:0,y:0};if(popperOffsets){if(checkMainAxis){var _offsetModifierState$,mainSide="y"===mainAxis?enums_top:left,altSide="y"===mainAxis?bottom:right,len="y"===mainAxis?"height":"width",offset=popperOffsets[mainAxis],min=offset+overflow[mainSide],max=offset-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen=variation===start?referenceRect[len]:popperRect[len],maxLen=variation===start?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis:minLen-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis:maxLen+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?"y"===mainAxis?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=null!=(_offsetModifierState$=null==offsetModifierState?void 0:offsetModifierState[mainAxis])?_offsetModifierState$:0,tetherMax=offset+maxOffset-offsetModifierValue,preventedOffset=within(tether?math_min(min,offset+minOffset-offsetModifierValue-clientOffset):min,offset,tether?math_max(max,tetherMax):max);popperOffsets[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset}if(checkAltAxis){var _offsetModifierState$2,_mainSide="x"===mainAxis?enums_top:left,_altSide="x"===mainAxis?bottom:right,_offset=popperOffsets[altAxis],_len="y"===altAxis?"height":"width",_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],isOriginSide=-1!==[enums_top,left].indexOf(basePlacement),_offsetModifierValue=null!=(_offsetModifierState$2=null==offsetModifierState?void 0:offsetModifierState[altAxis])?_offsetModifierState$2:0,_tetherMin=isOriginSide?_min:_offset-referenceRect[_len]-popperRect[_len]-_offsetModifierValue+normalizedTetherOffsetValue.altAxis,_tetherMax=isOriginSide?_offset+referenceRect[_len]+popperRect[_len]-_offsetModifierValue-normalizedTetherOffsetValue.altAxis:_max,_preventedOffset=tether&&isOriginSide?function withinMaxClamp(min,value,max){var v=within(min,value,max);return v>max?max:v}(_tetherMin,_offset,_tetherMax):within(tether?_tetherMin:_min,_offset,tether?_tetherMax:_max);popperOffsets[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset}state.modifiersData[name]=data}},requiresIfExists:["offset"]};const modifiers_arrow={name:"arrow",enabled:!0,phase:"main",fn:function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),len=[left,right].indexOf(basePlacement)>=0?"height":"width";if(arrowElement&&popperOffsets){var paddingObject=function toPaddingObject(padding,state){return mergePaddingObject("number"!=typeof(padding="function"==typeof padding?padding(Object.assign({},state.rects,{placement:state.placement})):padding)?padding:expandToHashMap(padding,basePlacements))}(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp="y"===axis?enums_top:left,maxProp="y"===axis?bottom:right,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets[axis]-state.rects.popper[len],startDiff=popperOffsets[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?"y"===axis?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min=paddingObject[minProp],max=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset=within(min,center,max),axisProp=axis;state.modifiersData[name]=((_state$modifiersData$={})[axisProp]=offset,_state$modifiersData$.centerOffset=offset-center,_state$modifiersData$)}},effect:function arrow_effect(_ref2){var state=_ref2.state,_options$element=_ref2.options.element,arrowElement=void 0===_options$element?"[data-popper-arrow]":_options$element;null!=arrowElement&&("string"!=typeof arrowElement||(arrowElement=state.elements.popper.querySelector(arrowElement)))&&contains(state.elements.popper,arrowElement)&&(state.elements.arrow=arrowElement)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getSideOffsets(overflow,rect,preventedOffsets){return void 0===preventedOffsets&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[enums_top,right,bottom,left].some((function(side){return overflow[side]>=0}))}var popper_createPopper=popperGenerator({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function fn(){},effect:function effect(_ref){var state=_ref.state,instance=_ref.instance,options=_ref.options,_options$scroll=options.scroll,scroll=void 0===_options$scroll||_options$scroll,_options$resize=options.resize,resize=void 0===_options$resize||_options$resize,window=getWindow(state.elements.popper),scrollParents=[].concat(state.scrollParents.reference,state.scrollParents.popper);return scroll&&scrollParents.forEach((function(scrollParent){scrollParent.addEventListener("scroll",instance.update,passive)})),resize&&window.addEventListener("resize",instance.update,passive),function(){scroll&&scrollParents.forEach((function(scrollParent){scrollParent.removeEventListener("scroll",instance.update,passive)})),resize&&window.removeEventListener("resize",instance.update,passive)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function popperOffsets(_ref){var state=_ref.state,name=_ref.name;state.modifiersData[name]=computeOffsets({reference:state.rects.reference,element:state.rects.popper,strategy:"absolute",placement:state.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function computeStyles(_ref5){var state=_ref5.state,options=_ref5.options,_options$gpuAccelerat=options.gpuAcceleration,gpuAcceleration=void 0===_options$gpuAccelerat||_options$gpuAccelerat,_options$adaptive=options.adaptive,adaptive=void 0===_options$adaptive||_options$adaptive,_options$roundOffsets=options.roundOffsets,roundOffsets=void 0===_options$roundOffsets||_options$roundOffsets,commonStyles={placement:getBasePlacement(state.placement),variation:getVariation(state.placement),popper:state.elements.popper,popperRect:state.rects.popper,gpuAcceleration,isFixed:"fixed"===state.options.strategy};null!=state.modifiersData.popperOffsets&&(state.styles.popper=Object.assign({},state.styles.popper,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.popperOffsets,position:state.options.strategy,adaptive,roundOffsets})))),null!=state.modifiersData.arrow&&(state.styles.arrow=Object.assign({},state.styles.arrow,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets})))),state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-placement":state.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function applyStyles(_ref){var state=_ref.state;Object.keys(state.elements).forEach((function(name){var style=state.styles[name]||{},attributes=state.attributes[name]||{},element=state.elements[name];isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(name){var value=attributes[name];!1===value?element.removeAttribute(name):element.setAttribute(name,!0===value?"":value)})))}))},effect:function applyStyles_effect(_ref2){var state=_ref2.state,initialStyles={popper:{position:state.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(state.elements.popper.style,initialStyles.popper),state.styles=initialStyles,state.elements.arrow&&Object.assign(state.elements.arrow.style,initialStyles.arrow),function(){Object.keys(state.elements).forEach((function(name){var element=state.elements[name],attributes=state.attributes[name]||{},style=Object.keys(state.styles.hasOwnProperty(name)?state.styles[name]:initialStyles[name]).reduce((function(style,property){return style[property]="",style}),{});isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(attribute){element.removeAttribute(attribute)})))}))}},requires:["computeStyles"]},modifiers_offset,{name:"flip",enabled:!0,phase:"main",fn:function flip(_ref){var state=_ref.state,options=_ref.options,name=_ref.name;if(!state.modifiersData[name]._skip){for(var _options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0===_options$altAxis||_options$altAxis,specifiedFallbackPlacements=options.fallbackPlacements,padding=options.padding,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,_options$flipVariatio=options.flipVariations,flipVariations=void 0===_options$flipVariatio||_options$flipVariatio,allowedAutoPlacements=options.allowedAutoPlacements,preferredPlacement=state.options.placement,basePlacement=getBasePlacement(preferredPlacement),fallbackPlacements=specifiedFallbackPlacements||(basePlacement===preferredPlacement||!flipVariations?[getOppositePlacement(preferredPlacement)]:function getExpandedFallbackPlacements(placement){if(getBasePlacement(placement)===auto)return[];var oppositePlacement=getOppositePlacement(placement);return[getOppositeVariationPlacement(placement),oppositePlacement,getOppositeVariationPlacement(oppositePlacement)]}(preferredPlacement)),placements=[preferredPlacement].concat(fallbackPlacements).reduce((function(acc,placement){return acc.concat(getBasePlacement(placement)===auto?function computeAutoPlacement(state,options){void 0===options&&(options={});var _options=options,placement=_options.placement,boundary=_options.boundary,rootBoundary=_options.rootBoundary,padding=_options.padding,flipVariations=_options.flipVariations,_options$allowedAutoP=_options.allowedAutoPlacements,allowedAutoPlacements=void 0===_options$allowedAutoP?enums_placements:_options$allowedAutoP,variation=getVariation(placement),placements=variation?flipVariations?variationPlacements:variationPlacements.filter((function(placement){return getVariation(placement)===variation})):basePlacements,allowedPlacements=placements.filter((function(placement){return allowedAutoPlacements.indexOf(placement)>=0}));0===allowedPlacements.length&&(allowedPlacements=placements);var overflows=allowedPlacements.reduce((function(acc,placement){return acc[placement]=detectOverflow(state,{placement,boundary,rootBoundary,padding})[getBasePlacement(placement)],acc}),{});return Object.keys(overflows).sort((function(a,b){return overflows[a]-overflows[b]}))}(state,{placement,boundary,rootBoundary,padding,flipVariations,allowedAutoPlacements}):placement)}),[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements[0],i=0;i=0,len=isVertical?"width":"height",overflow=detectOverflow(state,{placement,boundary,rootBoundary,altBoundary,padding}),mainVariationSide=isVertical?isStartVariation?right:left:isStartVariation?bottom:enums_top;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every((function(check){return check}))){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks)}if(makeFallbackChecks)for(var _loop=function _loop(_i){var fittingPlacement=placements.find((function(placement){var checks=checksMap.get(placement);if(checks)return checks.slice(0,_i).every((function(check){return check}))}));if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"},_i=flipVariations?3:1;_i>0;_i--){if("break"===_loop(_i))break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},modifiers_preventOverflow,modifiers_arrow,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets,popperEscapeOffsets,isReferenceHidden,hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":isReferenceHidden,"data-popper-escaped":hasPopperEscaped})}}]}),react_fast_compare=__webpack_require__("./node_modules/react-fast-compare/index.js"),react_fast_compare_default=__webpack_require__.n(react_fast_compare),EMPTY_MODIFIERS=[],usePopper=function usePopper(referenceElement,popperElement,options){void 0===options&&(options={});var prevOptions=react.useRef(null),optionsWithDefaults={onFirstUpdate:options.onFirstUpdate,placement:options.placement||"bottom",strategy:options.strategy||"absolute",modifiers:options.modifiers||EMPTY_MODIFIERS},_React$useState=react.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1],updateStateModifier=react.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function fn(_ref){var state=_ref.state,elements=Object.keys(state.elements);react_dom.flushSync((function(){setState({styles:(0,utils.sq)(elements.map((function(element){return[element,state.styles[element]||{}]}))),attributes:(0,utils.sq)(elements.map((function(element){return[element,state.attributes[element]]})))})}))},requires:["computeStyles"]}}),[]),popperOptions=react.useMemo((function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:"applyStyles",enabled:!1}])};return react_fast_compare_default()(prevOptions.current,newOptions)?prevOptions.current||newOptions:(prevOptions.current=newOptions,newOptions)}),[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]),popperInstanceRef=react.useRef();return(0,utils.LI)((function(){popperInstanceRef.current&&popperInstanceRef.current.setOptions(popperOptions)}),[popperOptions]),(0,utils.LI)((function(){if(null!=referenceElement&&null!=popperElement){var popperInstance=(options.createPopper||popper_createPopper)(referenceElement,popperElement,popperOptions);return popperInstanceRef.current=popperInstance,function(){popperInstance.destroy(),popperInstanceRef.current=null}}}),[referenceElement,popperElement,options.createPopper]),{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}},NOOP=function NOOP(){},NOOP_PROMISE=function NOOP_PROMISE(){return Promise.resolve(null)},Popper_EMPTY_MODIFIERS=[];function Popper(_ref){var _ref$placement=_ref.placement,placement=void 0===_ref$placement?"bottom":_ref$placement,_ref$strategy=_ref.strategy,strategy=void 0===_ref$strategy?"absolute":_ref$strategy,_ref$modifiers=_ref.modifiers,modifiers=void 0===_ref$modifiers?Popper_EMPTY_MODIFIERS:_ref$modifiers,referenceElement=_ref.referenceElement,onFirstUpdate=_ref.onFirstUpdate,innerRef=_ref.innerRef,children=_ref.children,referenceNode=react.useContext(Manager.C8),_React$useState=react.useState(null),popperElement=_React$useState[0],setPopperElement=_React$useState[1],_React$useState2=react.useState(null),arrowElement=_React$useState2[0],setArrowElement=_React$useState2[1];react.useEffect((function(){(0,utils.k$)(innerRef,popperElement)}),[innerRef,popperElement]);var options=react.useMemo((function(){return{placement,strategy,onFirstUpdate,modifiers:[].concat(modifiers,[{name:"arrow",enabled:null!=arrowElement,options:{element:arrowElement}}])}}),[placement,strategy,onFirstUpdate,modifiers,arrowElement]),_usePopper=usePopper(referenceElement||referenceNode,popperElement,options),state=_usePopper.state,styles=_usePopper.styles,forceUpdate=_usePopper.forceUpdate,update=_usePopper.update,childrenProps=react.useMemo((function(){return{ref:setPopperElement,style:styles.popper,placement:state?state.placement:placement,hasPopperEscaped:state&&state.modifiersData.hide?state.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:state&&state.modifiersData.hide?state.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:styles.arrow,ref:setArrowElement},forceUpdate:forceUpdate||NOOP,update:update||NOOP_PROMISE}}),[setPopperElement,setArrowElement,placement,state,styles,update,forceUpdate]);return(0,utils.$p)(children)(childrenProps)}},"./node_modules/react-popper/lib/esm/Reference.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>Reference});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),warning__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/warning/warning.js"),warning__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(warning__WEBPACK_IMPORTED_MODULE_1__),_Manager__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react-popper/lib/esm/Manager.js"),_utils__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react-popper/lib/esm/utils.js");function Reference(_ref){var children=_ref.children,innerRef=_ref.innerRef,setReferenceNode=react__WEBPACK_IMPORTED_MODULE_0__.useContext(_Manager__WEBPACK_IMPORTED_MODULE_2__.mq),refHandler=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(node){(0,_utils__WEBPACK_IMPORTED_MODULE_3__.k$)(innerRef,node),(0,_utils__WEBPACK_IMPORTED_MODULE_3__.DL)(setReferenceNode,node)}),[innerRef,setReferenceNode]);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){return function(){return(0,_utils__WEBPACK_IMPORTED_MODULE_3__.k$)(innerRef,null)}}),[]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){warning__WEBPACK_IMPORTED_MODULE_1___default()(Boolean(setReferenceNode),"`Reference` should not be used outside of a `Manager` component.")}),[setReferenceNode]),(0,_utils__WEBPACK_IMPORTED_MODULE_3__.$p)(children)({ref:refHandler})}},"./node_modules/react-popper/lib/esm/utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$p:()=>unwrapArray,DL:()=>safeInvoke,LI:()=>useIsomorphicLayoutEffect,k$:()=>setRef,sq:()=>fromEntries});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),unwrapArray=function unwrapArray(arg){return Array.isArray(arg)?arg[0]:arg},safeInvoke=function safeInvoke(fn){if("function"==typeof fn){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return fn.apply(void 0,args)}},setRef=function setRef(ref,node){if("function"==typeof ref)return safeInvoke(ref,node);null!=ref&&(ref.current=node)},fromEntries=function fromEntries(entries){return entries.reduce((function(acc,_ref){var key=_ref[0],value=_ref[1];return acc[key]=value,acc}),{})},useIsomorphicLayoutEffect="undefined"!=typeof window&&window.document&&window.document.createElement?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect},"./node_modules/warning/warning.js":module=>{"use strict";var warning=function(){};module.exports=warning}}]); \ No newline at end of file diff --git a/3410.f71b5d4f.iframe.bundle.js.LICENSE.txt b/3410.f71b5d4f.iframe.bundle.js.LICENSE.txt new file mode 100644 index 000000000..827f2732c --- /dev/null +++ b/3410.f71b5d4f.iframe.bundle.js.LICENSE.txt @@ -0,0 +1,5 @@ +/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ diff --git a/3547.f5acf0e8.iframe.bundle.js b/3547.f5acf0e8.iframe.bundle.js new file mode 100644 index 000000000..481d3e04c --- /dev/null +++ b/3547.f5acf0e8.iframe.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 3547.f5acf0e8.iframe.bundle.js.LICENSE.txt */ +"use strict";(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[3547],{"./node_modules/object-assign/index.js":module=>{var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;module.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var test1=new String("abc");if(test1[5]="de","5"===Object.getOwnPropertyNames(test1)[0])return!1;for(var test2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(test2).map((function(n){return test2[n]})).join(""))return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},test3)).join("")}catch(err){return!1}}()?Object.assign:function(target,source){for(var from,symbols,to=function toObject(val){if(null==val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}(target),s=1;s{var f=__webpack_require__("./node_modules/react/index.js"),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function q(c,a,g){var b,d={},e=null,h=null;for(b in void 0!==g&&(e=""+g),void 0!==a.key&&(e=""+a.key),void 0!==a.ref&&(h=a.ref),a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l,exports.jsx=q,exports.jsxs=q},"./node_modules/react/jsx-runtime.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=__webpack_require__("./node_modules/react/cjs/react-jsx-runtime.production.min.js")},"./node_modules/styled-system/dist/index.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{eC:()=>grid,Dh:()=>space});var object_assign=__webpack_require__("./node_modules/object-assign/index.js"),object_assign_default=__webpack_require__.n(object_assign),merge=function merge(a,b){var result=object_assign_default()({},a,b);for(var key in a){var _assign;a[key]&&"object"==typeof b[key]&&object_assign_default()(result,((_assign={})[key]=object_assign_default()(a[key],b[key]),_assign))}return result},defaults={breakpoints:[40,52,64].map((function(n){return n+"em"}))},createMediaQuery=function createMediaQuery(n){return"@media screen and (min-width: "+n+")"},getValue=function getValue(n,scale){return get(scale,n,n)},get=function get(obj,key,def,p,undef){for(key=key&&key.split?key.split("."):[key],p=0;p1&&keys.forEach((function(key){var _createParser;parse[key]=createParser(((_createParser={})[key]=config[key],_createParser))})),parse},parseResponsiveStyle=function parseResponsiveStyle(mediaQueries,sx,scale,raw,_props){var styles={};return raw.slice(0,mediaQueries.length).forEach((function(value,i){var _assign2,media=mediaQueries[i],style=sx(value,scale,_props);media?object_assign_default()(styles,((_assign2={})[media]=object_assign_default()({},styles[media],style),_assign2)):object_assign_default()(styles,style)})),styles},parseResponsiveObject=function parseResponsiveObject(breakpoints,sx,scale,raw,_props){var styles={};for(var key in raw){var breakpoint=breakpoints[key],style=sx(raw[key],scale,_props);if(breakpoint){var _assign3,media=createMediaQuery(breakpoint);object_assign_default()(styles,((_assign3={})[media]=object_assign_default()({},styles[media],style),_assign3))}else object_assign_default()(styles,style)}return styles},index_esm_createStyleFunction=function createStyleFunction(_ref){var properties=_ref.properties,property=_ref.property,scale=_ref.scale,_ref$transform=_ref.transform,transform=void 0===_ref$transform?getValue:_ref$transform,defaultScale=_ref.defaultScale;properties=properties||[property];var sx=function sx(value,scale,_props){var result={},n=transform(value,scale,_props);if(null!==n)return properties.forEach((function(prop){result[prop]=n})),result};return sx.scale=scale,sx.defaults=defaultScale,sx},system=function system(args){void 0===args&&(args={});var config={};return Object.keys(args).forEach((function(key){var conf=args[key];config[key]=!0!==conf?"function"!=typeof conf?index_esm_createStyleFunction(conf):conf:index_esm_createStyleFunction({property:key,scale:key})})),index_esm_createParser(config)};const index_esm=system({width:{property:"width",scale:"sizes",transform:function getWidth(n,scale){return get(scale,n,!function isNumber(n){return"number"==typeof n&&!isNaN(n)}(n)||n>1?n:100*n+"%")}},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0});var index_esm_config={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};index_esm_config.bg=index_esm_config.backgroundColor;const dist_index_esm=system(index_esm_config);const typography_dist_index_esm=system({fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:[12,14,16,20,24,32,48,64,72]},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0});const flexbox_dist_index_esm=system({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0});var dist_index_esm_defaults={space:[0,4,8,16,32,64,128,256,512]},grid=system({gridGap:{property:"gridGap",scale:"space",defaultScale:dist_index_esm_defaults.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:dist_index_esm_defaults.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:dist_index_esm_defaults.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0});const grid_dist_index_esm=grid;var border_dist_index_esm_config={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:({property:"borderTopLeftRadius",scale:"radii"},{property:"borderTopLeftRadius",scale:"radii"}),borderTopRightRadius:({property:"borderTopRightRadius",scale:"radii"},{property:"borderTopRightRadius",scale:"radii"}),borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:({property:"borderBottomLeftRadius",scale:"radii"},{property:"borderBottomLeftRadius",scale:"radii"}),borderBottomRightRadius:({property:"borderBottomRightRadius",scale:"radii"},{property:"borderBottomRightRadius",scale:"radii"}),borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:{property:"borderTopStyle",scale:"borderStyles"},borderBottomWidth:{property:"borderBottomWidth",scale:"borderWidths"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderBottomStyle:{property:"borderBottomStyle",scale:"borderStyles"},borderLeftWidth:{property:"borderLeftWidth",scale:"borderWidths"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderLeftStyle:{property:"borderLeftStyle",scale:"borderStyles"},borderRightWidth:{property:"borderRightWidth",scale:"borderWidths"},borderRightColor:{property:"borderRightColor",scale:"colors"},borderRightStyle:{property:"borderRightStyle",scale:"borderStyles"}};const border_dist_index_esm=system(border_dist_index_esm_config);var background_dist_index_esm_config={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};background_dist_index_esm_config.bgImage=background_dist_index_esm_config.backgroundImage,background_dist_index_esm_config.bgSize=background_dist_index_esm_config.backgroundSize,background_dist_index_esm_config.bgPosition=background_dist_index_esm_config.backgroundPosition,background_dist_index_esm_config.bgRepeat=background_dist_index_esm_config.backgroundRepeat;const background_dist_index_esm=system(background_dist_index_esm_config);var position_dist_index_esm_defaults={space:[0,4,8,16,32,64,128,256,512]};const position_dist_index_esm=system({position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:position_dist_index_esm_defaults.space},right:{property:"right",scale:"space",defaultScale:position_dist_index_esm_defaults.space},bottom:{property:"bottom",scale:"space",defaultScale:position_dist_index_esm_defaults.space},left:{property:"left",scale:"space",defaultScale:position_dist_index_esm_defaults.space}});var space_dist_index_esm_defaults={space:[0,4,8,16,32,64,128,256,512]},index_esm_isNumber=function isNumber(n){return"number"==typeof n&&!isNaN(n)},getMargin=function getMargin(n,scale){if(!index_esm_isNumber(n))return get(scale,n,n);var isNegative=n<0,absolute=Math.abs(n),value=get(scale,absolute,absolute);return index_esm_isNumber(value)?value*(isNegative?-1:1):isNegative?"-"+value:value},configs={};configs.margin={margin:{property:"margin",scale:"space",transform:getMargin,defaultScale:space_dist_index_esm_defaults.space},marginTop:{property:"marginTop",scale:"space",transform:getMargin,defaultScale:space_dist_index_esm_defaults.space},marginRight:{property:"marginRight",scale:"space",transform:getMargin,defaultScale:space_dist_index_esm_defaults.space},marginBottom:{property:"marginBottom",scale:"space",transform:getMargin,defaultScale:space_dist_index_esm_defaults.space},marginLeft:{property:"marginLeft",scale:"space",transform:getMargin,defaultScale:space_dist_index_esm_defaults.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:getMargin,defaultScale:space_dist_index_esm_defaults.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:getMargin,defaultScale:space_dist_index_esm_defaults.space}},configs.margin.m=configs.margin.margin,configs.margin.mt=configs.margin.marginTop,configs.margin.mr=configs.margin.marginRight,configs.margin.mb=configs.margin.marginBottom,configs.margin.ml=configs.margin.marginLeft,configs.margin.mx=configs.margin.marginX,configs.margin.my=configs.margin.marginY,configs.padding={padding:{property:"padding",scale:"space",defaultScale:space_dist_index_esm_defaults.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:space_dist_index_esm_defaults.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:space_dist_index_esm_defaults.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:space_dist_index_esm_defaults.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:space_dist_index_esm_defaults.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:space_dist_index_esm_defaults.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:space_dist_index_esm_defaults.space}},configs.padding.p=configs.padding.padding,configs.padding.pt=configs.padding.paddingTop,configs.padding.pr=configs.padding.paddingRight,configs.padding.pb=configs.padding.paddingBottom,configs.padding.pl=configs.padding.paddingLeft,configs.padding.px=configs.padding.paddingX,configs.padding.py=configs.padding.paddingY;var space=function compose(){for(var config={},_len=arguments.length,parsers=new Array(_len),_key=0;_key<_len;_key++)parsers[_key]=arguments[_key];return parsers.forEach((function(parser){parser&&parser.config&&object_assign_default()(config,parser.config)})),index_esm_createParser(config)}(system(configs.margin),system(configs.padding));system({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function _extends(){return _extends=Object.assign||function(target){for(var i=1;i=0)return index_esm_get(scale,value,value);var absolute=Math.abs(value),n=index_esm_get(scale,absolute,absolute);return"string"==typeof n?"-"+n:-1*n},transforms=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce((function(acc,curr){var _extends2;return _extends({},acc,((_extends2={})[curr]=positiveOrNegative,_extends2))}),{});const css_dist_index_esm=function css(args){return function(props){void 0===props&&(props={});var theme=_extends({},defaultTheme,{},props.theme||props),result={},styles=function responsive(styles){return function(theme){var next={},breakpoints=index_esm_get(theme,"breakpoints",defaultBreakpoints),mediaQueries=[null].concat(breakpoints.map((function(n){return"@media screen and (min-width: "+n+")"})));for(var key in styles){var value="function"==typeof styles[key]?styles[key](theme):styles[key];if(null!=value)if(Array.isArray(value))for(var i=0;i{"use strict";__webpack_require__.d(__webpack_exports__,{O:()=>getControlSetterButtonId,d:()=>getControlId});var getControlId=value=>`control-${value.replace(/\s+/g,"-")}`,getControlSetterButtonId=value=>`set-${value.replace(/\s+/g,"-")}`},"./node_modules/@storybook/blocks/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ct:()=>AnchorMdx,Ed:()=>ArgTypes,Xz:()=>Canvas,bD:()=>CodeOrSourceMdx,WI:()=>Docs,lO:()=>HeadersMdx,h_:()=>Meta});var chunk_GWAJ4KRU=__webpack_require__("./node_modules/@storybook/blocks/dist/chunk-GWAJ4KRU.mjs"),react=__webpack_require__("./node_modules/react/index.js"),dist=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/index.mjs"),chunk_4NMOSTKD=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/chunk-4NMOSTKD.mjs"),components_dist=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/index.mjs"),chunk_RDJSMFWU=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-RDJSMFWU.mjs");function extends_extends(){return extends_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(color){if("string"!=typeof color)throw new PolishedError(3);var normalizedColor=function nameToHex(color){if("string"!=typeof color)return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color}(color);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError(5)}function parseToHsl(color){return function rgbToHsl(color){var hue,red=color.red/255,green=color.green/255,blue=color.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color.alpha?{hue:0,saturation:0,lightness,alpha:color.alpha}:{hue:0,saturation:0,lightness};var delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"==typeof value&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new PolishedError(2)}function rgb(value,green,blue){if("number"==typeof value&&"number"==typeof green&&"number"==typeof blue)return reduceHexValue$1("#"+numberToHex(value)+numberToHex(green)+numberToHex(blue));if("object"==typeof value&&void 0===green&&void 0===blue)return reduceHexValue$1("#"+numberToHex(value.red)+numberToHex(value.green)+numberToHex(value.blue));throw new PolishedError(6)}function rgba(firstValue,secondValue,thirdValue,fourthValue){if("string"==typeof firstValue&&"number"==typeof secondValue){var rgbValue=parseToRgb(firstValue);return"rgba("+rgbValue.red+","+rgbValue.green+","+rgbValue.blue+","+secondValue+")"}if("number"==typeof firstValue&&"number"==typeof secondValue&&"number"==typeof thirdValue&&"number"==typeof fourthValue)return fourthValue>=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"==typeof firstValue&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new PolishedError(7)}var isRgb=function isRgb(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&("number"!=typeof color.alpha||void 0===color.alpha)},isRgba=function isRgba(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&"number"==typeof color.alpha},isHsl=function isHsl(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&("number"!=typeof color.alpha||void 0===color.alpha)},isHsla=function isHsla(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&"number"==typeof color.alpha};function toColorString(color){if("object"!=typeof color)throw new PolishedError(8);if(isRgba(color))return rgba(color);if(isRgb(color))return rgb(color);if(isHsla(color))return hsla(color);if(isHsl(color))return hsl(color);throw new PolishedError(8)}function curried(f,length,acc){return function fn(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}function curry(f){return curried(f,f.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}function darken(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(extends_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}var curriedDarken$1=curry(darken);function lighten(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(extends_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}var curriedLighten$1=curry(lighten);function opacify(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color);return rgba(extends_extends({},parsedColor,{alpha:guard(0,1,(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)+100*parseFloat(amount))/100)}))}var curriedOpacify$1=curry(opacify);function transparentize(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color);return rgba(extends_extends({},parsedColor,{alpha:guard(0,1,+(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)-100*parseFloat(amount)).toFixed(2)/100)}))}var curriedTransparentize$1=curry(transparentize);var global_dist=__webpack_require__("./node_modules/@storybook/global/dist/index.mjs"),pickBy=__webpack_require__("./node_modules/lodash/pickBy.js"),pickBy_default=__webpack_require__.n(pickBy),csf_dist=__webpack_require__("./node_modules/@storybook/csf/dist/index.mjs"),external_STORYBOOK_MODULE_CLIENT_LOGGER_=__webpack_require__("@storybook/client-logger");function n(){return n=Object.assign||function(t){for(var n=1;n(t[n.toLowerCase()]=n,t)),{for:"htmlFor"}),o={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},c=["style","script"],a=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,_=/mailto:/i,u=/\n{2,}$/,i=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,l=/^ *> ?/gm,s=/^ {2,}\n/,f=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,d=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,p=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,m=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,g=/^(?:\n *)*\n/,y=/\r\n?/g,h=/^\[\^([^\]]+)](:.*)\n/,k=/^\[\^([^\]]+)]/,x=/\f/g,b=/^\s*?\[(x|\s)\]/,v=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,$=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,S=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,z=/&([a-zA-Z]+);/g,w=/^)/,A=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,E=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,L=/^\{.*\}$/,M=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,I=/^<([^ >]+@[^ >]+)>/,O=/^<([^ >]+:\/[^ >]+)>/,B=/-([a-z])?/gi,R=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,T=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,j=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,C=/^\[([^\]]*)\] ?\[([^\]]*)\]/,D=/(\[|\])/g,N=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Z=/\t/g,F=/^ *\| */,P=/(^ *\||\| *$)/g,G=/ *$/,H=/^ *:-+: *$/,q=/^ *:-+ *$/,U=/^ *-+: *$/,V=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,W=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,Q=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,X=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,J=/^\\([^0-9A-Za-z\s])/,K=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Y=/^\n+/,tt=/^([ \t]*)/,nt=/\\([^\\])/g,et=/ *\n+$/,rt=/(?:^|\n)( *)$/,ot="(?:\\d+\\.)",ct="(?:[*+-])";function at(t){return"( *)("+(1===t?ot:ct)+") +"}const _t=at(1),ut=at(2);function it(t){return new RegExp("^"+(1===t?_t:ut))}const lt=it(1),st=it(2);function ft(t){return new RegExp("^"+(1===t?_t:ut)+"[^\\n]*(?:\\n(?!\\1"+(1===t?ot:ct)+" )[^\\n]*)*(\\n|$)","gm")}const dt=ft(1),pt=ft(2);function mt(t){const n=1===t?ot:ct;return new RegExp("^( *)("+n+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+n+" (?!"+n+" ))\\n*|\\s*\\n*$)")}const gt=mt(1),yt=mt(2);function ht(t,n){const e=1===n,r=e?gt:yt,o=e?dt:pt,c=e?lt:st;return{t(t,n,e){const o=rt.exec(e);return o&&(n.o||!n._&&!n.u)?r.exec(t=o[1]+t):null},i:Gt.HIGH,l(t,n,r){const a=e?+t[2]:void 0,_=t[0].replace(u,"\n").match(o);let i=!1;return{p:_.map((function(t,e){const o=c.exec(t)[0].length,a=new RegExp("^ {1,"+o+"}","gm"),u=t.replace(a,"").replace(c,""),l=e===_.length-1,s=-1!==u.indexOf("\n\n")||l&&i;i=s;const f=r._,d=r.o;let p;r.o=!0,s?(r._=!1,p=u.replace(et,"\n\n")):(r._=!0,p=u.replace(et,""));const m=n(p,r);return r._=f,r.o=d,m})),m:e,g:a}},h:(n,e,r)=>t(n.m?"ol":"ul",{key:r.k,start:n.g},n.p.map((function(n,o){return t("li",{key:o},e(n,r))})))}}const kt=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,xt=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,bt=[i,d,p,v,$,w,R,dt,gt,pt,yt],vt=[...bt,/^[^\n]+(?: \n|\n{2,})/,S,E];function $t(t){return t.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function St(t){return U.test(t)?"right":H.test(t)?"center":q.test(t)?"left":null}function zt(t,n,e){const r=e.v;e.v=!0;const o=n(t.trim(),e);e.v=r;let c=[[]];return o.forEach((function(t,n){"tableSeparator"===t.type?0!==n&&n!==o.length-1&&c.push([]):("text"!==t.type||null!=o[n+1]&&"tableSeparator"!==o[n+1].type||(t.$=t.$.replace(G,"")),c[c.length-1].push(t))})),c}function wt(t,n,e){e._=!0;const r=zt(t[1],n,e),o=t[2].replace(P,"").split("|").map(St),c=function(t,n,e){return t.trim().split("\n").map((function(t){return zt(t,n,e)}))}(t[3],n,e);return e._=!1,{S:o,A:c,L:r,type:"table"}}function At(t,n){return null==t.S[n]?{}:{textAlign:t.S[n]}}function Et(t){return function(n,e){return e._?t.exec(n):null}}function Lt(t){return function(n,e){return e._||e.u?t.exec(n):null}}function Mt(t){return function(n,e){return e._||e.u?null:t.exec(n)}}function It(t){return function(n){return t.exec(n)}}function Ot(t,n,e){if(n._||n.u)return null;if(e&&!e.endsWith("\n"))return null;let r="";t.split("\n").every((t=>!bt.some((n=>n.test(t)))&&(r+=t+"\n",t.trim())));const o=r.trimEnd();return""==o?null:[r,o]}function Bt(t){try{if(decodeURIComponent(t).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch(t){return null}return t}function Rt(t){return t.replace(nt,"$1")}function Tt(t,n,e){const r=e._||!1,o=e.u||!1;e._=!0,e.u=!0;const c=t(n,e);return e._=r,e.u=o,c}function jt(t,n,e){const r=e._||!1,o=e.u||!1;e._=!1,e.u=!0;const c=t(n,e);return e._=r,e.u=o,c}function Ct(t,n,e){return e._=!1,t(n+"\n\n",e)}const Dt=(t,n,e)=>({$:Tt(n,t[1],e)});function Nt(){return{}}function Zt(){return null}function Ft(...t){return t.filter(Boolean).join(" ")}function Pt(t,n,e){let r=t;const o=n.split(".");for(;o.length&&(r=r[o[0]],void 0!==r);)o.shift();return r||e}var Gt,t;function Ht(e,u={}){u.overrides=u.overrides||{},u.slugify=u.slugify||$t,u.namedCodesToUnicode=u.namedCodesToUnicode?n({},o,u.namedCodesToUnicode):o;const P=u.createElement||react.createElement;function G(t,e,...r){const o=Pt(u.overrides,`${t}.props`,{});return P(function(t,n){const e=Pt(n,t);return e?"function"==typeof e||"object"==typeof e&&"render"in e?e:Pt(n,`${t}.component`,t):t}(t,u.overrides),n({},e,o,{className:Ft(null==e?void 0:e.className,o.className)||void 0}),...r)}function H(n){let e=!1;u.forceInline?e=!0:u.forceBlock||(e=!1===N.test(n));const r=ot(rt(e?n:`${n.trimEnd().replace(Y,"")}\n\n`,{_:e}));for(;"string"==typeof r[r.length-1]&&!r[r.length-1].trim();)r.pop();if(null===u.wrapper)return r;const o=u.wrapper||(e?"span":"div");let c;if(r.length>1||u.forceWrapper)c=r;else{if(1===r.length)return c=r[0],"string"==typeof c?G("span",{key:"outer"},c):c;c=null}return react.createElement(o,{key:"outer"},c)}function q(n){const e=n.match(a);return e?e.reduce((function(n,e,o){const c=e.indexOf("=");if(-1!==c){const a=(t=e.slice(0,c),-1!==t.indexOf("-")&&null===t.match(A)&&(t=t.replace(B,(function(t,n){return n.toUpperCase()}))),t).trim(),_=function(t){const n=t[0];return('"'===n||"'"===n)&&t.length>=2&&t[t.length-1]===n?t.slice(1,-1):t}(e.slice(c+1).trim()),u=r[a]||a,i=n[u]=function(t,n){return"style"===t?n.split(/;\s?/).reduce((function(t,n){const e=n.slice(0,n.indexOf(":"));return t[e.replace(/(-[a-z])/g,(t=>t[1].toUpperCase()))]=n.slice(e.length+1).trim(),t}),{}):"href"===t?Bt(n):(n.match(L)&&(n=n.slice(1,n.length-1)),"true"===n||"false"!==n&&n)}(a,_);"string"==typeof i&&(S.test(i)||E.test(i))&&(n[u]=react.cloneElement(H(i.trim()),{key:o}))}else"style"!==e&&(n[r[e]||e]=!0);var t;return n}),{}):null}const U=[],nt={},et={blockQuote:{t:Mt(i),i:Gt.HIGH,l:(t,n,e)=>({$:n(t[0].replace(l,""),e)}),h:(t,n,e)=>G("blockquote",{key:e.k},n(t.$,e))},breakLine:{t:It(s),i:Gt.HIGH,l:Nt,h:(t,n,e)=>G("br",{key:e.k})},breakThematic:{t:Mt(f),i:Gt.HIGH,l:Nt,h:(t,n,e)=>G("hr",{key:e.k})},codeBlock:{t:Mt(p),i:Gt.MAX,l:t=>({$:t[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(t,e,r)=>G("pre",{key:r.k},G("code",n({},t.I,{className:t.M?`lang-${t.M}`:""}),t.$))},codeFenced:{t:Mt(d),i:Gt.MAX,l:t=>({I:q(t[3]||""),$:t[4],M:t[2]||void 0,type:"codeBlock"})},codeInline:{t:Lt(m),i:Gt.LOW,l:t=>({$:t[2]}),h:(t,n,e)=>G("code",{key:e.k},t.$)},footnote:{t:Mt(h),i:Gt.MAX,l:t=>(U.push({O:t[2],B:t[1]}),{}),h:Zt},footnoteReference:{t:Et(k),i:Gt.HIGH,l:t=>({$:t[1],R:`#${u.slugify(t[1])}`}),h:(t,n,e)=>G("a",{key:e.k,href:Bt(t.R)},G("sup",{key:e.k},t.$))},gfmTask:{t:Et(b),i:Gt.HIGH,l:t=>({T:"x"===t[1].toLowerCase()}),h:(t,n,e)=>G("input",{checked:t.T,key:e.k,readOnly:!0,type:"checkbox"})},heading:{t:Mt(v),i:Gt.HIGH,l:(t,n,e)=>({$:Tt(n,t[2],e),j:u.slugify(t[2]),C:t[1].length}),h:(t,n,e)=>G(`h${t.C}`,{id:t.j,key:e.k},n(t.$,e))},headingSetext:{t:Mt($),i:Gt.MAX,l:(t,n,e)=>({$:Tt(n,t[1],e),C:"="===t[2]?1:2,type:"heading"})},htmlComment:{t:It(w),i:Gt.HIGH,l:()=>({}),h:Zt},image:{t:Lt(xt),i:Gt.HIGH,l:t=>({D:t[1],R:Rt(t[2]),N:t[3]}),h:(t,n,e)=>G("img",{key:e.k,alt:t.D||void 0,title:t.N||void 0,src:Bt(t.R)})},link:{t:Et(kt),i:Gt.LOW,l:(t,n,e)=>({$:jt(n,t[1],e),R:Rt(t[2]),N:t[3]}),h:(t,n,e)=>G("a",{key:e.k,href:Bt(t.R),title:t.N},n(t.$,e))},linkAngleBraceStyleDetector:{t:Et(O),i:Gt.MAX,l:t=>({$:[{$:t[1],type:"text"}],R:t[1],type:"link"})},linkBareUrlDetector:{t:(t,n)=>n.Z?null:Et(M)(t,n),i:Gt.MAX,l:t=>({$:[{$:t[1],type:"text"}],R:t[1],N:void 0,type:"link"})},linkMailtoDetector:{t:Et(I),i:Gt.MAX,l(t){let n=t[1],e=t[1];return _.test(e)||(e="mailto:"+e),{$:[{$:n.replace("mailto:",""),type:"text"}],R:e,type:"link"}}},orderedList:ht(G,1),unorderedList:ht(G,2),newlineCoalescer:{t:Mt(g),i:Gt.LOW,l:Nt,h:()=>"\n"},paragraph:{t:Ot,i:Gt.LOW,l:Dt,h:(t,n,e)=>G("p",{key:e.k},n(t.$,e))},ref:{t:Et(T),i:Gt.MAX,l:t=>(nt[t[1]]={R:t[2],N:t[4]},{}),h:Zt},refImage:{t:Lt(j),i:Gt.MAX,l:t=>({D:t[1]||void 0,F:t[2]}),h:(t,n,e)=>G("img",{key:e.k,alt:t.D,src:Bt(nt[t.F].R),title:nt[t.F].N})},refLink:{t:Et(C),i:Gt.MAX,l:(t,n,e)=>({$:n(t[1],e),P:n(t[0].replace(D,"\\$1"),e),F:t[2]}),h:(t,n,e)=>nt[t.F]?G("a",{key:e.k,href:Bt(nt[t.F].R),title:nt[t.F].N},n(t.$,e)):G("span",{key:e.k},n(t.P,e))},table:{t:Mt(R),i:Gt.HIGH,l:wt,h:(t,n,e)=>G("table",{key:e.k},G("thead",null,G("tr",null,t.L.map((function(r,o){return G("th",{key:o,style:At(t,o)},n(r,e))})))),G("tbody",null,t.A.map((function(r,o){return G("tr",{key:o},r.map((function(r,o){return G("td",{key:o,style:At(t,o)},n(r,e))})))}))))},tableSeparator:{t:function(t,n){return n.v?F.exec(t):null},i:Gt.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:It(K),i:Gt.MIN,l:t=>({$:t[0].replace(z,((t,n)=>u.namedCodesToUnicode[n]?u.namedCodesToUnicode[n]:t))}),h:t=>t.$},textBolded:{t:Lt(V),i:Gt.MED,l:(t,n,e)=>({$:n(t[2],e)}),h:(t,n,e)=>G("strong",{key:e.k},n(t.$,e))},textEmphasized:{t:Lt(W),i:Gt.LOW,l:(t,n,e)=>({$:n(t[2],e)}),h:(t,n,e)=>G("em",{key:e.k},n(t.$,e))},textEscaped:{t:Lt(J),i:Gt.HIGH,l:t=>({$:t[1],type:"text"})},textMarked:{t:Lt(Q),i:Gt.LOW,l:Dt,h:(t,n,e)=>G("mark",{key:e.k},n(t.$,e))},textStrikethroughed:{t:Lt(X),i:Gt.LOW,l:Dt,h:(t,n,e)=>G("del",{key:e.k},n(t.$,e))}};!0!==u.disableParsingRawHTML&&(et.htmlBlock={t:It(S),i:Gt.HIGH,l(t,n,e){const[,r]=t[3].match(tt),o=new RegExp(`^${r}`,"gm"),a=t[3].replace(o,""),_=(u=a,vt.some((t=>t.test(u)))?Ct:Tt);var u;const i=t[1].toLowerCase(),l=-1!==c.indexOf(i);e.Z=e.Z||"a"===i;const s=l?t[3]:_(n,a,e);return e.Z=!1,{I:q(t[2]),$:s,G:l,H:l?i:t[1]}},h:(t,e,r)=>G(t.H,n({key:r.k},t.I),t.G?t.$:e(t.$,r))},et.htmlSelfClosing={t:It(E),i:Gt.HIGH,l:t=>({I:q(t[2]||""),H:t[1]}),h:(t,e,r)=>G(t.H,n({},t.I,{key:r.k}))});const rt=function(t){let n=Object.keys(t);function e(r,o){let c=[],a="";for(;r;){let _=0;for(;_{let{children:r,options:o}=n,c=function(t,n){if(null==t)return{};var e,r,o={},c=Object.keys(t);for(r=0;r=0||(o[e]=t[e]);return o}(n,e);return react.cloneElement(Ht(r,o),c)};var memoizerific=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific_default=__webpack_require__.n(memoizerific),uniq=__webpack_require__("./node_modules/lodash/uniq.js"),uniq_default=__webpack_require__.n(uniq),cloneDeep=__webpack_require__("./node_modules/lodash/cloneDeep.js"),cloneDeep_default=__webpack_require__.n(cloneDeep),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),mapValues=__webpack_require__("./node_modules/lodash/mapValues.js"),mapValues_default=__webpack_require__.n(mapValues),external_STORYBOOK_MODULE_CORE_EVENTS_=__webpack_require__("@storybook/core-events"),esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),has=Object.prototype.hasOwnProperty;function find(iter,tar,key){for(key of iter.keys())if(dequal(key,tar))return key}function dequal(foo,bar){var ctor,len,tmp;if(foo===bar)return!0;if(foo&&bar&&(ctor=foo.constructor)===bar.constructor){if(ctor===Date)return foo.getTime()===bar.getTime();if(ctor===RegExp)return foo.toString()===bar.toString();if(ctor===Array){if((len=foo.length)===bar.length)for(;len--&&dequal(foo[len],bar[len]););return-1===len}if(ctor===Set){if(foo.size!==bar.size)return!1;for(len of foo){if((tmp=len)&&"object"==typeof tmp&&!(tmp=find(bar,tmp)))return!1;if(!bar.has(tmp))return!1}return!0}if(ctor===Map){if(foo.size!==bar.size)return!1;for(len of foo){if((tmp=len[0])&&"object"==typeof tmp&&!(tmp=find(bar,tmp)))return!1;if(!dequal(len[1],bar.get(tmp)))return!1}return!0}if(ctor===ArrayBuffer)foo=new Uint8Array(foo),bar=new Uint8Array(bar);else if(ctor===DataView){if((len=foo.byteLength)===bar.byteLength)for(;len--&&foo.getInt8(len)===bar.getInt8(len););return-1===len}if(ArrayBuffer.isView(foo)){if((len=foo.byteLength)===bar.byteLength)for(;len--&&foo[len]===bar[len];);return-1===len}if(!ctor||"object"==typeof foo){for(ctor in len=0,foo){if(has.call(foo,ctor)&&++len&&!has.call(bar,ctor))return!1;if(!(ctor in bar)||!dequal(foo[ctor],bar[ctor]))return!1}return Object.keys(bar).length===len}}return foo!=foo&&bar!=bar}var docs_tools_dist=__webpack_require__("./node_modules/@storybook/docs-tools/dist/index.mjs"),telejson_dist=__webpack_require__("./node_modules/telejson/dist/index.mjs"),Wrapper=(__webpack_require__("@storybook/channels"),dist.zo.div(components_dist.YX,(({theme})=>({backgroundColor:"light"===theme.base?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:theme.appBorderRadius,border:`1px dashed ${theme.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:curriedTransparentize$1(.3,theme.color.defaultText),fontSize:theme.typography.size.s2})))),EmptyBlock=props=>react.createElement(Wrapper,{...props,className:"docblock-emptyblock sb-unstyled"}),StyledSyntaxHighlighter=(0,dist.zo)(components_dist.d3)((({theme})=>({fontSize:theme.typography.size.s2-1+"px",lineHeight:"19px",margin:"25px 0 40px",borderRadius:theme.appBorderRadius,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}}))),SourceSkeletonWrapper=dist.zo.div((({theme})=>({background:theme.background.content,borderRadius:theme.appBorderRadius,border:`1px solid ${theme.appBorderColor}`,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"}))),SourceSkeletonPlaceholder=dist.zo.div((({theme})=>({animation:`${theme.animation.glow} 1.5s ease-in-out infinite`,background:theme.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${dist.GG}`]:{margin:0}}))),SourceSkeleton=()=>react.createElement(SourceSkeletonWrapper,null,react.createElement(SourceSkeletonPlaceholder,null),react.createElement(SourceSkeletonPlaceholder,{style:{width:"80%"}}),react.createElement(SourceSkeletonPlaceholder,{style:{width:"30%"}}),react.createElement(SourceSkeletonPlaceholder,{style:{width:"80%"}})),Source=({isLoading,error,language,code,dark,format:format2,...rest})=>{if(isLoading)return react.createElement(SourceSkeleton,null);if(error)return react.createElement(EmptyBlock,null,error);let syntaxHighlighter=react.createElement(StyledSyntaxHighlighter,{bordered:!0,copyable:!0,format:format2,language,className:"docblock-source sb-unstyled",...rest},code);if(typeof dark>"u")return syntaxHighlighter;let overrideTheme=dark?chunk_4NMOSTKD.np.dark:chunk_4NMOSTKD.np.light;return react.createElement(dist.f6,{theme:(0,dist.OQ)(overrideTheme)},syntaxHighlighter)};Source.defaultProps={format:!1};var toGlobalSelector=element=>`& :where(${element}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${element}))`,Title=dist.zo.h1(components_dist.YX,(({theme})=>({color:theme.color.defaultText,fontSize:theme.typography.size.m3,fontWeight:theme.typography.weight.bold,lineHeight:"32px","@media (min-width: 600px)":{fontSize:theme.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}}))),Subtitle=dist.zo.h2(components_dist.YX,(({theme})=>({fontWeight:theme.typography.weight.regular,fontSize:theme.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,"@media (min-width: 600px)":{fontSize:theme.typography.size.m1,lineHeight:"28px",marginBottom:24},color:curriedTransparentize$1(.25,theme.color.defaultText)}))),DocsContent=dist.zo.div((({theme})=>{let reset={fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},headers={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:theme.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},code={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:theme.typography.size.s2-1,border:"light"===theme.base?`1px solid ${theme.color.mediumlight}`:`1px solid ${theme.color.darker}`,color:"light"===theme.base?curriedTransparentize$1(.1,theme.color.defaultText):curriedTransparentize$1(.3,theme.color.defaultText),backgroundColor:"light"===theme.base?theme.color.lighter:theme.color.border};return{maxWidth:1e3,width:"100%",[toGlobalSelector("a")]:{...reset,fontSize:"inherit",lineHeight:"24px",color:theme.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[toGlobalSelector("blockquote")]:{...reset,margin:"16px 0",borderLeft:`4px solid ${theme.color.medium}`,padding:"0 15px",color:theme.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[toGlobalSelector("div")]:reset,[toGlobalSelector("dl")]:{...reset,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[toGlobalSelector("h1")]:{...reset,...headers,fontSize:`${theme.typography.size.l1}px`,fontWeight:theme.typography.weight.bold},[toGlobalSelector("h2")]:{...reset,...headers,fontSize:`${theme.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${theme.appBorderColor}`},[toGlobalSelector("h3")]:{...reset,...headers,fontSize:`${theme.typography.size.m1}px`,fontWeight:theme.typography.weight.bold},[toGlobalSelector("h4")]:{...reset,...headers,fontSize:`${theme.typography.size.s3}px`},[toGlobalSelector("h5")]:{...reset,...headers,fontSize:`${theme.typography.size.s2}px`},[toGlobalSelector("h6")]:{...reset,...headers,fontSize:`${theme.typography.size.s2}px`,color:theme.color.dark},[toGlobalSelector("hr")]:{border:"0 none",borderTop:`1px solid ${theme.appBorderColor}`,height:4,padding:0},[toGlobalSelector("img")]:{maxWidth:"100%"},[toGlobalSelector("li")]:{...reset,fontSize:theme.typography.size.s2,color:theme.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":code},[toGlobalSelector("ol")]:{...reset,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[toGlobalSelector("p")]:{...reset,margin:"16px 0",fontSize:theme.typography.size.s2,lineHeight:"24px",color:theme.color.defaultText,"& code":code},[toGlobalSelector("pre")]:{...reset,fontFamily:theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[toGlobalSelector("span")]:{...reset,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${theme.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:theme.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[toGlobalSelector("table")]:{...reset,margin:"16px 0",fontSize:theme.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${theme.appBorderColor}`,backgroundColor:theme.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:"dark"===theme.base?theme.color.darker:theme.color.lighter},"& tr th":{fontWeight:"bold",color:theme.color.defaultText,border:`1px solid ${theme.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${theme.appBorderColor}`,color:theme.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[toGlobalSelector("ul")]:{...reset,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}})),DocsWrapper=dist.zo.div((({theme})=>({background:theme.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box","@media (min-width: 600px)":{}}))),DocsPageWrapper=({children})=>react.createElement(DocsWrapper,{className:"sbdocs sbdocs-wrapper"},react.createElement(DocsContent,{className:"sbdocs sbdocs-content"},children)),getBlockBackgroundStyle=theme=>({borderRadius:theme.appBorderRadius,background:theme.background.content,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${theme.appBorderColor}`}),Zoom=({zoom,resetZoom})=>react.createElement(react.Fragment,null,react.createElement(components_dist.hU,{key:"zoomin",onClick:e=>{e.preventDefault(),zoom(.8)},title:"Zoom in"},react.createElement(components_dist.PJ,{icon:"zoom"})),react.createElement(components_dist.hU,{key:"zoomout",onClick:e=>{e.preventDefault(),zoom(1.25)},title:"Zoom out"},react.createElement(components_dist.PJ,{icon:"zoomout"})),react.createElement(components_dist.hU,{key:"zoomreset",onClick:e=>{e.preventDefault(),resetZoom()},title:"Reset zoom"},react.createElement(components_dist.PJ,{icon:"zoomreset"}))),Bar=(0,dist.zo)(components_dist.jD)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),ZoomContext=(0,react.createContext)({scale:1}),{window:globalWindow}=global_dist.global,IFrame=class extends react.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id}=this.props;this.iframe=globalWindow.document.getElementById(id)}shouldComponentUpdate(nextProps){let{scale}=nextProps;return scale!==this.props.scale&&this.setIframeBodyStyle({width:100*scale+"%",height:100*scale+"%",transform:`scale(${1/scale})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(style){return Object.assign(this.iframe.contentDocument.body.style,style)}render(){let{id,title,src,allowFullScreen,scale,...rest}=this.props;return react.createElement("iframe",{id,title,src,...allowFullScreen?{allow:"fullscreen"}:{},loading:"lazy",...rest})}},{PREVIEW_URL}=global_dist.global,BASE_URL=PREVIEW_URL||"iframe.html",storyBlockIdFromId=({story,primary})=>`story--${story.id}${primary?"--primary":""}`,InlineStory=props=>{let storyRef=(0,react.useRef)(),[showLoader,setShowLoader]=(0,react.useState)(!0),[error,setError]=(0,react.useState)(),{story,height,autoplay,forceInitialArgs,renderStoryToElement}=props;(0,react.useEffect)((()=>{if(!story||!storyRef.current)return()=>{};let element=storyRef.current,cleanup=renderStoryToElement(story,element,{showMain:()=>{},showError:({title,description})=>setError(new Error(`${title} - ${description}`)),showException:err=>setError(err)},{autoplay,forceInitialArgs});return setShowLoader(!1),()=>{Promise.resolve().then((()=>cleanup()))}}),[autoplay,renderStoryToElement,story]);return error?react.createElement("pre",null,react.createElement(components_dist.Ty,{error})):react.createElement(react.Fragment,null,height?react.createElement("style",null,`#${storyBlockIdFromId(props)} { min-height: ${height}; transform: translateZ(0); overflow: auto }`):null,showLoader&&react.createElement(StorySkeleton,null),react.createElement("div",{ref:storyRef,id:`${storyBlockIdFromId(props)}-inner`,"data-name":story.name,dangerouslySetInnerHTML:{__html:""}}))},IFrameStory=({story,height="500px"})=>react.createElement("div",{style:{width:"100%",height}},react.createElement(ZoomContext.Consumer,null,(({scale})=>react.createElement(IFrame,{key:"iframe",id:`iframe--${story.id}`,title:story.name,src:(0,components_dist.YI)(BASE_URL,story.id,{viewMode:"story"}),allowFullScreen:!0,scale,style:{width:"100%",height:"100%",border:"0 none"}})))),Story=props=>{let{inline}=props;return react.createElement("div",{id:storyBlockIdFromId(props),className:"sb-story sb-unstyled","data-story-block":"true"},inline?react.createElement(InlineStory,{...props}):react.createElement(IFrameStory,{...props}))},StorySkeleton=()=>react.createElement(components_dist.aN,null),ChildrenContainer=dist.zo.div((({isColumn,columns,layout})=>({display:isColumn||!columns?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:isColumn?"column":"row","& .innerZoomElementWrapper > *":isColumn?{width:"fullscreen"!==layout?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:"fullscreen"!==layout?"calc(100% - 20px)":"100%",display:"inline-block"}})),(({layout="padded"})=>"centered"===layout||"padded"===layout?{padding:"30px 20px",margin:-10,"& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{}),(({layout="padded"})=>"centered"===layout?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{}),(({columns})=>columns&&columns>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${columns} - 20px)`}}:{})),StyledSource=(0,dist.zo)(Source)((({theme})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:theme.appBorderRadius,borderBottomRightRadius:theme.appBorderRadius,border:"none",background:"light"===theme.base?"rgba(0, 0, 0, 0.85)":curriedDarken$1(.05,theme.background.content),color:theme.color.lightest,button:{background:"light"===theme.base?"rgba(0, 0, 0, 0.85)":curriedDarken$1(.05,theme.background.content)}}))),PreviewContainer=dist.zo.div((({theme,withSource,isExpanded})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...getBlockBackgroundStyle(theme),borderBottomLeftRadius:withSource&&isExpanded&&0,borderBottomRightRadius:withSource&&isExpanded&&0,borderBottomWidth:isExpanded&&0,"h3 + &":{marginTop:"16px"}})),(({withToolbar})=>withToolbar&&{paddingTop:40}));function getStoryId(children){if(1===react.Children.count(children)){let elt=children;if(elt.props)return elt.props.id}return null}var PositionedToolbar=(0,dist.zo)((({isLoading,storyId,baseUrl,zoom,resetZoom,...rest})=>react.createElement(Bar,{...rest},react.createElement(react.Fragment,{key:"left"},isLoading?[1,2,3].map((key=>react.createElement(components_dist.Z$,{key}))):react.createElement(Zoom,{zoom,resetZoom})))))({position:"absolute",top:0,left:0,right:0,height:40}),Relative=dist.zo.div({overflow:"hidden",position:"relative"}),Preview=({isLoading,isColumn,columns,children,withSource,withToolbar=!1,isExpanded=!1,additionalActions,className,layout="padded",...props})=>{let[expanded,setExpanded]=(0,react.useState)(isExpanded),{source,actionItem}=((withSource,expanded,setExpanded)=>{switch(!0){case!(!withSource||!withSource.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>setExpanded(!1)}};case expanded:return{source:react.createElement(StyledSource,{...withSource,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>setExpanded(!1)}};default:return{source:react.createElement(StyledSource,{...withSource,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>setExpanded(!0)}}}})(withSource,expanded,setExpanded),[scale,setScale]=(0,react.useState)(1),previewClasses=[className].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),defaultActionItems=withSource?[actionItem]:[],[additionalActionItems,setAdditionalActionItems]=(0,react.useState)(additionalActions?[...additionalActions]:[]),actionItems=[...defaultActionItems,...additionalActionItems],{window:globalWindow4}=global_dist.global,copyToClipboard=(0,react.useCallback)((async text=>{let{createCopyToClipboardFunction}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/index.mjs"));createCopyToClipboardFunction()}),[]);return react.createElement(PreviewContainer,{withSource,withToolbar,...props,className:previewClasses.join(" ")},withToolbar&&react.createElement(PositionedToolbar,{isLoading,border:!0,zoom:z=>setScale(scale*z),resetZoom:()=>setScale(1),storyId:getStoryId(children),baseUrl:"./iframe.html"}),react.createElement(ZoomContext.Provider,{value:{scale}},react.createElement(Relative,{className:"docs-story",onCopyCapture:withSource&&(e=>{let selection=globalWindow4.getSelection();selection&&"Range"===selection.type||(e.preventDefault(),0===additionalActionItems.filter((item=>"Copied"===item.title)).length&©ToClipboard(source.props.code).then((()=>{setAdditionalActionItems([...additionalActionItems,{title:"Copied",onClick:()=>{}}]),globalWindow4.setTimeout((()=>setAdditionalActionItems(additionalActionItems.filter((item=>"Copied"!==item.title)))),1500)})))})},react.createElement(ChildrenContainer,{isColumn:isColumn||!Array.isArray(children),columns,layout},react.createElement(components_dist.LG.Element,{scale},Array.isArray(children)?children.map(((child,i)=>react.createElement("div",{key:i},child))):react.createElement("div",null,children))),react.createElement(chunk_RDJSMFWU.ol,{actionItems}))),withSource&&expanded&&source)},StyledPreview=(0,dist.zo)(Preview)((()=>({".docs-story":{paddingTop:32,paddingBottom:40}}))),PreviewSkeleton=()=>react.createElement(StyledPreview,{isLoading:!0,withToolbar:!0},react.createElement(StorySkeleton,null)),Table=dist.zo.table((({theme})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:(0,components_dist.CI)({theme}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:theme.typography.size.s1}}}))),ArgJsDoc=({tags})=>{let params=(tags.params||[]).filter((x=>x.description)),hasDisplayableParams=0!==params.length,hasDisplayableDeprecated=null!=tags.deprecated,hasDisplayableReturns=null!=tags.returns&&null!=tags.returns.description;return hasDisplayableParams||hasDisplayableReturns||hasDisplayableDeprecated?react.createElement(react.Fragment,null,react.createElement(Table,null,react.createElement("tbody",null,hasDisplayableDeprecated&&react.createElement("tr",{key:"deprecated"},react.createElement("td",{colSpan:2},react.createElement("strong",null,"Deprecated"),": ",tags.deprecated)),hasDisplayableParams&¶ms.map((x=>react.createElement("tr",{key:x.name},react.createElement("td",null,react.createElement("code",null,x.name)),react.createElement("td",null,x.description)))),hasDisplayableReturns&&react.createElement("tr",{key:"returns"},react.createElement("td",null,react.createElement("code",null,"Returns")),react.createElement("td",null,tags.returns.description))))):null},Summary=dist.zo.div((({isExpanded})=>({display:"flex",flexDirection:isExpanded?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100}))),Text=dist.zo.span(components_dist.CI,(({theme,simple=!1})=>({flex:"0 0 auto",fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...simple&&{background:"transparent",border:"0 none",paddingLeft:0}}))),ExpandButton=dist.zo.button((({theme})=>({fontFamily:theme.typography.fonts.mono,color:theme.color.secondary,marginBottom:"4px",background:"none",border:"none"}))),Expandable=dist.zo.div(components_dist.CI,(({theme})=>({fontFamily:theme.typography.fonts.mono,color:theme.color.secondary,fontSize:theme.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"}))),Detail=dist.zo.div((({theme,width})=>({width,minWidth:200,maxWidth:800,padding:15,fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}}))),ArrowIcon=(0,dist.zo)(components_dist.PJ)({height:10,width:10,minWidth:10,marginLeft:4}),EmptyArg=()=>react.createElement("span",null,"-"),ArgText=({text,simple})=>react.createElement(Text,{simple},text),calculateDetailWidth=memoizerific_default()(1e3)((detail=>{let lines=detail.split(/\r?\n/);return`${Math.max(...lines.map((x=>x.length)))}ch`})),renderSummaryItems=(summaryItems,isExpanded=!0)=>{let items=summaryItems;return isExpanded||(items=summaryItems.slice(0,8)),items.map((item=>react.createElement(ArgText,{key:item,text:""===item?'""':item})))},ArgSummary=({value:value2,initialExpandedArgs})=>{let{summary,detail}=value2,[isOpen,setIsOpen]=(0,react.useState)(!1),[isExpanded,setIsExpanded]=(0,react.useState)(initialExpandedArgs||!1);if(null==summary)return null;let summaryAsString="function"==typeof summary.toString?summary.toString():summary;if(null==detail){if(/[(){}[\]<>]/.test(summaryAsString))return react.createElement(ArgText,{text:summaryAsString});let summaryItems=(summary=>{if(!summary)return[summary];let summaryItems=summary.split("|").map((value2=>value2.trim()));return uniq_default()(summaryItems)})(summaryAsString),itemsCount=summaryItems.length;return itemsCount>8?react.createElement(Summary,{isExpanded},renderSummaryItems(summaryItems,isExpanded),react.createElement(ExpandButton,{onClick:()=>setIsExpanded(!isExpanded)},isExpanded?"Show less...":`Show ${itemsCount-8} more...`)):react.createElement(Summary,null,renderSummaryItems(summaryItems))}return react.createElement(components_dist.DG,{closeOnOutsideClick:!0,placement:"bottom",visible:isOpen,onVisibleChange:isVisible=>{setIsOpen(isVisible)},tooltip:react.createElement(Detail,{width:calculateDetailWidth(detail)},react.createElement(components_dist.d3,{language:"jsx",format:!1},detail))},react.createElement(Expandable,{className:"sbdocs-expandable"},react.createElement("span",null,summaryAsString),react.createElement(ArrowIcon,{icon:isOpen?"arrowup":"arrowdown"})))},ArgValue=({value:value2,initialExpandedArgs})=>null==value2?react.createElement(EmptyArg,null):react.createElement(ArgSummary,{value:value2,initialExpandedArgs}),Label=dist.zo.label((({theme})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:theme.boolean.background,borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${theme.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:theme.typography.size.s1,fontWeight:theme.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:curriedTransparentize$1(.5,theme.color.defaultText),background:"transparent","&:hover":{boxShadow:`${curriedOpacify$1(.3,theme.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${curriedOpacify$1(.05,theme.appBorderColor)} 0 0 0 2px inset`,color:curriedOpacify$1(1,theme.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:theme.boolean.selectedBackground,boxShadow:"light"===theme.base?`${curriedOpacify$1(.1,theme.appBorderColor)} 0 0 2px`:`${theme.appBorderColor} 0 0 0 1px`,color:theme.color.defaultText,padding:"7px 15px"}}))),FlexSpaced=dist.zo.div((({theme})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:"light"===theme.base?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}}))),Wrapper2=dist.zo.label({display:"flex"}),selectedKey=(value2,options)=>{let entry=options&&Object.entries(options).find((([_key,val])=>val===value2));return entry?entry[0]:void 0},selectedKeys=(value2,options)=>value2&&options?Object.entries(options).filter((entry=>value2.includes(entry[1]))).map((entry=>entry[0])):[],selectedValues=(keys,options)=>keys&&options&&keys.map((key=>options[key])),Wrapper3=dist.zo.div((({isInline})=>isInline?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}})),Text2=dist.zo.span({}),Label2=dist.zo.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),CheckboxControl=({name,options,value:value2,onChange,isInline})=>{if(!options)return external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn(`Checkbox with no options: ${name}`),react.createElement(react.Fragment,null,"-");let initial=selectedKeys(value2,options),[selected,setSelected]=(0,react.useState)(initial),handleChange=e=>{let option=e.target.value,updated=[...selected];updated.includes(option)?updated.splice(updated.indexOf(option),1):updated.push(option),onChange(selectedValues(updated,options)),setSelected(updated)};(0,react.useEffect)((()=>{setSelected(selectedKeys(value2,options))}),[value2]);let controlId=(0,chunk_GWAJ4KRU.d)(name);return react.createElement(Wrapper3,{isInline},Object.keys(options).map(((key,index)=>{let id=`${controlId}-${index}`;return react.createElement(Label2,{key:id,htmlFor:id},react.createElement("input",{type:"checkbox",id,name:id,value:key,onChange:handleChange,checked:selected?.includes(key)}),react.createElement(Text2,null,key))})))},Wrapper4=dist.zo.div((({isInline})=>isInline?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}})),Text3=dist.zo.span({}),Label3=dist.zo.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),RadioControl=({name,options,value:value2,onChange,isInline})=>{if(!options)return external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn(`Radio with no options: ${name}`),react.createElement(react.Fragment,null,"-");let selection=selectedKey(value2,options),controlId=(0,chunk_GWAJ4KRU.d)(name);return react.createElement(Wrapper4,{isInline},Object.keys(options).map(((key,index)=>{let id=`${controlId}-${index}`;return react.createElement(Label3,{key:id,htmlFor:id},react.createElement("input",{type:"radio",id,name:id,value:key,onChange:e=>onChange(options[e.currentTarget.value]),checked:key===selection}),react.createElement(Text3,null,key))})))},styleResets={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},OptionsSelect=dist.zo.select((({theme})=>({...styleResets,boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:theme.input.color||"inherit",background:theme.input.background,borderRadius:theme.input.borderRadius,boxShadow:`${theme.input.border} 0 0 0 1px inset`,fontSize:theme.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${theme.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:theme.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}}))),SelectWrapper=dist.zo.span((({theme})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:theme.textMutedColor,path:{fill:theme.textMutedColor}}}))),SingleSelect=({name,value:value2,options,onChange})=>{let selection=selectedKey(value2,options)||"Choose option...",controlId=(0,chunk_GWAJ4KRU.d)(name);return react.createElement(SelectWrapper,null,react.createElement(components_dist.PJ,{icon:"arrowdown"}),react.createElement(OptionsSelect,{id:controlId,value:selection,onChange:e=>{onChange(options[e.currentTarget.value])}},react.createElement("option",{key:"no-selection",disabled:!0},"Choose option..."),Object.keys(options).map((key=>react.createElement("option",{key},key)))))},MultiSelect=({name,value:value2,options,onChange})=>{let selection=selectedKeys(value2,options),controlId=(0,chunk_GWAJ4KRU.d)(name);return react.createElement(SelectWrapper,null,react.createElement(OptionsSelect,{id:controlId,multiple:!0,value:selection,onChange:e=>{let selection2=Array.from(e.currentTarget.options).filter((option=>option.selected)).map((option=>option.value));onChange(selectedValues(selection2,options))}},Object.keys(options).map((key=>react.createElement("option",{key},key)))))},SelectControl=props=>{let{name,options}=props;return options?props.isMulti?react.createElement(MultiSelect,{...props}):react.createElement(SingleSelect,{...props}):(external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn(`Select with no options: ${name}`),react.createElement(react.Fragment,null,"-"))},normalizeOptions=(options,labels)=>Array.isArray(options)?options.reduce(((acc,item)=>(acc[labels?.[item]||String(item)]=item,acc)),{}):options,Controls={check:CheckboxControl,"inline-check":CheckboxControl,radio:RadioControl,"inline-radio":RadioControl,select:SelectControl,"multi-select":SelectControl},OptionsControl=props=>{let{type="select",labels,argType}=props,normalized={...props,options:argType?normalizeOptions(argType.options,labels):{},isInline:type.includes("inline"),isMulti:type.includes("multi")},Control=Controls[type];if(Control)return react.createElement(Control,{...normalized});throw new Error(`Unknown options type: ${type}`)};function getObjectType(obj){return null===obj||"object"!=typeof obj||Array.isArray(obj)||"function"!=typeof obj[Symbol.iterator]?Object.prototype.toString.call(obj).slice(8,-1):"Iterable"}function isComponentWillChange(oldValue,newValue){let oldType=getObjectType(oldValue),newType=getObjectType(newValue);return("Function"===oldType||"Function"===newType)&&newType!==oldType}var JsonAddValue=class extends react.Component{constructor(props){super(props),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey,inputRefValue}=this.state,{onlyValue}=this.props;inputRefKey&&"function"==typeof inputRefKey.focus&&inputRefKey.focus(),onlyValue&&inputRefValue&&"function"==typeof inputRefValue.focus&&inputRefValue.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||(("Enter"===event.code||"Enter"===event.key)&&(event.preventDefault(),this.onSubmit()),("Escape"===event.code||"Escape"===event.key)&&(event.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd,onlyValue,onSubmitValueParser,keyPath,deep}=this.props,{inputRefKey,inputRefValue}=this.state,result={};if(!onlyValue){if(!inputRefKey.value)return;result.key=inputRefKey.value}result.newValue=onSubmitValueParser(!1,keyPath,deep,result.key,inputRefValue.value),handleAdd(result)}refInputKey(node){this.state.inputRefKey=node}refInputValue(node){this.state.inputRefValue=node}render(){let{handleCancel,onlyValue,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep}=this.props,addButtonElementLayout=(0,react.cloneElement)(addButtonElement,{onClick:this.onSubmit}),cancelButtonElementLayout=(0,react.cloneElement)(cancelButtonElement,{onClick:handleCancel}),inputElementValue=inputElementGenerator("value",keyPath,deep),inputElementValueLayout=(0,react.cloneElement)(inputElementValue,{placeholder:"Value",ref:this.refInputValue}),inputElementKeyLayout=null;if(!onlyValue){let inputElementKey=inputElementGenerator("key",keyPath,deep);inputElementKeyLayout=(0,react.cloneElement)(inputElementKey,{placeholder:"Key",ref:this.refInputKey})}return react.createElement("span",{className:"rejt-add-value-node"},inputElementKeyLayout,inputElementValueLayout,cancelButtonElementLayout,addButtonElementLayout)}};JsonAddValue.defaultProps={onlyValue:!1,addButtonElement:react.createElement("button",null,"+"),cancelButtonElement:react.createElement("button",null,"c")};var JsonArray=class extends react.Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={data:props.data,name:props.name,keyPath,deep:props.deep,nextDeep:props.deep+1,collapsed:props.isCollapsed(keyPath,props.deep,props.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}onChildUpdate(childKey,childData){let{data,keyPath}=this.state;data[childKey]=childData,this.setState({data});let{onUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState((state=>({collapsed:!state.collapsed})))}handleRemoveItem(index){return()=>{let{beforeRemoveAction,logger:logger4}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[index];beforeRemoveAction(index,keyPath,deep,oldValue).then((()=>{let deltaUpdateResult={keyPath,deep,key:index,oldValue,type:"REMOVE_DELTA_TYPE"};data.splice(index,1),this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate(deltaUpdateResult)})).catch(logger4.error)}}handleAddValueAdd({newValue}){let{data,keyPath,nextDeep:deep}=this.state,{beforeAddAction,logger:logger4}=this.props;beforeAddAction(data.length,keyPath,deep,newValue).then((()=>{let newData=[...data,newValue];this.setState({data:newData}),this.handleAddValueCancel();let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],newData),onDeltaUpdate({type:"ADD_DELTA_TYPE",keyPath,deep,key:newData.length-1,newValue})})).catch(logger4.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key,value:value2}){return new Promise(((resolve,reject)=>{let{beforeUpdateAction}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeUpdateAction(key,keyPath,deep,oldValue,value2).then((()=>{data[key]=value2,this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:"UPDATE_DELTA_TYPE",keyPath,deep,key,newValue:value2,oldValue}),resolve(void 0)})).catch(reject)}))}renderCollapsed(){let{name,data,keyPath,deep}=this.state,{handleRemove,readOnly,getStyle,dataType,minusMenuElement}=this.props,{minus,collapsed}=getStyle(name,data,keyPath,deep,dataType),isReadOnly=readOnly(name,data,keyPath,deep,dataType),removeItemButton=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus});return react.createElement("span",{className:"rejt-collapsed"},react.createElement("span",{className:"rejt-collapsed-text",style:collapsed,onClick:this.handleCollapseMode},"[...] ",data.length," ",1===data.length?"item":"items"),!isReadOnly&&removeItemButton)}renderNotCollapsed(){let{name,data,keyPath,deep,addFormVisible,nextDeep}=this.state,{isCollapsed,handleRemove,onDeltaUpdate,readOnly,getStyle,dataType,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,{minus,plus,delimiter,ul,addForm}=getStyle(name,data,keyPath,deep,dataType),isReadOnly=readOnly(name,data,keyPath,deep,dataType),addItemButton=(0,react.cloneElement)(plusMenuElement,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:plus}),removeItemButton=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus});return react.createElement("span",{className:"rejt-not-collapsed"},react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"["),!addFormVisible&&addItemButton,react.createElement("ul",{className:"rejt-not-collapsed-list",style:ul},data.map(((item,index)=>react.createElement(JsonNode,{key:index,name:`${index}`,data:item,keyPath,deep:nextDeep,isCollapsed,handleRemove:this.handleRemoveItem(index),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser})))),!isReadOnly&&addFormVisible&&react.createElement("div",{className:"rejt-add-form",style:addForm},react.createElement(JsonAddValue,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep,onSubmitValueParser})),react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"]"),!isReadOnly&&removeItemButton)}render(){let{name,collapsed,data,keyPath,deep}=this.state,{dataType,getStyle}=this.props,value2=collapsed?this.renderCollapsed():this.renderNotCollapsed(),style=getStyle(name,data,keyPath,deep,dataType);return react.createElement("div",{className:"rejt-array-node"},react.createElement("span",{onClick:this.handleCollapseMode},react.createElement("span",{className:"rejt-name",style:style.name},name," :"," ")),value2)}};JsonArray.defaultProps={keyPath:[],deep:0,minusMenuElement:react.createElement("span",null," - "),plusMenuElement:react.createElement("span",null," + ")};var JsonFunctionValue=class extends react.Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={value:props.value,name:props.name,keyPath,deep:props.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(props,state){return props.value!==state.value?{value:props.value}:null}componentDidUpdate(){let{editEnabled,inputRef,name,value:value2,keyPath,deep}=this.state,{readOnly,dataType}=this.props,readOnlyResult=readOnly(name,value2,keyPath,deep,dataType);editEnabled&&!readOnlyResult&&"function"==typeof inputRef.focus&&inputRef.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||(("Enter"===event.code||"Enter"===event.key)&&(event.preventDefault(),this.handleEdit()),("Escape"===event.code||"Escape"===event.key)&&(event.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue,originalValue,logger:logger4,onSubmitValueParser,keyPath}=this.props,{inputRef,name,deep}=this.state;if(!inputRef)return;let newValue=onSubmitValueParser(!0,keyPath,deep,name,inputRef.value);handleUpdateValue({value:newValue,key:name}).then((()=>{isComponentWillChange(originalValue,newValue)||this.handleCancelEdit()})).catch(logger4.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(node){this.state.inputRef=node}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name,value:value2,editEnabled,keyPath,deep}=this.state,{handleRemove,originalValue,readOnly,dataType,getStyle,editButtonElement,cancelButtonElement,textareaElementGenerator,minusMenuElement,keyPath:comeFromKeyPath}=this.props,style=getStyle(name,originalValue,keyPath,deep,dataType),result=null,minusElement=null,resultOnlyResult=readOnly(name,originalValue,keyPath,deep,dataType);if(editEnabled&&!resultOnlyResult){let textareaElement=textareaElementGenerator("value",comeFromKeyPath,deep,name,originalValue,dataType),editButtonElementLayout=(0,react.cloneElement)(editButtonElement,{onClick:this.handleEdit}),cancelButtonElementLayout=(0,react.cloneElement)(cancelButtonElement,{onClick:this.handleCancelEdit}),textareaElementLayout=(0,react.cloneElement)(textareaElement,{ref:this.refInput,defaultValue:originalValue});result=react.createElement("span",{className:"rejt-edit-form",style:style.editForm},textareaElementLayout," ",cancelButtonElementLayout,editButtonElementLayout),minusElement=null}else{result=react.createElement("span",{className:"rejt-value",style:style.value,onClick:resultOnlyResult?null:this.handleEditMode},value2);let minusMenuLayout=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:style.minus});minusElement=resultOnlyResult?null:minusMenuLayout}return react.createElement("li",{className:"rejt-function-value-node",style:style.li},react.createElement("span",{className:"rejt-name",style:style.name},name," :"," "),result,minusElement)}};JsonFunctionValue.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:react.createElement("button",null,"e"),cancelButtonElement:react.createElement("button",null,"c"),minusMenuElement:react.createElement("span",null," - ")};var JsonNode=class extends react.Component{constructor(props){super(props),this.state={data:props.data,name:props.name,keyPath:props.keyPath,deep:props.deep}}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}render(){let{data,name,keyPath,deep}=this.state,{isCollapsed,handleRemove,handleUpdateValue,onUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,readOnlyTrue=()=>!0,dataType=getObjectType(data);switch(dataType){case"Error":return react.createElement(JsonObject,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly:readOnlyTrue,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case"Object":return react.createElement(JsonObject,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case"Array":return react.createElement(JsonArray,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case"String":return react.createElement(JsonValue,{name,value:`"${data}"`,originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Number":return react.createElement(JsonValue,{name,value:data,originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Boolean":return react.createElement(JsonValue,{name,value:data?"true":"false",originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Date":return react.createElement(JsonValue,{name,value:data.toISOString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly:readOnlyTrue,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Null":return react.createElement(JsonValue,{name,value:"null",originalValue:"null",keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Undefined":return react.createElement(JsonValue,{name,value:"undefined",originalValue:"undefined",keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Function":return react.createElement(JsonFunctionValue,{name,value:data.toString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,textareaElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Symbol":return react.createElement(JsonValue,{name,value:data.toString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly:readOnlyTrue,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});default:return null}}};JsonNode.defaultProps={keyPath:[],deep:0};var JsonObject=class extends react.Component{constructor(props){super(props);let keyPath=-1===props.deep?[]:[...props.keyPath,props.name];this.state={name:props.name,data:props.data,keyPath,deep:props.deep,nextDeep:props.deep+1,collapsed:props.isCollapsed(keyPath,props.deep,props.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}onChildUpdate(childKey,childData){let{data,keyPath}=this.state;data[childKey]=childData,this.setState({data});let{onUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key,newValue}){let{data,keyPath,nextDeep:deep}=this.state,{beforeAddAction,logger:logger4}=this.props;beforeAddAction(key,keyPath,deep,newValue).then((()=>{data[key]=newValue,this.setState({data}),this.handleAddValueCancel();let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:"ADD_DELTA_TYPE",keyPath,deep,key,newValue})})).catch(logger4.error)}handleRemoveValue(key){return()=>{let{beforeRemoveAction,logger:logger4}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeRemoveAction(key,keyPath,deep,oldValue).then((()=>{let deltaUpdateResult={keyPath,deep,key,oldValue,type:"REMOVE_DELTA_TYPE"};delete data[key],this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate(deltaUpdateResult)})).catch(logger4.error)}}handleCollapseMode(){this.setState((state=>({collapsed:!state.collapsed})))}handleEditValue({key,value:value2}){return new Promise(((resolve,reject)=>{let{beforeUpdateAction}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeUpdateAction(key,keyPath,deep,oldValue,value2).then((()=>{data[key]=value2,this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:"UPDATE_DELTA_TYPE",keyPath,deep,key,newValue:value2,oldValue}),resolve()})).catch(reject)}))}renderCollapsed(){let{name,keyPath,deep,data}=this.state,{handleRemove,readOnly,dataType,getStyle,minusMenuElement}=this.props,{minus,collapsed}=getStyle(name,data,keyPath,deep,dataType),keyList=Object.getOwnPropertyNames(data),isReadOnly=readOnly(name,data,keyPath,deep,dataType),removeItemButton=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus});return react.createElement("span",{className:"rejt-collapsed"},react.createElement("span",{className:"rejt-collapsed-text",style:collapsed,onClick:this.handleCollapseMode},"{...}"," ",keyList.length," ",1===keyList.length?"key":"keys"),!isReadOnly&&removeItemButton)}renderNotCollapsed(){let{name,data,keyPath,deep,nextDeep,addFormVisible}=this.state,{isCollapsed,handleRemove,onDeltaUpdate,readOnly,getStyle,dataType,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,{minus,plus,addForm,ul,delimiter}=getStyle(name,data,keyPath,deep,dataType),keyList=Object.getOwnPropertyNames(data),isReadOnly=readOnly(name,data,keyPath,deep,dataType),addItemButton=(0,react.cloneElement)(plusMenuElement,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:plus}),removeItemButton=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus}),list=keyList.map((key=>react.createElement(JsonNode,{key,name:key,data:data[key],keyPath,deep:nextDeep,isCollapsed,handleRemove:this.handleRemoveValue(key),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser})));return react.createElement("span",{className:"rejt-not-collapsed"},react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"{"),!isReadOnly&&addItemButton,react.createElement("ul",{className:"rejt-not-collapsed-list",style:ul},list),!isReadOnly&&addFormVisible&&react.createElement("div",{className:"rejt-add-form",style:addForm},react.createElement(JsonAddValue,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep,onSubmitValueParser})),react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"}"),!isReadOnly&&removeItemButton)}render(){let{name,collapsed,data,keyPath,deep}=this.state,{getStyle,dataType}=this.props,value2=collapsed?this.renderCollapsed():this.renderNotCollapsed(),style=getStyle(name,data,keyPath,deep,dataType);return react.createElement("div",{className:"rejt-object-node"},react.createElement("span",{onClick:this.handleCollapseMode},react.createElement("span",{className:"rejt-name",style:style.name},name," :"," ")),value2)}};JsonObject.defaultProps={keyPath:[],deep:0,minusMenuElement:react.createElement("span",null," - "),plusMenuElement:react.createElement("span",null," + ")};var JsonValue=class extends react.Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={value:props.value,name:props.name,keyPath,deep:props.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(props,state){return props.value!==state.value?{value:props.value}:null}componentDidUpdate(){let{editEnabled,inputRef,name,value:value2,keyPath,deep}=this.state,{readOnly,dataType}=this.props,isReadOnly=readOnly(name,value2,keyPath,deep,dataType);editEnabled&&!isReadOnly&&"function"==typeof inputRef.focus&&inputRef.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||(("Enter"===event.code||"Enter"===event.key)&&(event.preventDefault(),this.handleEdit()),("Escape"===event.code||"Escape"===event.key)&&(event.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue,originalValue,logger:logger4,onSubmitValueParser,keyPath}=this.props,{inputRef,name,deep}=this.state;if(!inputRef)return;let newValue=onSubmitValueParser(!0,keyPath,deep,name,inputRef.value);handleUpdateValue({value:newValue,key:name}).then((()=>{isComponentWillChange(originalValue,newValue)||this.handleCancelEdit()})).catch(logger4.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(node){this.state.inputRef=node}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name,value:value2,editEnabled,keyPath,deep}=this.state,{handleRemove,originalValue,readOnly,dataType,getStyle,editButtonElement,cancelButtonElement,inputElementGenerator,minusMenuElement,keyPath:comeFromKeyPath}=this.props,style=getStyle(name,originalValue,keyPath,deep,dataType),isReadOnly=readOnly(name,originalValue,keyPath,deep,dataType),isEditing=editEnabled&&!isReadOnly,inputElement=inputElementGenerator("value",comeFromKeyPath,deep,name,originalValue,dataType),editButtonElementLayout=(0,react.cloneElement)(editButtonElement,{onClick:this.handleEdit}),cancelButtonElementLayout=(0,react.cloneElement)(cancelButtonElement,{onClick:this.handleCancelEdit}),inputElementLayout=(0,react.cloneElement)(inputElement,{ref:this.refInput,defaultValue:JSON.stringify(originalValue)}),minusMenuLayout=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:style.minus});return react.createElement("li",{className:"rejt-value-node",style:style.li},react.createElement("span",{className:"rejt-name",style:style.name},name," : "),isEditing?react.createElement("span",{className:"rejt-edit-form",style:style.editForm},inputElementLayout," ",cancelButtonElementLayout,editButtonElementLayout):react.createElement("span",{className:"rejt-value",style:style.value,onClick:isReadOnly?null:this.handleEditMode},String(value2)),!isReadOnly&&!isEditing&&minusMenuLayout)}};JsonValue.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:react.createElement("button",null,"e"),cancelButtonElement:react.createElement("button",null,"c"),minusMenuElement:react.createElement("span",null," - ")};var object={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},array={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},value={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};var JsonTree=class extends react.Component{constructor(props){super(props),this.state={data:props.data,rootName:props.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(props,state){return props.data!==state.data||props.rootName!==state.rootName?{data:props.data,rootName:props.rootName}:null}onUpdate(key,data){this.setState({data}),this.props.onFullyUpdate(data)}removeRoot(){this.onUpdate(null,null)}render(){let{data,rootName}=this.state,{isCollapsed,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElement,textareaElement,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser,fallback=null}=this.props,dataType=getObjectType(data),readOnlyFunction=readOnly;"Boolean"===getObjectType(readOnly)&&(readOnlyFunction=()=>readOnly);let inputElementFunction=inputElement;inputElement&&"Function"!==getObjectType(inputElement)&&(inputElementFunction=()=>inputElement);let textareaElementFunction=textareaElement;return textareaElement&&"Function"!==getObjectType(textareaElement)&&(textareaElementFunction=()=>textareaElement),"Object"===dataType||"Array"===dataType?react.createElement("div",{className:"rejt-tree"},react.createElement(JsonNode,{data,name:rootName,deep:-1,isCollapsed,onUpdate:this.onUpdate,onDeltaUpdate,readOnly:readOnlyFunction,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator:inputElementFunction,textareaElementGenerator:textareaElementFunction,minusMenuElement,plusMenuElement,handleRemove:this.removeRoot,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser})):fallback}};JsonTree.defaultProps={rootName:"root",isCollapsed:(keyPath,deep)=>-1!==deep,getStyle:(keyName,data,keyPath,deep,dataType)=>{switch(dataType){case"Object":case"Error":return object;case"Array":return array;default:return value}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(isEditMode,keyPath,deep,name,rawValue)=>function parse3(string){let result=string;if(0===result.indexOf("function"))return(0,eval)(`(${result})`);try{result=JSON.parse(string)}catch{}return result}(rawValue),inputElement:()=>react.createElement("input",null),textareaElement:()=>react.createElement("textarea",null),fallback:null};var{window:globalWindow2}=global_dist.global,Wrapper5=dist.zo.div((({theme})=>({position:"relative",display:"flex",".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:theme.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:theme.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:theme.color.lighter,borderColor:theme.appBorderColor}}))),Button=dist.zo.button((({theme,primary})=>({border:0,height:20,margin:1,borderRadius:4,background:primary?theme.color.secondary:"transparent",color:primary?theme.color.lightest:theme.color.dark,fontWeight:primary?"bold":"normal",cursor:"pointer",order:primary?"initial":9}))),ActionIcon=(0,dist.zo)(components_dist.PJ)((({theme,icon,disabled})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:disabled?"not-allowed":"pointer",color:theme.textMutedColor,"&:hover":disabled?{}:{color:"subtract"===icon?theme.color.negative:theme.color.ancillary},"svg + &":{marginLeft:0}}))),Input=dist.zo.input((({theme,placeholder})=>({outline:0,margin:placeholder?1:"1px 0",padding:"3px 4px",color:theme.color.defaultText,background:theme.background.app,border:`1px solid ${theme.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:"Key"===placeholder?80:120,"&:focus":{border:`1px solid ${theme.color.secondary}`}}))),RawButton=(0,dist.zo)(components_dist.hU)((({theme})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:theme.background.bar,border:`1px solid ${theme.appBorderColor}`,borderRadius:3,color:theme.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}}))),RawInput=(0,dist.zo)(components_dist.l0.Textarea)((({theme})=>({flex:1,padding:"7px 6px",fontFamily:theme.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:theme.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}}))),ENTER_EVENT={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},dispatchEnterKey=event=>{event.currentTarget.dispatchEvent(new globalWindow2.KeyboardEvent("keydown",ENTER_EVENT))},selectValue=event=>{event.currentTarget.select()},getCustomStyleFunction=theme=>()=>({name:{color:theme.color.secondary},collapsed:{color:theme.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),ObjectControl=({name,value:value2,onChange})=>{let theme=(0,dist.Fg)(),data=(0,react.useMemo)((()=>value2&&cloneDeep_default()(value2)),[value2]),hasData=null!=data,[showRaw,setShowRaw]=(0,react.useState)(!hasData),[parseError,setParseError]=(0,react.useState)(null),updateRaw=(0,react.useCallback)((raw=>{try{raw&&onChange(JSON.parse(raw)),setParseError(void 0)}catch(e){setParseError(e)}}),[onChange]),[forceVisible,setForceVisible]=(0,react.useState)(!1),onForceVisible=(0,react.useCallback)((()=>{onChange({}),setForceVisible(!0)}),[setForceVisible]),htmlElRef=(0,react.useRef)(null);if((0,react.useEffect)((()=>{forceVisible&&htmlElRef.current&&htmlElRef.current.select()}),[forceVisible]),!hasData)return react.createElement(components_dist.l0.Button,{id:(0,chunk_GWAJ4KRU.O)(name),onClick:onForceVisible},"Set object");let rawJSONForm=react.createElement(RawInput,{ref:htmlElRef,id:(0,chunk_GWAJ4KRU.d)(name),name,defaultValue:null===value2?"":JSON.stringify(value2,null,2),onBlur:event=>updateRaw(event.target.value),placeholder:"Edit JSON string...",autoFocus:forceVisible,valid:parseError?"error":null});return react.createElement(Wrapper5,null,["Object","Array"].includes(getObjectType(data))&&react.createElement(RawButton,{href:"#",onClick:e=>{e.preventDefault(),setShowRaw((v=>!v))}},react.createElement(components_dist.PJ,{icon:showRaw?"eyeclose":"eye"}),react.createElement("span",null,"RAW")),showRaw?rawJSONForm:react.createElement(JsonTree,{data,rootName:name,onFullyUpdate:onChange,getStyle:getCustomStyleFunction(theme),cancelButtonElement:react.createElement(Button,{type:"button"},"Cancel"),editButtonElement:react.createElement(Button,{type:"submit"},"Save"),addButtonElement:react.createElement(Button,{type:"submit",primary:!0},"Save"),plusMenuElement:react.createElement(ActionIcon,{icon:"add"}),minusMenuElement:react.createElement(ActionIcon,{icon:"subtract"}),inputElement:(_,__,___,key)=>key?react.createElement(Input,{onFocus:selectValue,onBlur:dispatchEnterKey}):react.createElement(Input,null),fallback:rawJSONForm}))},RangeInput=dist.zo.input((({theme,min,max,value:value2})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:"light"===theme.base?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${curriedDarken$1(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${curriedDarken$1(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${curriedLighten$1(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${curriedLighten$1(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${rgba(theme.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${rgba(theme.appBorderColor,.2)}`,cursor:"grab",appearance:"none",background:`${theme.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${curriedDarken$1(.05,theme.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${theme.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:rgba(theme.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:theme.color.secondary,boxShadow:`0 0px 5px 0px ${theme.color.secondary}`}},"&::-moz-range-track":{background:"light"===theme.base?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${curriedDarken$1(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${curriedDarken$1(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${curriedLighten$1(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${curriedLighten$1(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${rgba(theme.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${rgba(theme.appBorderColor,.2)}`,cursor:"grab",background:`${theme.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${curriedDarken$1(.05,theme.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${theme.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:"light"===theme.base?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${curriedDarken$1(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${curriedDarken$1(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${curriedLighten$1(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${curriedLighten$1(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${theme.input.background}`,border:`1px solid ${rgba(theme.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}}))),RangeLabel=dist.zo.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),RangeCurrentAndMaxLabel=(0,dist.zo)(RangeLabel)((({numberOFDecimalsPlaces,max})=>({width:`${numberOFDecimalsPlaces+2*max.toString().length+3}ch`,textAlign:"right",flexShrink:0}))),RangeWrapper=dist.zo.div({display:"flex",alignItems:"center",width:"100%"});var Wrapper6=dist.zo.label({display:"flex"}),MaxLength=dist.zo.div((({isMaxed})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:isMaxed?"red":void 0}))),FileInput=(0,dist.zo)(components_dist.l0.Input)({padding:10});var LazyColorControl=(0,react.lazy)((()=>__webpack_require__.e(2333).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/blocks/dist/Color-3YIJY6X7.mjs")))),Controls2={array:ObjectControl,object:ObjectControl,boolean:({name,value:value2,onChange,onBlur,onFocus})=>{let onSetFalse=(0,react.useCallback)((()=>onChange(!1)),[onChange]);if(void 0===value2)return react.createElement(components_dist.l0.Button,{id:(0,chunk_GWAJ4KRU.O)(name),onClick:onSetFalse},"Set boolean");let controlId=(0,chunk_GWAJ4KRU.d)(name),parsedValue="string"==typeof value2?(value2=>"true"===value2)(value2):value2;return react.createElement(Label,{htmlFor:controlId,title:parsedValue?"Change to false":"Change to true"},react.createElement("input",{id:controlId,type:"checkbox",onChange:e=>onChange(e.target.checked),checked:parsedValue,name,onBlur,onFocus}),react.createElement("span",null,"False"),react.createElement("span",null,"True"))},color:props=>react.createElement(react.Suspense,{fallback:react.createElement("div",null)},react.createElement(LazyColorControl,{...props})),date:({name,value:value2,onChange,onFocus,onBlur})=>{let[valid,setValid]=(0,react.useState)(!0),dateRef=(0,react.useRef)(),timeRef=(0,react.useRef)();(0,react.useEffect)((()=>{!1!==valid&&(dateRef&&dateRef.current&&(dateRef.current.value=(value2=>{let date=new Date(value2);return`${`000${date.getFullYear()}`.slice(-4)}-${`0${date.getMonth()+1}`.slice(-2)}-${`0${date.getDate()}`.slice(-2)}`})(value2)),timeRef&&timeRef.current&&(timeRef.current.value=(value2=>{let date=new Date(value2);return`${`0${date.getHours()}`.slice(-2)}:${`0${date.getMinutes()}`.slice(-2)}`})(value2)))}),[value2]);let controlId=(0,chunk_GWAJ4KRU.d)(name);return react.createElement(FlexSpaced,null,react.createElement(components_dist.l0.Input,{type:"date",max:"9999-12-31",ref:dateRef,id:`${controlId}-date`,name:`${controlId}-date`,onChange:e=>{let parsed=(value2=>{let[year,month,day]=value2.split("-"),result=new Date;return result.setFullYear(parseInt(year,10),parseInt(month,10)-1,parseInt(day,10)),result})(e.target.value),result=new Date(value2);result.setFullYear(parsed.getFullYear(),parsed.getMonth(),parsed.getDate());let time=result.getTime();time&&onChange(time),setValid(!!time)},onFocus,onBlur}),react.createElement(components_dist.l0.Input,{type:"time",id:`${controlId}-time`,name:`${controlId}-time`,ref:timeRef,onChange:e=>{let parsed=(value2=>{let[hours,minutes]=value2.split(":"),result=new Date;return result.setHours(parseInt(hours,10)),result.setMinutes(parseInt(minutes,10)),result})(e.target.value),result=new Date(value2);result.setHours(parsed.getHours()),result.setMinutes(parsed.getMinutes());let time=result.getTime();time&&onChange(time),setValid(!!time)},onFocus,onBlur}),valid?null:react.createElement("div",null,"invalid"))},number:({name,value:value2,onChange,min,max,step,onBlur,onFocus})=>{let[inputValue,setInputValue]=(0,react.useState)("number"==typeof value2?value2:""),[forceVisible,setForceVisible]=(0,react.useState)(!1),[parseError,setParseError]=(0,react.useState)(null),handleChange=(0,react.useCallback)((event=>{setInputValue(event.target.value);let result=parseFloat(event.target.value);Number.isNaN(result)?setParseError(new Error(`'${event.target.value}' is not a number`)):(onChange(result),setParseError(null))}),[onChange,setParseError]),onForceVisible=(0,react.useCallback)((()=>{setInputValue("0"),onChange(0),setForceVisible(!0)}),[setForceVisible]),htmlElRef=(0,react.useRef)(null);return(0,react.useEffect)((()=>{forceVisible&&htmlElRef.current&&htmlElRef.current.select()}),[forceVisible]),(0,react.useEffect)((()=>{inputValue!==("number"==typeof value2?value2:"")&&setInputValue(value2)}),[value2]),forceVisible||void 0!==value2?react.createElement(Wrapper2,null,react.createElement(components_dist.l0.Input,{ref:htmlElRef,id:(0,chunk_GWAJ4KRU.d)(name),type:"number",onChange:handleChange,size:"flex",placeholder:"Edit number...",value:inputValue,valid:parseError?"error":null,autoFocus:forceVisible,name,min,max,step,onFocus,onBlur})):react.createElement(components_dist.l0.Button,{id:(0,chunk_GWAJ4KRU.O)(name),onClick:onForceVisible},"Set number")},check:OptionsControl,"inline-check":OptionsControl,radio:OptionsControl,"inline-radio":OptionsControl,select:OptionsControl,"multi-select":OptionsControl,range:({name,value:value2,onChange,min=0,max=100,step=1,onBlur,onFocus})=>{let hasValue=void 0!==value2,numberOFDecimalsPlaces=(0,react.useMemo)((()=>function getNumberOfDecimalPlaces(number){let match=number.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return match?Math.max(0,(match[1]?match[1].length:0)-(match[2]?+match[2]:0)):0}(step)),[step]);return react.createElement(RangeWrapper,null,react.createElement(RangeLabel,null,min),react.createElement(RangeInput,{id:(0,chunk_GWAJ4KRU.d)(name),type:"range",onChange:event=>{onChange((value2=>{let result=parseFloat(value2);return Number.isNaN(result)?void 0:result})(event.target.value))},name,value:value2,min,max,step,onFocus,onBlur}),react.createElement(RangeCurrentAndMaxLabel,{numberOFDecimalsPlaces,max},`${hasValue?value2.toFixed(numberOFDecimalsPlaces):"--"}`," / ",max))},text:({name,value:value2,onChange,onFocus,onBlur,maxLength})=>{let[forceVisible,setForceVisible]=(0,react.useState)(!1),onForceVisible=(0,react.useCallback)((()=>{onChange(""),setForceVisible(!0)}),[setForceVisible]);if(void 0===value2)return react.createElement(components_dist.l0.Button,{id:(0,chunk_GWAJ4KRU.O)(name),onClick:onForceVisible},"Set string");let isValid="string"==typeof value2;return react.createElement(Wrapper6,null,react.createElement(components_dist.l0.Textarea,{id:(0,chunk_GWAJ4KRU.d)(name),maxLength,onChange:event=>{onChange(event.target.value)},size:"flex",placeholder:"Edit string...",autoFocus:forceVisible,valid:isValid?null:"error",name,value:isValid?value2:"",onFocus,onBlur}),maxLength&&react.createElement(MaxLength,{isMaxed:value2?.length===maxLength},value2?.length??0," / ",maxLength))},file:({onChange,name,accept="image/*",value:value2})=>{let inputElement=(0,react.useRef)(null);return(0,react.useEffect)((()=>{null==value2&&inputElement.current&&(inputElement.current.value=null)}),[value2,name]),react.createElement(FileInput,{ref:inputElement,id:(0,chunk_GWAJ4KRU.d)(name),type:"file",name,multiple:!0,onChange:function handleFileChange(e){if(!e.target.files)return;let fileUrls=Array.from(e.target.files).map((file=>URL.createObjectURL(file)));onChange(fileUrls),function revokeOldUrls(urls){urls.forEach((url=>{url.startsWith("blob:")&&URL.revokeObjectURL(url)}))}(value2)},accept,size:"flex"})}},NoControl=()=>react.createElement(react.Fragment,null,"-"),ArgControl=({row,arg,updateArgs})=>{let{key,control}=row,[isFocused,setFocused]=(0,react.useState)(!1),[boxedValue,setBoxedValue]=(0,react.useState)({value:arg});(0,react.useEffect)((()=>{isFocused||setBoxedValue({value:arg})}),[isFocused,arg]);let onChange=(0,react.useCallback)((argVal=>(setBoxedValue({value:argVal}),updateArgs({[key]:argVal}),argVal)),[updateArgs,key]),onBlur=(0,react.useCallback)((()=>setFocused(!1)),[]),onFocus=(0,react.useCallback)((()=>setFocused(!0)),[]);if(!control||control.disable)return react.createElement(NoControl,null);let props={name:key,argType:row,value:boxedValue.value,onChange,onBlur,onFocus},Control=Controls2[control.type]||NoControl;return react.createElement(Control,{...props,...control,controlType:control.type})},Name=dist.zo.span({fontWeight:"bold"}),Required=dist.zo.span((({theme})=>({color:theme.color.negative,fontFamily:theme.typography.fonts.mono,cursor:"help"}))),Description=dist.zo.div((({theme})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:theme.color.secondary}},code:{...(0,components_dist.CI)({theme}),fontSize:12,fontFamily:theme.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}}))),Type=dist.zo.div((({theme,hasDescription})=>({color:"light"===theme.base?curriedTransparentize$1(.1,theme.color.defaultText):curriedTransparentize$1(.2,theme.color.defaultText),marginTop:hasDescription?4:0}))),TypeWithJsDoc=dist.zo.div((({theme,hasDescription})=>({color:"light"===theme.base?curriedTransparentize$1(.1,theme.color.defaultText):curriedTransparentize$1(.2,theme.color.defaultText),marginTop:hasDescription?12:0,marginBottom:12}))),StyledTd=dist.zo.td((({theme,expandable})=>({paddingLeft:expandable?"40px !important":"20px !important"}))),ArgRow=props=>{let{row,updateArgs,compact,expandable,initialExpandedArgs}=props,{name,description}=row,table=row.table||{},type=table.type||row.type,defaultValue=table.defaultValue||row.defaultValue,required=row.type?.required,hasDescription=null!=description&&""!==description;return react.createElement("tr",null,react.createElement(StyledTd,{expandable},react.createElement(Name,null,name),required?react.createElement(Required,{title:"Required"},"*"):null),compact?null:react.createElement("td",null,hasDescription&&react.createElement(Description,null,react.createElement(index_modern,null,description)),null!=table.jsDocTags?react.createElement(react.Fragment,null,react.createElement(TypeWithJsDoc,{hasDescription},react.createElement(ArgValue,{value:type,initialExpandedArgs})),react.createElement(ArgJsDoc,{tags:table.jsDocTags})):react.createElement(Type,{hasDescription},react.createElement(ArgValue,{value:type,initialExpandedArgs}))),compact?null:react.createElement("td",null,react.createElement(ArgValue,{value:defaultValue,initialExpandedArgs})),updateArgs?react.createElement("td",null,react.createElement(ArgControl,{...props})):null)},ExpanderIcon=(0,dist.zo)(components_dist.PJ)((({theme})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:"light"===theme.base?curriedTransparentize$1(.25,theme.color.defaultText):curriedTransparentize$1(.3,theme.color.defaultText),border:"none",display:"inline-block"}))),FlexWrapper=dist.zo.span((({theme})=>({display:"flex",lineHeight:"20px",alignItems:"center"}))),Section=dist.zo.td((({theme})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s1-1,color:"light"===theme.base?curriedTransparentize$1(.4,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText),background:`${theme.background.app} !important`,"& ~ td":{background:`${theme.background.app} !important`}}))),Subsection=dist.zo.td((({theme})=>({position:"relative",fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s2-1,background:theme.background.app}))),StyledTd2=dist.zo.td((()=>({position:"relative"}))),StyledTr=dist.zo.tr((({theme})=>({"&:hover > td":{backgroundColor:`${curriedLighten$1(.005,theme.background.app)} !important`,boxShadow:`${theme.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}}))),ClickIntercept=dist.zo.button((()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"}))),SectionRow=({level="section",label,children,initialExpanded=!0,colSpan=3})=>{let[expanded,setExpanded]=(0,react.useState)(initialExpanded),Level="subsection"===level?Subsection:Section,itemCount=children?.length||0,caption="subsection"===level?`${itemCount} item${1!==itemCount?"s":""}`:"",icon=expanded?"arrowdown":"arrowright",helperText=`${expanded?"Hide":"Show"} ${"subsection"===level?itemCount:label} item${1!==itemCount?"s":""}`;return react.createElement(react.Fragment,null,react.createElement(StyledTr,{title:helperText},react.createElement(Level,{colSpan:1},react.createElement(ClickIntercept,{onClick:e=>setExpanded(!expanded),tabIndex:0},helperText),react.createElement(FlexWrapper,null,react.createElement(ExpanderIcon,{icon}),label)),react.createElement(StyledTd2,{colSpan:colSpan-1},react.createElement(ClickIntercept,{onClick:e=>setExpanded(!expanded),tabIndex:-1,style:{outline:"none"}},helperText),expanded?null:caption)),expanded?children:null)},TableWrapper=dist.zo.table((({theme,compact,inAddonPanel})=>({"&&":{borderSpacing:0,color:theme.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:theme.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:inAddonPanel?0:25,marginBottom:inAddonPanel?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...compact?null:{width:"35%"}},"td:nth-of-type(3)":{...compact?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...compact?null:{width:"25%"}},th:{color:"light"===theme.base?curriedTransparentize$1(.25,theme.color.defaultText):curriedTransparentize$1(.45,theme.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:inAddonPanel?0:1,marginRight:inAddonPanel?0:1,tbody:{...inAddonPanel?null:{filter:"light"===theme.base?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:theme.background.content,borderTop:`1px solid ${theme.appBorderColor}`},...inAddonPanel?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${theme.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${theme.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${theme.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${theme.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:theme.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:theme.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:theme.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:theme.appBorderRadius}}}}})),(({isLoading,theme})=>isLoading?{"th span, td span, td button":{display:"inline",backgroundColor:theme.appBorderColor,animation:`${theme.animation.glow} 1.5s ease-in-out infinite`,color:"transparent",boxShadow:"none",borderRadius:0}}:{})),StyledIconButton=(0,dist.zo)(components_dist.hU)((({theme})=>({color:theme.barTextColor,margin:"-4px -12px -4px 0"}))),ControlHeadingWrapper=dist.zo.span({display:"flex",justifyContent:"space-between"}),sortFns={alpha:(a,b)=>a.name.localeCompare(b.name),requiredFirst:(a,b)=>Number(!!b.type?.required)-Number(!!a.type?.required)||a.name.localeCompare(b.name),none:void 0},rowLoadingData=key=>({key,name:"propertyName",description:"This is a short description",control:{type:"text"},table:{type:{summary:"summary"},defaultValue:{summary:"defaultValue"}}}),argsTableLoadingData={rows:{row1:rowLoadingData("row1"),row2:rowLoadingData("row2"),row3:rowLoadingData("row3")}},ArgsTable=props=>{if("error"in props)return react.createElement(EmptyBlock,null,props.error," ",react.createElement(components_dist.rU,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"));let{updateArgs,resetArgs,compact,inAddonPanel,initialExpandedArgs,sort="none"}=props,isLoading="isLoading"in props,{rows,args,globals}="rows"in props?props:argsTableLoadingData,groups=((rows,sort)=>{let sections={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!rows)return sections;Object.entries(rows).forEach((([key,row])=>{let{category,subcategory}=row?.table||{};if(category){let section=sections.sections[category]||{ungrouped:[],subsections:{}};if(subcategory){let subsection=section.subsections[subcategory]||[];subsection.push({key,...row}),section.subsections[subcategory]=subsection}else section.ungrouped.push({key,...row});sections.sections[category]=section}else if(subcategory){let subsection=sections.ungroupedSubsections[subcategory]||[];subsection.push({key,...row}),sections.ungroupedSubsections[subcategory]=subsection}else sections.ungrouped.push({key,...row})}));let sortFn=sortFns[sort],sortSubsection=record=>sortFn?Object.keys(record).reduce(((acc,cur)=>({...acc,[cur]:record[cur].sort(sortFn)})),{}):record;return{ungrouped:sections.ungrouped.sort(sortFn),ungroupedSubsections:sortSubsection(sections.ungroupedSubsections),sections:Object.keys(sections.sections).reduce(((acc,cur)=>({...acc,[cur]:{ungrouped:sections.sections[cur].ungrouped.sort(sortFn),subsections:sortSubsection(sections.sections[cur].subsections)}})),{})}})(pickBy_default()(rows,(row=>!row?.table?.disable&&((row,args,globals)=>{try{return(0,csf_dist.fo)(row,args,globals)}catch(err){return external_STORYBOOK_MODULE_CLIENT_LOGGER_.once.warn(err.message),!1}})(row,args||{},globals||{}))),sort);if(0===groups.ungrouped.length&&0===Object.entries(groups.sections).length&&0===Object.entries(groups.ungroupedSubsections).length)return react.createElement(EmptyBlock,null,"No inputs found for this component. ",react.createElement(components_dist.rU,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"));let colSpan=1;updateArgs&&(colSpan+=1),compact||(colSpan+=2);let expandable=Object.keys(groups.sections).length>0,common={updateArgs,compact,inAddonPanel,initialExpandedArgs};return react.createElement(components_dist.i9,null,react.createElement(TableWrapper,{"aria-hidden":isLoading,compact,inAddonPanel,isLoading,className:"docblock-argstable sb-unstyled"},react.createElement("thead",{className:"docblock-argstable-head"},react.createElement("tr",null,react.createElement("th",null,react.createElement("span",null,"Name")),compact?null:react.createElement("th",null,react.createElement("span",null,"Description")),compact?null:react.createElement("th",null,react.createElement("span",null,"Default")),updateArgs?react.createElement("th",null,react.createElement(ControlHeadingWrapper,null,"Control"," ",!isLoading&&resetArgs&&react.createElement(StyledIconButton,{onClick:()=>resetArgs(),title:"Reset controls"},react.createElement(components_dist.PJ,{icon:"undo","aria-hidden":!0})))):null)),react.createElement("tbody",{className:"docblock-argstable-body"},groups.ungrouped.map((row=>react.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],...common}))),Object.entries(groups.ungroupedSubsections).map((([subcategory,subsection])=>react.createElement(SectionRow,{key:subcategory,label:subcategory,level:"subsection",colSpan},subsection.map((row=>react.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],expandable,...common})))))),Object.entries(groups.sections).map((([category,section])=>react.createElement(SectionRow,{key:category,label:category,level:"section",colSpan},section.ungrouped.map((row=>react.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],...common}))),Object.entries(section.subsections).map((([subcategory,subsection])=>react.createElement(SectionRow,{key:subcategory,label:subcategory,level:"subsection",colSpan},subsection.map((row=>react.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],expandable,...common}))))))))))))},TabbedArgsTable=({tabs,...props})=>{let entries=Object.entries(tabs);return 1===entries.length?react.createElement(ArgsTable,{...entries[0][1],...props}):react.createElement(components_dist.JG,null,entries.map((entry=>{let[label,table]=entry,id=`prop_table_div_${label}`;return react.createElement("div",{key:id,id,title:label},(({active})=>active?react.createElement(ArgsTable,{key:`prop_table_${label}`,...table,...props}):null))})))};dist.zo.div((({theme})=>({background:theme.background.warning,color:theme.color.darkest,padding:"10px 15px",lineHeight:"20px",boxShadow:`${theme.appBorderColor} 0 -1px 0 0 inset`}))),dist.zo.div((({theme})=>({marginRight:30,fontSize:`${theme.typography.size.s1}px`,color:"light"===theme.base?curriedTransparentize$1(.4,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText)}))),dist.zo.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),dist.zo.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),dist.zo.div(components_dist.YX,(({theme})=>({...getBlockBackgroundStyle(theme),margin:"25px 0 40px",padding:"30px 20px"}))),dist.zo.div((({theme})=>({fontWeight:theme.typography.weight.bold,color:theme.color.defaultText}))),dist.zo.div((({theme})=>({color:"light"===theme.base?curriedTransparentize$1(.2,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText)}))),dist.zo.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),dist.zo.div((({theme})=>({flex:1,textAlign:"center",fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,lineHeight:1,overflow:"hidden",color:"light"===theme.base?curriedTransparentize$1(.4,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}))),dist.zo.div({display:"flex",flexDirection:"row"}),dist.zo.div((({background})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background,content:'""'}}))),dist.zo.div((({theme})=>({...getBlockBackgroundStyle(theme),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}))),dist.zo.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),dist.zo.div({flex:1,display:"flex",flexDirection:"row"}),dist.zo.div({display:"flex",alignItems:"flex-start"}),dist.zo.div({flex:"0 0 30%"}),dist.zo.div({flex:1}),dist.zo.div((({theme})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:theme.typography.weight.bold,color:"light"===theme.base?curriedTransparentize$1(.4,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText)}))),dist.zo.div((({theme})=>({fontSize:theme.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"})));dist.zo.div((({theme})=>({fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s2,color:theme.color.defaultText,marginLeft:10,lineHeight:1.2}))),dist.zo.div((({theme})=>({...getBlockBackgroundStyle(theme),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}))),dist.zo.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),dist.zo.div({display:"flex",flexFlow:"row wrap"});var anchorBlockIdFromId=storyId=>`anchor--${storyId}`,Anchor=({storyId,children})=>react.createElement("div",{id:anchorBlockIdFromId(storyId),className:"sb-anchor"},children);global_dist.global&&void 0===global_dist.global.__DOCS_CONTEXT__&&(global_dist.global.__DOCS_CONTEXT__=(0,react.createContext)(null),global_dist.global.__DOCS_CONTEXT__.displayName="DocsContext");var DocsContext=global_dist.global?global_dist.global.__DOCS_CONTEXT__:(0,react.createContext)(null),useOf=(moduleExportOrType,validTypes)=>(0,react.useContext)(DocsContext).resolveOf(moduleExportOrType,validTypes);function extractComponentArgTypes(component,parameters){let{extractArgTypes}=parameters.docs||{};if(!extractArgTypes)throw new Error("Args unsupported. See Args documentation for your framework.");return extractArgTypes(component)}var ArgTypes=props=>{let{of}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let resolved=useOf(of||"meta"),{argTypes,parameters}=function getArgTypesFromResolved(resolved,props){if("component"===resolved.type){let{component,projectAnnotations:{parameters:parameters2}}=resolved;return{argTypes:extractComponentArgTypes(component,parameters2),parameters:parameters2}}if("meta"===resolved.type){let{preparedMeta:{argTypes:argTypes2,parameters:parameters2}}=resolved;return{argTypes:argTypes2,parameters:parameters2}}let{story:{argTypes,parameters}}=resolved;return{argTypes,parameters}}(resolved),argTypesParameters=parameters.docs?.argTypes||{},include=props.include??argTypesParameters.include,exclude=props.exclude??argTypesParameters.exclude,sort=props.sort??argTypesParameters.sort,filteredArgTypes=(0,external_STORYBOOK_MODULE_PREVIEW_API_.filterArgTypes)(argTypes,include,exclude);return react.createElement(ArgsTable,{rows:filteredArgTypes,sort})},PRIMARY_STORY="^",getComponentName=component=>{if(component)return"string"==typeof component?component.includes("-")?component.split("-").map((part=>part.charAt(0).toUpperCase()+part.slice(1))).join(""):component:component.__docgenInfo&&component.__docgenInfo.displayName?component.__docgenInfo.displayName:component.name};function useStory(storyId,context){let stories=useStories([storyId],context);return stories&&stories[0]}function useStories(storyIds,context){let[storiesById,setStories]=(0,react.useState)({});return(0,react.useEffect)((()=>{Promise.all(storyIds.map((async storyId=>{let story=await context.loadStory(storyId);setStories((current=>current[storyId]===story?current:{...current,[storyId]:story}))})))})),storyIds.map((storyId=>{if(storiesById[storyId])return storiesById[storyId];try{return context.storyById(storyId)}catch{return null}}))}var extractComponentArgTypes2=(component,parameters,include,exclude)=>{let{extractArgTypes}=parameters.docs||{};if(!extractArgTypes)throw new Error("Args unsupported. See Args documentation for your framework.");let argTypes=extractArgTypes(component);return argTypes=(0,external_STORYBOOK_MODULE_PREVIEW_API_.filterArgTypes)(argTypes,include,exclude),argTypes},isShortcut=value2=>value2&&[PRIMARY_STORY].includes(value2),addComponentTabs=(tabs,components2,parameters,include,exclude,sort)=>({...tabs,...mapValues_default()(components2,(comp=>({rows:extractComponentArgTypes2(comp,parameters,include,exclude),sort})))}),StoryTable=props=>{let context=(0,react.useContext)(DocsContext),{story:storyName,component,subcomponents,showComponent,include,exclude,sort}=props;try{let storyId;if(storyName===PRIMARY_STORY)storyId=context.storyById().id;else storyId=context.storyIdByName(storyName);let story=useStory(storyId,context),[args,updateArgs,resetArgs]=((storyId,context)=>{let storyContext=context.getStoryContext(context.storyById()),[args,setArgs]=(0,react.useState)(storyContext.args);return(0,react.useEffect)((()=>{let cb=changed=>{changed.storyId===storyId&&setArgs(changed.args)};return context.channel.on(external_STORYBOOK_MODULE_CORE_EVENTS_.STORY_ARGS_UPDATED,cb),()=>context.channel.off(external_STORYBOOK_MODULE_CORE_EVENTS_.STORY_ARGS_UPDATED,cb)}),[storyId]),[args,(0,react.useCallback)((updatedArgs=>context.channel.emit(external_STORYBOOK_MODULE_CORE_EVENTS_.UPDATE_STORY_ARGS,{storyId,updatedArgs})),[storyId]),(0,react.useCallback)((argNames=>context.channel.emit(external_STORYBOOK_MODULE_CORE_EVENTS_.RESET_STORY_ARGS,{storyId,argNames})),[storyId])]})(storyId,context),[globals]=(context=>{let storyContext=context.getStoryContext(context.storyById()),[globals,setGlobals]=(0,react.useState)(storyContext.globals);return(0,react.useEffect)((()=>{let cb=changed=>{setGlobals(changed.globals)};return context.channel.on(external_STORYBOOK_MODULE_CORE_EVENTS_.GLOBALS_UPDATED,cb),()=>context.channel.off(external_STORYBOOK_MODULE_CORE_EVENTS_.GLOBALS_UPDATED,cb)}),[]),[globals]})(context);if(!story)return react.createElement(ArgsTable,{isLoading:!0,updateArgs,resetArgs});let argTypes=(0,external_STORYBOOK_MODULE_PREVIEW_API_.filterArgTypes)(story.argTypes,include,exclude),mainLabel=getComponentName(component)||"Story",tabs={[mainLabel]:{rows:argTypes,args,globals,updateArgs,resetArgs}},storyHasArgsWithControls=argTypes&&Object.values(argTypes).find((v=>!!v?.control));if(storyHasArgsWithControls||(updateArgs=null,resetArgs=null,tabs={}),component&&(!storyHasArgsWithControls||showComponent)&&(tabs=addComponentTabs(tabs,{[mainLabel]:component},story.parameters,include,exclude)),subcomponents){if(Array.isArray(subcomponents))throw new Error("Unexpected subcomponents array. Expected an object whose keys are tab labels and whose values are components.");tabs=addComponentTabs(tabs,subcomponents,story.parameters,include,exclude)}return react.createElement(TabbedArgsTable,{tabs,sort})}catch(err){return react.createElement(ArgsTable,{error:err.message})}},ComponentsTable=props=>{let{components:components2,include,exclude,sort,parameters}=props,tabs=addComponentTabs({},components2,parameters,include,exclude);return react.createElement(TabbedArgsTable,{tabs,sort})};function argsHash(args){return(0,telejson_dist.Pz)(args)}(props=>{(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`The ArgsTable doc block is deprecated. Instead use the ArgTypes doc block for static tables or the Controls doc block for tables with controls. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#argstable-block + `);let parameters,component,subcomponents,context=(0,react.useContext)(DocsContext);try{({parameters,component,subcomponents}=context.storyById())}catch{let{of}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");({projectAnnotations:{parameters}}=context.resolveOf(of,["component"]))}let{include,exclude,components:components2,sort:sortProp}=props,{story:storyName}=props,sort=sortProp||parameters.controls?.sort,main=((props={},component)=>{let{of}=props,{story}=props;if(isShortcut(of)||isShortcut(story))return component||null;if(!of)throw new Error("No component found.");return of})(props,component);if(storyName)return react.createElement(StoryTable,{...props,component:main,subcomponents,sort});if(!components2&&!subcomponents){let mainProps;try{mainProps={rows:extractComponentArgTypes2(main,parameters,include,exclude)}}catch(err){mainProps={error:err.message}}return react.createElement(ArgsTable,{...mainProps,sort})}if(components2)return react.createElement(ComponentsTable,{...props,components:components2,sort,parameters});let mainLabel=getComponentName(main);return react.createElement(ComponentsTable,{...props,components:{[mainLabel]:main,...subcomponents},sort,parameters})}).defaultProps={of:PRIMARY_STORY};var SourceState2,SourceContext=(0,react.createContext)({sources:{}}),SourceContainer=({children,channel})=>{let[sources,setSources]=(0,react.useState)({});return(0,react.useEffect)((()=>{let handleSnippetRendered=(idOrEvent,inputSource=null,inputFormat=!1)=>{let{id,args,source,format:format2}="string"==typeof idOrEvent?{id:idOrEvent,source:inputSource,format:inputFormat}:idOrEvent,hash=args?argsHash(args):"--unknown--";sources[id]&&sources[id][hash]&&sources[id][hash].code===source||setSources((current=>{let newSources={...current,[id]:{...current[id],[hash]:{code:source,format:format2}}};return dequal(current,newSources)?current:newSources}))};return channel.on(docs_tools_dist.g,handleSnippetRendered),()=>channel.off(docs_tools_dist.g,handleSnippetRendered)}),[]),react.createElement(SourceContext.Provider,{value:{sources}},children)},SourceState=((SourceState2=SourceState||{}).OPEN="open",SourceState2.CLOSED="closed",SourceState2.NONE="none",SourceState2),useSourceProps=(props,docsContext,sourceContext)=>{let storiesFromIds=useStories(props.ids||(props.id?[props.id]:[]),docsContext),stories=storiesFromIds,{of}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(of)stories=[docsContext.resolveOf(of,["story"]).story];else if(0===stories.length)try{stories=[docsContext.storyById()]}catch{}if(!storiesFromIds.every(Boolean))return{error:"Oh no! The source is not available.",state:"none"};let sourceParameters=stories[0]?.parameters?.docs?.source||{},{code}=props,format2=props.format??sourceParameters.format,language=props.language??sourceParameters.language??"jsx",dark=props.dark??sourceParameters.dark??!1;code||(code=stories.map(((story,index)=>{if(!story)return"";let storyContext=docsContext.getStoryContext(story),argsForSource=props.__forceInitialArgs?storyContext.initialArgs:storyContext.unmappedArgs,source=((storyId,args,sourceContext)=>{let{sources}=sourceContext,sourceMap=sources?.[storyId];return sourceMap?.[argsHash(args)]||sourceMap?.["--unknown--"]||{code:""}})(story.id,argsForSource,sourceContext);return 0===index&&(format2=source.format??story.parameters.docs?.source?.format??!1),(({snippet,storyContext,typeFromProps,transformFromProps})=>{let{__isArgsStory:isArgsStory}=storyContext.parameters,sourceParameters=storyContext.parameters.docs?.source||{},type=typeFromProps||sourceParameters.type||docs_tools_dist.PO.AUTO;if(void 0!==sourceParameters.code)return sourceParameters.code;let code=type===docs_tools_dist.PO.DYNAMIC||type===docs_tools_dist.PO.AUTO&&snippet&&isArgsStory?snippet:sourceParameters.originalSource||"";return sourceParameters.transformSource&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block + `),storyContext.parameters.docs?.transformSource&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`The \`transformSource\` parameter at \`parameters.docs.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block + `),storyContext.parameters.jsx?.transformSource&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`The \`transformSource\` parameter at \`parameters.jsx.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block + `),(transformFromProps??sourceParameters.transform??sourceParameters.transformSource??storyContext.parameters.docs?.transformSource??storyContext.parameters.jsx?.transformSource)?.(code,storyContext)||code})({snippet:source.code,storyContext:{...storyContext,args:argsForSource},typeFromProps:props.type,transformFromProps:props.transform})})).join("\n\n"));let state=(stories=>{let states=stories.map((story=>story.parameters.docs?.source?.state)).filter(Boolean);return 0===states.length?"closed":states[0]})(stories);return code?{code,format:format2,language,dark,state}:{error:"Oh no! The source is not available.",state}},getStoryId2=(props,context)=>{let{id,of,meta,story}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(id)return(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`Referencing stories by \`id\` is deprecated, please use \`of\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),id;let{name}=props;return name?((0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`Referencing stories by \`name\` is deprecated, please use \`of\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),context.storyIdByName(name)):(story&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`The \`story\` prop is deprecated, please export your stories from CSF files and reference them with \`of={}\`. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),meta&&context.referenceMeta(meta,!1),context.resolveOf(of||story||"story",["story"]).story.id)},Story2=(props={__forceInitialArgs:!1,__primary:!1})=>{let context=(0,react.useContext)(DocsContext),story=useStory(getStoryId2(props,context),context);if(!story)return react.createElement(StorySkeleton,null);let storyProps=((props,story,context)=>{let{parameters={}}=story||{},{docs={}}=parameters,storyParameters=docs.story||{};if(docs.disable)return null;let{inlineStories,iframeHeight}=docs;typeof inlineStories<"u"&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`The \`docs.inlineStories\` parameter is deprecated, use \`docs.story.inline\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes' + `);let inline=props.inline??storyParameters.inline??inlineStories??!1;if(typeof iframeHeight<"u"&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`The \`docs.iframeHeight\` parameter is deprecated, use \`docs.story.iframeHeight\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes' + `),inline)return{story,inline:!0,height:props.height??storyParameters.height,autoplay:props.autoplay??storyParameters.autoplay??!1,forceInitialArgs:!!props.__forceInitialArgs,primary:!!props.__primary,renderStoryToElement:context.renderStoryToElement};return{story,inline:!1,height:props.height??storyParameters.height??storyParameters.iframeHeight??iframeHeight??"100px",primary:!!props.__primary}})(props,story,context);return storyProps?react.createElement(Story,{...storyProps}):null},Canvas=props=>{let docsContext=(0,react.useContext)(DocsContext),sourceContext=(0,react.useContext)(SourceContext),{children,of,source}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let story,sourceProps,hookError,{isLoading,previewProps}=(({withSource,mdxSource,children,layout:layoutProp,...props},docsContext,sourceContext)=>{let storyIds=react.Children.toArray(children).filter((c=>c.props&&(c.props.id||c.props.name||c.props.of))).map((c=>getStoryId2(c.props,docsContext))),stories=useStories(storyIds,docsContext),isLoading=stories.some((s=>!s)),sourceProps=useSourceProps({...mdxSource?{code:decodeURI(mdxSource)}:{ids:storyIds},...props.of&&{of:props.of}},docsContext,sourceContext);if("none"===withSource)return{isLoading,previewProps:props};let layout=layoutProp;return react.Children.forEach(children,(child=>{layout||(layout=child?.props?.parameters?.layout)})),stories.forEach((story=>{layout||!story||(layout=story?.parameters.layout??story.parameters.docs?.canvas?.layout)})),{isLoading,previewProps:{...props,layout:layout??"padded",withSource:sourceProps,isExpanded:"open"===(withSource||sourceProps.state)}}})(props,docsContext,sourceContext);try{({story}=useOf(of||"story",["story"]))}catch(error){children||(hookError=error)}try{sourceProps=useSourceProps({...source,...of&&{of}},docsContext,sourceContext)}catch(error){children||(hookError=error)}if(hookError)throw hookError;if(props.withSource&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`Setting source state with \`withSource\` is deprecated, please use \`sourceState\` with 'hidden', 'shown' or 'none' instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block + `),props.mdxSource&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`Setting source code with \`mdxSource\` is deprecated, please use source={{code: '...'}} instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block + `),(void 0!==props.isColumn||void 0!==props.columns)&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`\`isColumn\` and \`columns\` props are deprecated as the Canvas block now only supports showing a single story. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block + `),children)return(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`Passing children to Canvas is deprecated, please use the \`of\` prop instead to reference a story. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block + `),isLoading?react.createElement(PreviewSkeleton,null):react.createElement(Preview,{...previewProps},children);let layout=props.layout??story.parameters.layout??story.parameters.docs?.canvas?.layout??"padded",withToolbar=props.withToolbar??story.parameters.docs?.canvas?.withToolbar??!1,additionalActions=props.additionalActions??story.parameters.docs?.canvas?.additionalActions,sourceState=props.sourceState??story.parameters.docs?.canvas?.sourceState??"hidden",className=props.className??story.parameters.docs?.canvas?.className;return react.createElement(Preview,{withSource:"none"===sourceState?void 0:sourceProps,isExpanded:"shown"===sourceState,withToolbar,additionalActions,className,layout},react.createElement(Story2,{of:of||story.moduleExport,meta:props.meta,...props.story}))},useArgsIfDefined=(story,context)=>{let storyContext=story?context.getStoryContext(story):{args:{}},{id:storyId}=story||{id:"none"},[args,setArgs]=(0,react.useState)(storyContext.args);(0,react.useEffect)((()=>{let onArgsUpdated=changed=>{changed.storyId===storyId&&setArgs(changed.args)};return context.channel.on(external_STORYBOOK_MODULE_CORE_EVENTS_.STORY_ARGS_UPDATED,onArgsUpdated),()=>context.channel.off(external_STORYBOOK_MODULE_CORE_EVENTS_.STORY_ARGS_UPDATED,onArgsUpdated)}),[storyId,context.channel]);let updateArgs=(0,react.useCallback)((updatedArgs=>context.channel.emit(external_STORYBOOK_MODULE_CORE_EVENTS_.UPDATE_STORY_ARGS,{storyId,updatedArgs})),[storyId,context.channel]),resetArgs=(0,react.useCallback)((argNames=>context.channel.emit(external_STORYBOOK_MODULE_CORE_EVENTS_.RESET_STORY_ARGS,{storyId,argNames})),[storyId,context.channel]);return story&&[args,updateArgs,resetArgs]},Controls3=props=>{let{of}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let context=(0,react.useContext)(DocsContext),{story}=context.resolveOf(of||"story",["story"]),{parameters,argTypes}=story,controlsParameters=parameters.docs?.controls||{},include=props.include??controlsParameters.include,exclude=props.exclude??controlsParameters.exclude,sort=props.sort??controlsParameters.sort,[args,updateArgs,resetArgs]=((story,context)=>{let result=useArgsIfDefined(story,context);if(!result)throw new Error("No result when story was defined");return result})(story,context),[globals]=((story,context)=>{let storyContext=context.getStoryContext(story),[globals,setGlobals]=(0,react.useState)(storyContext.globals);return(0,react.useEffect)((()=>{let onGlobalsUpdated=changed=>{setGlobals(changed.globals)};return context.channel.on(external_STORYBOOK_MODULE_CORE_EVENTS_.GLOBALS_UPDATED,onGlobalsUpdated),()=>context.channel.off(external_STORYBOOK_MODULE_CORE_EVENTS_.GLOBALS_UPDATED,onGlobalsUpdated)}),[context.channel]),[globals]})(story,context),filteredArgTypes=(0,external_STORYBOOK_MODULE_PREVIEW_API_.filterArgTypes)(argTypes,include,exclude);return react.createElement(ArgsTable,{rows:filteredArgTypes,args,globals,updateArgs,resetArgs,sort})},{document:document2}=global_dist.global,CodeOrSourceMdx=({className,children,...rest})=>{if("string"!=typeof className&&("string"!=typeof children||!children.match(/[\n\r]/g)))return react.createElement(components_dist.EK,null,children);let language=className&&className.split("-");return react.createElement(Source,{language:language&&language[1]||"plaintext",format:!1,code:children,...rest})};function dist_navigate(context,url){context.channel.emit(external_STORYBOOK_MODULE_CORE_EVENTS_.NAVIGATE_URL,url)}var DescriptionType2,dist_A=components_dist.wx.a,AnchorInPage=({hash,children})=>{let context=(0,react.useContext)(DocsContext);return react.createElement(dist_A,{href:hash,target:"_self",onClick:event=>{let id=hash.substring(1);document2.getElementById(id)&&dist_navigate(context,hash)}},children)},AnchorMdx=props=>{let{href,target,children,...rest}=props,context=(0,react.useContext)(DocsContext);if(href){if(href.startsWith("#"))return react.createElement(AnchorInPage,{hash:href},children);if("_blank"!==target&&!href.startsWith("https://"))return react.createElement(dist_A,{href,onClick:event=>{0===event.button&&!event.altKey&&!event.ctrlKey&&!event.metaKey&&!event.shiftKey&&(event.preventDefault(),dist_navigate(context,event.currentTarget.getAttribute("href")))},target,...rest},children)}return react.createElement(dist_A,{...props})},SUPPORTED_MDX_HEADERS=["h1","h2","h3","h4","h5","h6"],OcticonHeaders=SUPPORTED_MDX_HEADERS.reduce(((acc,headerType)=>({...acc,[headerType]:(0,dist.zo)(headerType)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})})),{}),OcticonAnchor=dist.zo.a((()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"}))),HeaderWithOcticonAnchor=({as,id,children,...rest})=>{let context=(0,react.useContext)(DocsContext),OcticonHeader=OcticonHeaders[as],hash=`#${id}`;return react.createElement(OcticonHeader,{id,...rest},react.createElement(OcticonAnchor,{"aria-hidden":"true",href:hash,tabIndex:-1,target:"_self",onClick:event=>{document2.getElementById(id)&&dist_navigate(context,hash)}},react.createElement(components_dist.PJ,{icon:"link"})),children)},HeaderMdx=props=>{let{as,id,children,...rest}=props;if(id)return react.createElement(HeaderWithOcticonAnchor,{as,id,...rest},children);let Component4=as,{as:omittedAs,...withoutAs}=props;return react.createElement(Component4,{...(0,components_dist.mq)(withoutAs,as)})},HeadersMdx=SUPPORTED_MDX_HEADERS.reduce(((acc,headerType)=>({...acc,[headerType]:props=>react.createElement(HeaderMdx,{as:headerType,...props})})),{}),Markdown2=props=>{if(!props.children)return null;if("string"!=typeof props.children)throw new Error(esm.C`The Markdown block only accepts children as a single string, but children were of type: '${typeof props.children}' + This is often caused by not wrapping the child in a template string. + + This is invalid: + + # Some heading + A paragraph + + + Instead do: + + {\` + # Some heading + A paragraph + \`} + + `);return react.createElement(index_modern,{...props,options:{forceBlock:!0,overrides:{code:CodeOrSourceMdx,a:AnchorMdx,...HeadersMdx,...props?.options?.overrides},...props?.options}})},DescriptionType=((DescriptionType2=DescriptionType||{}).INFO="info",DescriptionType2.NOTES="notes",DescriptionType2.DOCGEN="docgen",DescriptionType2.AUTO="auto",DescriptionType2),DEPRECATION_MIGRATION_LINK="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#description-block-parametersnotes-and-parametersinfo",noDescription=component=>null,getDescriptionFromDeprecatedProps=({type,markdown,children},{storyById})=>{let{component,parameters}=storyById();if(children||markdown)return children||markdown;let{notes,info,docs}=parameters;(Boolean(notes)||Boolean(info))&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(`Using 'parameters.notes' or 'parameters.info' properties to describe stories is deprecated. See ${DEPRECATION_MIGRATION_LINK}`);let{extractComponentDescription=noDescription,description}=docs||{},componentDescriptionParameter=description?.component;if(componentDescriptionParameter)return componentDescriptionParameter;switch(type){case"info":return(info=>info&&("string"==typeof info?info:(0,docs_tools_dist.Bd)(info.text)))(info);case"notes":return(notes=>notes&&("string"==typeof notes?notes:(0,docs_tools_dist.Bd)(notes.markdown)||(0,docs_tools_dist.Bd)(notes.text)))(notes);default:return extractComponentDescription(component,{component,...parameters})}},DescriptionContainer=props=>{let{of,type,markdown:markdownProp,children}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let markdown,context=(0,react.useContext)(DocsContext),resolvedOf=useOf(of||"meta");return markdown=type||markdownProp||children?getDescriptionFromDeprecatedProps(props,context):(resolvedOf=>{switch(resolvedOf.type){case"story":return resolvedOf.story.parameters.docs?.description?.story||null;case"meta":{let{parameters,component}=resolvedOf.preparedMeta,metaDescription=parameters.docs?.description?.component;return metaDescription||parameters.docs?.extractComponentDescription?.(component,{component,parameters})||null}case"component":{let{component,projectAnnotations:{parameters}}=resolvedOf;return parameters.docs?.extractComponentDescription?.(component,{component,parameters})||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${resolvedOf.type}`)}})(resolvedOf),type&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(`Manually specifying description type is deprecated. See ${DEPRECATION_MIGRATION_LINK}`),markdownProp&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(`The 'markdown' prop on the Description block is deprecated. See ${DEPRECATION_MIGRATION_LINK}`),children&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(`The 'children' prop on the Description block is deprecated. See ${DEPRECATION_MIGRATION_LINK}`),markdown?react.createElement(Markdown2,null,markdown):null},{document:document3,window:globalWindow3}=global_dist.global,DocsContainer=({context,theme,children})=>((0,react.useEffect)((()=>{let url;try{if(url=new URL(globalWindow3.parent.location.toString()),url.hash){let element=document3.getElementById(url.hash.substring(1));element&&setTimeout((()=>{!function scrollToElement(element,block="start"){element.scrollIntoView({behavior:"smooth",block,inline:"nearest"})}(element)}),200)}}catch{}})),react.createElement(DocsContext.Provider,{value:context},react.createElement(SourceContainer,{channel:context.channel},react.createElement(dist.f6,{theme:(0,dist.zx)(theme)},react.createElement(DocsPageWrapper,null,children))))),STORY_KIND_PATH_SEPARATOR=/\s*\/\s*/,Title2=({children})=>{let context=(0,react.useContext)(DocsContext),content=children||(title=>{let groups=title.trim().split(STORY_KIND_PATH_SEPARATOR);return groups&&groups[groups.length-1]||title})(context.storyById().title);return content?react.createElement(Title,{className:"sbdocs-title sb-unstyled"},content):null},Subtitle2=({children})=>{let docsContext=(0,react.useContext)(DocsContext),{parameters}=docsContext.storyById(),content=children||parameters?.componentSubtitle;return content?react.createElement(Subtitle,{className:"sbdocs-subtitle sb-unstyled"},content):null},Subheading=({children,disableAnchor})=>{if(disableAnchor||"string"!=typeof children)return react.createElement(components_dist.H3,null,children);let tagID=children.toLowerCase().replace(/[^a-z0-9]/gi,"-");return react.createElement(HeaderMdx,{as:"h3",id:tagID},children)},DocsStory=({of,expanded=!0,withToolbar:withToolbarProp=!1,__forceInitialArgs=!1,__primary=!1})=>{let{story}=useOf(of||"story",["story"]),withToolbar=story.parameters.docs?.canvas?.withToolbar??withToolbarProp;return react.createElement(Anchor,{storyId:story.id},expanded&&react.createElement(react.Fragment,null,react.createElement(Subheading,null,story.name),react.createElement(DescriptionContainer,{of})),react.createElement(Canvas,{of,withToolbar,story:{__forceInitialArgs,__primary},source:{__forceInitialArgs}}))},Primary=({name})=>{let docsContext=(0,react.useContext)(DocsContext);name&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)(esm.C`\`name\` prop is deprecated on the Primary block. + The Primary block should only be used to render the primary story, which is automatically found. + `);let storyId=name&&docsContext.storyIdByName(name),story=docsContext.storyById(storyId);return story?react.createElement(DocsStory,{of:story.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},StyledHeading=(0,dist.zo)((({children,disableAnchor,...props})=>{if(disableAnchor||"string"!=typeof children)return react.createElement(components_dist.H2,null,children);let tagID=children.toLowerCase().replace(/[^a-z0-9]/gi,"-");return react.createElement(HeaderMdx,{as:"h2",id:tagID,...props},children)}))((({theme})=>({fontSize:theme.typography.size.s2-1+"px",fontWeight:theme.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:theme.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}}))),Stories=({title,includePrimary=!0})=>{let{componentStories}=(0,react.useContext)(DocsContext),stories=componentStories().filter((story=>!story.parameters?.docs?.disable));return includePrimary||(stories=stories.slice(1)),stories&&0!==stories.length?react.createElement(react.Fragment,null,react.createElement(StyledHeading,null,title),stories.map((story=>story&&react.createElement(DocsStory,{key:story.id,of:story.moduleExport,expanded:!0,__forceInitialArgs:!0})))):null};Stories.defaultProps={title:"Stories"};var DocsPage=()=>{let resolvedOf=useOf("meta",["meta"]),{stories}=resolvedOf.csfFile,isSingleStory=1===Object.keys(stories).length;return react.createElement(react.Fragment,null,react.createElement(Title2,null),react.createElement(Subtitle2,null),react.createElement(DescriptionContainer,{of:"meta"}),isSingleStory?react.createElement(DescriptionContainer,{of:"story"}):null,react.createElement(Primary,null),react.createElement(Controls3,null),isSingleStory?null:react.createElement(Stories,null))},Docs=({docsParameter,context})=>{let Container=docsParameter.container||DocsContainer,Page=docsParameter.page||DocsPage;return react.createElement(Container,{context,theme:docsParameter.theme},react.createElement(Page,null))};var Meta=({of})=>{let context=(0,react.useContext)(DocsContext);of&&context.referenceMeta(of,!0);try{let primary=context.storyById();return react.createElement(Anchor,{storyId:primary.id})}catch{return null}}},"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-E5IOH6B7.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{DG:()=>WithTooltipPure,WA:()=>WithToolTipState,d7:()=>auto});var _chunk_FD4M6EBV_mjs__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-FD4M6EBV.mjs"),_chunk_NNAAFZ4U_mjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-NNAAFZ4U.mjs"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),react_dom__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react-dom/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/index.mjs"),_storybook_theming__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/chunk-4NMOSTKD.mjs"),_storybook_global__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@storybook/global/dist/index.mjs"),memoizerific__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_2__),require_react_fast_compare=(0,_chunk_NNAAFZ4U_mjs__WEBPACK_IMPORTED_MODULE_3__.E)({"../../node_modules/react-fast-compare/index.js"(exports,module){var hasElementType=typeof Element<"u",hasMap="function"==typeof Map,hasSet="function"==typeof Set,hasArrayBuffer="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function equal(a,b){if(a===b)return!0;if(a&&b&&"object"==typeof a&&"object"==typeof b){if(a.constructor!==b.constructor)return!1;var length,i,keys,it;if(Array.isArray(a)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(!equal(a[i],b[i]))return!1;return!0}if(hasMap&&a instanceof Map&&b instanceof Map){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;for(it=a.entries();!(i=it.next()).done;)if(!equal(i.value[1],b.get(i.value[0])))return!1;return!0}if(hasSet&&a instanceof Set&&b instanceof Set){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(b)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(a[i]!==b[i])return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf&&"function"==typeof a.valueOf&&"function"==typeof b.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString&&"function"==typeof a.toString&&"function"==typeof b.toString)return a.toString()===b.toString();if((length=(keys=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return!1;if(hasElementType&&a instanceof Element)return!1;for(i=length;0!=i--;)if(("_owner"!==keys[i]&&"__v"!==keys[i]&&"__o"!==keys[i]||!a.$$typeof)&&!equal(a[keys[i]],b[keys[i]]))return!1;return!0}return a!=a&&b!=b}module.exports=function(a,b){try{return equal(a,b)}catch(error){if((error.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw error}}}}),fromEntries=function(entries){return entries.reduce((function(acc,_ref){var key=_ref[0],value=_ref[1];return acc[key]=value,acc}),{})},useIsomorphicLayoutEffect=typeof window<"u"&&window.document&&window.document.createElement?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect,top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce((function(acc,placement){return acc.concat([placement+"-"+start,placement+"-"+end])}),[]),placements=[].concat(basePlacements,[auto]).reduce((function(acc,placement){return acc.concat([placement,placement+"-"+start,placement+"-"+end])}),[]),modifierPhases=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function getNodeName(element){return element?(element.nodeName||"").toLowerCase():null}function getWindow(node){if(null==node)return window;if("[object Window]"!==node.toString()){var ownerDocument=node.ownerDocument;return ownerDocument&&ownerDocument.defaultView||window}return node}function isElement(node){return node instanceof getWindow(node).Element||node instanceof Element}function isHTMLElement(node){return node instanceof getWindow(node).HTMLElement||node instanceof HTMLElement}function isShadowRoot(node){return!(typeof ShadowRoot>"u")&&(node instanceof getWindow(node).ShadowRoot||node instanceof ShadowRoot)}var applyStyles_default={name:"applyStyles",enabled:!0,phase:"write",fn:function applyStyles(_ref){var state=_ref.state;Object.keys(state.elements).forEach((function(name){var style=state.styles[name]||{},attributes=state.attributes[name]||{},element=state.elements[name];!isHTMLElement(element)||!getNodeName(element)||(Object.assign(element.style,style),Object.keys(attributes).forEach((function(name2){var value=attributes[name2];!1===value?element.removeAttribute(name2):element.setAttribute(name2,!0===value?"":value)})))}))},effect:function effect(_ref2){var state=_ref2.state,initialStyles={popper:{position:state.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(state.elements.popper.style,initialStyles.popper),state.styles=initialStyles,state.elements.arrow&&Object.assign(state.elements.arrow.style,initialStyles.arrow),function(){Object.keys(state.elements).forEach((function(name){var element=state.elements[name],attributes=state.attributes[name]||{},style=Object.keys(state.styles.hasOwnProperty(name)?state.styles[name]:initialStyles[name]).reduce((function(style2,property){return style2[property]="",style2}),{});!isHTMLElement(element)||!getNodeName(element)||(Object.assign(element.style,style),Object.keys(attributes).forEach((function(attribute){element.removeAttribute(attribute)})))}))}},requires:["computeStyles"]};function getBasePlacement(placement){return placement.split("-")[0]}var max=Math.max,min=Math.min,round=Math.round;function getUAString(){var uaData=navigator.userAgentData;return null!=uaData&&uaData.brands&&Array.isArray(uaData.brands)?uaData.brands.map((function(item){return item.brand+"/"+item.version})).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(element,includeScale,isFixedStrategy){void 0===includeScale&&(includeScale=!1),void 0===isFixedStrategy&&(isFixedStrategy=!1);var clientRect=element.getBoundingClientRect(),scaleX=1,scaleY=1;includeScale&&isHTMLElement(element)&&(scaleX=element.offsetWidth>0&&round(clientRect.width)/element.offsetWidth||1,scaleY=element.offsetHeight>0&&round(clientRect.height)/element.offsetHeight||1);var visualViewport=(isElement(element)?getWindow(element):window).visualViewport,addVisualOffsets=!isLayoutViewport()&&isFixedStrategy,x=(clientRect.left+(addVisualOffsets&&visualViewport?visualViewport.offsetLeft:0))/scaleX,y=(clientRect.top+(addVisualOffsets&&visualViewport?visualViewport.offsetTop:0))/scaleY,width=clientRect.width/scaleX,height=clientRect.height/scaleY;return{width,height,top:y,right:x+width,bottom:y+height,left:x,x,y}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width,height}}function contains(parent,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent.isSameNode(next))return!0;next=next.parentNode||next.host}while(next)}return!1}function getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function isTableElement(element){return["table","td","th"].indexOf(getNodeName(element))>=0}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getParentNode(element){return"html"===getNodeName(element)?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function getTrueOffsetParent(element){return isHTMLElement(element)&&"fixed"!==getComputedStyle(element).position?element.offsetParent:null}function getOffsetParent(element){for(var window2=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&"static"===getComputedStyle(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&("html"===getNodeName(offsetParent)||"body"===getNodeName(offsetParent)&&"static"===getComputedStyle(offsetParent).position)?window2:offsetParent||function getContainingBlock(element){var isFirefox=/firefox/i.test(getUAString());if(/Trident/i.test(getUAString())&&isHTMLElement(element)&&"fixed"===getComputedStyle(element).position)return null;var currentNode=getParentNode(element);for(isShadowRoot(currentNode)&&(currentNode=currentNode.host);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle(currentNode);if("none"!==css.transform||"none"!==css.perspective||"paint"===css.contain||-1!==["transform","perspective"].indexOf(css.willChange)||isFirefox&&"filter"===css.willChange||isFirefox&&css.filter&&"none"!==css.filter)return currentNode;currentNode=currentNode.parentNode}return null}(element)||window2}function getMainAxisFromPlacement(placement){return["top","bottom"].indexOf(placement)>=0?"x":"y"}function within(min2,value,max2){return max(min2,min(value,max2))}function mergePaddingObject(paddingObject){return Object.assign({},{top:0,right:0,bottom:0,left:0},paddingObject)}function expandToHashMap(value,keys){return keys.reduce((function(hashMap,key){return hashMap[key]=value,hashMap}),{})}function getVariation(placement){return placement.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(_ref2){var _Object$assign2,popper2=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,variation=_ref2.variation,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,isFixed=_ref2.isFixed,_offsets$x=offsets.x,x=void 0===_offsets$x?0:_offsets$x,_offsets$y=offsets.y,y=void 0===_offsets$y?0:_offsets$y,_ref3="function"==typeof roundOffsets?roundOffsets({x,y}):{x,y};x=_ref3.x,y=_ref3.y;var hasX=offsets.hasOwnProperty("x"),hasY=offsets.hasOwnProperty("y"),sideX=left,sideY=top,win=window;if(adaptive){var offsetParent=getOffsetParent(popper2),heightProp="clientHeight",widthProp="clientWidth";if(offsetParent===getWindow(popper2)&&("static"!==getComputedStyle(offsetParent=getDocumentElement(popper2)).position&&"absolute"===position&&(heightProp="scrollHeight",widthProp="scrollWidth")),placement===top||(placement===left||placement===right)&&variation===end)sideY=bottom,y-=(isFixed&&offsetParent===win&&win.visualViewport?win.visualViewport.height:offsetParent[heightProp])-popperRect.height,y*=gpuAcceleration?1:-1;if(placement===left||(placement===top||placement===bottom)&&variation===end)sideX=right,x-=(isFixed&&offsetParent===win&&win.visualViewport?win.visualViewport.width:offsetParent[widthProp])-popperRect.width,x*=gpuAcceleration?1:-1}var _Object$assign,commonStyles=Object.assign({position},adaptive&&unsetSides),_ref4=!0===roundOffsets?function roundOffsetsByDPR(_ref,win){var x=_ref.x,y=_ref.y,dpr=win.devicePixelRatio||1;return{x:round(x*dpr)/dpr||0,y:round(y*dpr)/dpr||0}}({x,y},getWindow(popper2)):{x,y};return x=_ref4.x,y=_ref4.y,gpuAcceleration?Object.assign({},commonStyles,((_Object$assign={})[sideY]=hasY?"0":"",_Object$assign[sideX]=hasX?"0":"",_Object$assign.transform=(win.devicePixelRatio||1)<=1?"translate("+x+"px, "+y+"px)":"translate3d("+x+"px, "+y+"px, 0)",_Object$assign)):Object.assign({},commonStyles,((_Object$assign2={})[sideY]=hasY?y+"px":"",_Object$assign2[sideX]=hasX?x+"px":"",_Object$assign2.transform="",_Object$assign2))}var passive={passive:!0};var hash={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,(function(matched){return hash[matched]}))}var hash2={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,(function(matched){return hash2[matched]}))}function getWindowScroll(node){var win=getWindow(node);return{scrollLeft:win.pageXOffset,scrollTop:win.pageYOffset}}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function isScrollParent(element){var _getComputedStyle=getComputedStyle(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function getScrollParent(node){return["html","body","#document"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}function listScrollParents(element,list){var _element$ownerDocumen;void 0===list&&(list=[]);var scrollParent=getScrollParent(element),isBody=scrollParent===(null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getClientRectFromMixedType(element,clippingParent,strategy){return clippingParent===viewport?rectToClientRect(function getViewportRect(element,strategy){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;if(visualViewport){width=visualViewport.width,height=visualViewport.height;var layoutViewport=isLayoutViewport();(layoutViewport||!layoutViewport&&"fixed"===strategy)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}return{width,height,x:x+getWindowScrollBarX(element),y}}(element,strategy)):isElement(clippingParent)?function getInnerBoundingClientRect(element,strategy){var rect=getBoundingClientRect(element,!1,"fixed"===strategy);return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}(clippingParent,strategy):rectToClientRect(function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body,width=max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return"rtl"===getComputedStyle(body||html).direction&&(x+=max(html.clientWidth,body?body.clientWidth:0)-width),{width,height,x,y}}(getDocumentElement(element)))}function getClippingRect(element,boundary,rootBoundary,strategy){var mainClippingParents="clippingParents"===boundary?function getClippingParents(element){var clippingParents2=listScrollParents(getParentNode(element)),clipperElement=["absolute","fixed"].indexOf(getComputedStyle(element).position)>=0&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents2.filter((function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&"body"!==getNodeName(clippingParent)})):[]}(element):[].concat(boundary),clippingParents2=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents2[0],clippingRect=clippingParents2.reduce((function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect}),getClientRectFromMixedType(element,firstClippingParent,strategy));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function computeOffsets(_ref){var offsets,reference2=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference2.x+reference2.width/2-element.width/2,commonY=reference2.y+reference2.height/2-element.height/2;switch(basePlacement){case top:offsets={x:commonX,y:reference2.y-element.height};break;case bottom:offsets={x:commonX,y:reference2.y+reference2.height};break;case right:offsets={x:reference2.x+reference2.width,y:commonY};break;case left:offsets={x:reference2.x-element.width,y:commonY};break;default:offsets={x:reference2.x,y:reference2.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(null!=mainAxis){var len="y"===mainAxis?"height":"width";switch(variation){case start:offsets[mainAxis]=offsets[mainAxis]-(reference2[len]/2-element[len]/2);break;case end:offsets[mainAxis]=offsets[mainAxis]+(reference2[len]/2-element[len]/2)}}return offsets}function detectOverflow(state,options){void 0===options&&(options={});var _options=options,_options$placement=_options.placement,placement=void 0===_options$placement?state.placement:_options$placement,_options$strategy=_options.strategy,strategy=void 0===_options$strategy?state.strategy:_options$strategy,_options$boundary=_options.boundary,boundary=void 0===_options$boundary?clippingParents:_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=void 0===_options$rootBoundary?viewport:_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=void 0===_options$elementConte?popper:_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=void 0!==_options$altBoundary&&_options$altBoundary,_options$padding=_options.padding,padding=void 0===_options$padding?0:_options$padding,paddingObject=mergePaddingObject("number"!=typeof padding?padding:expandToHashMap(padding,basePlacements)),altContext=elementContext===popper?reference:popper,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary,strategy),referenceClientRect=getBoundingClientRect(state.elements.reference),popperOffsets2=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:"absolute",placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets2)),elementClientRect=elementContext===popper?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if(elementContext===popper&&offsetData){var offset2=offsetData[placement];Object.keys(overflowOffsets).forEach((function(key){var multiply=[right,bottom].indexOf(key)>=0?1:-1,axis=[top,bottom].indexOf(key)>=0?"y":"x";overflowOffsets[key]+=offset2[axis]*multiply}))}return overflowOffsets}function getSideOffsets(overflow,rect,preventedOffsets){return void 0===preventedOffsets&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[top,right,bottom,left].some((function(side){return overflow[side]>=0}))}function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){void 0===isFixed&&(isFixed=!1);var isOffsetParentAnElement=isHTMLElement(offsetParent),offsetParentIsScaled=isHTMLElement(offsetParent)&&function isElementScaled(element){var rect=element.getBoundingClientRect(),scaleX=round(rect.width)/element.offsetWidth||1,scaleY=round(rect.height)/element.offsetHeight||1;return 1!==scaleX||1!==scaleY}(offsetParent),documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement,offsetParentIsScaled,isFixed),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&(("body"!==getNodeName(offsetParent)||isScrollParent(documentElement))&&(scroll=function getNodeScroll(node){return node!==getWindow(node)&&isHTMLElement(node)?function getHTMLElementScroll(element){return{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}(node):getWindowScroll(node)}(offsetParent)),isHTMLElement(offsetParent)?((offsets=getBoundingClientRect(offsetParent,!0)).x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function order(modifiers){var map=new Map,visited=new Set,result=[];function sort(modifier){visited.add(modifier.name),[].concat(modifier.requires||[],modifier.requiresIfExists||[]).forEach((function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier)}})),result.push(modifier)}return modifiers.forEach((function(modifier){map.set(modifier.name,modifier)})),modifiers.forEach((function(modifier){visited.has(modifier.name)||sort(modifier)})),result}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some((function(element){return!(element&&"function"==typeof element.getBoundingClientRect)}))}var createPopper=function popperGenerator(generatorOptions){void 0===generatorOptions&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers2=void 0===_generatorOptions$def?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=void 0===_generatorOptions$def2?DEFAULT_OPTIONS:_generatorOptions$def2;return function(reference2,popper2,options){void 0===options&&(options=defaultOptions);var fn2,pending,state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference2,popper:popper2},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state,setOptions:function(setOptionsAction){var options2="function"==typeof setOptionsAction?setOptionsAction(state.options):setOptionsAction;cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options2),state.scrollParents={reference:isElement(reference2)?listScrollParents(reference2):reference2.contextElement?listScrollParents(reference2.contextElement):[],popper:listScrollParents(popper2)};var orderedModifiers=function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return modifierPhases.reduce((function(acc,phase){return acc.concat(orderedModifiers.filter((function(modifier){return modifier.phase===phase})))}),[])}(function mergeByName(modifiers){var merged=modifiers.reduce((function(merged2,current){var existing=merged2[current.name];return merged2[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged2}),{});return Object.keys(merged).map((function(key){return merged[key]}))}([].concat(defaultModifiers2,state.options.modifiers)));return state.orderedModifiers=orderedModifiers.filter((function(m){return m.enabled})),function runModifierEffects(){state.orderedModifiers.forEach((function(_ref3){var name=_ref3.name,_ref3$options=_ref3.options,options2=void 0===_ref3$options?{}:_ref3$options,effect4=_ref3.effect;if("function"==typeof effect4){var cleanupFn=effect4({state,name,instance,options:options2}),noopFn=function(){};effectCleanupFns.push(cleanupFn||noopFn)}}))}(),instance.update()},forceUpdate:function(){if(!isDestroyed){var _state$elements=state.elements,reference3=_state$elements.reference,popper3=_state$elements.popper;if(!areValidElements(reference3,popper3))return;state.rects={reference:getCompositeRect(reference3,getOffsetParent(popper3),"fixed"===state.options.strategy),popper:getLayoutRect(popper3)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach((function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)}));for(var index=0;index=0?-1:1,_ref="function"==typeof offset2?offset2(Object.assign({},rects,{placement})):offset2,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[left,right].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}(placement,state.rects,offset2),acc}),{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;null!=state.modifiersData.popperOffsets&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data}},{name:"flip",enabled:!0,phase:"main",fn:function flip(_ref){var state=_ref.state,options=_ref.options,name=_ref.name;if(!state.modifiersData[name]._skip){for(var _options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0===_options$altAxis||_options$altAxis,specifiedFallbackPlacements=options.fallbackPlacements,padding=options.padding,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,_options$flipVariatio=options.flipVariations,flipVariations=void 0===_options$flipVariatio||_options$flipVariatio,allowedAutoPlacements=options.allowedAutoPlacements,preferredPlacement=state.options.placement,basePlacement=getBasePlacement(preferredPlacement),fallbackPlacements=specifiedFallbackPlacements||(basePlacement===preferredPlacement||!flipVariations?[getOppositePlacement(preferredPlacement)]:function getExpandedFallbackPlacements(placement){if(getBasePlacement(placement)===auto)return[];var oppositePlacement=getOppositePlacement(placement);return[getOppositeVariationPlacement(placement),oppositePlacement,getOppositeVariationPlacement(oppositePlacement)]}(preferredPlacement)),placements2=[preferredPlacement].concat(fallbackPlacements).reduce((function(acc,placement2){return acc.concat(getBasePlacement(placement2)===auto?function computeAutoPlacement(state,options){void 0===options&&(options={});var _options=options,placement=_options.placement,boundary=_options.boundary,rootBoundary=_options.rootBoundary,padding=_options.padding,flipVariations=_options.flipVariations,_options$allowedAutoP=_options.allowedAutoPlacements,allowedAutoPlacements=void 0===_options$allowedAutoP?placements:_options$allowedAutoP,variation=getVariation(placement),placements2=variation?flipVariations?variationPlacements:variationPlacements.filter((function(placement2){return getVariation(placement2)===variation})):basePlacements,allowedPlacements=placements2.filter((function(placement2){return allowedAutoPlacements.indexOf(placement2)>=0}));0===allowedPlacements.length&&(allowedPlacements=placements2);var overflows=allowedPlacements.reduce((function(acc,placement2){return acc[placement2]=detectOverflow(state,{placement:placement2,boundary,rootBoundary,padding})[getBasePlacement(placement2)],acc}),{});return Object.keys(overflows).sort((function(a,b){return overflows[a]-overflows[b]}))}(state,{placement:placement2,boundary,rootBoundary,padding,flipVariations,allowedAutoPlacements}):placement2)}),[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements2[0],i=0;i=0,len=isVertical?"width":"height",overflow=detectOverflow(state,{placement,boundary,rootBoundary,altBoundary,padding}),mainVariationSide=isVertical?isStartVariation?right:left:isStartVariation?bottom:top;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every((function(check){return check}))){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks)}if(makeFallbackChecks)for(var _loop=function(_i2){var fittingPlacement=placements2.find((function(placement2){var checks2=checksMap.get(placement2);if(checks2)return checks2.slice(0,_i2).every((function(check){return check}))}));if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"},_i=flipVariations?3:1;_i>0;_i--){if("break"===_loop(_i))break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0!==_options$altAxis&&_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=void 0===_options$tether||_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=void 0===_options$tetherOffset?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary,rootBoundary,padding,altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=function getAltAxis(axis){return"x"===axis?"y":"x"}(mainAxis),popperOffsets2=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue="function"==typeof tetherOffset?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,normalizedTetherOffsetValue="number"==typeof tetherOffsetValue?{mainAxis:tetherOffsetValue,altAxis:tetherOffsetValue}:Object.assign({mainAxis:0,altAxis:0},tetherOffsetValue),offsetModifierState=state.modifiersData.offset?state.modifiersData.offset[state.placement]:null,data={x:0,y:0};if(popperOffsets2){if(checkMainAxis){var _offsetModifierState$,mainSide="y"===mainAxis?top:left,altSide="y"===mainAxis?bottom:right,len="y"===mainAxis?"height":"width",offset2=popperOffsets2[mainAxis],min2=offset2+overflow[mainSide],max2=offset2-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen=variation===start?referenceRect[len]:popperRect[len],maxLen=variation===start?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis:minLen-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis:maxLen+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?"y"===mainAxis?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=null!=(_offsetModifierState$=offsetModifierState?.[mainAxis])?_offsetModifierState$:0,tetherMax=offset2+maxOffset-offsetModifierValue,preventedOffset=within(tether?min(min2,offset2+minOffset-offsetModifierValue-clientOffset):min2,offset2,tether?max(max2,tetherMax):max2);popperOffsets2[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset2}if(checkAltAxis){var _offsetModifierState$2,_mainSide="x"===mainAxis?top:left,_altSide="x"===mainAxis?bottom:right,_offset=popperOffsets2[altAxis],_len="y"===altAxis?"height":"width",_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],isOriginSide=-1!==[top,left].indexOf(basePlacement),_offsetModifierValue=null!=(_offsetModifierState$2=offsetModifierState?.[altAxis])?_offsetModifierState$2:0,_tetherMin=isOriginSide?_min:_offset-referenceRect[_len]-popperRect[_len]-_offsetModifierValue+normalizedTetherOffsetValue.altAxis,_tetherMax=isOriginSide?_offset+referenceRect[_len]+popperRect[_len]-_offsetModifierValue-normalizedTetherOffsetValue.altAxis:_max,_preventedOffset=tether&&isOriginSide?function withinMaxClamp(min2,value,max2){var v=within(min2,value,max2);return v>max2?max2:v}(_tetherMin,_offset,_tetherMax):within(tether?_tetherMin:_min,_offset,tether?_tetherMax:_max);popperOffsets2[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset}state.modifiersData[name]=data}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets2=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),len=[left,right].indexOf(basePlacement)>=0?"height":"width";if(arrowElement&&popperOffsets2){var paddingObject=function(padding,state){return mergePaddingObject("number"!=typeof(padding="function"==typeof padding?padding(Object.assign({},state.rects,{placement:state.placement})):padding)?padding:expandToHashMap(padding,basePlacements))}(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp="y"===axis?top:left,maxProp="y"===axis?bottom:right,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets2[axis]-state.rects.popper[len],startDiff=popperOffsets2[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?"y"===axis?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min2=paddingObject[minProp],max2=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset2=within(min2,center,max2),axisProp=axis;state.modifiersData[name]=((_state$modifiersData$={})[axisProp]=offset2,_state$modifiersData$.centerOffset=offset2-center,_state$modifiersData$)}},effect:function effect2(_ref2){var state=_ref2.state,_options$element=_ref2.options.element,arrowElement=void 0===_options$element?"[data-popper-arrow]":_options$element;if(null!=arrowElement&&("string"!=typeof arrowElement||(arrowElement=state.elements.popper.querySelector(arrowElement)))){if(!contains(state.elements.popper,arrowElement))return;state.elements.arrow=arrowElement}},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets,popperEscapeOffsets,isReferenceHidden,hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":isReferenceHidden,"data-popper-escaped":hasPopperEscaped})}}]}),import_react_fast_compare=(0,_chunk_NNAAFZ4U_mjs__WEBPACK_IMPORTED_MODULE_3__.v)(require_react_fast_compare()),EMPTY_MODIFIERS=[];function useGetLatest(val){var ref=react__WEBPACK_IMPORTED_MODULE_0__.useRef(val);return ref.current=val,react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(){return ref.current}),[])}var noop=function(){};function generateBoundingClientRect(x,y){return void 0===x&&(x=0),void 0===y&&(y=0),function(){return{width:0,height:0,top:y,right:x,bottom:y,left:x,x:0,y:0,toJSON:function(){return null}}}}var _excluded=["styles","attributes"],virtualElement={getBoundingClientRect:generateBoundingClientRect()},defaultConfig={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"};function usePopperTooltip(config,popperOptions){var _popperProps$state,_popperProps$state$mo,_popperProps$state$mo2;void 0===config&&(config={}),void 0===popperOptions&&(popperOptions={});var finalConfig=Object.keys(defaultConfig).reduce((function(config2,key){var _extends2;return(0,_chunk_FD4M6EBV_mjs__WEBPACK_IMPORTED_MODULE_4__.j)({},config2,((_extends2={})[key]=void 0!==config2[key]?config2[key]:defaultConfig[key],_extends2))}),config),defaultModifiers2=react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return[{name:"offset",options:{offset:finalConfig.offset}}]}),Array.isArray(finalConfig.offset)?finalConfig.offset:[]),finalPopperOptions=(0,_chunk_FD4M6EBV_mjs__WEBPACK_IMPORTED_MODULE_4__.j)({},popperOptions,{placement:popperOptions.placement||finalConfig.placement,modifiers:popperOptions.modifiers||defaultModifiers2}),_React$useState=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),triggerRef=_React$useState[0],setTriggerRef=_React$useState[1],_React$useState2=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),tooltipRef=_React$useState2[0],setTooltipRef=_React$useState2[1],_useControlledState=function useControlledState(_ref){var initial=_ref.initial,value=_ref.value,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?noop:_ref$onChange;if(void 0===initial&&void 0===value)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var _React$useState=react__WEBPACK_IMPORTED_MODULE_0__.useState(initial),state=_React$useState[0],setState=_React$useState[1],getLatest=useGetLatest(state),set=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(updater){var state2=getLatest(),updatedState="function"==typeof updater?updater(state2):updater;"function"==typeof updatedState.persist&&updatedState.persist(),setState(updatedState),"function"==typeof onChange&&onChange(updatedState)}),[getLatest,onChange]),isControlled=void 0!==value;return[isControlled?value:state,isControlled?onChange:set]}({initial:finalConfig.defaultVisible,value:finalConfig.visible,onChange:finalConfig.onVisibleChange}),visible=_useControlledState[0],setVisible=_useControlledState[1],timer=react__WEBPACK_IMPORTED_MODULE_0__.useRef();react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){return function(){return clearTimeout(timer.current)}}),[]);var _usePopper=function(referenceElement,popperElement,options){void 0===options&&(options={});var prevOptions=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),optionsWithDefaults={onFirstUpdate:options.onFirstUpdate,placement:options.placement||"bottom",strategy:options.strategy||"absolute",modifiers:options.modifiers||EMPTY_MODIFIERS},_React$useState=react__WEBPACK_IMPORTED_MODULE_0__.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1],updateStateModifier=react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(_ref){var state2=_ref.state,elements=Object.keys(state2.elements);react_dom__WEBPACK_IMPORTED_MODULE_1__.flushSync((function(){setState({styles:fromEntries(elements.map((function(element){return[element,state2.styles[element]||{}]}))),attributes:fromEntries(elements.map((function(element){return[element,state2.attributes[element]]})))})}))},requires:["computeStyles"]}}),[]),popperOptions=react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:"applyStyles",enabled:!1}])};return(0,import_react_fast_compare.default)(prevOptions.current,newOptions)?prevOptions.current||newOptions:(prevOptions.current=newOptions,newOptions)}),[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]),popperInstanceRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef();return useIsomorphicLayoutEffect((function(){popperInstanceRef.current&&popperInstanceRef.current.setOptions(popperOptions)}),[popperOptions]),useIsomorphicLayoutEffect((function(){if(null!=referenceElement&&null!=popperElement){var popperInstance=(options.createPopper||createPopper)(referenceElement,popperElement,popperOptions);return popperInstanceRef.current=popperInstance,function(){popperInstance.destroy(),popperInstanceRef.current=null}}}),[referenceElement,popperElement,options.createPopper]),{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}}(finalConfig.followCursor?virtualElement:triggerRef,tooltipRef,finalPopperOptions),styles=_usePopper.styles,attributes=_usePopper.attributes,popperProps=(0,_chunk_FD4M6EBV_mjs__WEBPACK_IMPORTED_MODULE_4__.B)(_usePopper,_excluded),update=popperProps.update,getLatest=useGetLatest({visible,triggerRef,tooltipRef,finalConfig}),isTriggeredBy=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(trigger){return Array.isArray(finalConfig.trigger)?finalConfig.trigger.includes(trigger):finalConfig.trigger===trigger}),Array.isArray(finalConfig.trigger)?finalConfig.trigger:[finalConfig.trigger]),hideTooltip=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(){clearTimeout(timer.current),timer.current=window.setTimeout((function(){return setVisible(!1)}),finalConfig.delayHide)}),[finalConfig.delayHide,setVisible]),showTooltip=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(){clearTimeout(timer.current),timer.current=window.setTimeout((function(){return setVisible(!0)}),finalConfig.delayShow)}),[finalConfig.delayShow,setVisible]),toggleTooltip=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(){getLatest().visible?hideTooltip():showTooltip()}),[getLatest,hideTooltip,showTooltip]);react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(getLatest().finalConfig.closeOnOutsideClick){var handleClickOutside=function(event){var _event$composedPath,_getLatest=getLatest(),tooltipRef2=_getLatest.tooltipRef,triggerRef2=_getLatest.triggerRef,target=(null==event.composedPath||null==(_event$composedPath=event.composedPath())?void 0:_event$composedPath[0])||event.target;target instanceof Node&&null!=tooltipRef2&&null!=triggerRef2&&!tooltipRef2.contains(target)&&!triggerRef2.contains(target)&&hideTooltip()};return document.addEventListener("mousedown",handleClickOutside),function(){return document.removeEventListener("mousedown",handleClickOutside)}}}),[getLatest,hideTooltip]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=triggerRef&&isTriggeredBy("click"))return triggerRef.addEventListener("click",toggleTooltip),function(){return triggerRef.removeEventListener("click",toggleTooltip)}}),[triggerRef,isTriggeredBy,toggleTooltip]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=triggerRef&&isTriggeredBy("double-click"))return triggerRef.addEventListener("dblclick",toggleTooltip),function(){return triggerRef.removeEventListener("dblclick",toggleTooltip)}}),[triggerRef,isTriggeredBy,toggleTooltip]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=triggerRef&&isTriggeredBy("right-click")){var preventDefaultAndToggle=function(event){event.preventDefault(),toggleTooltip()};return triggerRef.addEventListener("contextmenu",preventDefaultAndToggle),function(){return triggerRef.removeEventListener("contextmenu",preventDefaultAndToggle)}}}),[triggerRef,isTriggeredBy,toggleTooltip]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=triggerRef&&isTriggeredBy("focus"))return triggerRef.addEventListener("focus",showTooltip),triggerRef.addEventListener("blur",hideTooltip),function(){triggerRef.removeEventListener("focus",showTooltip),triggerRef.removeEventListener("blur",hideTooltip)}}),[triggerRef,isTriggeredBy,showTooltip,hideTooltip]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=triggerRef&&isTriggeredBy("hover"))return triggerRef.addEventListener("mouseenter",showTooltip),triggerRef.addEventListener("mouseleave",hideTooltip),function(){triggerRef.removeEventListener("mouseenter",showTooltip),triggerRef.removeEventListener("mouseleave",hideTooltip)}}),[triggerRef,isTriggeredBy,showTooltip,hideTooltip]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=tooltipRef&&isTriggeredBy("hover")&&getLatest().finalConfig.interactive)return tooltipRef.addEventListener("mouseenter",showTooltip),tooltipRef.addEventListener("mouseleave",hideTooltip),function(){tooltipRef.removeEventListener("mouseenter",showTooltip),tooltipRef.removeEventListener("mouseleave",hideTooltip)}}),[tooltipRef,isTriggeredBy,showTooltip,hideTooltip,getLatest]);var isReferenceHidden=null==popperProps||null==(_popperProps$state=popperProps.state)||null==(_popperProps$state$mo=_popperProps$state.modifiersData)||null==(_popperProps$state$mo2=_popperProps$state$mo.hide)?void 0:_popperProps$state$mo2.isReferenceHidden;react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){finalConfig.closeOnTriggerHidden&&isReferenceHidden&&hideTooltip()}),[finalConfig.closeOnTriggerHidden,hideTooltip,isReferenceHidden]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(finalConfig.followCursor&&null!=triggerRef)return triggerRef.addEventListener("mousemove",setMousePosition),function(){return triggerRef.removeEventListener("mousemove",setMousePosition)};function setMousePosition(_ref){var clientX=_ref.clientX,clientY=_ref.clientY;virtualElement.getBoundingClientRect=generateBoundingClientRect(clientX,clientY),update?.()}}),[finalConfig.followCursor,triggerRef,update]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=tooltipRef&&null!=update&&null!=finalConfig.mutationObserverOptions){var observer=new MutationObserver(update);return observer.observe(tooltipRef,finalConfig.mutationObserverOptions),function(){return observer.disconnect()}}}),[finalConfig.mutationObserverOptions,tooltipRef,update]);return(0,_chunk_FD4M6EBV_mjs__WEBPACK_IMPORTED_MODULE_4__.j)({getArrowProps:function(args){return void 0===args&&(args={}),(0,_chunk_FD4M6EBV_mjs__WEBPACK_IMPORTED_MODULE_4__.j)({},args,attributes.arrow,{style:(0,_chunk_FD4M6EBV_mjs__WEBPACK_IMPORTED_MODULE_4__.j)({},args.style,styles.arrow),"data-popper-arrow":!0})},getTooltipProps:function(args){return void 0===args&&(args={}),(0,_chunk_FD4M6EBV_mjs__WEBPACK_IMPORTED_MODULE_4__.j)({},args,{style:(0,_chunk_FD4M6EBV_mjs__WEBPACK_IMPORTED_MODULE_4__.j)({},args.style,styles.popper)},attributes.popper,{"data-popper-interactive":finalConfig.interactive})},setTooltipRef,setTriggerRef,tooltipRef,triggerRef,visible},popperProps)}var match=memoizerific__WEBPACK_IMPORTED_MODULE_2___default()(1e3)(((requests,actual,value,fallback=0)=>actual.split("-")[0]===requests?value:fallback)),Arrow=_storybook_theming__WEBPACK_IMPORTED_MODULE_5__.zo.div({position:"absolute",borderStyle:"solid"},(({placement})=>{let x=0,y=0;switch(!0){case placement.startsWith("left")||placement.startsWith("right"):y=8;break;case placement.startsWith("top")||placement.startsWith("bottom"):x=8}return{transform:`translate3d(${x}px, ${y}px, 0px)`}}),(({theme,color,placement})=>({bottom:`${match("top",placement,"-8px","auto")}`,top:`${match("bottom",placement,"-8px","auto")}`,right:`${match("left",placement,"-8px","auto")}`,left:`${match("right",placement,"-8px","auto")}`,borderBottomWidth:`${match("top",placement,"0",8)}px`,borderTopWidth:`${match("bottom",placement,"0",8)}px`,borderRightWidth:`${match("left",placement,"0",8)}px`,borderLeftWidth:`${match("right",placement,"0",8)}px`,borderTopColor:match("top",placement,theme.color[color]||color||"light"===theme.base?(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_6__.tG)(theme.background.app):theme.background.app,"transparent"),borderBottomColor:match("bottom",placement,theme.color[color]||color||"light"===theme.base?(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_6__.tG)(theme.background.app):theme.background.app,"transparent"),borderLeftColor:match("left",placement,theme.color[color]||color||"light"===theme.base?(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_6__.tG)(theme.background.app):theme.background.app,"transparent"),borderRightColor:match("right",placement,theme.color[color]||color||"light"===theme.base?(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_6__.tG)(theme.background.app):theme.background.app,"transparent")}))),Wrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_5__.zo.div((({hidden})=>({display:hidden?"none":"inline-block",zIndex:2147483647})),(({theme,color,hasChrome})=>hasChrome?{background:theme.color[color]||color||"light"===theme.base?(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_6__.tG)(theme.background.app):theme.background.app,filter:"\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n ",borderRadius:theme.appBorderRadius,fontSize:theme.typography.size.s1}:{})),Tooltip=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({placement,hasChrome,children,arrowProps,tooltipRef,color,withArrows,...props},ref)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wrapper,{"data-testid":"tooltip",hasChrome,ref,...props,color},hasChrome&&withArrows&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(Arrow,{placement,...arrowProps,color}),children)));Tooltip.displayName="Tooltip",Tooltip.defaultProps={color:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var{document:document2}=_storybook_global__WEBPACK_IMPORTED_MODULE_7__.global,TargetContainer=_storybook_theming__WEBPACK_IMPORTED_MODULE_5__.zo.div` + display: inline-block; + cursor: ${props=>"hover"===props.trigger||props.trigger.includes("hover")?"default":"pointer"}; +`,TargetSvgContainer=_storybook_theming__WEBPACK_IMPORTED_MODULE_5__.zo.g` + cursor: ${props=>"hover"===props.trigger||props.trigger.includes("hover")?"default":"pointer"}; +`,WithTooltipPure=({svg,trigger,closeOnOutsideClick,placement,hasChrome,withArrows,offset:offset2,tooltip,children,closeOnTriggerHidden,mutationObserverOptions,closeOnClick,tooltipShown,onVisibilityChange,defaultVisible,delayHide,visible,interactive,delayShow,modifiers,strategy,followCursor,onVisibleChange,...props})=>{let Container=svg?TargetSvgContainer:TargetContainer,{getArrowProps,getTooltipProps,setTooltipRef,setTriggerRef,visible:isVisible,state}=usePopperTooltip({trigger,placement,defaultVisible:defaultVisible??tooltipShown,delayHide,interactive,closeOnOutsideClick:closeOnOutsideClick??closeOnClick,closeOnTriggerHidden,onVisibleChange:_isVisible=>{onVisibilityChange?.(_isVisible),onVisibleChange?.(_isVisible)},delayShow,followCursor,mutationObserverOptions,visible,offset:offset2},{modifiers,strategy}),tooltipComponent=react__WEBPACK_IMPORTED_MODULE_0__.createElement(Tooltip,{placement:state?.placement,ref:setTooltipRef,hasChrome,arrowProps:getArrowProps(),withArrows,...getTooltipProps()},"function"==typeof tooltip?tooltip({onHide:()=>onVisibleChange(!1)}):tooltip);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(Container,{trigger,ref:setTriggerRef,...props},children),isVisible&&react_dom__WEBPACK_IMPORTED_MODULE_1__.createPortal(tooltipComponent,document2.body))};WithTooltipPure.defaultProps={svg:!1,trigger:"click",closeOnOutsideClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,defaultVisible:!1};var WithToolTipState=({startOpen=!1,onVisibleChange:onChange,...rest})=>{let[tooltipShown,setTooltipShown]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(startOpen),onVisibilityChange=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((visibility=>{onChange&&!1===onChange(visibility)||setTooltipShown(visibility)}),[onChange]);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{let hide2=()=>onVisibilityChange(!1);document2.addEventListener("keydown",hide2,!1);let iframes=Array.from(document2.getElementsByTagName("iframe")),unbinders=[];return iframes.forEach((iframe=>{let bind=()=>{try{iframe.contentWindow.document&&(iframe.contentWindow.document.addEventListener("click",hide2),unbinders.push((()=>{try{iframe.contentWindow.document.removeEventListener("click",hide2)}catch{}})))}catch{}};bind(),iframe.addEventListener("load",bind),unbinders.push((()=>{iframe.removeEventListener("load",bind)}))})),()=>{document2.removeEventListener("keydown",hide2),unbinders.forEach((unbind=>{unbind()}))}})),react__WEBPACK_IMPORTED_MODULE_0__.createElement(WithTooltipPure,{...rest,visible:tooltipShown,onVisibleChange:onVisibilityChange})}},"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-FD4M6EBV.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0)&&(target[key]=source[key]);return target}__webpack_require__.d(__webpack_exports__,{B:()=>_objectWithoutPropertiesLoose,j:()=>_extends})},"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-NNAAFZ4U.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{E:()=>__commonJS,v:()=>__toESM});var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod))},"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-RDJSMFWU.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ol:()=>ActionBar,xr:()=>ScrollArea,d3:()=>SyntaxHighlighter2,xV:()=>createCopyToClipboardFunction,qG:()=>syntaxhighlighter_default});var chunk_FD4M6EBV=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-FD4M6EBV.mjs"),chunk_NNAAFZ4U=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-NNAAFZ4U.mjs"),require_markdown=(0,chunk_NNAAFZ4U.E)({"../../node_modules/refractor/lang/markdown.js"(exports,module){function markdown(Prism){!function(Prism2){var inner=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function createInline(pattern){return pattern=pattern.replace(//g,(function(){return inner})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+pattern+")")}var tableCell=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,tableRow=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return tableCell})),tableLine=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;Prism2.languages.markdown=Prism2.languages.extend("markup",{}),Prism2.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:Prism2.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+tableRow+tableLine+"(?:"+tableRow+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+tableRow+tableLine+")(?:"+tableRow+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(tableCell),inside:Prism2.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+tableRow+")"+tableLine+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+tableRow+"$"),inside:{"table-header":{pattern:RegExp(tableCell),alias:"important",inside:Prism2.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:createInline(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:createInline(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:createInline(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:createInline(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(token){["url","bold","italic","strike","code-snippet"].forEach((function(inside){token!==inside&&(Prism2.languages.markdown[token].inside.content.inside[inside]=Prism2.languages.markdown[inside])}))})),Prism2.hooks.add("after-tokenize",(function(env){"markdown"!==env.language&&"md"!==env.language||function walkTokens(tokens){if(tokens&&"string"!=typeof tokens)for(var i=0,l=tokens.length;i",quot:'"'},fromCodePoint=String.fromCodePoint||String.fromCharCode;Prism2.languages.md=Prism2.languages.markdown}(Prism)}module.exports=markdown,markdown.displayName="markdown",markdown.aliases=["md"]}}),require_yaml=(0,chunk_NNAAFZ4U.E)({"../../node_modules/refractor/lang/yaml.js"(exports,module){function yaml(Prism){!function(Prism2){var anchorOrAlias=/[*&][^\s[\]{},]+/,tag=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,properties="(?:"+tag.source+"(?:[ \t]+"+anchorOrAlias.source+")?|"+anchorOrAlias.source+"(?:[ \t]+"+tag.source+")?)",plainKey=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),string=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function createValuePattern(value,flags){flags=(flags||"").replace(/m/g,"")+"m";var pattern=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return value}));return RegExp(pattern,flags)}Prism2.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return properties}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return"(?:"+plainKey+"|"+string+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:createValuePattern(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:createValuePattern(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:createValuePattern(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:createValuePattern(string),lookbehind:!0,greedy:!0},number:{pattern:createValuePattern(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag,important:anchorOrAlias,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism2.languages.yml=Prism2.languages.yaml}(Prism)}module.exports=yaml,yaml.displayName="yaml",yaml.aliases=["yml"]}}),require_typescript=(0,chunk_NNAAFZ4U.E)({"../../node_modules/refractor/lang/typescript.js"(exports,module){function typescript(Prism){!function(Prism2){Prism2.languages.typescript=Prism2.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),Prism2.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete Prism2.languages.typescript.parameter,delete Prism2.languages.typescript["literal-property"];var typeInside=Prism2.languages.extend("typescript",{});delete typeInside["class-name"],Prism2.languages.typescript["class-name"].inside=typeInside,Prism2.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism2.languages.ts=Prism2.languages.typescript}(Prism)}module.exports=typescript,typescript.displayName="typescript",typescript.aliases=["ts"]}}),require_jsx=(0,chunk_NNAAFZ4U.E)({"../../node_modules/refractor/lang/jsx.js"(exports,module){function jsx(Prism){!function(Prism2){var javascript=Prism2.util.clone(Prism2.languages.javascript),space=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,braces=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,spread=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function re(source,flags){return source=source.replace(//g,(function(){return space})).replace(//g,(function(){return braces})).replace(//g,(function(){return spread})),RegExp(source,flags)}spread=re(spread).source,Prism2.languages.jsx=Prism2.languages.extend("markup",javascript),Prism2.languages.jsx.tag.pattern=re(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),Prism2.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,Prism2.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,Prism2.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism2.languages.jsx.tag.inside.comment=javascript.comment,Prism2.languages.insertBefore("inside","attr-name",{spread:{pattern:re(//.source),inside:Prism2.languages.jsx}},Prism2.languages.jsx.tag),Prism2.languages.insertBefore("inside","special-attr",{script:{pattern:re(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:Prism2.languages.jsx}}},Prism2.languages.jsx.tag);var stringifyToken=function(token){return token?"string"==typeof token?token:"string"==typeof token.content?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function(tokens){for(var openedTags=[],i=0;i0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():"/>"===token.content[token.content.length-1].content||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&"punctuation"===token.type&&"{"===token.content?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&"punctuation"===token.type&&"}"===token.content?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||"string"==typeof token)&&openedTags.length>0&&0===openedTags[openedTags.length-1].openedBraces){var plainText=stringifyToken(token);i0&&("string"==typeof tokens[i-1]||"plain-text"===tokens[i-1].type)&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism2.Token("plain-text",plainText,null,plainText)}token.content&&"string"!=typeof token.content&&walkTokens(token.content)}};Prism2.hooks.add("after-tokenize",(function(env){"jsx"!==env.language&&"tsx"!==env.language||walkTokens(env.tokens)}))}(Prism)}module.exports=jsx,jsx.displayName="jsx",jsx.aliases=[]}}),require_tsx=(0,chunk_NNAAFZ4U.E)({"../../node_modules/refractor/lang/tsx.js"(exports,module){var refractorJsx=require_jsx(),refractorTypescript=require_typescript();function tsx(Prism){Prism.register(refractorJsx),Prism.register(refractorTypescript),function(Prism2){var typescript=Prism2.util.clone(Prism2.languages.typescript);Prism2.languages.tsx=Prism2.languages.extend("jsx",typescript),delete Prism2.languages.tsx.parameter,delete Prism2.languages.tsx["literal-property"];var tag=Prism2.languages.tsx.tag;tag.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+tag.pattern.source+")",tag.pattern.flags),tag.lookbehind=!0}(Prism)}module.exports=tsx,tsx.displayName="tsx",tsx.aliases=[]}}),require_clike=(0,chunk_NNAAFZ4U.E)({"../../node_modules/refractor/lang/clike.js"(exports,module){function clike(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}module.exports=clike,clike.displayName="clike",clike.aliases=[]}}),require_javascript=(0,chunk_NNAAFZ4U.E)({"../../node_modules/refractor/lang/javascript.js"(exports,module){function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript}module.exports=javascript,javascript.displayName="javascript",javascript.aliases=["js"]}}),require_css=(0,chunk_NNAAFZ4U.E)({"../../node_modules/refractor/lang/css.js"(exports,module){function css(Prism){!function(Prism2){var string=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;Prism2.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+string.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:string,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},Prism2.languages.css.atrule.inside.rest=Prism2.languages.css;var markup=Prism2.languages.markup;markup&&(markup.tag.addInlined("style","css"),markup.tag.addAttribute("style","css"))}(Prism)}module.exports=css,css.displayName="css",css.aliases=[]}}),require_markup=(0,chunk_NNAAFZ4U.E)({"../../node_modules/refractor/lang/markup.js"(exports,module){function markup(Prism){Prism.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(env){"entity"===env.type&&(env.attributes.title=env.content.value.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^$/i;var inside={"included-cdata":{pattern://i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return tagName})),"i"),lookbehind:!0,greedy:!0,inside},Prism.languages.insertBefore("markup","cdata",def)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(attrName,lang){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+attrName+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[lang,"language-"+lang],inside:Prism.languages[lang]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}module.exports=markup,markup.displayName="markup",markup.aliases=["html","mathml","svg","xml","ssml","atom","rss"]}}),require_immutable=(0,chunk_NNAAFZ4U.E)({"../../node_modules/xtend/immutable.js"(exports,module){module.exports=function extend(){for(var target={},i=0;i4&&"data"===normal.slice(0,4)&&valid.test(value)&&("-"===value.charAt(4)?prop=function datasetToProperty(attribute){var value=attribute.slice(5).replace(dash,camelcase);return"data"+value.charAt(0).toUpperCase()+value.slice(1)}(value):value=function datasetToAttribute(property){var value=property.slice(4);return dash.test(value)?property:(value=value.replace(cap,kebab),"-"!==value.charAt(0)&&(value="-"+value),"data"+value)}(value),Type=DefinedInfo),new Type(prop,value))};var valid=/^data[-\w.:]+$/i,dash=/-[a-z]/g,cap=/[A-Z]/g;function kebab($0){return"-"+$0.toLowerCase()}function camelcase($0){return $0.charAt(1).toUpperCase()}}}),require_hast_util_parse_selector=(0,chunk_NNAAFZ4U.E)({"../../node_modules/hast-util-parse-selector/index.js"(exports,module){module.exports=function parse(selector,defaultTagName){for(var subvalue,previous,match,value=selector||"",name=defaultTagName||"div",props={},start=0;start",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}}),require_character_reference_invalid=(0,chunk_NNAAFZ4U.E)({"../../node_modules/character-reference-invalid/index.json"(exports,module){module.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}}),require_is_decimal=(0,chunk_NNAAFZ4U.E)({"../../node_modules/is-decimal/index.js"(exports,module){module.exports=function decimal(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=48&&code<=57}}}),require_is_hexadecimal=(0,chunk_NNAAFZ4U.E)({"../../node_modules/is-hexadecimal/index.js"(exports,module){module.exports=function hexadecimal(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}}}),require_is_alphabetical=(0,chunk_NNAAFZ4U.E)({"../../node_modules/is-alphabetical/index.js"(exports,module){module.exports=function alphabetical(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}}}),require_is_alphanumerical=(0,chunk_NNAAFZ4U.E)({"../../node_modules/is-alphanumerical/index.js"(exports,module){var alphabetical=require_is_alphabetical(),decimal=require_is_decimal();module.exports=function alphanumerical(character){return alphabetical(character)||decimal(character)}}}),require_character_entities=(0,chunk_NNAAFZ4U.E)({"../../node_modules/parse-entities/node_modules/character-entities/index.json"(exports,module){module.exports={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ET:"Ð",ETH:"Ð",Eacut:"É",Eacute:"É",Ecaron:"Ě",Ecir:"Ê",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrav:"È",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Eum:"Ë",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",G:">",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacut:"Í",Iacute:"Í",Icir:"Î",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrav:"Ì",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Ium:"Ï",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",L:"<",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uum:"Ü",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacut:"Ý",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacut:"á",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acir:"â",acirc:"â",acut:"´",acute:"´",acy:"а",aeli:"æ",aelig:"æ",af:"⁡",afr:"𝔞",agrav:"à",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",am:"&",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",arin:"å",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atild:"ã",atilde:"ã",aum:"ä",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvba:"¦",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedi:"ç",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedi:"¸",cedil:"¸",cemptyv:"⦲",cen:"¢",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop:"©",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curre:"¤",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",de:"°",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divid:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacut:"é",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"ê",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrav:"è",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",et:"ð",eth:"ð",eum:"ë",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac1:"¼",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac3:"¾",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",g:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacut:"í",iacute:"í",ic:"⁣",icir:"î",icirc:"î",icy:"и",iecy:"е",iexc:"¡",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrav:"ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iques:"¿",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",ium:"ï",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laqu:"«",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",l:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",mac:"¯",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micr:"µ",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middo:"·",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbs:" ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",no:"¬",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntild:"ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacut:"ó",oacute:"ó",oast:"⊛",ocir:"ô",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograv:"ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"º",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslas:"ø",oslash:"ø",osol:"⊘",otild:"õ",otilde:"õ",otimes:"⊗",otimesas:"⨶",oum:"ö",ouml:"ö",ovbar:"⌽",par:"¶",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusm:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",poun:"£",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quo:'"',quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raqu:"»",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",re:"®",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sec:"§",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",sh:"­",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szli:"ß",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thor:"þ",thorn:"þ",tilde:"˜",time:"×",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacut:"ú",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucir:"û",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrav:"ù",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",um:"¨",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uum:"ü",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacut:"ý",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",ye:"¥",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yum:"ÿ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}}),require_decode_entity=(0,chunk_NNAAFZ4U.E)({"../../node_modules/parse-entities/decode-entity.js"(exports,module){var characterEntities=require_character_entities();module.exports=function decodeEntity(characters){return!!own.call(characterEntities,characters)&&characterEntities[characters]};var own={}.hasOwnProperty}}),require_parse_entities=(0,chunk_NNAAFZ4U.E)({"../../node_modules/parse-entities/index.js"(exports,module){var legacy=require_character_entities_legacy(),invalid=require_character_reference_invalid(),decimal=require_is_decimal(),hexadecimal=require_is_hexadecimal(),alphanumerical=require_is_alphanumerical(),decodeEntity=require_decode_entity();module.exports=function parseEntities(value,options){var option,key,settings={};for(key in options||(options={}),defaults)option=options[key],settings[key]=option??defaults[key];return(settings.position.indent||settings.position.start)&&(settings.indent=settings.position.indent||[],settings.position=settings.position.start),function parse(value,settings){var entityCharacters,namedEntity,terminated,characters,character,reference,following,warning,reason,output,entity,begin,start,type,test,prev,next,diff,end,additional=settings.additional,nonTerminated=settings.nonTerminated,handleText=settings.text,handleReference=settings.reference,handleWarning=settings.warning,textContext=settings.textContext,referenceContext=settings.referenceContext,warningContext=settings.warningContext,pos=settings.position,indent=settings.indent||[],length=value.length,index=0,lines=-1,column=pos.column||1,line=pos.line||1,queue="",result=[];for("string"==typeof additional&&(additional=additional.charCodeAt(0)),prev=now(),warning=handleWarning?parseError:noop,index--,length++;++index65535&&(output+=fromCharCode((reference-=65536)>>>10|55296),reference=56320|1023&reference),reference=output+fromCharCode(reference))):type!==name&&warning(4,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),(next=now()).offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else 10===character&&(line++,lines++,column=0),character==character?(queue+=fromCharCode(character),column++):flush();return result.join("");function now(){return{line,column,offset:index+(pos.offset||0)}}function parseError(code,offset){var position=now();position.column+=offset,position.offset+=offset,handleWarning.call(warningContext,messages[code],position,code)}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}(value,settings)};var own={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},name="named",hexa="hexadecimal",deci="decimal",bases={};bases[hexa]=16,bases[deci]=10;var tests={};tests[name]=alphanumerical,tests[deci]=decimal,tests[hexa]=hexadecimal;var messages={};function prohibited(code){return code>=55296&&code<=57343||code>1114111}function disallowed(code){return code>=1&&code<=8||11===code||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||65535==(65535&code)||65534==(65535&code)}messages[1]="Named character references must be terminated by a semicolon",messages[2]="Numeric character references must be terminated by a semicolon",messages[3]="Named character references cannot be empty",messages[4]="Numeric character references cannot be empty",messages[5]="Named character references must be known",messages[6]="Numeric character references cannot be disallowed",messages[7]="Numeric character references cannot be outside the permissible Unicode range"}}),require_prism_core=(0,chunk_NNAAFZ4U.E)({"../../node_modules/refractor/node_modules/prismjs/components/prism-core.js"(exports,module){var Prism=function(_self2){var lang=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,uniqueId=0,plainTextGrammar={},_={manual:_self2.Prism&&_self2.Prism.manual,disableWorkerMessageHandler:_self2.Prism&&_self2.Prism.disableWorkerMessageHandler,util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(err){var src=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(err.stack)||[])[1];if(src){var scripts=document.getElementsByTagName("script");for(var i in scripts)if(scripts[i].src==src)return scripts[i]}return null}},isActive:function(element,className,defaultActivation){for(var no="no-"+className;element;){var classList=element.classList;if(classList.contains(className))return!0;if(classList.contains(no))return!1;element=element.parentElement}return!!defaultActivation}},languages:{plain:plainTextGrammar,plaintext:plainTextGrammar,text:plainTextGrammar,txt:plainTextGrammar,extend:function(id,redef){var lang2=_.util.clone(_.languages[id]);for(var key in redef)lang2[key]=redef[key];return lang2},insertBefore:function(inside,before,insert,root){var grammar=(root=root||_.languages)[inside],ret={};for(var token in grammar)if(grammar.hasOwnProperty(token)){if(token==before)for(var newToken in insert)insert.hasOwnProperty(newToken)&&(ret[newToken]=insert[newToken]);insert.hasOwnProperty(token)||(ret[token]=grammar[token])}var old=root[inside];return root[inside]=ret,_.languages.DFS(_.languages,(function(key,value){value===old&&key!=inside&&(this[key]=ret)})),ret},DFS:function DFS(o,callback,type,visited){visited=visited||{};var objId=_.util.objId;for(var i in o)if(o.hasOwnProperty(i)){callback.call(o,i,o[i],type||i);var property=o[i],propertyType=_.util.type(property);"Object"!==propertyType||visited[objId(property)]?"Array"===propertyType&&!visited[objId(property)]&&(visited[objId(property)]=!0,DFS(property,callback,i,visited)):(visited[objId(property)]=!0,DFS(property,callback,null,visited))}}},plugins:{},highlightAll:function(async,callback){_.highlightAllUnder(document,async,callback)},highlightAllUnder:function(container,async,callback){var env={callback,container,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};_.hooks.run("before-highlightall",env),env.elements=Array.prototype.slice.apply(env.container.querySelectorAll(env.selector)),_.hooks.run("before-all-elements-highlight",env);for(var element,i=0;element=env.elements[i++];)_.highlightElement(element,!0===async,env.callback)},highlightElement:function(element,async,callback){var language=_.util.getLanguage(element),grammar=_.languages[language];_.util.setLanguage(element,language);var parent=element.parentElement;parent&&"pre"===parent.nodeName.toLowerCase()&&_.util.setLanguage(parent,language);var env={element,language,grammar,code:element.textContent};function insertHighlightedCode(highlightedCode){env.highlightedCode=highlightedCode,_.hooks.run("before-insert",env),env.element.innerHTML=env.highlightedCode,_.hooks.run("after-highlight",env),_.hooks.run("complete",env),callback&&callback.call(env.element)}if(_.hooks.run("before-sanity-check",env),(parent=env.element.parentElement)&&"pre"===parent.nodeName.toLowerCase()&&!parent.hasAttribute("tabindex")&&parent.setAttribute("tabindex","0"),!env.code)return _.hooks.run("complete",env),void(callback&&callback.call(env.element));if(_.hooks.run("before-highlight",env),env.grammar)if(async&&_self2.Worker){var worker=new Worker(_.filename);worker.onmessage=function(evt){insertHighlightedCode(evt.data)},worker.postMessage(JSON.stringify({language:env.language,code:env.code,immediateClose:!0}))}else insertHighlightedCode(_.highlight(env.code,env.grammar,env.language));else insertHighlightedCode(_.util.encode(env.code))},highlight:function(text,grammar,language){var env={code:text,grammar,language};if(_.hooks.run("before-tokenize",env),!env.grammar)throw new Error('The language "'+env.language+'" has no grammar.');return env.tokens=_.tokenize(env.code,env.grammar),_.hooks.run("after-tokenize",env),Token.stringify(_.util.encode(env.tokens),env.language)},tokenize:function(text,grammar){var rest=grammar.rest;if(rest){for(var token in rest)grammar[token]=rest[token];delete grammar.rest}var tokenList=new LinkedList;return addAfter(tokenList,tokenList.head,text),matchGrammar(text,tokenList,grammar,tokenList.head,0),function toArray(list){for(var array=[],node=list.head.next;node!==list.tail;)array.push(node.value),node=node.next;return array}(tokenList)},hooks:{all:{},add:function(name,callback){var hooks=_.hooks.all;hooks[name]=hooks[name]||[],hooks[name].push(callback)},run:function(name,env){var callbacks=_.hooks.all[name];if(callbacks&&callbacks.length)for(var callback,i=0;callback=callbacks[i++];)callback(env)}},Token};function Token(type,content,alias,matchedStr){this.type=type,this.content=content,this.alias=alias,this.length=0|(matchedStr||"").length}function matchPattern(pattern,pos,text,lookbehind){pattern.lastIndex=pos;var match=pattern.exec(text);if(match&&lookbehind&&match[1]){var lookbehindLength=match[1].length;match.index+=lookbehindLength,match[0]=match[0].slice(lookbehindLength)}return match}function matchGrammar(text,tokenList,grammar,startNode,startPos,rematch){for(var token in grammar)if(grammar.hasOwnProperty(token)&&grammar[token]){var patterns=grammar[token];patterns=Array.isArray(patterns)?patterns:[patterns];for(var j=0;j=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var match,removeCount=1;if(greedy){if(!(match=matchPattern(pattern,pos,text,lookbehind))||match.index>=text.length)break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)p+=(currentNode=currentNode.next).value.length;if(pos=p-=currentNode.value.length,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(prematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;if(before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount),currentNode=addAfter(tokenList,removeFrom,new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr)),after&&addAfter(tokenList,currentNode,after),removeCount>1){var nestedRematch={cause:token+","+j,reach};matchGrammar(text,tokenList,grammar,currentNode.prev,pos,nestedRematch),rematch&&nestedRematch.reach>rematch.reach&&(rematch.reach=nestedRematch.reach)}}}}}}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value,prev:node,next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i"+env.content+""},!_self2.document)return _self2.addEventListener&&(_.disableWorkerMessageHandler||_self2.addEventListener("message",(function(evt){var message=JSON.parse(evt.data),lang2=message.language,code=message.code,immediateClose=message.immediateClose;_self2.postMessage(_.highlight(code,_.languages[lang2],lang2)),immediateClose&&_self2.close()}),!1)),_;var script=_.util.currentScript();function highlightAutomaticallyCallback(){_.manual||_.highlightAll()}if(script&&(_.filename=script.src,script.hasAttribute("data-manual")&&(_.manual=!0)),!_.manual){var readyState=document.readyState;"loading"===readyState||"interactive"===readyState&&script&&script.defer?document.addEventListener("DOMContentLoaded",highlightAutomaticallyCallback):window.requestAnimationFrame?window.requestAnimationFrame(highlightAutomaticallyCallback):window.setTimeout(highlightAutomaticallyCallback,16)}return _}(typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{});typeof module<"u"&&module.exports&&(module.exports=Prism),typeof __webpack_require__.g<"u"&&(__webpack_require__.g.Prism=Prism)}}),require_core=(0,chunk_NNAAFZ4U.E)({"../../node_modules/refractor/core.js"(exports,module){var ctx="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof __webpack_require__.g?__webpack_require__.g:{},restore=function capture(){var defined="Prism"in ctx,current=defined?ctx.Prism:void 0;return function restore2(){defined?ctx.Prism=current:delete ctx.Prism,defined=void 0,current=void 0}}();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h=require_hastscript(),decode=require_parse_entities(),Prism=require_prism_core(),markup=require_markup(),css=require_css(),clike=require_clike(),js=require_javascript();restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor;function register(grammar){if("function"!=typeof grammar||!grammar.displayName)throw new Error("Expected `function` for `grammar`, got `"+grammar+"`");void 0===refract.languages[grammar.displayName]&&grammar(refract)}module.exports=refract,refract.highlight=function highlight(value,name){var grammar,sup=Prism.highlight;if("string"!=typeof value)throw new Error("Expected `string` for `value`, got `"+value+"`");if("Object"===refract.util.type(name))grammar=name,name=null;else{if("string"!=typeof name)throw new Error("Expected `string` for `name`, got `"+name+"`");if(!own.call(refract.languages,name))throw new Error("Unknown language: `"+name+"` is not registered");grammar=refract.languages[name]}return sup.call(this,value,grammar,name)},refract.register=register,refract.alias=function alias(name,alias2){var key,list,length,index,languages=refract.languages,map=name;for(key in alias2&&((map={})[name]=alias2),map)for(list=map[key],length=(list="string"==typeof list?[list]:list).length,index=-1;++index>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+envVars),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};Prism2.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+envVars),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:commandAfterHeredoc}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:insideString.entity}}],environment:{pattern:RegExp("\\$?"+envVars),alias:"constant"},variable:insideString.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},commandAfterHeredoc.inside=Prism2.languages.bash;for(var toBeCopied=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],inside=insideString.variable[1].inside,i=0;i/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),flags)}Prism2.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+Prism2.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),Prism2.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+Prism2.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),Prism2.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),Prism2.languages.insertBefore("javascript","keyword",{imports:{pattern:withId(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:Prism2.languages.javascript},exports:{pattern:withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:Prism2.languages.javascript}}),Prism2.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),Prism2.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),Prism2.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:withId(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var maybeClassNameTokens=["function","function-variable","method","method-variable","property-access"],i=0;i0)){var mutationEnd=findClosingBracket(/^\{$/,/^\}$/);if(-1===mutationEnd)continue;for(var i=currentIndex;i=0&&addAlias(varToken,"variable-input")}}}}function getToken(offset){return validTokens[currentIndex+offset]}function isTokenType(types,offset){offset=offset||0;for(var i2=0;i2arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return function getClassNameCombinations(classNames){if(0===classNames.length||1===classNames.length)return classNames;var key=classNames.join(".");return classNameCombinations[key]||(classNameCombinations[key]=function powerSetPermutations(arr){var arrLength=arr.length;return 0===arrLength||1===arrLength?arr:2===arrLength?[arr[0],arr[1],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0])]:3===arrLength?[arr[0],arr[1],arr[2],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2]),"".concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0])]:arrLength>=4?[arr[0],arr[1],arr[2],arr[3],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3]),"".concat(arr[3],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1],".").concat(arr[0])]:void 0}(classNames)),classNameCombinations[key]}(classNames.filter((function(className){return"token"!==className}))).reduce((function(styleObject,className){return _objectSpread(_objectSpread({},styleObject),stylesheet[className])}),elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if("text"===type)return value;if(TagName){var props,childrenCreator=function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map((function(child,i){return createElement({node:child,stylesheet,useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})}))}}(stylesheet,useInlineStyles);if(useInlineStyles){var allStylesheetSelectors=Object.keys(stylesheet).reduce((function(classes,selector){return selector.split(".").forEach((function(className2){classes.includes(className2)||classes.push(className2)})),classes}),[]),startingClassName=properties.className&&properties.className.includes("token")?["token"]:[],className=properties.className&&startingClassName.concat(properties.className.filter((function(className2){return!allStylesheetSelectors.includes(className2)})));props=_objectSpread(_objectSpread({},properties),{},{className:createClassNameString(className)||void 0,style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)})}else props=_objectSpread(_objectSpread({},properties),{},{className:createClassNameString(properties.className)});var children=childrenCreator(node.children);return react.createElement(TagName,(0,chunk_FD4M6EBV.j)({key},props),children)}}var checkForListedLanguage_default=function(astGenerator,language){return-1!==astGenerator.listLanguages().indexOf(language)},_excluded=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function ownKeys2(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread2(target){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:[],newTree=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=0;i2&&void 0!==arguments[2]?arguments[2]:[];return wrapLines||className.length>0?function createWrappedLine(children2,lineNumber2){return createLineElement({children:children2,lineNumber:lineNumber2,lineNumberStyle,largestLineNumber,showInlineLineNumbers,lineProps,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers,wrapLongLines})}(children2,lineNumber2,className):function createUnwrappedLine(children2,lineNumber2){if(showLineNumbers&&lineNumber2&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber2,largestLineNumber);children2.unshift(getInlineLineNumber(lineNumber2,inlineLineNumberStyle))}return children2}(children2,lineNumber2)}for(var _loop=function(){var node=tree[index],value=node.children[0].value;if(function getNewLines(str){return str.match(newLineRegex)}(value)){var splitValue=value.split("\n");splitValue.forEach((function(text,i){var lineNumber2=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,"\n")};if(0===i){var _line=createLine(tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),lineNumber2);newTree.push(_line)}else if(i===splitValue.length-1){var stringChild=tree[index+1]&&tree[index+1].children&&tree[index+1].children[0],lastLineInPreviousSpan={type:"text",value:"".concat(text)};if(stringChild){var newElem=createLineElement({children:[lastLineInPreviousSpan],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _line2=createLine([lastLineInPreviousSpan],lineNumber2,node.properties.className);newTree.push(_line2)}}else{var _line3=createLine([newChild],lineNumber2,node.properties.className);newTree.push(_line3)}})),lastLineBreakIndex=index}index++};index=0)&&Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}(_ref7,_excluded);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?react.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(codeTagProps.style=_objectSpread2(_objectSpread2({},codeTagProps.style),{},wrapLongLines?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!astGenerator)return react.createElement(PreTag,preProps,allLineNumbers,react.createElement(CodeTag,codeTagProps,code));(void 0===wrapLines&&renderer||wrapLongLines)&&(wrapLines=!0),renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=checkForListedLanguage_default(astGenerator,language);return"text"===language?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&"text"!==language?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch{return{value:defaultCodeValue}}}({astGenerator,language,code,defaultCodeValue});null===codeTree.language&&(codeTree.value=defaultCodeValue);var rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,codeTree.value.length+startingLineNumber,lineNumberStyle,wrapLongLines);return react.createElement(PreTag,preProps,react.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows,stylesheet:style,useInlineStyles})))}}(import_core.default,{});SyntaxHighlighter.registerLanguage=function(_,language){return import_core.default.register(language)},SyntaxHighlighter.alias=function(name,aliases){return import_core.default.alias(name,aliases)};var prism_light_default=SyntaxHighlighter,Container=dist.zo.div((({theme})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:theme.background.content,zIndex:1}))),ActionButton=dist.zo.button((({theme})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:theme.color.defaultText,background:theme.background.content,fontSize:12,lineHeight:"16px",fontFamily:theme.typography.fonts.base,fontWeight:theme.typography.weight.bold,borderTop:`1px solid ${theme.appBorderColor}`,borderLeft:`1px solid ${theme.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${theme.appBorderColor}`},"& + *":{borderLeft:`1px solid ${theme.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${theme.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}})),(({disabled})=>disabled&&{cursor:"not-allowed",opacity:.5}));ActionButton.displayName="ActionButton";var ActionBar=({actionItems,...props})=>react.createElement(Container,{...props},actionItems.map((({title,className,onClick,disabled},index)=>react.createElement(ActionButton,{key:index,className,onClick,disabled},title)))),GlobalScrollAreaStyles=(0,react.lazy)((()=>__webpack_require__.e(7098).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/GlobalScrollAreaStyles-XIHNDKUY.mjs")))),OverlayScrollbars=(0,react.lazy)((()=>__webpack_require__.e(3019).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/OverlayScrollbars-VAV6LJAB.mjs")))),ScrollArea=(0,dist.zo)((({horizontal,vertical,...props})=>react.createElement(react.Suspense,{fallback:react.createElement("div",{...props})},react.createElement(GlobalScrollAreaStyles,null),react.createElement(OverlayScrollbars,{options:{scrollbars:{autoHide:"leave"}},...props}))))((({vertical})=>vertical?{overflowY:"auto",height:"100%"}:{overflowY:"hidden"}),(({horizontal})=>horizontal?{overflowX:"auto",width:"100%"}:{overflowX:"hidden"}));ScrollArea.defaultProps={horizontal:!1,vertical:!1};var{navigator:chunk_RDJSMFWU_navigator,document:chunk_RDJSMFWU_document,window:globalWindow}=global_dist.global;prism_light_default.registerLanguage("jsextra",js_extras_default),prism_light_default.registerLanguage("jsx",jsx_default),prism_light_default.registerLanguage("json",json_default),prism_light_default.registerLanguage("yml",yaml_default),prism_light_default.registerLanguage("md",markdown_default),prism_light_default.registerLanguage("bash",bash_default),prism_light_default.registerLanguage("css",css_default),prism_light_default.registerLanguage("html",markup_default),prism_light_default.registerLanguage("tsx",tsx_default),prism_light_default.registerLanguage("typescript",typescript_default),prism_light_default.registerLanguage("graphql",graphql_default);var themedSyntax=memoizerific_default()(2)((theme=>Object.entries(theme.code||{}).reduce(((acc,[key,val])=>({...acc,[`* .${key}`]:val})),{}))),copyToClipboard=createCopyToClipboardFunction();function createCopyToClipboardFunction(){return chunk_RDJSMFWU_navigator?.clipboard?text=>chunk_RDJSMFWU_navigator.clipboard.writeText(text):async text=>{let tmp=chunk_RDJSMFWU_document.createElement("TEXTAREA"),focus=chunk_RDJSMFWU_document.activeElement;tmp.value=text,chunk_RDJSMFWU_document.body.appendChild(tmp),tmp.select(),chunk_RDJSMFWU_document.execCommand("copy"),chunk_RDJSMFWU_document.body.removeChild(tmp),focus.focus()}}var Wrapper=dist.zo.div((({theme})=>({position:"relative",overflow:"hidden",color:theme.color.defaultText})),(({theme,bordered})=>bordered?{border:`1px solid ${theme.appBorderColor}`,borderRadius:theme.borderRadius,background:theme.background.content}:{}),(({showLineNumbers})=>showLineNumbers?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{})),Scroller2=(0,dist.zo)((({children,className})=>react.createElement(ScrollArea,{horizontal:!0,vertical:!0,className},children)))({position:"relative"},(({theme})=>themedSyntax(theme))),Pre=dist.zo.pre((({theme,padded})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:padded?theme.layoutMargin:0}))),Code=dist.zo.div((({theme})=>({flex:1,paddingLeft:2,paddingRight:theme.layoutMargin,opacity:1}))),processLineNumber=row=>{let children=[...row.children],lineNumberNode=children[0],lineNumber=lineNumberNode.children[0].value,processedLineNumberNode={...lineNumberNode,children:[],properties:{...lineNumberNode.properties,"data-line-number":lineNumber,style:{...lineNumberNode.properties.style,userSelect:"auto"}}};return children[0]=processedLineNumberNode,{...row,children}},defaultRenderer2=({rows,stylesheet,useInlineStyles})=>rows.map(((node,i)=>createElement({node:processLineNumber(node),stylesheet,useInlineStyles,key:`code-segement${i}`}))),SyntaxHighlighter2=({children,language="jsx",copyable=!1,bordered=!1,padded=!1,format=!0,formatter=null,className=null,showLineNumbers=!1,...rest})=>{if("string"!=typeof children||!children.trim())return null;let highlightableCode=formatter?formatter(format,children):children.trim(),[copied,setCopied]=(0,react.useState)(!1),onClick=(0,react.useCallback)((e=>{e.preventDefault(),copyToClipboard(highlightableCode).then((()=>{setCopied(!0),globalWindow.setTimeout((()=>setCopied(!1)),1500)})).catch(external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.error)}),[highlightableCode]),renderer=((renderer,showLineNumbers)=>showLineNumbers?renderer?({rows,...rest})=>renderer({rows:rows.map((row=>processLineNumber(row))),...rest}):defaultRenderer2:renderer)(rest.renderer,showLineNumbers);return react.createElement(Wrapper,{bordered,padded,showLineNumbers,className},react.createElement(Scroller2,null,react.createElement(prism_light_default,{padded:padded||bordered,language,showLineNumbers,showInlineLineNumbers:showLineNumbers,useInlineStyles:!1,PreTag:Pre,CodeTag:Code,lineNumberContainerStyle:{},...rest,renderer},highlightableCode)),copyable?react.createElement(ActionBar,{actionItems:[{title:copied?"Copied":"Copy",onClick}]}):null)},syntaxhighlighter_default=SyntaxHighlighter2},"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{EK:()=>Code,Ty:()=>ErrorFormatter,jD:()=>FlexBar,l0:()=>Form,H2:()=>H2,H3:()=>H3,hU:()=>IconButton,Z$:()=>IconButtonSkeleton,PJ:()=>Icons,rU:()=>Link2,aN:()=>Loader,i9:()=>ResetWrapper,d3:()=>SyntaxHighlighter2,JG:()=>TabsState,gu:()=>TooltipNote,Rl:()=>WithTooltip,DG:()=>WithTooltipPure,LG:()=>Zoom,CI:()=>codeCommon,wx:()=>components2,createCopyToClipboardFunction:()=>chunk_RDJSMFWU.xV,YI:()=>getStoryHref,mq:()=>nameSpaceClassNames,YX:()=>withReset});var chunk_RDJSMFWU=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-RDJSMFWU.mjs"),chunk_E5IOH6B7=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-E5IOH6B7.mjs"),chunk_FD4M6EBV=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-FD4M6EBV.mjs"),react=__webpack_require__("./node_modules/react/index.js"),dist=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/index.mjs");function extractSize(entry,boxProp,sizeType){return entry[boxProp]?entry[boxProp][0]?entry[boxProp][0][sizeType]:entry[boxProp][sizeType]:"contentBoxSize"===boxProp?entry.contentRect["inlineSize"===sizeType?"width":"height"]:void 0}function useResizeObserver(opts){void 0===opts&&(opts={});var onResize=opts.onResize,onResizeRef=(0,react.useRef)(void 0);onResizeRef.current=onResize;var round=opts.round||Math.round,resizeObserverRef=(0,react.useRef)(),_useState=(0,react.useState)({width:void 0,height:void 0}),size=_useState[0],setSize=_useState[1],didUnmount=(0,react.useRef)(!1);(0,react.useEffect)((function(){return didUnmount.current=!1,function(){didUnmount.current=!0}}),[]);var previous=(0,react.useRef)({width:void 0,height:void 0}),refCallback=function useResolvedElement(subscriber,refOrElement){var lastReportRef=(0,react.useRef)(null),refOrElementRef=(0,react.useRef)(null);refOrElementRef.current=refOrElement;var cbElementRef=(0,react.useRef)(null);(0,react.useEffect)((function(){evaluateSubscription()}));var evaluateSubscription=(0,react.useCallback)((function(){var cbElement=cbElementRef.current,refOrElement=refOrElementRef.current,element=cbElement||(refOrElement?refOrElement instanceof Element?refOrElement:refOrElement.current:null);lastReportRef.current&&lastReportRef.current.element===element&&lastReportRef.current.subscriber===subscriber||(lastReportRef.current&&lastReportRef.current.cleanup&&lastReportRef.current.cleanup(),lastReportRef.current={element,subscriber,cleanup:element?subscriber(element):void 0})}),[subscriber]);return(0,react.useEffect)((function(){return function(){lastReportRef.current&&lastReportRef.current.cleanup&&(lastReportRef.current.cleanup(),lastReportRef.current=null)}}),[]),(0,react.useCallback)((function(element){cbElementRef.current=element,evaluateSubscription()}),[evaluateSubscription])}((0,react.useCallback)((function(element){return resizeObserverRef.current&&resizeObserverRef.current.box===opts.box&&resizeObserverRef.current.round===round||(resizeObserverRef.current={box:opts.box,round,instance:new ResizeObserver((function(entries){var entry=entries[0],boxProp="border-box"===opts.box?"borderBoxSize":"device-pixel-content-box"===opts.box?"devicePixelContentBoxSize":"contentBoxSize",reportedWidth=extractSize(entry,boxProp,"inlineSize"),reportedHeight=extractSize(entry,boxProp,"blockSize"),newWidth=reportedWidth?round(reportedWidth):void 0,newHeight=reportedHeight?round(reportedHeight):void 0;if(previous.current.width!==newWidth||previous.current.height!==newHeight){var newSize={width:newWidth,height:newHeight};previous.current.width=newWidth,previous.current.height=newHeight,onResizeRef.current?onResizeRef.current(newSize):didUnmount.current||setSize(newSize)}}))}),resizeObserverRef.current.instance.observe(element,{box:opts.box}),function(){resizeObserverRef.current&&resizeObserverRef.current.instance.unobserve(element)}}),[opts.box,round]),opts.ref);return(0,react.useMemo)((function(){return{ref:refCallback,width:size.width,height:size.height}}),[refCallback,size.width,size.height])}var global_dist=__webpack_require__("./node_modules/@storybook/global/dist/index.mjs"),memoizerific=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific_default=__webpack_require__.n(memoizerific),csf_dist=__webpack_require__("./node_modules/@storybook/csf/dist/index.mjs"),nameSpaceClassNames=({...props},key)=>{let classes=[props.class,props.className];return delete props.class,props.className=["sbdocs",`sbdocs-${key}`,...classes].filter(Boolean).join(" "),props};function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o2,p2){return o2.__proto__=p2,o2})(o,p)}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o2){return o2.__proto__||Object.getPrototypeOf(o2)})(o)}function _construct(Parent,args,Class){return(_construct=function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}()?Reflect.construct.bind():function(Parent2,args2,Class2){var a=[null];a.push.apply(a,args2);var instance=new(Function.bind.apply(Parent2,a));return Class2&&_setPrototypeOf(instance,Class2.prototype),instance}).apply(null,arguments)}function _wrapNativeSuper(Class){var _cache="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(Class2){if(null===Class2||!function _isNativeFunction(fn){return-1!==Function.toString.call(fn).indexOf("[native code]")}(Class2))return Class2;if("function"!=typeof Class2)throw new TypeError("Super expression must either be null or a function");if(typeof _cache<"u"){if(_cache.has(Class2))return _cache.get(Class2);_cache.set(Class2,Wrapper3)}function Wrapper3(){return _construct(Class2,arguments,_getPrototypeOf(this).constructor)}return Wrapper3.prototype=Object.create(Class2.prototype,{constructor:{value:Wrapper3,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper3,Class2)},_wrapNativeSuper(Class)}var PolishedError=function(_Error){function PolishedError2(code){return function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(_Error.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+code+" for more information.")||this)}return function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,_setPrototypeOf(subClass,superClass)}(PolishedError2,_Error),PolishedError2}(_wrapNativeSuper(Error));function colorToInt(color){return Math.round(255*color)}function convertToInt(red,green,blue){return colorToInt(red)+","+colorToInt(green)+","+colorToInt(blue)}function hslToRgb(hue,saturation,lightness,convert){if(void 0===convert&&(convert=convertToInt),0===saturation)return convert(lightness,lightness,lightness);var huePrime=(hue%360+360)%360/60,chroma=(1-Math.abs(2*lightness-1))*saturation,secondComponent=chroma*(1-Math.abs(huePrime%2-1)),red=0,green=0,blue=0;huePrime>=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(color){if("string"!=typeof color)throw new PolishedError(3);var normalizedColor=function nameToHex(color){if("string"!=typeof color)return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color}(color);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError(5)}function parseToHsl(color){return function rgbToHsl(color){var red=color.red/255,green=color.green/255,blue=color.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color.alpha?{hue:0,saturation:0,lightness,alpha:color.alpha}:{hue:0,saturation:0,lightness};var hue,delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"==typeof firstValue&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new PolishedError(7)}var isRgb=function(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&("number"!=typeof color.alpha||typeof color.alpha>"u")},isRgba=function(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&"number"==typeof color.alpha},isHsl=function(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&("number"!=typeof color.alpha||typeof color.alpha>"u")},isHsla=function(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&"number"==typeof color.alpha};function toColorString(color){if("object"!=typeof color)throw new PolishedError(8);if(isRgba(color))return rgba(color);if(isRgb(color))return rgb(color);if(isHsla(color))return function hsla(value,saturation,lightness,alpha){if("number"==typeof value&&"number"==typeof saturation&&"number"==typeof lightness&&"number"==typeof alpha)return alpha>=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"==typeof value&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new PolishedError(2)}(color);if(isHsl(color))return function hsl(value,saturation,lightness){if("number"==typeof value&&"number"==typeof saturation&&"number"==typeof lightness)return hslToHex(value,saturation,lightness);if("object"==typeof value&&void 0===saturation&&void 0===lightness)return hslToHex(value.hue,value.saturation,value.lightness);throw new PolishedError(1)}(color);throw new PolishedError(8)}function curried(f,length,acc){return function(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}function curry(f){return curried(f,f.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}var curriedDarken$1=curry((function darken(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString((0,chunk_FD4M6EBV.j)({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}));var curriedLighten$1=curry((function lighten(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString((0,chunk_FD4M6EBV.j)({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}));var curriedTransparentize$1=curry((function transparentize(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color),alpha="number"==typeof parsedColor.alpha?parsedColor.alpha:1;return rgba((0,chunk_FD4M6EBV.j)({},parsedColor,{alpha:guard(0,1,+(100*alpha-100*parseFloat(amount)).toFixed(2)/100)}))})),headerCommon=({theme})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:theme.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),codeCommon=({theme})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:theme.typography.size.s2-1,border:"light"===theme.base?`1px solid ${theme.color.mediumlight}`:`1px solid ${theme.color.darker}`,color:"light"===theme.base?curriedTransparentize$1(.1,theme.color.defaultText):curriedTransparentize$1(.3,theme.color.defaultText),backgroundColor:"light"===theme.base?theme.color.lighter:theme.color.border}),withReset=({theme})=>({fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),withMargin={margin:"16px 0"},A=(0,dist.zo)((({href:input,children,...props})=>{let isStorybookPath=/^\//.test(input),isAnchorUrl=/^#.*/.test(input),href=isStorybookPath?`./?path=${input}`:input;return react.createElement("a",{href,target:isAnchorUrl?"_self":"_top",...props},children)}))(withReset,(({theme})=>({fontSize:"inherit",lineHeight:"24px",color:theme.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}}))),Blockquote=dist.zo.blockquote(withReset,withMargin,(({theme})=>({borderLeft:`4px solid ${theme.color.medium}`,padding:"0 15px",color:theme.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}))),isReactChildString=child=>"string"==typeof child,isInlineCodeRegex=/[\n\r]/g,DefaultCodeBlock=dist.zo.code((({theme})=>({fontFamily:theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"})),codeCommon),StyledSyntaxHighlighter=(0,dist.zo)(chunk_RDJSMFWU.d3)((({theme})=>({fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s2-1+"px",lineHeight:"19px",margin:"25px 0 40px",borderRadius:theme.appBorderRadius,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}}))),Code=({className,children,...props})=>{let language=(className||"").match(/lang-(\S+)/),childrenArray=react.Children.toArray(children);return childrenArray.filter(isReactChildString).some((child=>child.match(isInlineCodeRegex)))?react.createElement(StyledSyntaxHighlighter,{bordered:!0,copyable:!0,language:language?.[1]??"plaintext",format:!1,...props},children):react.createElement(DefaultCodeBlock,{...props,className},childrenArray)},Div=dist.zo.div(withReset),DL=dist.zo.dl(withReset,{...withMargin,padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),H1=dist.zo.h1(withReset,headerCommon,(({theme})=>({fontSize:`${theme.typography.size.l1}px`,fontWeight:theme.typography.weight.bold}))),H2=dist.zo.h2(withReset,headerCommon,(({theme})=>({fontSize:`${theme.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${theme.appBorderColor}`}))),H3=dist.zo.h3(withReset,headerCommon,(({theme})=>({fontSize:`${theme.typography.size.m1}px`}))),H4=dist.zo.h4(withReset,headerCommon,(({theme})=>({fontSize:`${theme.typography.size.s3}px`}))),H5=dist.zo.h5(withReset,headerCommon,(({theme})=>({fontSize:`${theme.typography.size.s2}px`}))),H6=dist.zo.h6(withReset,headerCommon,(({theme})=>({fontSize:`${theme.typography.size.s2}px`,color:theme.color.dark}))),HR=dist.zo.hr((({theme})=>({border:"0 none",borderTop:`1px solid ${theme.appBorderColor}`,height:4,padding:0}))),Img=dist.zo.img({maxWidth:"100%"}),LI=dist.zo.li(withReset,(({theme})=>({fontSize:theme.typography.size.s2,color:theme.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":codeCommon({theme})}))),OL=dist.zo.ol(withReset,withMargin,{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"decimal"}),P=dist.zo.p(withReset,withMargin,(({theme})=>({fontSize:theme.typography.size.s2,lineHeight:"24px",color:theme.color.defaultText,"& code":codeCommon({theme})}))),Pre=dist.zo.pre(withReset,withMargin,(({theme})=>({fontFamily:theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}}))),Span=dist.zo.span(withReset,(({theme})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${theme.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:theme.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}}))),Table=dist.zo.table(withReset,withMargin,(({theme})=>({fontSize:theme.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${theme.appBorderColor}`,backgroundColor:theme.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:"dark"===theme.base?theme.color.darker:theme.color.lighter},"& tr th":{fontWeight:"bold",color:theme.color.defaultText,border:`1px solid ${theme.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${theme.appBorderColor}`,color:theme.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}}))),TT=dist.zo.title(codeCommon),UL=dist.zo.ul(withReset,withMargin,{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}),ResetWrapper=dist.zo.div(withReset),components={h1:props=>react.createElement(H1,{...nameSpaceClassNames(props,"h1")}),h2:props=>react.createElement(H2,{...nameSpaceClassNames(props,"h2")}),h3:props=>react.createElement(H3,{...nameSpaceClassNames(props,"h3")}),h4:props=>react.createElement(H4,{...nameSpaceClassNames(props,"h4")}),h5:props=>react.createElement(H5,{...nameSpaceClassNames(props,"h5")}),h6:props=>react.createElement(H6,{...nameSpaceClassNames(props,"h6")}),pre:props=>react.createElement(Pre,{...nameSpaceClassNames(props,"pre")}),a:props=>react.createElement(A,{...nameSpaceClassNames(props,"a")}),hr:props=>react.createElement(HR,{...nameSpaceClassNames(props,"hr")}),dl:props=>react.createElement(DL,{...nameSpaceClassNames(props,"dl")}),blockquote:props=>react.createElement(Blockquote,{...nameSpaceClassNames(props,"blockquote")}),table:props=>react.createElement(Table,{...nameSpaceClassNames(props,"table")}),img:props=>react.createElement(Img,{...nameSpaceClassNames(props,"img")}),div:props=>react.createElement(Div,{...nameSpaceClassNames(props,"div")}),span:props=>react.createElement(Span,{...nameSpaceClassNames(props,"span")}),li:props=>react.createElement(LI,{...nameSpaceClassNames(props,"li")}),ul:props=>react.createElement(UL,{...nameSpaceClassNames(props,"ul")}),ol:props=>react.createElement(OL,{...nameSpaceClassNames(props,"ol")}),p:props=>react.createElement(P,{...nameSpaceClassNames(props,"p")}),code:props=>react.createElement(Code,{...nameSpaceClassNames(props,"code")}),tt:props=>react.createElement(TT,{...nameSpaceClassNames(props,"tt")}),resetwrapper:props=>react.createElement(ResetWrapper,{...nameSpaceClassNames(props,"resetwrapper")})},icons=(dist.zo.div((({theme})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:theme.typography.weight.bold})),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},(({theme,status})=>{switch(status){case"critical":return{color:theme.color.critical,background:theme.background.critical};case"negative":return{color:theme.color.negativeText,background:theme.background.negative,boxShadow:"light"===theme.base?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.negativeText)}`:"none"};case"warning":return{color:theme.color.warningText,background:theme.background.warning,boxShadow:"light"===theme.base?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.warningText)}`:"none"};case"neutral":return{color:theme.color.dark,background:theme.color.mediumlight,boxShadow:"light"===theme.base?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.dark)}`:"none"};case"positive":return{color:theme.color.positiveText,background:theme.background.positive,boxShadow:"light"===theme.base?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.positiveText)}`:"none"};default:return{}}})),{user:react.createElement(react.Fragment,null,react.createElement("path",{d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0ZM2.67 11.15c.7-1 2.6-1.81 3.2-1.9.22-.04.23-.66.23-.66s-.67-.66-.81-1.55c-.4 0-.63-.94-.24-1.27l-.02-.13c-.06-.6-.28-2.6 1.97-2.6s2.03 2 1.97 2.6l-.02.13c.4.33.15 1.27-.24 1.27-.14.89-.8 1.55-.8 1.55s0 .62.22.66c.6.09 2.5.9 3.2 1.9a6 6 0 1 0-8.66 0Z"})),useralt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.27 13.16a11.39 11.39 0 0 0 5.18-1.23v-.25c0-1.57-3.24-3-4.1-3.13-.27-.05-.28-.79-.28-.79s.8-.78.96-1.83c.47 0 .75-1.12.29-1.52.02-.41.6-3.25-2.32-3.25S4.65 4 4.67 4.41c-.46.4-.17 1.52.29 1.52.17 1.05.96 1.83.96 1.83s0 .74-.27.79c-.86.13-4.04 1.53-4.1 3.08a11.44 11.44 0 0 0 5.72 1.53Z"})),useradd:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1.18 11.9c-.4-.17-.8-.36-1.18-.58.06-1.44 3.02-2.74 3.82-2.87.25-.04.26-.73.26-.73s-.74-.73-.9-1.7c-.43 0-.7-1.05-.27-1.42l-.01-.14c-.07-.67-.31-2.88 2.18-2.88 2.48 0 2.24 2.2 2.17 2.88l-.01.14c.43.37.16 1.41-.27 1.41-.16.98-.9 1.71-.9 1.71s.01.69.26.73c.8.13 3.82 1.46 3.82 2.91v.24a10.63 10.63 0 0 1-8.97.3ZM11.5 2.16c.28 0 .5.22.5.5v1.5h1.5a.5.5 0 0 1 0 1H12v1.5a.5.5 0 0 1-1 0v-1.5H9.5a.5.5 0 1 1 0-1H11v-1.5c0-.28.22-.5.5-.5Z"})),users:react.createElement(react.Fragment,null,react.createElement("path",{d:"M9.21 11.62A10.59 10.59 0 0 1 0 11.07c.06-1.35 2.93-2.58 3.7-2.7.25-.03.26-.68.26-.68s-.72-.69-.87-1.6c-.42 0-.68-.99-.26-1.33 0-.03 0-.08-.02-.14-.07-.63-.3-2.71 2.12-2.71 2.41 0 2.18 2.08 2.11 2.71l-.01.14c.42.34.16 1.32-.26 1.32-.16.92-.87 1.6-.87 1.6s0 .66.25.7c.78.11 3.7 1.36 3.7 2.73v.22l-.64.3Z"}),react.createElement("path",{d:"M8.81 8.42a9.64 9.64 0 0 0-.74-.4 5.2 5.2 0 0 1 1.7-.76c.17-.02.17-.47.17-.47s-.49-.47-.6-1.1c-.28 0-.46-.68-.17-.91l-.01-.1c-.05-.43-.2-1.86 1.45-1.86 1.66 0 1.5 1.43 1.45 1.86v.1c.28.23.1.9-.18.9-.11.64-.6 1.11-.6 1.11s0 .45.17.47c.54.08 2.55.94 2.55 1.89v.62a10.6 10.6 0 0 1-3.3.56 2.97 2.97 0 0 0-.58-.88c-.37-.41-.85-.76-1.31-1.03Z"})),profile:react.createElement(react.Fragment,null,react.createElement("path",{d:"M9.1 7.35a5.06 5.06 0 0 1-4.52-.28C4.6 6.4 6.02 5.77 6.4 5.7c.12-.02.12-.35.12-.35s-.35-.34-.43-.81c-.2 0-.33-.5-.12-.67l-.01-.07C5.93 3.48 5.81 2.42 7 2.42S8.07 3.48 8.04 3.8v.07c.2.17.07.67-.13.67-.08.47-.43.81-.43.81s0 .33.12.35c.38.06 1.82.7 1.82 1.4v.1c-.1.06-.2.1-.31.15Zm-5.35 3.9c0-.14.11-.25.25-.25h6a.25.25 0 1 1 0 .5H4a.25.25 0 0 1-.25-.25ZM4 9a.25.25 0 0 0 0 .5h6a.25.25 0 1 0 0-.5H4Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1 .5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v13a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V.5ZM2 13V1h10v12H2Z"})),facehappy:react.createElement(react.Fragment,null,react.createElement("path",{d:"M3.97 8.75a.5.5 0 0 0-.87.5 4.5 4.5 0 0 0 7.8 0 .5.5 0 1 0-.87-.5 3.5 3.5 0 0 1-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),react.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),faceneutral:react.createElement(react.Fragment,null,react.createElement("path",{d:"M4.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),react.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),facesad:react.createElement(react.Fragment,null,react.createElement("path",{d:"M3.97 10.25a.5.5 0 0 1-.87-.5 4.5 4.5 0 0 1 7.8 0 .5.5 0 1 1-.87.5 3.5 3.5 0 0 0-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),react.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),accessibility:react.createElement(react.Fragment,null,react.createElement("path",{d:"M3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z"}),react.createElement("path",{d:"M7 4.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),react.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),accessibilityalt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM8 3.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z"})),arrowup:react.createElement(react.Fragment,null,react.createElement("path",{d:"m7.35 2.9 5.5 5.5a.5.5 0 0 1-.7.7L7 3.96 1.85 9.1a.5.5 0 1 1-.7-.7l5.5-5.5c.2-.2.5-.2.7 0Z"})),arrowdown:react.createElement(react.Fragment,null,react.createElement("path",{d:"m1.15 5.6 5.5 5.5c.2.2.5.2.7 0l5.5-5.5a.5.5 0 0 0-.7-.7L7 10.04 1.85 4.9a.5.5 0 1 0-.7.7Z"})),arrowleft:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2.76 7.1c.02.09.06.18.14.25l5.5 5.5a.5.5 0 0 0 .7-.7L3.96 7 9.1 1.85a.5.5 0 1 0-.7-.7l-5.5 5.5a.5.5 0 0 0-.14.45Z"})),arrowright:react.createElement(react.Fragment,null,react.createElement("path",{d:"m11.1 7.35-5.5 5.5a.5.5 0 0 1-.7-.7L10.04 7 4.9 1.85a.5.5 0 1 1 .7-.7l5.5 5.5c.2.2.2.5 0 .7Z"})),arrowupalt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M11.85 4.65 7.35.15a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 1 0 .7.7L6.5 1.71V13.5a.5.5 0 0 0 1 0V1.7l3.65 3.65a.5.5 0 0 0 .7-.7Z"})),arrowdownalt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v11.8L2.85 8.64a.5.5 0 1 0-.7.7l4.5 4.5A.5.5 0 0 0 7 14a.5.5 0 0 0 .35-.15l4.5-4.5a.5.5 0 0 0-.7-.7L7.5 12.29V.5Z"})),arrowleftalt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5.35 2.15c.2.2.2.5 0 .7L1.71 6.5H13.5a.5.5 0 0 1 0 1H1.7l3.65 3.65a.5.5 0 0 1-.7.7l-4.5-4.5a.5.5 0 0 1 0-.7l4.5-4.5c.2-.2.5-.2.7 0Z"})),arrowrightalt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M8.65 2.15c.2-.2.5-.2.7 0l4.5 4.5c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7-.7l3.64-3.65H.5a.5.5 0 0 1 0-1h11.8L8.64 2.85a.5.5 0 0 1 0-.7Z"})),expandalt:react.createElement(react.Fragment,null,react.createElement("path",{d:"m7.35.15 4 4a.5.5 0 0 1-.7.7L7 1.21 3.35 4.85a.5.5 0 1 1-.7-.7l4-4c.2-.2.5-.2.7 0ZM11.35 9.15c.2.2.2.5 0 .7l-4 4a.5.5 0 0 1-.7 0l-4-4a.5.5 0 1 1 .7-.7L7 12.79l3.65-3.64c.2-.2.5-.2.7 0Z"})),collapse:react.createElement(react.Fragment,null,react.createElement("path",{d:"M3.354.146a.5.5 0 1 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0-.708-.708L7 3.793 3.354.146Zm3.292 9a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1-.708.708L7 10.207l-3.646 3.647a.5.5 0 0 1-.708-.708l4-4Z"})),expand:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1.5 1h2a.5.5 0 0 1 0 1h-.8l3.15 3.15a.5.5 0 1 1-.7.7L2 2.71v.79a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 1.5c0-.28.22-.5.5-.5h2c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-.8L8.85 5.86a.5.5 0 1 1-.7-.7L11.29 2h-.79a.5.5 0 0 1-.5-.5ZM12.5 10c.28 0 .5.22.5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h.8L8.14 8.85a.5.5 0 1 1 .7-.7L12 11.29v-.79c0-.28.22-.5.5-.5ZM2 11.3v-.8a.5.5 0 0 0-1 0v2c0 .28.22.5.5.5h2a.5.5 0 0 0 0-1h-.8l3.15-3.15a.5.5 0 1 0-.7-.7L2 11.29Z"})),unfold:react.createElement(react.Fragment,null,react.createElement("path",{d:"m6.65.15-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64V5a.5.5 0 0 0 1 0V1.7l.65.65a.5.5 0 1 0 .7-.7L7.35.15a.5.5 0 0 0-.7 0Z"}),react.createElement("path",{d:"M1.3 4.04a.5.5 0 0 0-.16.82L3.3 7 1.15 9.15a.5.5 0 0 0 .35.85h3a.5.5 0 0 0 0-1H2.7l1.5-1.5h5.6l2.35 2.35a.5.5 0 0 0 .7-.7L10.71 7l2.14-2.15.11-.54-.1.54A.5.5 0 0 0 13 4.5a.5.5 0 0 0-.14-.35.5.5 0 0 0-.36-.15h-3a.5.5 0 0 0 0 1h1.8L9.8 6.5H4.2L2.7 5h1.8a.5.5 0 0 0 0-1h-3a.5.5 0 0 0-.2.04Z"}),react.createElement("path",{d:"M7 8.5c.28 0 .5.22.5.5v3.3l.65-.65a.5.5 0 0 1 .7.7l-1.5 1.5a.5.5 0 0 1-.7 0l-1.5-1.5a.5.5 0 0 1 .7-.7l.65.64V9c0-.28.22-.5.5-.5ZM9 9.5c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Z"})),transfer:react.createElement(react.Fragment,null,react.createElement("path",{d:"M10.65 2.65c.2-.2.5-.2.7 0l1.5 1.5c.2.2.2.5 0 .7l-1.5 1.5a.5.5 0 0 1-.7-.7l.64-.65H1.5a.5.5 0 0 1 0-1h9.8l-.65-.65a.5.5 0 0 1 0-.7ZM3.35 8.35 2.71 9h9.79a.5.5 0 0 1 0 1H2.7l.65.65a.5.5 0 0 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7Z"})),redirect:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1.5 1c.28 0 .5.22.5.5V10a2 2 0 0 0 4 0V4a3 3 0 0 1 6 0v7.8l1.15-1.15a.5.5 0 0 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 0 1 .7-.7L11 11.79V4a2 2 0 1 0-4 0v6a3 3 0 0 1-6 0V1.5c0-.28.22-.5.5-.5Z"})),undo:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1.15 3.85a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7L2.71 3H9a4 4 0 0 1 0 8H3a.5.5 0 0 1 0-1h6a3 3 0 1 0 0-6H2.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2Z"})),reply:react.createElement(react.Fragment,null,react.createElement("path",{d:"M4.35 2.15c.2.2.2.5 0 .7L1.71 5.5H9.5A4.5 4.5 0 0 1 14 10v1.5a.5.5 0 0 1-1 0V10a3.5 3.5 0 0 0-3.5-3.5H1.7l2.65 2.65a.5.5 0 1 1-.7.7l-3.5-3.5a.5.5 0 0 1 0-.7l3.5-3.5c.2-.2.5-.2.7 0Z"})),sync:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5.5 1A.5.5 0 0 0 5 .5H2a.5.5 0 0 0 0 1h1.53a6.5 6.5 0 0 0 2.39 11.91.5.5 0 1 0 .16-.99A5.5 5.5 0 0 1 4.5 2.1V4a.5.5 0 0 0 1 0V1ZM7.5 1a.5.5 0 0 1 .58-.41 6.5 6.5 0 0 1 2.39 11.91H12a.5.5 0 0 1 0 1H9a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 1 0v1.9A5.5 5.5 0 0 0 7.92 1.58.5.5 0 0 1 7.5 1Z"})),upload:react.createElement(react.Fragment,null,react.createElement("path",{d:"M8.65 5.85 7.5 4.71v5.79a.5.5 0 0 1-1 0V4.7L5.35 5.86a.5.5 0 1 1-.7-.7l2-2c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7Z"}),react.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),download:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5.35 8.15 6.5 9.29V3.5a.5.5 0 0 1 1 0v5.8l1.15-1.15a.5.5 0 1 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 1 1 .7-.7Z"}),react.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm1 0a6 6 0 1 1 12 0A6 6 0 0 1 1 7Z"})),back:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5.85 5.35 4.71 6.5h5.79a.5.5 0 0 1 0 1H4.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7Z"}),react.createElement("path",{fillRule:"evenodd",d:"M7 0a7 7 0 1 1 0 14A7 7 0 0 1 7 0Zm0 1a6 6 0 1 1 0 12A6 6 0 0 1 7 1Z"})),proceed:react.createElement(react.Fragment,null,react.createElement("path",{d:"M3.5 6.5h5.8L8.14 5.35a.5.5 0 1 1 .7-.7l2 2c.2.2.2.5 0 .7l-2 2a.5.5 0 1 1-.7-.7L9.29 7.5H3.5a.5.5 0 0 1 0-1Z"}),react.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 1 7 0a7 7 0 0 1 0 14Zm0-1A6 6 0 1 1 7 1a6 6 0 0 1 0 12Z"})),refresh:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.1.5H7a6.5 6.5 0 1 0 6.41 7.58.5.5 0 1 0-.99-.16A5.47 5.47 0 0 1 7 12.5a5.5 5.5 0 0 1 0-11 5.5 5.5 0 0 1 4.9 3H10a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-1 0v1.53A6.5 6.5 0 0 0 7.1.5Z"})),globe:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 0 0 7a7 7 0 0 0 14 0Zm-6.53 5.74c-.24.23-.4.26-.47.26-.08 0-.23-.03-.47-.26-.23-.24-.5-.62-.73-1.18A11.57 11.57 0 0 1 5 7.5h4a11.57 11.57 0 0 1-.8 4.06c-.24.56-.5.94-.73 1.18ZM8.99 6.5H5.01c.05-1.62.35-3.04.79-4.06.24-.56.5-.94.73-1.18.24-.23.4-.26.47-.26.08 0 .23.03.47.26.23.24.5.62.73 1.18.44 1.02.74 2.44.8 4.06Zm1 1c-.06 2.18-.56 4.08-1.28 5.25a6 6 0 0 0 4.27-5.25H9.99Zm2.99-1H9.99c-.06-2.18-.56-4.08-1.28-5.25a6 6 0 0 1 4.27 5.25ZM4 6.5c.06-2.18.56-4.08 1.28-5.25A6 6 0 0 0 1.02 6.5h2.99Zm-2.99 1a6 6 0 0 0 4.27 5.25c-.72-1.17-1.22-3.07-1.28-5.25H1.02Z"})),compass:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M10.09 3.4 5.95 5.8a.37.37 0 0 0-.11.09.38.38 0 0 0-.04.05l-2.4 4.15a.37.37 0 0 0 0 .38c.1.18.33.24.5.14l4.15-2.4a.37.37 0 0 0 .15-.15l2.4-4.15a.37.37 0 0 0-.03-.44.37.37 0 0 0-.48-.07ZM4.75 9.25 7.6 7.6 6.4 6.4 4.75 9.25Z"}),react.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),location:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm6.5 3.5v2.48A6 6 0 0 1 1.02 7.5H3.5a.5.5 0 0 0 0-1H1.02A6 6 0 0 1 6.5 1.02V3.5a.5.5 0 0 0 1 0V1.02a6 6 0 0 1 5.48 5.48H10.5a.5.5 0 0 0 0 1h2.48a6 6 0 0 1-5.48 5.48V10.5a.5.5 0 0 0-1 0Z"})),pin:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M9 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),react.createElement("path",{fillRule:"evenodd",d:"M12 5A5 5 0 0 0 2 5c0 2.63 2.27 6.15 4.65 8.64.2.2.5.2.7 0C9.73 11.15 12 7.64 12 5ZM7 1a4 4 0 0 1 4 4c0 1.06-.47 2.42-1.3 3.88A21.23 21.23 0 0 1 7 12.55c-1-1.1-1.97-2.39-2.7-3.67A8.46 8.46 0 0 1 3 5a4 4 0 0 1 4-4Z"})),time:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7 2c.28 0 .5.22.5.5v4H10a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5V2.5c0-.28.22-.5.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),dashboard:react.createElement(react.Fragment,null,react.createElement("path",{d:"M9.8 4.1a.5.5 0 0 1 .1.7L7.92 7.58A1 1 0 1 1 7.1 7l2-2.8a.5.5 0 0 1 .7-.12Z"}),react.createElement("path",{fillRule:"evenodd",d:"M2.07 12.97a7 7 0 1 1 9.86 0 12.96 12.96 0 0 0-9.86 0Zm9.58-1.18a6 6 0 1 0-9.3 0 13.98 13.98 0 0 1 9.3 0Z"})),timer:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.5 4.5a.5.5 0 0 0-1 0v2.63a1 1 0 1 0 1 0V4.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M5.5.5c0-.28.22-.5.5-.5h2a.5.5 0 0 1 0 1h-.5v1.02c1.28.1 2.45.61 3.37 1.4l.78-.77a.5.5 0 0 1 .7.7l-.77.78a6 6 0 1 1-5.08-2.1V1H6a.5.5 0 0 1-.5-.5ZM7 3a5 5 0 1 0 0 10A5 5 0 0 0 7 3Z"})),home:react.createElement(react.Fragment,null,react.createElement("path",{d:"m7.35 1.15 5.5 5.5a.5.5 0 0 1-.7.7L12 7.21v5.29a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V9H6v3.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V7.2l-.15.15a.5.5 0 1 1-.7-.7l1-1 4.5-4.5c.2-.2.5-.2.7 0ZM3 6.2V12h2V8.5c0-.28.22-.5.5-.5h3c.28 0 .5.22.5.5V12h2V6.2l-4-4-4 4Z"})),admin:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M1.21 4.1a.5.5 0 0 1 .06-.04l5.48-3a.5.5 0 0 1 .5 0l5.48 3a.5.5 0 0 1 .27.39.5.5 0 0 1-.51.55H1.51a.5.5 0 0 1-.3-.9ZM3.46 4h7.08L7 2.07 3.46 4Z"}),react.createElement("path",{d:"M4 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM11 6a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V6ZM5.75 5.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM8.75 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM1.5 12.5c0-.27.22-.5.5-.5h10a.5.5 0 0 1 0 1H2a.5.5 0 0 1-.5-.5Z"})),info:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7 5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM7 4.5A.75.75 0 1 0 7 3a.75.75 0 0 0 0 1.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),question:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 1 1 7 7a.5.5 0 0 0-.5.5V9a.5.5 0 0 0 1 0V7.95a2.75 2.75 0 1 0-3.25-2.7.5.5 0 0 0 1 0ZM7 11.5A.75.75 0 1 0 7 10a.75.75 0 0 0 0 1.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),support:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-3.52 4.9a5.97 5.97 0 0 1-6.96 0l1.45-1.45a3.98 3.98 0 0 0 4.06 0l1.45 1.44Zm-.03-2.87 1.44 1.45a5.97 5.97 0 0 0 0-6.96l-1.44 1.45a3.98 3.98 0 0 1 0 4.06ZM9.03 3.55l1.45-1.44a5.97 5.97 0 0 0-6.96 0l1.45 1.44a3.98 3.98 0 0 1 4.06 0ZM3.55 4.97 2.11 3.52a5.97 5.97 0 0 0 0 6.96l1.44-1.45a3.98 3.98 0 0 1 0-4.06ZM10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})),alert:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7 4.5c.28 0 .5.22.5.5v3.5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM7.75 10.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),react.createElement("path",{fillRule:"evenodd",d:"M7.2 1.04a.5.5 0 0 1 .24.21l6.49 11a.5.5 0 0 1-.44.75H.51a.5.5 0 0 1-.5-.45.5.5 0 0 1 .06-.31l6.5-10.99a.5.5 0 0 1 .64-.2ZM7 2.48 1.38 12h11.24L7 2.48Z"})),email:react.createElement(react.Fragment,null,react.createElement("path",{d:"M0 2.5c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-9Zm1 1.02V11h12V3.52L7.31 7.89a.5.5 0 0 1-.52.07.5.5 0 0 1-.1-.07L1 3.52ZM12.03 3H1.97L7 6.87 12.03 3Z"})),phone:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"m7.76 8.13-.05.05a.2.2 0 0 1-.28.03A6.76 6.76 0 0 1 5.8 6.56a.21.21 0 0 1 .04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 0 0-.51.13A3.23 3.23 0 0 0 .9 3.42c-.13 1.1.26 2.37 1.17 3.78a16.68 16.68 0 0 0 4.55 4.6 6.57 6.57 0 0 0 3.53 1.32A3.2 3.2 0 0 0 13 11.46c.14-.24.24-.64-.07-1.18a7.8 7.8 0 0 0-1.73-1.8c-.64-.5-1.52-1.12-2.13-1.12a.97.97 0 0 0-.34.06c-.47.17-.74.46-.95.69l-.02.02Zm4.32 2.68a6.8 6.8 0 0 0-1.48-1.54h-.02c-.3-.25-.64-.49-.95-.67a2.7 2.7 0 0 0-.56-.24h-.01c-.23.09-.34.21-.56.45l-.02.02-.04.04a1.2 1.2 0 0 1-1.6.15 7.76 7.76 0 0 1-1.86-1.89l-.01-.01-.02-.02a1.21 1.21 0 0 1 .2-1.53l.06-.06.02-.02c.22-.2.35-.31.43-.53v-.02c0-.02 0-.06-.03-.14a3.7 3.7 0 0 0-.5-.88h-.01V3.9c-.23-.33-.65-.87-1.1-1.32H4c-.31-.32-.55-.5-.72-.6a.6.6 0 0 0-.22-.1h-.03a2.23 2.23 0 0 0-1.15 1.66c-.09.78.18 1.8 1.02 3.1a15.68 15.68 0 0 0 4.27 4.33l.02.01.02.02a5.57 5.57 0 0 0 2.97 1.11 2.2 2.2 0 0 0 1.93-1.14h.01v-.05a.57.57 0 0 0-.05-.12Z"})),link:react.createElement(react.Fragment,null,react.createElement("path",{d:"M11.84 2.16a2.25 2.25 0 0 0-3.18 0l-2.5 2.5c-.88.88-.88 2.3 0 3.18a.5.5 0 0 1-.7.7 3.25 3.25 0 0 1 0-4.59l2.5-2.5a3.25 3.25 0 0 1 4.59 4.6L10.48 8.1c.04-.44.01-.89-.09-1.32l1.45-1.45c.88-.88.88-2.3 0-3.18Z"}),react.createElement("path",{d:"M3.6 7.2c-.1-.42-.12-.87-.08-1.31L1.45 7.95a3.25 3.25 0 1 0 4.6 4.6l2.5-2.5a3.25 3.25 0 0 0 0-4.6.5.5 0 0 0-.7.7c.87.89.87 2.31 0 3.2l-2.5 2.5a2.25 2.25 0 1 1-3.2-3.2l1.46-1.44Z"})),unlink:react.createElement(react.Fragment,null,react.createElement("path",{d:"m1.45 7.95 1.3-1.3.71.7-1.3 1.3a2.25 2.25 0 1 0 3.18 3.2l1.3-1.31.71.7-1.3 1.3a3.25 3.25 0 0 1-4.6-4.59ZM12.55 6.05l-1.3 1.3-.71-.7 1.3-1.3a2.25 2.25 0 1 0-3.18-3.2l-1.3 1.31-.71-.7 1.3-1.3a3.25 3.25 0 0 1 4.6 4.59ZM1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),bell:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M8 1.11a1 1 0 1 0-1.99 0A4.5 4.5 0 0 0 2.5 5.5v3.88l-.94 1.89a.5.5 0 0 0-.06.3.5.5 0 0 0 .51.43h3.58a1.5 1.5 0 1 0 2.82 0H12a.5.5 0 0 0 .45-.73l-.94-1.89V5.5A4.5 4.5 0 0 0 8 1.11ZM2.8 11h8.4l-.5-1H3.3l-.5 1Zm7.7-2V5.5a3.5 3.5 0 1 0-7 0V9h7Zm-4 3.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Z"})),rss:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1.5.5c0-.28.22-.5.5-.5a12 12 0 0 1 12 12 .5.5 0 0 1-1 0A11 11 0 0 0 2 1a.5.5 0 0 1-.5-.5Z"}),react.createElement("path",{d:"M1.5 4.5c0-.28.22-.5.5-.5a8 8 0 0 1 8 8 .5.5 0 0 1-1 0 7 7 0 0 0-7-7 .5.5 0 0 1-.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M5 11a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-1 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"})),sharealt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7.5a.5.5 0 0 0-1 0V12H2V2h4.5a.5.5 0 0 0 0-1H2Z"}),react.createElement("path",{d:"M7.35 7.36 12 2.7v1.8a.5.5 0 0 0 1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 1 0 0 1h1.8L6.64 6.64a.5.5 0 1 0 .7.7Z"})),share:react.createElement(react.Fragment,null,react.createElement("path",{d:"M6.65.15c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7L7.5 1.72v6.8a.5.5 0 0 1-1 0V1.7L5.35 2.86a.5.5 0 1 1-.7-.71l2-2Z"}),react.createElement("path",{d:"M2 4a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H9.5a.5.5 0 1 0 0 1H12v7H2V5h2.5a.5.5 0 0 0 0-1H2Z"})),circlehollow:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M7 13A6 6 0 1 0 7 1a6 6 0 0 0 0 12Zm0 1A7 7 0 1 0 7 0a7 7 0 0 0 0 14Z"})),circle:react.createElement("path",{d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Z"}),bookmarkhollow:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5ZM4 12.41l2.66-2.28a.45.45 0 0 1 .38-.13c.1.01.2.05.29.12l2.67 2.3V1H4v11.41Z"})),bookmark:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5Z"})),hearthollow:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59ZM1.2 3.53A2.2 2.2 0 0 1 2.57 2.2M1.2 3.53c-.13.33-.2.72-.2 1.18 0 .22.03.45.1.68a3.97 3.97 0 0 0 .79 1.46c.19.23.38.45.59.65l4.51 4.36 4.52-4.35c.2-.2.4-.4.59-.65.18-.23.34-.47.49-.73.13-.23.23-.48.3-.73.08-.23.11-.46.11-.7 0-.45-.07-.84-.2-1.18-.12-.33-.3-.6-.51-.8v-.01c-.22-.2-.5-.38-.85-.51-.34-.13-.75-.2-1.24-.2-.2 0-.4.03-.6.09a4.95 4.95 0 0 0-1.9 1.22l-.68.67-.7-.65a9.97 9.97 0 0 0-.62-.53c-.2-.16-.42-.3-.63-.42h-.01c-.21-.12-.43-.22-.66-.29C4.2 2.03 4 2 3.77 2c-.48 0-.88.07-1.21.2"})),heart:react.createElement(react.Fragment,null,react.createElement("path",{d:"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59Z"})),starhollow:react.createElement(react.Fragment,null,react.createElement("path",{d:"M6.32.78a.75.75 0 0 1 1.36 0l1.63 3.54 3.87.46c.63.07.89.86.42 1.3l-2.86 2.64.76 3.81a.75.75 0 0 1-1.1.8L7 11.43l-3.4 1.9a.75.75 0 0 1-1.1-.8l.76-3.81L.4 6.07a.75.75 0 0 1 .42-1.3l3.87-.45L6.32.78ZM7 1.7 5.54 4.86c-.11.24-.34.4-.6.43l-3.46.42 2.56 2.37c.2.17.28.44.23.7l-.68 3.42 3.04-1.7c.23-.14.5-.14.74 0l3.04 1.7-.68-3.43a.75.75 0 0 1 .23-.7l2.56-2.36-3.47-.42a.75.75 0 0 1-.59-.43L7 1.7Z"})),star:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.68.78a.75.75 0 0 0-1.36 0L4.69 4.32l-3.87.46a.75.75 0 0 0-.42 1.3l2.86 2.64-.76 3.81a.75.75 0 0 0 1.1.8l3.4-1.9 3.4 1.9a.75.75 0 0 0 1.1-.8l-.76-3.81 2.86-2.65a.75.75 0 0 0-.42-1.3L9.3 4.33 7.68.78Z"})),certificate:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M10 7.85A4.49 4.49 0 0 0 7 0a4.5 4.5 0 0 0-3 7.85V13a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.15L7 11.21l2.15 2.14A.5.5 0 0 0 10 13V7.85ZM7 8a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm-.35 2.15c.2-.2.5-.2.7 0L9 11.79V8.53a4.48 4.48 0 0 1-4 0v3.26l1.65-1.64Z"})),verified:react.createElement(react.Fragment,null,react.createElement("path",{d:"M6.56 13.12a1 1 0 0 1 .88 0l.98.49a1 1 0 0 0 1.31-.43l.52-.97a1 1 0 0 1 .7-.51l1.08-.2a1 1 0 0 0 .81-1.1l-.15-1.1a1 1 0 0 1 .27-.82l.76-.8a1 1 0 0 0 0-1.37l-.76-.79a1 1 0 0 1-.27-.83l.15-1.08a1 1 0 0 0-.8-1.12l-1.09-.19a1 1 0 0 1-.7-.5L9.73.81A1 1 0 0 0 8.43.4l-1 .49a1 1 0 0 1-.87 0L5.58.39a1 1 0 0 0-1.31.43l-.52.97a1 1 0 0 1-.7.51l-1.08.2a1 1 0 0 0-.81 1.1l.15 1.1a1 1 0 0 1-.27.82l-.76.8a1 1 0 0 0 0 1.37l.76.79a1 1 0 0 1 .27.83l-.15 1.08a1 1 0 0 0 .8 1.12l1.09.19a1 1 0 0 1 .7.5l.52.98a1 1 0 0 0 1.3.43l1-.49Zm4.3-8.47c.19.2.19.5 0 .7l-4.5 4.5a.5.5 0 0 1-.71 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z"})),thumbsup:react.createElement(react.Fragment,null,react.createElement("path",{d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.5 5.5 0 0 1-1.3-.16c-.42-.1-.91-.25-1.47-.45-.3-.12-.63-.21-.95-.27H2.88a.84.84 0 0 1-.62-.26.84.84 0 0 1-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 0 1 .62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 0 1 .62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7a2.94 2.94 0 0 1 .21 1.58 3 3 0 0 1-.3 1h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98.07.54-.07 1.08-.4 1.51a1.9 1.9 0 0 1-.57 1.5Zm.47-5.33a.96.96 0 0 0 .03-.25.74.74 0 0 0-.23-.51.68.68 0 0 0-.52-.23H7.93l.73-1.45a2 2 0 0 0 .21-.87c0-.44-.07-.7-.13-.82a.53.53 0 0 0-.24-.24 1.3 1.3 0 0 0-.54-.12.99.99 0 0 0-.14.28c-.08.27-.13.52-.18.76-.06.38-.2.77-.48 1.07v.01l-.02.01c-.2.2-.4.46-.67.8l-.61.76c-.15.17-.35.38-.54.51l-.26.18H5v4.13h.02c.38.08.76.18 1.12.32.53.2.98.33 1.35.42.36.09.71.13 1.07.13h.88c.43 0 .68-.11.87-.29a.9.9 0 0 0 .26-.7l-.02-.37.22-.3c.17-.23.25-.5.2-.78l-.04-.33.17-.3a.97.97 0 0 0 .13-.48c0-.09 0-.13-.02-.15l-.15-.46.26-.4c.1-.15.13-.25.15-.33ZM3.5 10.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),shield:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M11.76 2.08a.5.5 0 0 1 .24.42v6a.5.5 0 0 1-.17.38l-4.5 3.99a.5.5 0 0 1-.67 0l-4.49-4A.5.5 0 0 1 2 8.5V2.5c0-.18.1-.34.24-.42l.01-.02a2.5 2.5 0 0 1 .3-.16c.22-.1.52-.24.92-.37C4.27 1.26 5.44 1 7 1c1.56 0 2.73.26 3.53.53a6.97 6.97 0 0 1 1.22.53l.01.02ZM3 2.79v5.49l1.07.94 6.59-6.58-.44-.17C9.52 2.24 8.44 2 7 2c-1.44 0-2.52.24-3.22.47-.35.12-.6.24-.78.32Zm4 9.04L4.82 9.9 11 3.71v4.57l-4 3.55Z"})),basket:react.createElement(react.Fragment,null,react.createElement("path",{d:"M10.35 2.85a.5.5 0 1 0-.7-.7l-3 3a.5.5 0 1 0 .7.7l3-3Z"}),react.createElement("path",{d:"M2.09 6H4.5a.5.5 0 0 0 0-1H1.8a.75.75 0 0 0-.74.87l.8 4.88A1.5 1.5 0 0 0 3.36 12h7.3a1.5 1.5 0 0 0 1.48-1.25l.81-4.88A.75.75 0 0 0 12.2 5H10a.5.5 0 0 0 0 1h1.91l-.76 4.58a.5.5 0 0 1-.5.42h-7.3a.5.5 0 0 1-.5-.42L2.1 6Z"}),react.createElement("path",{d:"M4.5 7c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 7.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2ZM6.5 9.5v-2a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0Z"})),beaker:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M4.5 2h.75v3.87l-3.03 5.26c-.48.83.12 1.87 1.08 1.87h7.4c.96 0 1.57-1.04 1.08-1.87L8.75 5.87V2h.75a.5.5 0 0 0 0-1h-5a.5.5 0 0 0 0 1Zm1.75 4V2h1.5v4.13l.07.12 1 1.75H5.18l1.01-1.75.07-.12V6ZM4.6 9l-1.52 2.63c-.1.16.03.37.22.37h7.4c.2 0 .31-.2.22-.37L9.4 9H4.6Z"})),hourglass:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.5 10.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"}),react.createElement("path",{fillRule:"evenodd",d:"M3.5 1a.5.5 0 0 0-.5.5c0 1.06.14 1.9.68 2.97.34.7.86 1.5 1.6 2.53a16.53 16.53 0 0 0-1.8 2.96A6 6 0 0 0 3 12.49v.01a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5 6 6 0 0 0-.48-2.54c-.34-.8-.9-1.71-1.8-2.96a19.78 19.78 0 0 0 1.6-2.53c.54-1.08.68-1.9.68-2.97a.5.5 0 0 0-.5-.5h-7Zm6.49 11a4.68 4.68 0 0 0-.39-1.65c-.27-.65-.73-1.4-1.5-2.5a133 133 0 0 1-.75 1 .5.5 0 0 1-.56.1.5.5 0 0 1-.2-.16l-.7-.94a14.36 14.36 0 0 0-1.5 2.5A4.68 4.68 0 0 0 4.02 12H10ZM6.3 6.72l.7.94a90.06 90.06 0 0 0 .7-.96c.49-.67.87-1.22 1.17-1.7H5.13A32.67 32.67 0 0 0 6.3 6.72ZM4.56 4h4.88c.36-.73.5-1.31.55-2H4c.04.69.19 1.27.55 2Z"})),flag:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M11.5 1h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 1 0V8h8.5a.5.5 0 0 0 .35-.85L9.21 4.5l2.64-2.65A.5.5 0 0 0 11.5 1ZM8.15 4.15 10.29 2H3v5h7.3L8.14 4.85a.5.5 0 0 1 0-.7Z"})),cloudhollow:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M10 7V6a3 3 0 0 0-5.9-.74l-.18.68-.7.07A2.5 2.5 0 0 0 3.5 11h3.19l.07-.01h.08L7 11h4a2 2 0 1 0 0-4h-1ZM3.12 5.02A3.5 3.5 0 0 0 3.5 12H11a3 3 0 1 0 0-6 4 4 0 0 0-7.88-.98Z"})),cloud:react.createElement("path",{d:"M7 2a4 4 0 0 1 4 4 3 3 0 1 1 0 6H3.5a3.5 3.5 0 0 1-.38-6.98A4 4 0 0 1 7 2Z"}),edit:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"m13.85 2.15-2-2a.5.5 0 0 0-.7 0l-1.5 1.5-9 9a.5.5 0 0 0-.14.26L0 13.39a.5.5 0 0 0 .14.46.5.5 0 0 0 .46.14l2.48-.5a.5.5 0 0 0 .27-.14l9-9 1.5-1.5a.5.5 0 0 0 0-.7ZM12 3.29l.8-.79-1.3-1.3-.8.8L12 3.3Zm-2-.58L1.7 11 3 12.3 11.3 4 10 2.7ZM1.14 12.86l.17-.85.68.68-.85.17Z"})),cog:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5.59 5.59a2 2 0 0 1 3.27 2.14.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 1 0-.36-.94A2 2 0 0 1 5.6 5.6Z",fill:"#333"}),react.createElement("path",{fillRule:"evenodd",d:"M.94 6.53c.13.12.19.3.18.46 0 .17-.05.34-.18.47L0 8.39c.19.94.55 1.81 1.07 2.58h1.32c.18 0 .34.07.46.2.12.11.2.27.2.45v1.32c.76.51 1.62.88 2.55 1.06l.94-.94a.63.63 0 0 1 .45-.19h.03c.16 0 .33.07.45.19l.94.94a7.1 7.1 0 0 0 2.55-1.06v-1.33c0-.18.07-.35.2-.46.11-.12.27-.2.45-.2h1.33A7.1 7.1 0 0 0 14 8.4l-.95-.94a.64.64 0 0 1-.18-.47c0-.17.06-.34.18-.46l.95-.95a7.1 7.1 0 0 0-1.05-2.52h-1.34a.63.63 0 0 1-.46-.2.64.64 0 0 1-.2-.46V1.06A7.1 7.1 0 0 0 8.42 0l-.94.94a.63.63 0 0 1-.45.19H7a.63.63 0 0 1-.45-.19L5.6 0a7.1 7.1 0 0 0-2.56 1.06v1.33c0 .18-.07.34-.2.46a.63.63 0 0 1-.45.2H1.06A7.1 7.1 0 0 0 0 5.59l.94.94Zm.7 1.63c.33-.32.49-.75.48-1.17 0-.42-.15-.85-.47-1.17l-.54-.54c.12-.43.3-.85.51-1.23h.77c.46 0 .87-.2 1.17-.5.3-.29.48-.7.48-1.16v-.77c.4-.22.81-.39 1.25-.52l.54.55c.33.32.75.48 1.16.48h.03c.42 0 .84-.16 1.16-.48l.54-.54c.44.12.85.3 1.24.5v.8c0 .45.19.87.49 1.16.3.3.7.5 1.16.5h.78c.2.37.38.78.5 1.2l-.54.55c-.33.32-.49.75-.48 1.17 0 .42.15.85.48 1.17l.55.55c-.13.44-.3.85-.52 1.24h-.77c-.45 0-.87.2-1.16.5-.3.29-.5.7-.5 1.16v.77c-.38.21-.8.39-1.23.51l-.54-.54a1.64 1.64 0 0 0-1.16-.48H7c-.41 0-.83.16-1.16.48l-.54.55a6.1 6.1 0 0 1-1.25-.52v-.76c0-.45-.19-.87-.48-1.16-.3-.3-.71-.5-1.17-.5h-.76a6.1 6.1 0 0 1-.53-1.25l.55-.55Z"})),nut:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5.59 8.41a2 2 0 1 1 3.27-.68.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 0 0-.36-.94 2 2 0 0 1-2.14-.45Z"}),react.createElement("path",{fillRule:"evenodd",d:"M6.5.29a1 1 0 0 1 1 0l5.06 2.92c.31.18.5.51.5.87v5.84a1 1 0 0 1-.5.87L7.5 13.7a1 1 0 0 1-1 0L1.44 10.8a1 1 0 0 1-.5-.87V4.08a1 1 0 0 1 .5-.87L6.5.3Zm.5.86 5.06 2.93v5.84L7 12.85 1.94 9.92V4.08L7 1.15Z"})),wrench:react.createElement(react.Fragment,null,react.createElement("path",{d:"M10.5 1c.44 0 .56.52.25.83l-.8.81c-.2.2-.2.52 0 .72l.69.7c.2.2.52.2.72 0l.8-.81c.32-.31.84-.2.84.25a2.5 2.5 0 0 1-3.41 2.33L2.7 12.7a1 1 0 0 1-1.42-1.42l6.88-6.88A2.5 2.5 0 0 1 10.5 1ZM2 12.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),ellipsis:react.createElement(react.Fragment,null,react.createElement("path",{d:"M4 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM13 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM7 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})),check:react.createElement(react.Fragment,null,react.createElement("path",{d:"M13.85 3.35a.5.5 0 0 0-.7-.7L5 10.79.85 6.65a.5.5 0 1 0-.7.7l4.5 4.5c.2.2.5.2.7 0l8.5-8.5Z"})),form:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6.4a.5.5 0 0 0-1 0V12H2V2h7.5a.5.5 0 0 0 0-1H2Z"}),react.createElement("path",{d:"m6.35 9.86 7.5-7.5a.5.5 0 0 0-.7-.71L6 8.8 3.85 6.65a.5.5 0 1 0-.7.7l2.5 2.5c.2.2.5.2.7 0Z"})),batchdeny:react.createElement(react.Fragment,null,react.createElement("path",{d:"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.646.646a.5.5 0 0 1 0 .708L5.207 7l3.647 3.646a.5.5 0 0 1-.708.708L4.5 7.707.854 11.354a.5.5 0 0 1-.708-.708L3.793 7 .146 3.354a.5.5 0 1 1 .708-.708L4.5 6.293l3.646-3.647a.5.5 0 0 1 .708 0ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z"})),batchaccept:react.createElement(react.Fragment,null,react.createElement("path",{d:"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.2.6a.5.5 0 0 1 .1.7l-5.995 7.993a.505.505 0 0 1-.37.206.5.5 0 0 1-.395-.152L.146 8.854a.5.5 0 1 1 .708-.708l2.092 2.093L8.6 2.7a.5.5 0 0 1 .7-.1ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z"})),controls:react.createElement(react.Fragment,null,react.createElement("path",{d:"M10.5 1c.28 0 .5.22.5.5V2h1.5a.5.5 0 0 1 0 1H11v.5a.5.5 0 0 1-1 0V3H1.5a.5.5 0 0 1 0-1H10v-.5c0-.28.22-.5.5-.5ZM1.5 11a.5.5 0 0 0 0 1H10v.5a.5.5 0 0 0 1 0V12h1.5a.5.5 0 0 0 0-1H11v-.5a.5.5 0 0 0-1 0v.5H1.5ZM1 7c0-.28.22-.5.5-.5H3V6a.5.5 0 0 1 1 0v.5h8.5a.5.5 0 0 1 0 1H4V8a.5.5 0 0 1-1 0v-.5H1.5A.5.5 0 0 1 1 7Z"})),plus:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v6h-6a.5.5 0 0 0 0 1h6v6a.5.5 0 0 0 1 0v-6h6a.5.5 0 0 0 0-1h-6v-6Z"})),closeAlt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2.03.97A.75.75 0 0 0 .97 2.03L5.94 7 .97 11.97a.75.75 0 1 0 1.06 1.06L7 8.06l4.97 4.97a.75.75 0 1 0 1.06-1.06L8.06 7l4.97-4.97A.75.75 0 0 0 11.97.97L7 5.94 2.03.97Z"})),cross:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1.85 1.15a.5.5 0 1 0-.7.7L6.29 7l-5.14 5.15a.5.5 0 0 0 .7.7L7 7.71l5.15 5.14a.5.5 0 0 0 .7-.7L7.71 7l5.14-5.15a.5.5 0 0 0-.7-.7L7 6.29 1.85 1.15Z"})),trash:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5.5 4.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM9 5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M4.5.5c0-.28.22-.5.5-.5h4c.28 0 .5.22.5.5V2h3a.5.5 0 0 1 0 1H12v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3h-.5a.5.5 0 0 1 0-1h3V.5ZM3 3v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V3H3Zm2.5-2h3v1h-3V1Z"})),pinalt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5 5H3.66A4 4 0 0 0 .83 6.17l-.48.48a.5.5 0 0 0 0 .7l2.8 2.8-3 3a.5.5 0 0 0 .7.7l3-3 2.8 2.8c.2.2.5.2.7 0l.48-.48A4 4 0 0 0 9 10.34V9l2-2c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM11 5.59l-3 3v1.75a3 3 0 0 1-.88 2.12L7 12.6 1.41 7l.13-.12A3 3 0 0 1 3.66 6H5.4l3-3-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6Z"})),unpin:react.createElement(react.Fragment,null,react.createElement("path",{d:"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5.7 4.3l.71.7 2-2-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6l-2 2 .7.7L11 7c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM.83 6.17A4 4 0 0 1 3.59 5l1 1h-.93a3 3 0 0 0-2.12.88L1.4 7 7 12.59l.12-.13A3 3 0 0 0 8 10.34v-.93l1 1a4 4 0 0 1-1.17 2.76l-.48.48a.5.5 0 0 1-.7 0l-2.8-2.8-3 3a.5.5 0 0 1-.7-.7l3-3-2.8-2.8a.5.5 0 0 1 0-.7l.48-.48Zm1.02-5.02a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),add:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7 3c.28 0 .5.22.5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3c0-.28.22-.5.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),subtract:react.createElement(react.Fragment,null,react.createElement("path",{d:"M3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"}),react.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),close:react.createElement(react.Fragment,null,react.createElement("path",{d:"M9.85 4.15c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z"}),react.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),delete:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0a6 6 0 0 1-9.87 4.58l8.45-8.45A5.98 5.98 0 0 1 13 7ZM2.42 10.87l8.45-8.45a6 6 0 0 0-8.46 8.46Z"})),passed:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm3.85-9.35c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z"})),changed:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"})),failed:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm2.85-9.85c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z"})),clear:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M5 2h7a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-1.41-.59l-3-3a2 2 0 0 1 0-2.82l3-3A2 2 0 0 1 5 2Zm1.15 3.15c.2-.2.5-.2.7 0L8 6.29l1.15-1.14a.5.5 0 1 1 .7.7L8.71 7l1.14 1.15a.5.5 0 0 1-.7.7L8 7.71 6.85 8.85a.5.5 0 1 1-.7-.7L7.29 7 6.15 5.85a.5.5 0 0 1 0-.7Z"})),comment:react.createElement(react.Fragment,null,react.createElement("path",{d:"M3.5 5a.5.5 0 1 0 0 1h7a.5.5 0 0 0 0-1h-7ZM3 8.5c0-.27.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M12.5 12H5.7l-1.85 1.86a.5.5 0 0 1-.35.14.5.5 0 0 1-.5-.5V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5ZM2 11V3h10v8H2Z"})),commentadd:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.5 5a.5.5 0 1 0-1 0v1.5H5a.5.5 0 1 0 0 1h1.5V9a.5.5 0 0 0 1 0V7.5H9a.5.5 0 0 0 0-1H7.5V5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z"})),requestchange:react.createElement(react.Fragment,null,react.createElement("path",{d:"M9.85 6.65c.2.2.2.51 0 .7l-2 2a.5.5 0 1 1-.7-.7L8.3 7.5H4.5a.5.5 0 0 1 0-1h3.79L7.15 5.36a.5.5 0 1 1 .7-.71l2 2Z"}),react.createElement("path",{fillRule:"evenodd",d:"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z"})),comments:react.createElement(react.Fragment,null,react.createElement("path",{d:"M8.5 7a.5.5 0 0 0 0-1h-5a.5.5 0 1 0 0 1h5ZM9 8.5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1 0-1h5c.28 0 .5.23.5.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M12 11.5V10h1.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v8c0 .28.22.5.5.5H2v1.5a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.14L4.71 12h6.79a.5.5 0 0 0 .5-.5ZM3 3V2h10v7h-1V3.5a.5.5 0 0 0-.5-.5H3Zm-2 8V4h10v7H1Z"})),lock:react.createElement(react.Fragment,null,react.createElement("path",{d:"M8 8a1 1 0 0 1-.5.87v1.63a.5.5 0 0 1-1 0V8.87A1 1 0 1 1 8 8Z"}),react.createElement("path",{fillRule:"evenodd",d:"M3 4a4 4 0 1 1 8 0v1h1.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4Zm7 1V4a3 3 0 1 0-6 0v1h6Zm2 1H2v7h10V6Z"})),unlock:react.createElement(react.Fragment,null,react.createElement("path",{d:"M6.5 8.87a1 1 0 1 1 1 0v1.63a.5.5 0 0 1-1 0V8.87Z"}),react.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 0 0-3 3v1h8.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4a4 4 0 0 1 7.76-1.38.5.5 0 0 1-.94.34A3 3 0 0 0 7 1ZM2 6h10v7H2V6Z"})),key:react.createElement(react.Fragment,null,react.createElement("path",{d:"M11 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),react.createElement("path",{fillRule:"evenodd",d:"M7.5 8.53v.97a.5.5 0 0 1-.5.5H5.5v1.5a.5.5 0 0 1-.5.5H3.5v1.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .15-.36l5.12-5.11a4.5 4.5 0 1 1 2.23 2.5ZM6 4.5a3.5 3.5 0 1 1 1.5 2.87c-.29-.2-1-.37-1 .48V9H5a.5.5 0 0 0-.5.5V11H3a.5.5 0 0 0-.5.5V13H1v-1.3l5.2-5.19c.15-.16.18-.4.1-.6A3.47 3.47 0 0 1 6 4.5Z"})),outbox:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.35.15a.5.5 0 0 0-.7 0l-2 2a.5.5 0 1 0 .7.7L6.5 1.72v6.8a.5.5 0 0 0 1 0V1.7l1.15 1.15a.5.5 0 1 0 .7-.71l-2-2Z"}),react.createElement("path",{d:"M2 7.5a.5.5 0 1 0-1 0v5c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-1 0V12H2V7.5Z"})),credit:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2.5 8a.5.5 0 1 0 0 1h3a.5.5 0 0 0 0-1h-3Z"}),react.createElement("path",{fillRule:"evenodd",d:"M0 11.5c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5a.5.5 0 0 0-.5.5v9ZM1 3v1h12V3H1Zm0 8h12V6H1v5Z"})),button:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1 3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h3.5a.5.5 0 1 0 0-1H1V4h12v5h-1a.5.5 0 0 0 0 1h1a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H1Z"}),react.createElement("path",{d:"M6.45 7a.5.5 0 0 1 .3.08l3.48 2.02a.5.5 0 0 1 0 .87l-1.08.62.75 1.3a.75.75 0 0 1-1.3.75l-.75-1.3-1.07.62a.5.5 0 0 1-.67-.13.5.5 0 0 1-.1-.3L6 7.5a.5.5 0 0 1 .45-.5Z"})),type:react.createElement(react.Fragment,null,react.createElement("path",{d:"M4 1.5c0-.27.22-.5.5-.5h5a.5.5 0 1 1 0 1h-2v10h2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1h2V2h-2a.5.5 0 0 1-.5-.5Z"}),react.createElement("path",{d:"M0 4.5c0-.27.22-.5.5-.5h4a.5.5 0 1 1 0 1H1v4h3.5a.5.5 0 1 1 0 1h-4a.5.5 0 0 1-.5-.5v-5ZM9.5 4a.5.5 0 1 0 0 1H13v4H9.5a.5.5 0 1 0 0 1h4a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-4Z"})),pointerdefault:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5.94 12.46c.11 0 .2-.06.25-.15l1.58-3.16 2.54 2.54c.04.05.1.07.19.07a.3.3 0 0 0 .2-.07l.8-.8a.27.27 0 0 0 0-.38L8.9 7.9l3.4-1.7c.06-.03.1-.07.12-.11a.22.22 0 0 0 .04-.14.33.33 0 0 0-.06-.16.17.17 0 0 0-.09-.07h-.02L1.91 1.55a.27.27 0 0 0-.35.36l4.15 10.37c.04.09.12.16.23.17Zm-.03 1h-.02a1.28 1.28 0 0 1-1.1-.8L.62 2.29A1.27 1.27 0 0 1 2.3.63l10.35 4.15c.52.18.79.65.81 1.11.04.53-.27.98-.7 1.2l-2.17 1.08L12.2 9.8c.5.5.5 1.3 0 1.8l-.8.8v.01c-.5.46-1.3.48-1.8-.01l-1.56-1.56-.95 1.92c-.23.45-.68.7-1.15.7h-.03Z"})),pointerhand:react.createElement(react.Fragment,null,react.createElement("path",{d:"M11.87 6v-.02c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47V5.17a.6.6 0 0 0 0-.05c-.02-.27-.23-.5-.47-.5a.5.5 0 0 0-.52.5v1.65l-.01.1a.49.49 0 0 1-.46.37.48.48 0 0 1-.47-.47V4.62a.6.6 0 0 0 0-.05c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 0 1-.47-.47V1.75c-.02-.27-.22-.5-.47-.5a.5.5 0 0 0-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47v-.26a.78.78 0 0 0-.06-.31.65.65 0 0 0-.16-.22l-.2-.19A6.37 6.37 0 0 0 3.06 7h-.02c-.43-.34-.62-.25-.69-.2-.26.14-.29.5-.13.74l1.73 2.6v.01h-.01l-.04.02.05-.02s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.04-.6.04-1.19.03-1.78V6Zm.97 2.38c-.06 1.29-.26 2.67-1.08 3.72-.88 1.12-2.29 1.65-4.23 1.65a4.64 4.64 0 0 1-3.4-1.62 6.96 6.96 0 0 1-1.05-1.5v-.02L1.4 8.1A1.6 1.6 0 0 1 1.15 7c.05-.38.26-.8.69-1.04.2-.13.48-.23.85-.19.36.05.68.22.98.45.14.1.27.22.4.33v-4.8A1.5 1.5 0 0 1 5.63.25c.93.04 1.43.86 1.43 1.55v1.33c.17-.05.35-.07.53-.06h.02c.5.04.91.33 1.15.71a1.5 1.5 0 0 1 .74-.16c.66.03 1.12.46 1.32.97a1.5 1.5 0 0 1 .64-.1h.02c.85.06 1.39.8 1.39 1.55v.48c0 .6 0 1.24-.03 1.86Z"})),browser:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5H.5Zm.5-1V4h12v8H1Zm1-9.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),tablet:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M3.5 0C2.67 0 2 .68 2 1.5v11c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-11c0-.82-.67-1.5-1.5-1.5h-7Zm0 1h7c.28 0 .5.23.5.5V11H3V1.5c0-.27.22-.5.5-.5ZM6 12a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1H6Z"})),mobile:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M3 1.5C3 .68 3.67 0 4.5 0h5c.83 0 1.5.68 1.5 1.5v11c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 3 12.5v-11ZM4 12V2h6v10H4Z"})),watch:react.createElement(react.Fragment,null,react.createElement("path",{key:"watch",fillRule:"evenodd",d:"M4 .5c0-.27.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5A.5.5 0 0 1 4 .5ZM9.5 3h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Zm-5-1C3.67 2 3 2.68 3 3.5v7c0 .83.67 1.5 1.5 1.5h5c.83 0 1.5-.67 1.5-1.5v-7c0-.82-.67-1.5-1.5-1.5h-5ZM7 4c.28 0 .5.23.5.5v2h1a.5.5 0 1 1 0 1H7a.5.5 0 0 1-.5-.5V4.5c0-.27.22-.5.5-.5Zm-2.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z"})),sidebar:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2ZM6 2h6v10H6V2Z"})),sidebaralt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M9.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5ZM10 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1h-1Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h6v10H2ZM9 2h3v10H9V2Z"})),sidebaralttoggle:react.createElement(react.Fragment,null,react.createElement("path",{d:"M11.5 4.5A.5.5 0 0 0 11 4h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5ZM11 6a.5.5 0 0 1 0 1h-1a.5.5 0 0 1 0-1h1Zm.5 2.5A.5.5 0 0 0 11 8h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11ZM9 12h3V2H9v10Zm-1 0H2V2h6v4.5H5.2l.66-.65a.5.5 0 1 0-.71-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7l-.64-.65H8V12Z"})),sidebartoggle:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2Zm4 0V7.5h2.8l-.65.65a.5.5 0 1 0 .7.7l1.5-1.5a.5.5 0 0 0 0-.7l-1.5-1.5a.5.5 0 1 0-.7.7l.64.65H6V2h6v10H6Z"})),bottombar:react.createElement(react.Fragment,null,react.createElement("path",{d:"M3 10.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 8V2h10v6H2Zm10 1v3H2V9h10Z"})),bottombartoggle:react.createElement(react.Fragment,null,react.createElement("path",{d:"M3.5 10a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1 12.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5Zm1-.5V9h10v3H2Zm4.5-4H2V2h10v6H7.5V5.21l.65.65a.5.5 0 1 0 .7-.71l-1.5-1.5a.5.5 0 0 0-.7 0l-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64v2.8Z"})),cpu:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M5 5.5c0-.27.22-.5.5-.5h3c.28 0 .5.23.5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3ZM6 8V6h2v2H6Z"}),react.createElement("path",{fillRule:"evenodd",d:"M5.5 0c.28 0 .5.23.5.5V2h2V.5a.5.5 0 0 1 1 0V2h2.5c.28 0 .5.23.5.5V5h1.5a.5.5 0 0 1 0 1H12v2h1.5a.5.5 0 0 1 0 1H12v2.5a.5.5 0 0 1-.5.5H9v1.5a.5.5 0 0 1-1 0V12H6v1.5a.5.5 0 0 1-1 0V12H2.5a.5.5 0 0 1-.5-.5V9H.5a.5.5 0 0 1 0-1H2V6H.5a.5.5 0 0 1 0-1H2V2.5c0-.27.22-.5.5-.5H5V.5c0-.27.22-.5.5-.5ZM11 3H3v8h8V3Z"})),database:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M12 3c0-1.1-2.24-2-5-2s-5 .9-5 2v8c0 .43.26.75.54.98.3.23.68.41 1.12.55.88.3 2.06.47 3.34.47 1.28 0 2.46-.17 3.34-.46.44-.15.83-.33 1.12-.56.28-.23.54-.55.54-.98V3Zm-1.03 0a2.45 2.45 0 0 0-.8-.49A8.88 8.88 0 0 0 7 2c-1.29 0-2.4.21-3.16.51a2.45 2.45 0 0 0-.81.49l.05.05c.13.13.37.28.76.44C4.6 3.79 5.7 4 7 4s2.4-.21 3.16-.51a2.45 2.45 0 0 0 .81-.49ZM11 5.75V4.2A8.9 8.9 0 0 1 7 5a8.98 8.98 0 0 1-4-.8v1.55l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 6.75a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03v-.01ZM3 7.01c.2.1.42.2.66.28.88.29 2.06.46 3.34.46 1.28 0 2.46-.17 3.34-.46.24-.08.46-.17.66-.28V8.5l-.02.04a.62.62 0 0 1-.14.15c-.17.13-.44.27-.82.4A10 10 0 0 1 7 9.5a10 10 0 0 1-3.02-.41 2.76 2.76 0 0 1-.82-.4.62.62 0 0 1-.14-.15.15.15 0 0 1-.02-.03V7Zm0 2.75V11l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 12a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03V9.76c-.2.1-.42.2-.66.28-.88.29-2.06.46-3.34.46-1.28 0-2.46-.17-3.34-.46A4.77 4.77 0 0 1 3 9.76Z"})),memory:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5 3a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0V3Zm2-.5c.28 0 .5.22.5.5v3a.5.5 0 0 1-1 0V3c0-.28.22-.5.5-.5Zm3 2a.5.5 0 1 0-1 0V6a.5.5 0 0 0 1 0V4.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M12 3.54a.5.5 0 0 0-.15-.39l-3-3a.5.5 0 0 0-.38-.14H2.5a.5.5 0 0 0-.5.5v13c0 .27.22.5.5.5h9a.5.5 0 0 0 .5-.5V3.53ZM3 1h5.3L11 3.71v5.3H3V1Zm0 9v3h8v-3H3Z"})),structure:react.createElement(react.Fragment,null,react.createElement("path",{d:"M8.16 3.45a1.5 1.5 0 1 0-2.33 0l-4.02 6.58A1.5 1.5 0 1 0 2.91 12h8.18a1.5 1.5 0 1 0 1.1-1.97L8.16 3.45Zm-1.47.52a1.5 1.5 0 0 0 .62 0l4.03 6.58c-.11.14-.2.29-.25.45H2.9a1.5 1.5 0 0 0-.25-.45L6.7 3.97Z"})),box:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"m7.21.05 6.49 2.99a.5.5 0 0 1 .3.47v6.98a.5.5 0 0 1-.3.47l-6.47 2.98a.5.5 0 0 1-.46 0L.3 10.96a.5.5 0 0 1-.3-.47V3.5a.5.5 0 0 1 .3-.47L6.79.05a.5.5 0 0 1 .43 0ZM1 4.28v5.9l5.5 2.54v-5.9L1 4.28Zm6.5 8.44 5.5-2.54v-5.9L7.5 6.82v5.9Zm4.8-9.22L7 5.95 1.7 3.5 7 1.05l5.3 2.45Z"})),power:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0v-6Z"}),react.createElement("path",{d:"M4.27 2.8a.5.5 0 0 0-.54-.83 6 6 0 1 0 6.54 0 .5.5 0 0 0-.54.84 5 5 0 1 1-5.46 0Z"})),photo:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M6.25 4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),react.createElement("path",{fillRule:"evenodd",d:"M13 1.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5ZM2 9.3V2h10v5.3L9.85 5.15a.5.5 0 0 0-.7 0L6.5 7.8 5.35 6.65a.5.5 0 0 0-.7 0L2 9.3Zm7.5-3.1L12 8.7V12H2v-1.3l3-3 3.15 3.15a.5.5 0 0 0 .7-.71L7.21 8.5 9.5 6.21Z"})),component:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M3.5 1A2.5 2.5 0 0 0 1 3.5v7A2.5 2.5 0 0 0 3.5 13h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 10.5 1h-7ZM12 6.5H7.5V2h3c.83 0 1.5.68 1.5 1.5v3Zm0 1v3c0 .83-.67 1.5-1.5 1.5h-3V7.5H12ZM6.5 12V7.5H2v3c0 .83.67 1.5 1.5 1.5h3ZM2 6.5h4.5V2h-3C2.67 2 2 2.68 2 3.5v3Z"})),grid:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5H6c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H1.5A.5.5 0 0 1 1 6V1.5Zm1 4V2h3.5v3.5H2Zm5.5-4c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V1.5Zm1 4V2H12v3.5H8.5Zm-7 2A.5.5 0 0 0 1 8v4.5c0 .28.22.5.5.5H6a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5H1.5Zm.5 1V12h3.5V8.5H2ZM7.5 8c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5v4.5a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V8Zm1 4V8.5H12V12H8.5Z"})),outline:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2 2v2H1V1.5c0-.27.22-.5.5-.5H4v1H2ZM1 9V5h1v4H1Zm0 1v2.5c0 .28.22.5.5.5H4v-1H2v-2H1Zm9 3h2.5a.5.5 0 0 0 .5-.5V10h-1v2h-2v1Zm2-9h1V1.5a.5.5 0 0 0-.5-.5H10v1h2v2Zm-3 8v1H5v-1h4ZM9 1v1H5V1h4Zm4 8h-1V5h1v4ZM7 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})),photodrag:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M8.25 3.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),react.createElement("path",{fillRule:"evenodd",d:"M14 7V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5V6h1V4h2v6.5c0 .28.22.5.5.5H10v2H8v1h2.5a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V7ZM4 1v5.8l1.65-1.65c.2-.2.5-.2.7 0L7.5 6.3l2.65-2.65c.2-.2.5-.2.7 0L13 5.8V1H4Zm9 6.21-2.5-2.5-2.3 2.3 1.15 1.14a.5.5 0 1 1-.7.7L6 6.22l-2 2v1.8h9V7.2Z"}),react.createElement("path",{d:"M0 10V7h1v3H0Zm0 3.5V11h1v2h2v1H.5a.5.5 0 0 1-.5-.5Zm7 .5H4v-1h3v1Z"})),search:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"})),zoom:react.createElement(react.Fragment,null,react.createElement("path",{d:"M6 3.5c.28 0 .5.22.5.5v1.5H8a.5.5 0 0 1 0 1H6.5V8a.5.5 0 0 1-1 0V6.5H4a.5.5 0 0 1 0-1h1.5V4c0-.28.22-.5.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"})),zoomout:react.createElement(react.Fragment,null,react.createElement("path",{d:"M4 5.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H4Z"}),react.createElement("path",{fillRule:"evenodd",d:"M6 11.5c1.35 0 2.59-.49 3.54-1.3.03.06.06.11.1.15l3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1A5.5 5.5 0 1 0 6 11.5Zm0-1a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"})),zoomreset:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1.5 2.84V1.5a.5.5 0 0 0-1 0V4c0 .28.22.5.5.5h2.5a.5.5 0 0 0 0-1H2.26a4.5 4.5 0 1 1-.5 4.02.5.5 0 1 0-.94.33 5.5 5.5 0 0 0 8.72 2.36l.1.14 3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1 5.5 5.5 0 1 0-8.7-6.7Z"})),eye:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7 9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"}),react.createElement("path",{fillRule:"evenodd",d:"m14 7-.2.3c-.13.16-3.06 4.2-6.8 4.2C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3C.34 6.55 3.27 2.5 7 2.5c3.74 0 6.67 4.04 6.8 4.2l.2.3ZM2.9 5.3A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8 1.52 0 2.96-.83 4.1-1.8A13 13 0 0 0 12.76 7a13 13 0 0 0-1.66-1.7C9.96 4.33 8.52 3.5 7 3.5c-1.52 0-2.96.83-4.1 1.8Z"})),eyeclose:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11ZM11.1 8.7c-.17.15-.36.3-.55.44l.72.71a13.25 13.25 0 0 0 2.52-2.56L14 7l-.2-.3c-.13-.16-3.06-4.2-6.8-4.2-.89 0-1.73.23-2.5.58l.76.76A4.86 4.86 0 0 1 7 3.5c1.52 0 2.96.83 4.1 1.8A13 13 0 0 1 12.76 7a13 13 0 0 1-1.66 1.7ZM.2 6.7c.08-.09 1.04-1.41 2.53-2.55l.72.71c-.2.14-.38.3-.55.44A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8.6 0 1.18-.13 1.74-.34l.77.76c-.78.35-1.62.58-2.51.58C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3Z"}),react.createElement("path",{d:"M4.5 7c0-.32.06-.63.17-.91l3.24 3.24A2.5 2.5 0 0 1 4.5 7Zm4.83.91L6.09 4.67a2.5 2.5 0 0 1 3.24 3.24Z"})),lightning:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .28.09.5.5 0 0 0 .35-.14L11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L2.52 6.6Zm7.72.63-3.07-.8 1.85-4.14-5.2 4.51 2.94.77-1.27 4.28 4.75-4.62Zm-5.73 6.2.04.02Z"})),lightningoff:react.createElement(react.Fragment,null,react.createElement("path",{d:"M10.14 8.72 11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L5.46 4.05l.71.7L9.02 2.3 7.38 5.97l.7.7 2.16.56-.8.79.7.7ZM2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .63-.05l3.84-3.74-.7-.7-2.51 2.43 1.13-3.81-.68-.69L3.8 6.8l.85-.73-.71-.7L2.52 6.6Zm-.67-5.45a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),contrast:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M3 3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h10a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3Zm1 1v2.3L6.3 4H4ZM3 4v6.5a.5.5 0 0 0 .5.5H10v2H1V4h2Zm1-1h6.5a.5.5 0 0 1 .5.5V10h2V1H4v2Zm6 7V7.71l-2.3 2.3H10Zm0-3.7V4.7L4.7 10h1.6L10 6.3ZM9.3 4H7.7L4 7.71V9.3L9.3 4Z"})),switchalt:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M3 3V.5c0-.27.22-.5.5-.5h10c.28 0 .5.23.5.5v10a.5.5 0 0 1-.5.5H11v2.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-10c0-.27.22-.5.5-.5H3Zm1 0V1h9v9h-2V3.5a.5.5 0 0 0-.5-.5H4Zm6 8v2H1V4h2v6.5c0 .28.22.5.5.5H10Zm0-1H4V4h6v6Z"})),mirror:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12h10V2L2 12Z"})),grow:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1.5 1a.5.5 0 1 0 0 1H12v10.5a.5.5 0 0 0 1 0V2a1 1 0 0 0-1-1H1.5Z"}),react.createElement("path",{d:"M1 3.5c0-.27.22-.5.5-.5H10a1 1 0 0 1 1 1v8.5a.5.5 0 0 1-1 0V4H1.5a.5.5 0 0 1-.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1.5 5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h7a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-7ZM2 6v6h6V6H2Z"})),paintbrush:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M11.8535.1464a.5.5 0 0 0-.7071 0L2.9827 8.3102a2.2396 2.2396 0 0 0-1.0737.599C.6772 10.141.2402 11.903.0852 12.9978 0 13.5998 0 14.0002 0 14.0002s.4004 0 1.0023-.0853c1.095-.155 2.8569-.5919 4.0887-1.8237.307-.307.5067-.6806.5992-1.0743l8.1633-8.1633a.5.5 0 0 0 0-.7071l-2-2Zm-6.253 9.546L6.543 8.75l-1.293-1.2929-.9424.9424a2.242 2.242 0 0 1 .7835.5097c.23.2302.4.4977.5095.7831ZM7.25 8.0428 12.7929 2.5 11.5 1.2071 5.957 6.75 7.25 8.0429ZM4.3839 9.6163c.4881.4882.4881 1.2796 0 1.7678-.7665.7664-1.832 1.1845-2.7791 1.403a8.6972 8.6972 0 0 1-.49.0982 8.7151 8.7151 0 0 1 .0982-.4899c.2186-.9471.6367-2.0126 1.403-2.779.4882-.4882 1.2797-.4882 1.7679 0Z"})),ruler:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1.5 1c.28 0 .5.23.5.5V2h10v-.5a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0V3H2v.5a.5.5 0 0 1-1 0v-2c0-.27.22-.5.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1.5 6a.5.5 0 0 0-.5.5v6c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-11ZM2 7v5h10V7h-1v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H7.5v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H4v2.5a.5.5 0 0 1-1 0V7H2Z"})),stop:react.createElement(react.Fragment,null,react.createElement("path",{d:"M4.5 4a.5.5 0 0 0-.5.5v5c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),camera:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9 7a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"}),react.createElement("path",{fillRule:"evenodd",d:"M2.5 1a.5.5 0 0 0-.5.5V2H.5a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H6v-.5a.5.5 0 0 0-.5-.5h-3ZM1 3v8h12V3H1Z"})),video:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2.5 10a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"}),react.createElement("path",{fillRule:"evenodd",d:"M0 4c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v.5l3.19-2.4a.5.5 0 0 1 .81.4v9a.5.5 0 0 1-.8.4L10 9.5v.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm9 0v1.5a.5.5 0 0 0 .8.4L13 3.5v7L9.8 8.1a.5.5 0 0 0-.8.4V10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1Z"})),speaker:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M1 4.50004V9.50004C1 9.77618 1.22386 10 1.5 10H4L7.17075 12.7744C7.49404 13.0573 8 12.8277 8 12.3982V1.60192C8 1.17235 7.49404 0.942757 7.17075 1.22564L4 4.00004H1.5C1.22386 4.00004 1 4.2239 1 4.50004ZM4 9.00004V5.00004H2V9.00004H4ZM4.99804 9.54456C4.99934 9.52989 5 9.51505 5 9.50004V4.50004C5 4.48504 4.99934 4.47019 4.99804 4.45552L7 2.70381V11.2963L4.99804 9.54456Z"}),react.createElement("path",{d:"M10.1498 1.75202C9.88637 1.66927 9.60572 1.81577 9.52297 2.07922C9.44023 2.34267 9.58672 2.62332 9.85017 2.70607C11.6763 3.27963 13 4.98596 13 7.00014C13 9.01433 11.6763 10.7207 9.85017 11.2942C9.58672 11.377 9.44023 11.6576 9.52297 11.9211C9.60572 12.1845 9.88637 12.331 10.1498 12.2483C12.3808 11.5476 14 9.4636 14 7.00014C14 4.53669 12.3808 2.45272 10.1498 1.75202Z"}),react.createElement("path",{d:"M10.2504 3.96861C10.0113 3.83033 9.70547 3.91201 9.5672 4.15105C9.42893 4.39008 9.51061 4.69594 9.74964 4.83421C10.4982 5.26723 11 6.07534 11 7.00006C11 7.92479 10.4982 8.7329 9.74964 9.16591C9.51061 9.30418 9.42893 9.61005 9.5672 9.84908C9.70547 10.0881 10.0113 10.1698 10.2504 10.0315C11.2952 9.42711 12 8.29619 12 7.00006C12 5.70394 11.2952 4.57302 10.2504 3.96861Z"})),play:react.createElement(react.Fragment,null,react.createElement("path",{d:"m12.81 7.43-9.05 5.6A.5.5 0 0 1 3 12.6V1.4c0-.4.43-.63.76-.43l9.05 5.6a.5.5 0 0 1 0 .86Z"})),playback:react.createElement(react.Fragment,null,react.createElement("path",{d:"M11.24 12.04 3.7 7.42a.5.5 0 0 1-.2-.23v4.05a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0V6.8a.5.5 0 0 1 .2-.23l7.54-4.6a.5.5 0 0 1 .76.42v9.22a.5.5 0 0 1-.76.43Z"})),playnext:react.createElement(react.Fragment,null,react.createElement("path",{d:"m2.76 12.04 7.54-4.61a.5.5 0 0 0 .2-.23v4.05a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0V6.8a.5.5 0 0 0-.2-.23l-7.54-4.6a.5.5 0 0 0-.76.42v9.22c0 .39.43.63.76.43Z"})),rewind:react.createElement(react.Fragment,null,react.createElement("path",{d:"M9 2.42v2.32L13.23 2a.5.5 0 0 1 .77.42v9.16a.5.5 0 0 1-.77.42L9 9.26v2.32a.5.5 0 0 1-.77.42L1.5 7.65v3.6a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0v3.6L8.23 2a.5.5 0 0 1 .77.42Z"})),fastforward:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5 2.42v2.32L.77 2a.5.5 0 0 0-.77.42v9.16c0 .4.44.64.77.42L5 9.26v2.32c0 .4.44.64.77.42l6.73-4.35v3.6a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0v3.6L5.77 2a.5.5 0 0 0-.77.42Z"})),stopalt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11Z"})),sidebyside:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12V2h5v10H2Z"})),stacked:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M12.5 1c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11ZM2 2h10v5H2V2Z"})),sun:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0V2a.5.5 0 0 0 1 0V.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0-1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),react.createElement("path",{d:"M7 11.5c.28 0 .5.22.5.5v1.5a.5.5 0 0 1-1 0V12c0-.28.22-.5.5-.5ZM11.5 7c0-.28.22-.5.5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5ZM.5 6.5a.5.5 0 0 0 0 1H2a.5.5 0 0 0 0-1H.5ZM3.82 10.18c.2.2.2.51 0 .7l-1.06 1.07a.5.5 0 1 1-.71-.7l1.06-1.07c.2-.2.51-.2.7 0ZM11.95 2.76a.5.5 0 1 0-.7-.71l-1.07 1.06a.5.5 0 1 0 .7.7l1.07-1.05ZM10.18 10.18c.2-.2.51-.2.7 0l1.07 1.06a.5.5 0 1 1-.7.71l-1.07-1.06a.5.5 0 0 1 0-.7ZM2.76 2.05a.5.5 0 1 0-.71.7l1.06 1.07a.5.5 0 0 0 .7-.7L2.77 2.04Z"})),moon:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M7.78.04a7.03 7.03 0 0 0-4.28.9 7 7 0 1 0 9.87 8.96c.1-.21-.14-.41-.36-.32a4.98 4.98 0 0 1-2 .42A5 5 0 0 1 8.53.65c.2-.12.19-.44-.04-.49a7.04 7.04 0 0 0-.72-.12Zm-1.27.98a6 6 0 0 0 4.98 9.96 6 6 0 1 1-4.98-9.96Z"})),book:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M13 2a2 2 0 0 0-2-2H1.5a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5H11a2 2 0 0 0 2-2V2ZM3 13h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H7v6a.5.5 0 0 1-.86.36L5.5 6.7l-.65.65A.5.5 0 0 1 4 7V1H3v12ZM5 1v4.8l.15-.15a.5.5 0 0 1 .74.04l.11.1V1H5Z"})),document:react.createElement(react.Fragment,null,react.createElement("path",{d:"M4 5.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5ZM4.5 7.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM4 10.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1.5 0a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5V3.2a.5.5 0 0 0-.15-.35l-2.7-2.7A.5.5 0 0 0 9.79 0H1.5ZM2 1h7.5v2c0 .28.22.5.5.5h2V13H2V1Z"})),copy:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M11.75.07A.5.5 0 0 0 11.5 0h-6a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h8a.5.5 0 0 0 .5-.5V11h4.5a.5.5 0 0 0 .5-.5V2.51a.5.5 0 0 0-.15-.36l-2-2a.5.5 0 0 0-.1-.08ZM9 10h4V3h-1.5a.5.5 0 0 1-.5-.5V1H6v2h.5a.5.5 0 0 1 .36.15l1.99 2c.1.09.15.21.15.35v4.51ZM1 4v9h7V6H6.5a.5.5 0 0 1-.5-.5V4H1Z"})),category:react.createElement(react.Fragment,null,react.createElement("path",{d:"M3 1.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Zm-1 2c0-.27.22-.5.5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1 5.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7ZM2 12V6h10v6H2Z"})),folder:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M6.59 3.5 5.09 2H1v9h12V3.5H6.59Zm.41-1L5.8 1.3a1 1 0 0 0-.71-.3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H7Z"})),print:react.createElement(react.Fragment,null,react.createElement("path",{d:"M4.5 8a.5.5 0 1 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M2 1.5c0-.27.22-.5.5-.5h8a.5.5 0 0 1 .36.15l.99 1c.1.09.15.21.15.35v1.51h1.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-.5.5H12v2.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10H.5a.5.5 0 0 1-.5-.5v-5c0-.28.22-.5.5-.5H2V1.5ZM13 9h-1V6.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5V9H1V5h12v4Zm-2-6v1H3V2h7v.5c0 .28.22.5.5.5h.5Zm-8 9h8V7H3v5Z"})),graphline:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5.15 6.15c.2-.2.5-.2.7 0L7 7.3l2.15-2.15c.2-.2.5-.2.7 0l1 1a.5.5 0 0 1-.7.7l-.65-.64-2.15 2.15a.5.5 0 0 1-.7 0L5.5 7.2 3.85 8.86a.5.5 0 1 1-.7-.71l2-2Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1.5 1a.5.5 0 0 0-.5.5v11c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-11ZM2 2v10h10V2H2Z"})),calendar:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M3.5 0c.28 0 .5.22.5.5V1h6V.5a.5.5 0 0 1 1 0V1h1.5c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.28.22-.5.5-.5H3V.5c0-.28.22-.5.5-.5ZM2 4v2.3h3V4H2Zm0 5.2V6.8h3v2.4H2Zm0 .5V12h3V9.7H2Zm3.5 0V12h3V9.7h-3Zm3.5 0V12h3V9.7H9Zm3-.5H9V6.8h3v2.4Zm-3.5 0h-3V6.8h3v2.4ZM9 4v2.3h3V4H9ZM5.5 6.3h3V4h-3v2.3Z"})),graphbar:react.createElement(react.Fragment,null,react.createElement("path",{d:"M12 2.5a.5.5 0 0 0-1 0v10a.5.5 0 0 0 1 0v-10Zm-3 2a.5.5 0 0 0-1 0v8a.5.5 0 0 0 1 0v-8ZM5.5 7c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5ZM3 10.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2Z"})),menu:react.createElement(react.Fragment,null,react.createElement("path",{d:"M13 2a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h12Zm-3 3a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h9Zm1.5 3.5A.5.5 0 0 0 11 8H1a.5.5 0 0 0 0 1h10a.5.5 0 0 0 .5-.5Zm-4 2.5a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h6.5Z"})),menualt:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm3 3a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H4ZM2.5 8.5c0-.28.22-.5.5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5Zm4 2.5a.5.5 0 0 0 0 1H13a.5.5 0 0 0 0-1H6.5Z"})),filter:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm2 3a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1H3Zm1.5 3.5c0-.28.22-.5.5-.5h4a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5Zm2 2.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"})),docchart:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M1 1.5C1 1.22386 1.22386 1 1.5 1H12.5C12.7761 1 13 1.22386 13 1.5V12.5C13 12.7761 12.7761 13 12.5 13H1.5C1.22386 13 1 12.7761 1 12.5V1.5ZM2 4V6.2998H5V4H2ZM2 9.2002V6.7998H5V9.2002H2ZM2 9.7002V12H5V9.7002H2ZM5.5 9.7002V12H8.5V9.7002H5.5ZM9 9.7002V12H12V9.7002H9ZM12 9.2002H9V6.7998H12V9.2002ZM8.5 9.2002H5.5V6.7998H8.5V9.2002ZM9 6.2998H12V4H9V6.2998ZM5.5 6.2998H8.5V4H5.5V6.2998Z"})),doclist:react.createElement(react.Fragment,null,react.createElement("path",{d:"M3.5 6.5c0-.28.22-.5.5-.5h6a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.5-.5ZM4 9a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H4Z"}),react.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 4v8h10V4H2Z"})),markup:react.createElement(react.Fragment,null,react.createElement("path",{d:"M8.98 1.63a.5.5 0 0 0-.96-.26l-3 11a.5.5 0 1 0 .96.26l3-11ZM3.32 3.62a.5.5 0 0 1 .06.7L1.15 7l2.23 2.68a.5.5 0 1 1-.76.64l-2.5-3a.5.5 0 0 1 0-.64l2.5-3a.5.5 0 0 1 .7-.06Zm7.36 0a.5.5 0 0 0-.06.7L12.85 7l-2.23 2.68a.5.5 0 0 0 .76.64l2.5-3a.5.5 0 0 0 0-.64l-2.5-3a.5.5 0 0 0-.7-.06Z"})),bold:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 0 0 1.8-5.4A2.74 2.74 0 0 0 8 2H3Zm5 5.5H5.5v3H8a1.5 1.5 0 1 0 0-3Zm-.25-4H5.5V6h2.25a1.25 1.25 0 1 0 0-2.5Z"})),italic:react.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2Z"}),paperclip:react.createElement(react.Fragment,null,react.createElement("path",{d:"M10.55 2.27a1.5 1.5 0 0 0-2.12 0L2.78 7.92a2.5 2.5 0 0 0 3.53 3.54l3.54-3.54a.5.5 0 1 1 .7.71l-3.53 3.54a3.5 3.5 0 0 1-4.96-4.94v-.01l5.66-5.66h.01a2.5 2.5 0 0 1 3.53 3.53L5.6 10.76a1.5 1.5 0 0 1-2.12-2.12L7.02 5.1a.5.5 0 1 1 .7.7L4.2 9.34a.5.5 0 0 0 .7.7l5.66-5.65a1.5 1.5 0 0 0 0-2.12Z"})),listordered:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5 2.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm.5 4a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm-3-9H1v1h1v3h1V2.5a.5.5 0 0 0-.5-.5ZM3 8.5v1a.5.5 0 0 1-1 0V9h-.5a.5.5 0 0 1 0-1h1c.28 0 .5.22.5.5Zm-1 2a.5.5 0 0 0-1 0V12h2v-1H2v-.5Z"})),listunordered:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2.75 2.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM5.5 2a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm0 9a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7ZM2 12.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm-3 .75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"})),paragraph:react.createElement(react.Fragment,null,react.createElement("path",{d:"M6 7a3 3 0 1 1 0-6h5.5a.5.5 0 0 1 0 1H10v10.5a.5.5 0 0 1-1 0V2H7v10.5a.5.5 0 0 1-1 0V7Z"})),markdown:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2 4.5h1.5L5 6.38 6.5 4.5H8v5H6.5V7L5 8.88 3.5 7v2.5H2v-5Zm7.75 0h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M.5 2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5ZM1 3v8h12V3H1Z"})),repository:react.createElement(react.Fragment,null,react.createElement("path",{d:"M5 2.5C5 2.77614 4.77614 3 4.5 3C4.22386 3 4 2.77614 4 2.5C4 2.22386 4.22386 2 4.5 2C4.77614 2 5 2.22386 5 2.5Z"}),react.createElement("path",{d:"M4.5 5C4.77614 5 5 4.77614 5 4.5C5 4.22386 4.77614 4 4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5Z"}),react.createElement("path",{d:"M5 6.5C5 6.77614 4.77614 7 4.5 7C4.22386 7 4 6.77614 4 6.5C4 6.22386 4.22386 6 4.5 6C4.77614 6 5 6.22386 5 6.5Z"}),react.createElement("path",{fillRule:"evenodd",d:"M11 0C12.1046 0 13 0.895431 13 2V12C13 13.1046 12.1046 14 11 14H1.5C1.22386 14 1 13.7761 1 13.5V0.5C1 0.223857 1.22386 0 1.5 0H11ZM11 1H3V13H11C11.5523 13 12 12.5523 12 12V2C12 1.44772 11.5523 1 11 1Z"})),commit:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M3.03 7.5a4 4 0 0 0 7.94 0h2.53a.5.5 0 0 0 0-1h-2.53a4 4 0 0 0-7.94 0H.5a.5.5 0 0 0 0 1h2.53ZM7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"})),branch:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M6 2.5c0 .65-.42 1.2-1 1.41v4.06A3.36 3.36 0 0 1 7.5 7a2.7 2.7 0 0 0 1.81-.56c.22-.18.38-.4.48-.62a1.5 1.5 0 1 1 1.03.15c-.16.42-.43.87-.86 1.24-.57.47-1.37.79-2.46.79-1.04 0-1.64.42-2 .92-.26.37-.4.8-.47 1.18A1.5 1.5 0 1 1 4 10.09V3.9a1.5 1.5 0 1 1 2-1.4Zm-2 9a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm1-9a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm6 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),pullrequest:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M8.35 1.35 7.71 2h.79A2.5 2.5 0 0 1 11 4.5v5.59a1.5 1.5 0 1 1-1 0V4.5C10 3.67 9.33 3 8.5 3h-.8l.65.65a.5.5 0 1 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7ZM11 11.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0ZM4 3.91a1.5 1.5 0 1 0-1 0v6.18a1.5 1.5 0 1 0 1 0V3.9ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm0-8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),merge:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M4.1 3.87a1.5 1.5 0 1 0-1.1.04v6.18a1.5 1.5 0 1 0 1 0V6.4c.26.4.57.77.93 1.08A6.57 6.57 0 0 0 9.08 9a1.5 1.5 0 1 0 0-1 5.57 5.57 0 0 1-3.5-1.25 4.74 4.74 0 0 1-1.47-2.87ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM4 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm7 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),apple:react.createElement(react.Fragment,null,react.createElement("path",{d:"M11.03 8.1a3.05 3.05 0 0 1-.2-1.74 2.7 2.7 0 0 1 1.4-1.94 3.13 3.13 0 0 0-2.35-1.4c-.84-.08-2.01.56-2.65.57h-.02c-.63 0-1.81-.65-2.64-.57-.42.04-1.75.32-2.55 1.6-.28.44-.5 1.01-.58 1.74a6.36 6.36 0 0 0 .02 1.74 7.5 7.5 0 0 0 1.35 3.33c.7 1.01 1.51 1.6 1.97 1.6.93.02 1.74-.6 2.41-.6l.02.01h.04c.67-.02 1.48.61 2.42.6.45-.02 1.26-.6 1.97-1.6a7.95 7.95 0 0 0 .97-1.86 2.6 2.6 0 0 1-1.58-1.48ZM8.86 2.13c.72-.85.7-2.07.63-2.12-.07-.06-1.25.16-1.99.98a2.78 2.78 0 0 0-.62 2.13c.06.05 1.27-.14 1.98-.99Z"})),linux:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M7 0a3 3 0 0 1 3 3v1.24c.13.13.25.27.36.42l.52.43.2.15c.32.26.7.59 1.09.97A6.28 6.28 0 0 1 14 9.54a.5.5 0 0 1-.35.44c-.31.1-.8.18-1.34.13-.33-.03-.7-.12-1.05-.3-.04.17-.1.34-.17.51a2 2 0 1 1-2.89 2.56 5.5 5.5 0 0 1-2.4 0 2 2 0 1 1-2.9-2.56 5.56 5.56 0 0 1-.16-.51c-.35.18-.72.27-1.05.3a3.4 3.4 0 0 1-1.34-.13.5.5 0 0 1-.35-.44l.01-.14a6.28 6.28 0 0 1 1.82-3.2 13.42 13.42 0 0 1 1.3-1.11c.22-.19.4-.32.5-.43.12-.15.24-.29.37-.42V3a3 3 0 0 1 3-3Zm1 11.9a2 2 0 0 1 2.14-1.9 5.5 5.5 0 0 0 .36-2c0-.51-.1-1.07-.3-1.6l-.03-.02a4.4 4.4 0 0 0-.86-.42 6.71 6.71 0 0 0-1-.31l-.86.64c-.27.2-.63.2-.9 0l-.85-.64a6.72 6.72 0 0 0-1.87.73l-.03.02A4.6 4.6 0 0 0 3.5 8c0 .68.11 1.39.36 2H4a2 2 0 0 1 2 1.9 4.49 4.49 0 0 0 2 0ZM5 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm6 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6.1 4.3a1.5 1.5 0 0 1 1.8 0l.27.2L7 5.38 5.83 4.5l.27-.2ZM8.5 2c.28 0 .5.22.5.5V3a.5.5 0 0 1-1 0v-.5c0-.28.22-.5.5-.5ZM6 2.5a.5.5 0 0 0-1 0V3a.5.5 0 0 0 1 0v-.5Z"})),ubuntu:react.createElement(react.Fragment,null,react.createElement("path",{d:"M12.26 2.07c0 1.14-.89 2.06-1.99 2.06s-1.99-.92-1.99-2.06c0-1.14.9-2.07 2-2.07s1.98.93 1.98 2.07ZM3.98 6.6c0 1.14-.9 2.07-2 2.07C.9 8.67 0 7.74 0 6.6c0-1.14.9-2.07 1.99-2.07 1.1 0 1.99.93 1.99 2.07ZM6.47 11.92a4.76 4.76 0 0 1-3.3-2.62c-.53.25-1.12.33-1.7.22a6.72 6.72 0 0 0 1.84 2.63 6.38 6.38 0 0 0 4.24 1.58c-.37-.5-.57-1.1-.59-1.73a4.77 4.77 0 0 1-.49-.08ZM11.81 11.93c0 1.14-.89 2.07-1.99 2.07s-1.98-.93-1.98-2.07c0-1.14.89-2.06 1.98-2.06 1.1 0 2 .92 2 2.06ZM12.6 11.17a6.93 6.93 0 0 0 .32-7.93A2.95 2.95 0 0 1 11.8 4.6a5.23 5.23 0 0 1-.16 5.03c.47.4.8.94.95 1.54ZM1.99 3.63h-.15A6.48 6.48 0 0 1 8 .24a3.07 3.07 0 0 0-.6 1.68 4.7 4.7 0 0 0-3.9 2.17c-.46-.3-.98-.45-1.51-.45Z"})),windows:react.createElement(react.Fragment,null,react.createElement("path",{d:"M6.5 1H1v5.5h5.5V1ZM13 1H7.5v5.5H13V1ZM7.5 7.5H13V13H7.5V7.5ZM6.5 7.5H1V13h5.5V7.5Z"})),storybook:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2.04.62a.7.7 0 0 0-.66.72l.44 11.56c.01.37.3.66.67.68l9.4.42h.02a.7.7 0 0 0 .7-.7V.66a.7.7 0 0 0-.74-.66l-.77.05.05 1.62a.1.1 0 0 1-.17.08l-.52-.4-.61.46a.1.1 0 0 1-.17-.09L9.75.13l-7.7.49Zm8 4.74c-.24.2-2.09.33-2.09.05.04-1.04-.43-1.09-.69-1.09-.24 0-.66.08-.66.64 0 .57.6.89 1.32 1.27 1.02.53 2.24 1.18 2.24 2.82 0 1.57-1.27 2.43-2.9 2.43-1.67 0-3.14-.68-2.97-3.03.06-.27 2.2-.2 2.2 0-.03.97.19 1.26.75 1.26.43 0 .62-.24.62-.64 0-.6-.63-.95-1.36-1.36-.99-.56-2.15-1.2-2.15-2.7 0-1.5 1.03-2.5 2.86-2.5 1.83 0 2.84.99 2.84 2.85Z"})),azuredevops:react.createElement(react.Fragment,null,react.createElement("path",{d:"m0 5.18 1.31-1.73 4.9-2V.01l4.3 3.15-8.78 1.7v4.8L0 9.16V5.18Zm14-2.6v8.55l-3.36 2.86-5.42-1.79V14L1.73 9.66l8.78 1.05V3.16L14 2.58Z"})),bitbucket:react.createElement(react.Fragment,null,react.createElement("path",{d:"M1 1.52A.41.41 0 0 0 .59 2l1.74 10.6c.05.26.28.46.55.46h8.37c.2 0 .38-.14.42-.34l1.01-6.25H8.81l-.46 2.71H5.68L4.95 5.4h7.91L13.4 2a.41.41 0 0 0-.41-.48H1Z"})),chrome:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M13.02 3.43a.11.11 0 0 1-.1.17H7a3.4 3.4 0 0 0-3.3 2.55.11.11 0 0 1-.21.03L1.52 2.76a.11.11 0 0 1 0-.12 6.97 6.97 0 0 1 9-1.7c1.03.6 1.9 1.47 2.5 2.5ZM7 9.62a2.62 2.62 0 1 1 0-5.24 2.62 2.62 0 0 1 0 5.24Zm1.03.7a.11.11 0 0 0-.12-.04 3.4 3.4 0 0 1-4-1.84L1.1 3.57a.11.11 0 0 0-.2 0 7 7 0 0 0 5.07 10.35c.04 0 .08-.02.1-.05l1.97-3.42a.11.11 0 0 0 0-.13Zm1.43-5.95h3.95c.05 0 .1.03.1.07a6.97 6.97 0 0 1-1.53 7.48A6.96 6.96 0 0 1 7.08 14a.11.11 0 0 1-.1-.17l2.81-4.88h.01a3.38 3.38 0 0 0-.42-4.38.11.11 0 0 1 .08-.2Z"})),chromatic:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 0 14 0A7 7 0 0 0 0 7Zm5.22-3.87a1.97 1.97 0 0 1 3.75.83v1.29L5.61 3.32a2.49 2.49 0 0 0-.4-.19ZM8.7 5.71 5.35 3.78a1.97 1.97 0 0 0-2.6 2.83c.12-.1.24-.18.37-.26l1.51-.87a.27.27 0 0 1 .27 0L7 6.69l1.7-.98Zm-.32 4.97-1.52-.87a.27.27 0 0 1-.13-.23V7.15l-1.7-.97v3.86a1.97 1.97 0 0 0 3.75.83 2.5 2.5 0 0 1-.4-.19Zm.26-.46a1.97 1.97 0 0 0 2.6-2.83c-.11.1-.23.18-.36.26L7.53 9.58l1.11.64Zm-4.1.26h-.17a1.97 1.97 0 0 1-1.9-2.47 2 2 0 0 1 .92-1.2l1.11-.63v3.86c0 .14.01.29.04.44Zm6.79-5.98a1.97 1.97 0 0 0-1.87-.97c.03.14.04.29.04.43v1.75c0 .1-.05.19-.14.23l-2.1 1.22V9.1l3.35-1.93a1.97 1.97 0 0 0 .72-2.68Z"})),componentdriven:react.createElement(react.Fragment,null,react.createElement("path",{d:"M10.85 2.18 8.87.2a.69.69 0 0 0-.97 0L3.09 5.01a.69.69 0 0 0 0 .97l2.46 2.46-2.4 2.4a.69.69 0 0 0 0 .98l1.98 1.98c.27.27.7.27.97 0l4.8-4.81a.69.69 0 0 0 0-.97L8.45 5.56l2.4-2.4a.69.69 0 0 0 0-.98Z"})),discord:react.createElement(react.Fragment,null,react.createElement("path",{d:"M11.85 2.88C10.95 2.48 10 2.18 9 2a7.05 7.05 0 0 0-.4.75 10.66 10.66 0 0 0-3.2 0c-.1-.23-.24-.5-.36-.73A.04.04 0 0 0 4.99 2a11.51 11.51 0 0 0-2.86.9 11.82 11.82 0 0 0-2.05 8 11.6 11.6 0 0 0 3.5 1.77c.01 0 .03 0 .04-.02.27-.36.51-.75.72-1.16a.04.04 0 0 0-.03-.06 7.66 7.66 0 0 1-1.09-.52.04.04 0 0 1 0-.08 5.96 5.96 0 0 0 .26-.17 8.28 8.28 0 0 0 7.08 0l.22.17c.02.02.02.06 0 .08-.36.2-.72.37-1.1.52a.04.04 0 0 0-.02.06c.2.4.45.8.71 1.16.01.02.03.02.05.02a11.57 11.57 0 0 0 3.52-1.8 11.74 11.74 0 0 0-2.09-7.99Zm-7.17 6.4c-.7 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.56 1.42-1.26 1.42Zm4.65 0c-.69 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.55 1.42-1.26 1.42Z"})),facebook:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.4 14H5.06V7H3.5V4.59h1.56V3.17C5.06 1.2 5.53 0 7.6 0h1.72v2.41H8.25c-.8 0-.85.34-.85.97v1.2h1.93L9.11 7H7.4l-.01 7Z"})),figma:react.createElement(react.Fragment,null,react.createElement("path",{fillRule:"evenodd",d:"M9.2 0H4.8a2.6 2.6 0 0 0-1.4 4.8 2.6 2.6 0 0 0 0 4.4 2.6 2.6 0 1 0 4 2.2V8.89a2.6 2.6 0 1 0 3.2-4.09A2.6 2.6 0 0 0 9.2 0ZM7.4 7A1.8 1.8 0 1 0 11 7a1.8 1.8 0 0 0-3.6 0Zm-.8 2.6H4.8a1.8 1.8 0 1 0 1.8 1.8V9.6ZM4.8 4.4h1.8V.8H4.8a1.8 1.8 0 0 0 0 3.59Zm0 .8a1.8 1.8 0 0 0 0 3.6h1.8V5.2H4.8Zm4.4-.8H7.4V.8h1.8a1.8 1.8 0 1 1 0 3.59Z"})),gdrive:react.createElement(react.Fragment,null,react.createElement("path",{d:"M6.37 8.77 4.33 12.3h6.75l2.04-3.54H6.38Zm6.18-1-3.5-6.08h-4.1l3.51 6.08h4.09ZM4.38 2.7.88 8.77l2.04 3.54 3.5-6.07L4.38 2.7Z"})),github:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7 0a7 7 0 0 0-2.21 13.64c.35.06.48-.15.48-.33L5.26 12c-1.76.32-2.21-.43-2.35-.83-.08-.2-.43-.82-.72-.99-.25-.13-.6-.45-.01-.46.55 0 .94.5 1.07.72.63 1.06 1.64.76 2.04.58.07-.46.25-.77.45-.94-1.56-.18-3.19-.78-3.19-3.46 0-.76.28-1.39.72-1.88-.07-.17-.31-.9.07-1.85 0 0 .59-.19 1.93.71a6.5 6.5 0 0 1 3.5 0c1.34-.9 1.92-.71 1.92-.71.39.96.14 1.68.07 1.85.45.5.72 1.11.72 1.88 0 2.69-1.64 3.28-3.2 3.46.26.22.48.64.48 1.3l-.01 1.92c0 .18.13.4.48.33A7.01 7.01 0 0 0 7 0Z"})),gitlab:react.createElement(react.Fragment,null,react.createElement("path",{d:"M4.53 5.58H1.07l1.49-4.55a.26.26 0 0 1 .48 0l1.49 4.55ZM7 13.15 1.07 5.58l-.75 2.3a.5.5 0 0 0 .18.57l6.5 4.7Zm0 0 6.5-4.7a.5.5 0 0 0 .18-.57l-.75-2.3L7 13.15l2.47-7.57H4.53L7 13.15Zm2.47-7.57h3.46l-1.49-4.55a.26.26 0 0 0-.48 0L9.47 5.58Z"})),google:react.createElement(react.Fragment,null,react.createElement("path",{d:"M10.92 1.1H7.26c-1.64 0-3.19 1.24-3.19 2.68 0 1.47 1.12 2.66 2.8 2.66l.33-.01c-.1.2-.18.44-.18.68 0 .41.22.75.5 1.02h-.64c-2.03 0-3.6 1.3-3.6 2.64 0 1.32 1.72 2.15 3.75 2.15 2.32 0 3.6-1.31 3.6-2.64 0-1.06-.31-1.7-1.28-2.38-.33-.23-.96-.8-.96-1.14 0-.39.1-.58.7-1.04a2.46 2.46 0 0 0 1.03-1.92c0-.92-.4-1.82-1.18-2.11h1.17l.81-.6ZM9.6 10.04c.03.13.05.25.05.38 0 1.07-.7 1.9-2.67 1.9-1.4 0-2.42-.88-2.42-1.95 0-1.05 1.26-1.92 2.66-1.9a3 3 0 0 1 .92.14c.76.53 1.3.83 1.46 1.43ZM7.34 6.07c-.94-.03-1.84-1.06-2-2.3-.17-1.24.47-2.19 1.41-2.16.94.03 1.84 1.03 2 2.26.17 1.24-.47 2.23-1.41 2.2Z"})),graphql:react.createElement(react.Fragment,null,react.createElement("path",{d:"M7.87 11.6a1.17 1.17 0 0 0-1.7-.02l-2.71-1.56.01-.04h7.07l.02.07-2.69 1.56Zm-1.7-9.18.03.03-3.54 6.12h-.04V5.43a1.17 1.17 0 0 0 .84-1.46l2.7-1.56Zm4.38 1.56a1.17 1.17 0 0 0 .84 1.46v3.12l-.04.01-3.54-6.12c.02 0 .03-.02.04-.03l2.7 1.56ZM3.47 9.42a1.17 1.17 0 0 0-.32-.57l3.53-6.12a1.17 1.17 0 0 0 .65 0l3.54 6.12a1.17 1.17 0 0 0-.33.57H3.47Zm8.8-.74c-.1-.05-.21-.1-.32-.12V5.44a1.17 1.17 0 1 0-1.12-1.94l-2.7-1.56a1.17 1.17 0 1 0-2.24 0L3.19 3.5a1.17 1.17 0 1 0-1.13 1.94v3.12a1.17 1.17 0 1 0 1.12 1.94l2.7 1.56a1.17 1.17 0 1 0 2.24-.03l2.69-1.55a1.17 1.17 0 1 0 1.45-1.8Z"})),medium:react.createElement(react.Fragment,null,react.createElement("path",{d:"M0 0v14h14V0H0Zm11.63 3.32-.75.72a.22.22 0 0 0-.08.2v5.33c0 .07.03.14.08.18l.73.72v.16H7.92v-.16l.76-.74c.08-.07.08-.1.08-.21V5.24l-2.11 5.37h-.29L3.9 5.24v3.67c0 .13.05.25.14.34l.99 1.2v.16h-2.8v-.16l.98-1.2a.48.48 0 0 0 .13-.41V4.65c0-.11-.04-.2-.12-.27l-.88-1.06v-.16h2.73l2.1 4.62 1.86-4.62h2.6v.16Z"})),redux:react.createElement(react.Fragment,null,react.createElement("path",{d:"M4.06 9.69c.02.49.42.88.91.88H5a.91.91 0 0 0-.03-1.83h-.03c-.03 0-.08 0-.11.02a5.97 5.97 0 0 1-.85-3.62c.06-.98.39-1.82.96-2.52.47-.6 1.39-.9 2-.92 1.73-.03 2.47 2.12 2.51 2.99.22.04.57.16.82.24-.2-2.64-1.83-4-3.4-4-1.46 0-2.81 1.05-3.35 2.61a6.67 6.67 0 0 0 .65 5.68.74.74 0 0 0-.11.47Zm8.28-2.3a6.62 6.62 0 0 0-5.15-2.25h-.26a.9.9 0 0 0-.8-.49H6.1a.91.91 0 0 0 .03 1.83h.03a.92.92 0 0 0 .8-.56h.3c1.23 0 2.4.36 3.47 1.06.81.54 1.4 1.24 1.72 2.09.28.68.26 1.35-.03 1.92a2.4 2.4 0 0 1-2.23 1.34c-.65 0-1.27-.2-1.6-.34-.18.16-.5.42-.73.58.7.33 1.41.5 2.1.5 1.56 0 2.72-.85 3.16-1.72.47-.94.44-2.57-.78-3.96ZM4.9 12.9a4 4 0 0 1-.98.11c-1.2 0-2.3-.5-2.84-1.32C.38 10.6.13 8.3 2.5 6.58c.05.26.15.62.22.83-.31.23-.8.68-1.11 1.3a2.4 2.4 0 0 0 .13 2.53c.36.54.93.86 1.66.96.9.11 1.8-.05 2.66-.5a5.83 5.83 0 0 0 2.67-2.56.91.91 0 0 1 .62-1.55h.03a.92.92 0 0 1 .1 1.82 6.26 6.26 0 0 1-4.56 3.49Z"})),twitter:react.createElement(react.Fragment,null,react.createElement("path",{d:"M14 2.55c-.51.23-1.07.39-1.65.46.6-.36 1.05-.94 1.26-1.63-.55.34-1.17.58-1.82.72a2.84 2.84 0 0 0-2.1-.93 2.9 2.9 0 0 0-2.8 3.61 8.09 8.09 0 0 1-5.9-3.07 2.99 2.99 0 0 0 .88 3.93 2.8 2.8 0 0 1-1.3-.37v.04c0 1.42 1 2.61 2.3 2.89a2.82 2.82 0 0 1-1.3.05 2.89 2.89 0 0 0 2.7 2.04A5.67 5.67 0 0 1 0 11.51a7.98 7.98 0 0 0 4.4 1.32c5.29 0 8.17-4.48 8.17-8.38v-.38A5.93 5.93 0 0 0 14 2.55Z"})),youtube:react.createElement(react.Fragment,null,react.createElement("path",{d:"M13.99 8.17V5.83a14.95 14.95 0 0 0-.23-2.22c-.09-.38-.27-.7-.55-.96s-.6-.41-.97-.45A51.3 51.3 0 0 0 7 2c-2.34 0-4.09.07-5.24.2A1.78 1.78 0 0 0 .25 3.61 15.26 15.26 0 0 0 0 7v1.16a15.24 15.24 0 0 0 .24 2.22c.09.38.27.7.55.96.27.26.6.41.97.45 1.15.13 2.9.2 5.24.2 2.34 0 4.08-.06 5.24-.2.37-.04.7-.19.97-.45s.45-.58.54-.96a15.26 15.26 0 0 0 .24-2.22Zm-4.23-1.6c.16.1.24.24.24.43 0 .2-.08.33-.24.42l-4 2.5a.44.44 0 0 1-.26.08.54.54 0 0 1-.24-.06A.46.46 0 0 1 5 9.5v-5c0-.2.08-.34.26-.44.17-.1.34-.09.5.02l4 2.5Z"})),vscode:react.createElement(react.Fragment,null,react.createElement("path",{d:"M10.24.04c.13 0 .26.03.38.09L13.5 1.5a.87.87 0 0 1 .5.8v.03-.01 9.39c0 .33-.2.63-.5.78l-2.88 1.38a.87.87 0 0 1-1-.17l-5.5-5.03-2.4 1.83a.58.58 0 0 1-.75-.04l-.77-.7a.58.58 0 0 1 0-.86L2.27 7 .2 5.1a.58.58 0 0 1 0-.86l.77-.7c.21-.2.52-.2.75-.04l2.4 1.83L9.63.3a.87.87 0 0 1 .61-.26Zm.26 3.78L6.32 7l4.18 3.18V3.82Z"}))}),Svg=dist.zo.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + + path { + fill: currentColor; + } +`,Icons=({icon,useSymbol,...props})=>react.createElement(Svg,{viewBox:"0 0 14 14",width:"14px",height:"14px",...props},useSymbol?react.createElement("use",{xlinkHref:`#icon--${icon}`}):icons[icon]),LinkInner=((0,react.memo)((function({icons:keys=Object.keys(icons)}){return react.createElement(Svg,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},keys.map((key=>react.createElement("symbol",{id:`icon--${key}`,key},icons[key]))))})),dist.zo.span((({withArrow})=>withArrow?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{}),(({containsIcon})=>containsIcon?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}))),A2=dist.zo.a((({theme})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:theme.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:curriedDarken$1(.07,theme.color.secondary),"svg path":{fill:curriedDarken$1(.07,theme.color.secondary)}},"&:active":{color:curriedDarken$1(.1,theme.color.secondary),"svg path":{fill:curriedDarken$1(.1,theme.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:theme.color.secondary}}})),(({theme,secondary,tertiary})=>{let colors;return secondary&&(colors=[theme.textMutedColor,theme.color.dark,theme.color.darker]),tertiary&&(colors=[theme.color.dark,theme.color.darkest,theme.textMutedColor]),colors?{color:colors[0],"svg path":{fill:colors[0]},"&:hover":{color:colors[1],"svg path":{fill:colors[1]}},"&:active":{color:colors[2],"svg path":{fill:colors[2]}}}:{}}),(({nochrome})=>nochrome?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{}),(({theme,inverse})=>inverse?{color:theme.color.lightest,"svg path":{fill:theme.color.lightest},"&:hover":{color:theme.color.lighter,"svg path":{fill:theme.color.lighter}},"&:active":{color:theme.color.light,"svg path":{fill:theme.color.light}}}:{}),(({isButton})=>isButton?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{})),Link2=({cancel,children,onClick,withArrow,containsIcon,className,...rest})=>react.createElement(A2,{...rest,onClick:onClick&&cancel?e=>((e,cb)=>{(e=>!(0!==e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey))(e)&&(e.preventDefault(),cb(e))})(e,onClick):onClick,className},react.createElement(LinkInner,{withArrow,containsIcon},children,withArrow&&react.createElement(Icons,{icon:"arrowright"})));Link2.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};dist.zo.div((({theme})=>({fontSize:`${theme.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${theme.typography.size.l1}px`,fontWeight:theme.typography.weight.bold},h2:{fontSize:`${theme.typography.size.m2}px`,borderBottom:`1px solid ${theme.appBorderColor}`},h3:{fontSize:`${theme.typography.size.m1}px`},h4:{fontSize:`${theme.typography.size.s3}px`},h5:{fontSize:`${theme.typography.size.s2}px`},h6:{fontSize:`${theme.typography.size.s2}px`,color:theme.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:theme.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${theme.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${theme.color.medium}`,padding:"0 15px",color:theme.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${theme.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${theme.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${theme.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:theme.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${theme.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:theme.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${theme.color.mediumlight}`,backgroundColor:theme.color.lighter,borderRadius:3,color:"dark"===theme.base&&theme.color.darkest}})));var LazySyntaxHighlighter=(0,react.lazy)((()=>__webpack_require__.e(954).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/syntaxhighlighter-QTQ2UBB4.mjs")))),LazySyntaxHighlighterWithFormatter=(0,react.lazy)((async()=>{let[{SyntaxHighlighter:SyntaxHighlighter3},{formatter}]=await Promise.all([__webpack_require__.e(954).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/syntaxhighlighter-QTQ2UBB4.mjs")),__webpack_require__.e(8800).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/formatter-S4K5WUZV.mjs"))]);return{default:props=>react.createElement(SyntaxHighlighter3,{...props,formatter})}})),SyntaxHighlighter2=props=>react.createElement(react.Suspense,{fallback:react.createElement("div",null)},!1!==props.format?react.createElement(LazySyntaxHighlighterWithFormatter,{...props}):react.createElement(LazySyntaxHighlighter,{...props})),Title=(dist.zo.div((({theme,col,row=1})=>col?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:col*theme.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${dist.GG}`]:{marginLeft:0}}:{"& > *":{marginTop:row*theme.layoutMargin},[`& > *:first-child${dist.GG}`]:{marginTop:0}}),(({theme,outer,col,row})=>{switch(!0){case!(!outer||!col):return{marginLeft:outer*theme.layoutMargin,marginRight:outer*theme.layoutMargin};case!(!outer||!row):return{marginTop:outer*theme.layoutMargin,marginBottom:outer*theme.layoutMargin};default:return{}}})),dist.zo.div((({theme})=>({fontWeight:theme.typography.weight.bold})))),Desc=dist.zo.div(),Message=dist.zo.div((({theme})=>({padding:30,textAlign:"center",color:theme.color.defaultText,fontSize:theme.typography.size.s2-1}))),Placeholder=({children,...props})=>{let[title,desc]=react.Children.toArray(children);return react.createElement(Message,{...props},react.createElement(Title,null,title),desc&&react.createElement(Desc,null,desc))};function browserSupportsCssZoom(){try{return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&__webpack_require__.g.CSS?.supports("zoom: 1")}catch{return!1}}var hasBrowserSupportForCssZoom=browserSupportsCssZoom(),ZoomElementWrapper=dist.zo.div((({scale=1,elementHeight})=>hasBrowserSupportForCssZoom?{"> *":{zoom:1/scale}}:{height:elementHeight||"auto",transformOrigin:"top left",transform:`scale(${1/scale})`}));var Zoom={Element:function ZoomElement({scale,children}){let componentWrapperRef=(0,react.useRef)(null),[elementHeight,setElementHeight]=(0,react.useState)(0),onResize=(0,react.useCallback)((({height})=>{height&&setElementHeight(height/scale)}),[scale]);return(0,react.useEffect)((()=>{componentWrapperRef.current&&setElementHeight(componentWrapperRef.current.getBoundingClientRect().height)}),[scale]),useResizeObserver({ref:componentWrapperRef,onResize}),react.createElement(ZoomElementWrapper,{scale,elementHeight},react.createElement("div",{ref:hasBrowserSupportForCssZoom?null:componentWrapperRef,className:"innerZoomElementWrapper"},children))},IFrame:class extends react.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef}=this.props;this.iframe=iFrameRef.current}shouldComponentUpdate(nextProps){let{scale,active}=this.props;return scale!==nextProps.scale&&this.setIframeInnerZoom(nextProps.scale),active!==nextProps.active&&this.iframe.setAttribute("data-is-storybook",nextProps.active?"true":"false"),nextProps.children.props.src!==this.props.children.props.src}setIframeInnerZoom(scale){try{browserSupportsCssZoom()?Object.assign(this.iframe.contentDocument.body.style,{zoom:1/scale,minHeight:`calc(100vh / ${1/scale})`}):Object.assign(this.iframe.contentDocument.body.style,{width:100*scale+"%",height:100*scale+"%",transform:`scale(${1/scale})`,transformOrigin:"top left"})}catch{this.setIframeZoom(scale)}}setIframeZoom(scale){Object.assign(this.iframe.style,{width:100*scale+"%",height:100*scale+"%",transform:`scale(${1/scale})`,transformOrigin:"top left"})}render(){let{children}=this.props;return children}}},{document:document2}=global_dist.global,ErrorName=dist.zo.strong((({theme})=>({color:theme.color.orange}))),ErrorImportant=dist.zo.strong((({theme})=>({color:theme.color.ancillary,textDecoration:"underline"}))),ErrorDetail=dist.zo.em((({theme})=>({color:theme.textMutedColor}))),firstLineRegex=/(Error): (.*)\n/,linesRegexChromium=/at (?:(.*) )?\(?(.+)\)?/,linesRegexFirefox=/([^@]+)?(?:\/<)?@(.+)?/,linesRegexSafari=/([^@]+)?@(.+)?/,ErrorFormatter=({error})=>{if(!error)return react.createElement(react.Fragment,null,"This error has no stack or message");if(!error.stack)return react.createElement(react.Fragment,null,error.message||"This error has no stack or message");let input=error.stack.toString();input&&error.message&&!input.includes(error.message)&&(input=`Error: ${error.message}\n\n${input}`);let match=input.match(firstLineRegex);if(!match)return react.createElement(react.Fragment,null,input);let[,type,name]=match,rawLines=input.split(/\n/).slice(1),[,...lines]=rawLines.map((line=>{let result=line.match(linesRegexChromium)||line.match(linesRegexFirefox)||line.match(linesRegexSafari);return result?{name:(result[1]||"").replace("/<",""),location:result[2].replace(document2.location.origin,"")}:null})).filter(Boolean);return react.createElement(react.Fragment,null,react.createElement("span",null,type),": ",react.createElement(ErrorName,null,name),react.createElement("br",null),lines.map(((l,i)=>l.name?react.createElement(react.Fragment,{key:i}," ","at ",react.createElement(ErrorImportant,null,l.name)," (",react.createElement(ErrorDetail,null,l.location),")",react.createElement("br",null)):react.createElement(react.Fragment,{key:i}," ","at ",react.createElement(ErrorDetail,null,l.location),react.createElement("br",null)))))},ButtonWrapper=dist.zo.button((({small,theme})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:small?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${small?theme.typography.size.s1:theme.typography.size.s2-1}px`,fontWeight:theme.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:small?12:14,width:small?12:14,verticalAlign:"top",marginRight:small?4:6,marginTop:small?0:-1,marginBottom:small?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}})),(({disabled})=>disabled?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{}),(({containsIcon,small})=>containsIcon?{svg:{display:"block",margin:0},...small?{padding:10}:{padding:13}}:{}),(({theme,primary,secondary,gray})=>{let color;return gray?color=theme.color.mediumlight:secondary?color=theme.color.secondary:primary&&(color=theme.color.primary),color?{background:color,color:gray?theme.color.darkest:theme.color.lightest,"&:hover":{background:curriedDarken$1(.05,color)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${rgba(color,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${rgba(color,.2)} 0 8px 18px 0px`}}:{}}),(({theme,tertiary,inForm,small})=>tertiary?{background:theme.button.background,color:theme.input.color,boxShadow:`${theme.button.border} 0 0 0 1px inset`,borderRadius:theme.input.borderRadius,...inForm&&small?{padding:"10px 16px"}:{},"&:hover":{background:"light"===theme.base?curriedDarken$1(.02,theme.button.background):curriedLighten$1(.03,theme.button.background),...inForm?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:theme.button.background},"&:focus":{boxShadow:`${rgba(theme.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{}),(({theme,outline})=>outline?{boxShadow:`${curriedTransparentize$1(.8,theme.color.defaultText)} 0 0 0 1px inset`,color:curriedTransparentize$1(.3,theme.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${curriedTransparentize$1(.5,theme.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${curriedTransparentize$1(.5,theme.color.defaultText)} 0 0 0 2px inset`,color:curriedTransparentize$1(0,theme.color.defaultText)}}:{}),(({theme,outline,primary})=>{let color=theme.color.primary;return outline&&primary?{boxShadow:`${color} 0 0 0 1px inset`,color,"svg path":{fill:color},"&:hover":{boxShadow:`${color} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:color,boxShadow:`${color} 0 0 0 1px inset`,color:theme.color.tertiary},"&:focus":{boxShadow:`${color} 0 0 0 1px inset, ${rgba(color,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${color} 0 0 0 1px inset, ${rgba(color,.2)} 0 8px 18px 0px`}}:{}}),(({theme,outline,primary,secondary})=>{let color;return secondary?color=theme.color.secondary:primary&&(color=theme.color.primary),outline&&color?{boxShadow:`${color} 0 0 0 1px inset`,color,"svg path":{fill:color},"&:hover":{boxShadow:`${color} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:color,boxShadow:`${color} 0 0 0 1px inset`,color:theme.color.tertiary},"&:focus":{boxShadow:`${color} 0 0 0 1px inset, ${rgba(color,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${color} 0 0 0 1px inset, ${rgba(color,.2)} 0 8px 18px 0px`}}:{}})),ButtonLink=ButtonWrapper.withComponent("a"),Button=Object.assign((0,react.forwardRef)((function({isLink,children,...props},ref){return isLink?react.createElement(ButtonLink,{...props,ref},children):react.createElement(ButtonWrapper,{...props,ref},children)})),{defaultProps:{isLink:!1}}),Wrapper=dist.zo.label((({theme})=>({display:"flex",borderBottom:`1px solid ${theme.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}}))),Label=dist.zo.span((({theme})=>({minWidth:100,fontWeight:theme.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"}))),Field=({label,children,...props})=>react.createElement(Wrapper,{...props},label?react.createElement(Label,null,react.createElement("span",null,label)):null,children);Field.defaultProps={label:void 0};var use_isomorphic_layout_effect_esm_default=typeof document<"u"?react.useLayoutEffect:react.useEffect,updateRef=function(ref,value){"function"!=typeof ref?ref.current=value:ref(value)},use_composed_ref_esm_default=function(libRef,userRef){var prevUserRef=(0,react.useRef)();return(0,react.useCallback)((function(instance){libRef.current=instance,prevUserRef.current&&updateRef(prevUserRef.current,null),prevUserRef.current=userRef,userRef&&updateRef(userRef,instance)}),[userRef])},HIDDEN_TEXTAREA_STYLE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},forceHiddenStyles=function(node){Object.keys(HIDDEN_TEXTAREA_STYLE).forEach((function(key){node.style.setProperty(key,HIDDEN_TEXTAREA_STYLE[key],"important")}))},hiddenTextarea=null,getHeight=function(node,sizingData){var height=node.scrollHeight;return"border-box"===sizingData.sizingStyle.boxSizing?height+sizingData.borderSize:height-sizingData.paddingSize};var noop=function(){},SIZING_STYLE=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],isIE=typeof document<"u"&&!!document.documentElement.currentStyle;function useListener(target,type,listener){var value,ref,latestListener=(value=listener,ref=react.useRef(value),use_isomorphic_layout_effect_esm_default((function(){ref.current=value})),ref);(0,react.useLayoutEffect)((function(){var handler=function(ev){return latestListener.current(ev)};return target.addEventListener(type,handler),function(){return target.removeEventListener(type,handler)}}),[])}var _excluded=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],react_textarea_autosize_esm_default=(0,react.forwardRef)((function(_ref,userRef){var cacheMeasurements=_ref.cacheMeasurements,maxRows=_ref.maxRows,minRows=_ref.minRows,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?noop:_ref$onChange,_ref$onHeightChange=_ref.onHeightChange,onHeightChange=void 0===_ref$onHeightChange?noop:_ref$onHeightChange,props=(0,chunk_FD4M6EBV.B)(_ref,_excluded);var isControlled=void 0!==props.value,libRef=(0,react.useRef)(null),ref=use_composed_ref_esm_default(libRef,userRef),heightRef=(0,react.useRef)(0),measurementsCacheRef=(0,react.useRef)(),resizeTextarea=function(){var node=libRef.current,nodeSizingData=cacheMeasurements&&measurementsCacheRef.current?measurementsCacheRef.current:function(node){var style=window.getComputedStyle(node);if(null===style)return null;var obj,sizingStyle=(obj=style,SIZING_STYLE.reduce((function(acc,prop){return acc[prop]=obj[prop],acc}),{})),boxSizing=sizingStyle.boxSizing;return""===boxSizing?null:(isIE&&"border-box"===boxSizing&&(sizingStyle.width=parseFloat(sizingStyle.width)+parseFloat(sizingStyle.borderRightWidth)+parseFloat(sizingStyle.borderLeftWidth)+parseFloat(sizingStyle.paddingRight)+parseFloat(sizingStyle.paddingLeft)+"px"),{sizingStyle,paddingSize:parseFloat(sizingStyle.paddingBottom)+parseFloat(sizingStyle.paddingTop),borderSize:parseFloat(sizingStyle.borderBottomWidth)+parseFloat(sizingStyle.borderTopWidth)})}(node);if(nodeSizingData){measurementsCacheRef.current=nodeSizingData;var _calculateNodeHeight=function calculateNodeHeight(sizingData,value,minRows,maxRows){void 0===minRows&&(minRows=1),void 0===maxRows&&(maxRows=1/0),hiddenTextarea||((hiddenTextarea=document.createElement("textarea")).setAttribute("tabindex","-1"),hiddenTextarea.setAttribute("aria-hidden","true"),forceHiddenStyles(hiddenTextarea)),null===hiddenTextarea.parentNode&&document.body.appendChild(hiddenTextarea);var paddingSize=sizingData.paddingSize,borderSize=sizingData.borderSize,sizingStyle=sizingData.sizingStyle,boxSizing=sizingStyle.boxSizing;Object.keys(sizingStyle).forEach((function(_key){var key=_key;hiddenTextarea.style[key]=sizingStyle[key]})),forceHiddenStyles(hiddenTextarea),hiddenTextarea.value=value;var height=getHeight(hiddenTextarea,sizingData);hiddenTextarea.value=value,height=getHeight(hiddenTextarea,sizingData),hiddenTextarea.value="x";var rowHeight=hiddenTextarea.scrollHeight-paddingSize,minHeight=rowHeight*minRows;"border-box"===boxSizing&&(minHeight=minHeight+paddingSize+borderSize),height=Math.max(minHeight,height);var maxHeight=rowHeight*maxRows;return"border-box"===boxSizing&&(maxHeight=maxHeight+paddingSize+borderSize),[height=Math.min(maxHeight,height),rowHeight]}(nodeSizingData,node.value||node.placeholder||"x",minRows,maxRows),height=_calculateNodeHeight[0],rowHeight=_calculateNodeHeight[1];heightRef.current!==height&&(heightRef.current=height,node.style.setProperty("height",height+"px","important"),onHeightChange(height,{rowHeight}))}};return typeof document<"u"&&((0,react.useLayoutEffect)(resizeTextarea),useListener(window,"resize",resizeTextarea),function(listener){useListener(document.fonts,"loadingdone",listener)}(resizeTextarea)),(0,react.createElement)("textarea",(0,chunk_FD4M6EBV.j)({},props,{onChange:function(event){isControlled||resizeTextarea(),onChange(event)},ref}))})),styleResets={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},styles=({theme})=>({...styleResets,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:theme.input.color||"inherit",background:theme.input.background,boxShadow:`${theme.input.border} 0 0 0 1px inset`,borderRadius:theme.input.borderRadius,fontSize:theme.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px","&:focus":{boxShadow:`${theme.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${theme.color.lightest} inset`},"&::placeholder":{color:theme.textMutedColor,opacity:1}}),sizes=({size})=>{switch(size){case"100%":return{width:"100%"};case"flex":return{flex:1};default:return{display:"inline"}}},alignment=({align})=>{switch(align){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};default:return{textAlign:"left"}}},validation=({valid,theme})=>{switch(valid){case"valid":return{boxShadow:`${theme.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${theme.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${theme.color.warning} 0 0 0 1px inset`};default:return{}}},Input=Object.assign((0,dist.zo)((0,react.forwardRef)((function({size,valid,align,...props},ref){return react.createElement("input",{...props,ref})})))(styles,sizes,alignment,validation,{minHeight:32}),{displayName:"Input"}),Select=Object.assign((0,dist.zo)((0,react.forwardRef)((function({size,valid,align,...props},ref){return react.createElement("select",{...props,ref})})))(styles,sizes,validation,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Textarea=Object.assign((0,dist.zo)((0,react.forwardRef)((function({size,valid,align,...props},ref){return react.createElement(react_textarea_autosize_esm_default,{...props,ref})})))(styles,sizes,alignment,validation,(({height=400})=>({overflow:"visible",maxHeight:height}))),{displayName:"Textarea"}),ButtonStyled=(0,dist.zo)((0,react.forwardRef)((function({size,valid,align,...props},ref){return react.createElement(Button,{...props,ref})})))(sizes,validation,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),Button3=Object.assign((0,react.forwardRef)((function(props,ref){return react.createElement(ButtonStyled,{...props,tertiary:!0,small:!0,inForm:!0,ref})})),{displayName:"Button"}),Form=Object.assign(dist.zo.form({boxSizing:"border-box",width:"100%"}),{Field,Input,Select,Textarea,Button:Button3}),LazyWithTooltip=(0,react.lazy)((()=>__webpack_require__.e(5039).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/WithTooltip-FBT32F6Q.mjs")).then((mod=>({default:mod.WithTooltip}))))),WithTooltip=props=>react.createElement(react.Suspense,{fallback:react.createElement("div",null)},react.createElement(LazyWithTooltip,{...props})),LazyWithTooltipPure=(0,react.lazy)((()=>__webpack_require__.e(5039).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/WithTooltip-FBT32F6Q.mjs")).then((mod=>({default:mod.WithTooltipPure}))))),WithTooltipPure=props=>react.createElement(react.Suspense,{fallback:react.createElement("div",null)},react.createElement(LazyWithTooltipPure,{...props})),Note=(dist.zo.div((({theme})=>({fontWeight:theme.typography.weight.bold}))),dist.zo.span(),dist.zo.div((({theme})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:theme.typography.weight.bold}}))),dist.zo.div((({theme})=>({color:theme.color.defaultText,lineHeight:"18px"}))),dist.zo.div({padding:15,width:280,boxSizing:"border-box"}),dist.zo.div((({theme})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:theme.typography.weight.bold,color:theme.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:"light"===theme.base?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})))),TooltipNote=({note,...props})=>react.createElement(Note,{...props},note),Title3=(0,dist.zo)((({active,loading,disabled,...rest})=>react.createElement("span",{...rest})))((({theme})=>({color:theme.color.defaultText,fontWeight:theme.typography.weight.regular})),(({active,theme})=>active?{color:theme.color.secondary,fontWeight:theme.typography.weight.bold}:{}),(({loading,theme})=>loading?{display:"inline-block",flex:"none",...theme.animation.inlineGlow}:{}),(({disabled,theme})=>disabled?{color:curriedTransparentize$1(.7,theme.color.defaultText)}:{})),Right=dist.zo.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),Center=dist.zo.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},(({isIndented})=>isIndented?{marginLeft:24}:{})),CenterText=dist.zo.span((({theme})=>({fontSize:"11px",lineHeight:"14px"})),(({active,theme})=>active?{color:theme.color.secondary}:{}),(({theme,disabled})=>disabled?{color:theme.textMutedColor}:{})),Left=dist.zo.span((({active,theme})=>active?{"& svg":{opacity:1},"& svg path":{fill:theme.color.secondary}}:{}),(()=>({display:"flex",maxWidth:14}))),Item=dist.zo.a((({theme})=>({fontSize:theme.typography.size.s1,transition:"all 150ms ease-out",color:theme.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:theme.background.hoverable},"&:hover svg":{opacity:1}})),(({disabled})=>disabled?{cursor:"not-allowed"}:{})),getItemProps=memoizerific_default()(100)(((onClick,href,LinkWrapper)=>{let result={};return onClick&&Object.assign(result,{onClick}),href&&Object.assign(result,{href}),LinkWrapper&&href&&Object.assign(result,{to:href,as:LinkWrapper}),result})),ListItem=({loading,left,title,center,right,icon,active,disabled,isIndented,href,onClick,LinkWrapper,...rest})=>{let itemProps=getItemProps(onClick,href,LinkWrapper),commonProps={active,disabled},isStorybookIcon="string"==typeof icon&&icons[icon];return react.createElement(Item,{...commonProps,...rest,...itemProps},icon?react.createElement(Left,{...commonProps},isStorybookIcon?react.createElement(Icons,{icon}):icon):left&&react.createElement(Left,{...commonProps},left),title||center?react.createElement(Center,{isIndented:!left&&!icon&&isIndented},title&&react.createElement(Title3,{...commonProps,loading},title),center&&react.createElement(CenterText,{...commonProps},center)):null,right&&react.createElement(Right,{...commonProps},right))};ListItem.defaultProps={loading:!1,left:null,title:react.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var ListItem_default=ListItem,List=dist.zo.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:496},(({theme})=>({borderRadius:theme.appBorderRadius}))),Item2=props=>{let{LinkWrapper,onClick:onClickFromProps,id,isIndented,...rest}=props,{title,href,active}=rest,onClick=(0,react.useCallback)((event=>{onClickFromProps(event,rest)}),[onClickFromProps]),hasOnClick=!!onClickFromProps;return react.createElement(ListItem_default,{title,active,href,id:`list-item-${id}`,LinkWrapper,isIndented,...rest,...hasOnClick?{onClick}:{}})},TooltipLinkList=({links,LinkWrapper})=>{let hasOneLeftElement=links.some((link=>link.left||link.icon));return react.createElement(List,null,links.map((({isGatsby,...p})=>react.createElement(Item2,{key:p.id,LinkWrapper:isGatsby?LinkWrapper:null,isIndented:hasOneLeftElement,...p}))))};TooltipLinkList.defaultProps={LinkWrapper:ListItem_default.defaultProps.LinkWrapper};var ButtonOrLink=react.forwardRef((({children,...restProps},ref)=>null!=restProps.href?react.createElement("a",{ref,...restProps},children):react.createElement("button",{ref,type:"button",...restProps},children)));ButtonOrLink.displayName="ButtonOrLink";var TabButton=(0,dist.zo)(ButtonOrLink,{shouldForwardProp:dist.R_})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},(({theme})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:theme.color.secondary}})),(({active,textColor,theme})=>active?{color:textColor||theme.barSelectedColor,borderBottomColor:theme.barSelectedColor}:{color:textColor||theme.barTextColor,borderBottomColor:"transparent"}));TabButton.displayName="TabButton";var IconButton=(0,dist.zo)(ButtonOrLink,{shouldForwardProp:dist.R_})((()=>({alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}})),(({active,theme})=>active?{backgroundColor:theme.background.hoverable,color:theme.color.secondary}:{}),(({disabled,theme})=>disabled?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:curriedTransparentize$1(.88,theme.color.secondary),color:theme.color.secondary},"&:focus-visible":{outline:chunk_E5IOH6B7.d7},"&:focus:not(:focus-visible)":{outline:"none"}}));IconButton.displayName="IconButton";var IconPlaceholder=dist.zo.div((({theme})=>({width:14,height:14,backgroundColor:theme.appBorderColor,animation:`${theme.animation.glow} 1.5s ease-in-out infinite`}))),IconButtonSkeletonWrapper=dist.zo.div((()=>({marginTop:6,padding:7,height:28}))),IconButtonSkeleton=()=>react.createElement(IconButtonSkeletonWrapper,null,react.createElement(IconPlaceholder,null)),Side=dist.zo.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},(({scrollable})=>scrollable?{flexShrink:0}:{}),(({left})=>left?{"& > *":{marginLeft:4}}:{}),(({right})=>right?{marginLeft:30,"& > *":{marginRight:4}}:{}));Side.displayName="Side";var Bar=(0,dist.zo)((({children,className,scrollable})=>scrollable?react.createElement(chunk_RDJSMFWU.xr,{vertical:!1,className},children):react.createElement("div",{className},children)))((({theme,scrollable=!0})=>({color:theme.barTextColor,width:"100%",height:40,flexShrink:0,overflow:scrollable?"auto":"hidden",overflowY:"hidden"})),(({theme,border=!1})=>border?{boxShadow:`${theme.appBorderColor} 0 -1px 0 0 inset`,background:theme.barBg}:{}));Bar.displayName="Bar";var BarInner=dist.zo.div((({bgColor})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:bgColor||""}))),FlexBar=({children,backgroundColor,...rest})=>{let[left,right]=react.Children.toArray(children);return react.createElement(Bar,{...rest},react.createElement(BarInner,{bgColor:backgroundColor},react.createElement(Side,{scrollable:rest.scrollable,left:!0},left),right?react.createElement(Side,{right:!0},right):null))};FlexBar.displayName="FlexBar";var VisuallyHidden=dist.zo.div((({active})=>active?{display:"block"}:{display:"none"})),CollapseIcon=dist.zo.span((({theme,isActive})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:isActive?theme.color.secondary:theme.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"}))),AddonButton=(0,dist.zo)(TabButton)((({active,theme,preActive})=>`\n color: ${preActive||active?theme.color.secondary:theme.color.mediumdark};\n &:hover {\n color: ${theme.color.secondary};\n .addon-collapsible-icon {\n color: ${theme.color.secondary};\n }\n }\n `));var Wrapper2=dist.zo.div((({theme,bordered})=>bordered?{backgroundClip:"padding-box",border:`1px solid ${theme.appBorderColor}`,borderRadius:theme.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{}),(({absolute})=>absolute?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"})),TabBar=dist.zo.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});TabBar.displayName="TabBar";var Content=dist.zo.div({display:"block",position:"relative"},(({theme})=>({fontSize:theme.typography.size.s2-1,background:theme.background.content})),(({bordered,theme})=>bordered?{borderRadius:`0 0 ${theme.appBorderRadius-1}px ${theme.appBorderRadius-1}px`}:{}),(({absolute,bordered})=>absolute?{height:`calc(100% - ${bordered?42:40}px)`,position:"absolute",left:0+(bordered?1:0),right:0+(bordered?1:0),bottom:0+(bordered?1:0),top:40+(bordered?1:0),overflow:"auto","& > *:first-child/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */":{position:"absolute",left:0+(bordered?1:0),right:0+(bordered?1:0),bottom:0+(bordered?1:0),top:0+(bordered?1:0),height:`calc(100% - ${bordered?2:0}px)`,overflow:"auto"}}:{})),Tabs=(0,react.memo)((({children,selected,actions,absolute,bordered,tools,backgroundColor,id:htmlId,menuName})=>{let list=(0,react.useMemo)((()=>((children,selected)=>react.Children.toArray(children).map((({props:{title,id,color,children:childrenOfChild}},index3)=>{let content=Array.isArray(childrenOfChild)?childrenOfChild[0]:childrenOfChild;return{active:selected?id===selected:0===index3,title,id,color,render:"function"==typeof content?content:({active,key})=>react.createElement(VisuallyHidden,{key,active,role:"tabpanel"},content)}})))(children,selected)),[children,selected]),{visibleList,tabBarRef,tabRefs,AddonTab}=function useList(list){let tabBarRef=(0,react.useRef)(),addonsRef=(0,react.useRef)(),tabRefs=(0,react.useRef)(new Map),{width:tabBarWidth=1}=useResizeObserver({ref:tabBarRef}),[visibleList,setVisibleList]=(0,react.useState)(list),[invisibleList,setInvisibleList]=(0,react.useState)([]),previousList=(0,react.useRef)(list),AddonTab=(0,react.useCallback)((({menuName,actions})=>{let isAddonsActive=invisibleList.some((({active})=>active)),[isTooltipVisible,setTooltipVisible]=(0,react.useState)(!1);return react.createElement(react.Fragment,null,react.createElement(chunk_E5IOH6B7.WA,{interactive:!0,visible:isTooltipVisible,onVisibleChange:setTooltipVisible,placement:"bottom",delayHide:100,tooltip:react.createElement(TooltipLinkList,{links:invisibleList.map((({title,id,color,active})=>({id,title,color,active,onClick:e=>{e.preventDefault(),actions.onSelect(id)}})))})},react.createElement(AddonButton,{ref:addonsRef,active:isAddonsActive,preActive:isTooltipVisible,style:{visibility:invisibleList.length?"visible":"hidden"},"aria-hidden":!invisibleList.length,className:"tabbutton",type:"button",role:"tab"},menuName,react.createElement(CollapseIcon,{className:"addon-collapsible-icon",isActive:isAddonsActive||isTooltipVisible}))),invisibleList.map((({title,id,color},index3)=>{let indexId=`index-${index3}`;return react.createElement(TabButton,{id:`tabbutton-${(0,csf_dist.Nw)(id)??indexId}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:ref=>{tabRefs.current.set(id,ref)},className:"tabbutton",type:"button",key:id,textColor:color,role:"tab"},title)})))}),[invisibleList]),setTabLists=(0,react.useCallback)((()=>{if(!tabBarRef.current||!addonsRef.current)return;let{x,width}=tabBarRef.current.getBoundingClientRect(),{width:widthAddonsTab}=addonsRef.current.getBoundingClientRect(),rightBorder=invisibleList.length?x+width-widthAddonsTab:x+width,newVisibleList=[],widthSum=0,newInvisibleList=list.filter((item=>{let{id}=item,tabButton=tabRefs.current.get(id),{width:tabWidth=0}=tabButton?.getBoundingClientRect()||{},crossBorder=x+widthSum+tabWidth>rightBorder;return(!crossBorder||!tabButton)&&newVisibleList.push(item),widthSum+=tabWidth,crossBorder}));(newVisibleList.length!==visibleList.length||previousList.current!==list)&&(setVisibleList(newVisibleList),setInvisibleList(newInvisibleList),previousList.current=list)}),[invisibleList.length,list,visibleList]);return(0,react.useLayoutEffect)(setTabLists,[setTabLists,tabBarWidth]),{tabRefs,addonsRef,tabBarRef,visibleList,invisibleList,AddonTab}}(list);return list.length?react.createElement(Wrapper2,{absolute,bordered,id:htmlId},react.createElement(FlexBar,{scrollable:!1,border:!0,backgroundColor},react.createElement(TabBar,{style:{whiteSpace:"normal"},ref:tabBarRef,role:"tablist"},visibleList.map((({title,id,active,color},index3)=>{let indexId=`index-${index3}`;return react.createElement(TabButton,{id:`tabbutton-${(0,csf_dist.Nw)(id)??indexId}`,ref:ref=>{tabRefs.current.set(id,ref)},className:"tabbutton "+(active?"tabbutton-active":""),type:"button",key:id,active,textColor:color,onClick:e=>{e.preventDefault(),actions.onSelect(id)},role:"tab"},title)})),react.createElement(AddonTab,{menuName,actions})),tools),react.createElement(Content,{id:"panel-tab-content",bordered,absolute},list.map((({id,active,render})=>render({key:id,active}))))):react.createElement(Placeholder,null,react.createElement(react.Fragment,{key:"title"},"Nothing found"))}));Tabs.displayName="Tabs",Tabs.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1,menuName:"Tabs"};var TabsState=class extends react.Component{constructor(props){super(props),this.handlers={onSelect:id=>this.setState({selected:id})},this.state={selected:props.initial}}render(){let{bordered=!1,absolute=!1,children,backgroundColor,menuName}=this.props,{selected}=this.state;return react.createElement(Tabs,{bordered,absolute,selected,backgroundColor,menuName,actions:this.handlers},children)}};TabsState.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var Separator=dist.zo.span((({theme})=>({width:1,height:20,background:theme.appBorderColor,marginTop:10,marginLeft:6,marginRight:2})),(({force})=>force?{}:{"& + &":{display:"none"}}));Separator.displayName="Separator";var rotate360=dist.F4` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,LoaderWrapper=dist.zo.div((({size=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-size/2,marginLeft:-size/2,height:size,width:size,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${rotate360} 0.7s linear infinite`,mixBlendMode:"difference"}))),ProgressWrapper=dist.zo.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),ProgressTrack=dist.zo.div((({theme})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:curriedTransparentize$1(.8,theme.color.secondary),overflow:"hidden",cursor:"progress"}))),ProgressBar=dist.zo.div((({theme})=>({position:"absolute",top:0,left:0,height:"100%",background:theme.color.secondary}))),ProgressMessage=dist.zo.div((({theme})=>({minHeight:"2em",fontSize:`${theme.typography.size.s1}px`,color:theme.barTextColor}))),ErrorIcon=(0,dist.zo)(Icons)((({theme})=>({width:20,height:20,marginBottom:"0.5rem",color:theme.textMutedColor}))),ellipsis=dist.F4` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,Ellipsis=dist.zo.span({"&::after":{content:"'...'",animation:`${ellipsis} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),Loader=({progress,error,size,...props})=>{if(error)return react.createElement(ProgressWrapper,{"aria-label":error.toString(),"aria-live":"polite",role:"status",...props},react.createElement(ErrorIcon,{icon:"lightningoff"}),react.createElement(ProgressMessage,null,error.message));if(progress){let{value,modules}=progress,{message}=progress;return modules&&(message+=` ${modules.complete} / ${modules.total} modules`),react.createElement(ProgressWrapper,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":100*value,"aria-valuetext":message,role:"progressbar",...props},react.createElement(ProgressTrack,null,react.createElement(ProgressBar,{style:{width:100*value+"%"}})),react.createElement(ProgressMessage,null,message,value<1&&react.createElement(Ellipsis,{key:message})))}return react.createElement(LoaderWrapper,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size,...props})};function parseQuery(queryString){let query={},pairs=queryString.split("&");for(let i=0;i{let[url,paramsStr]=baseUrl.split("?"),params=paramsStr?{...parseQuery(paramsStr),...additionalParams,id:storyId}:{...additionalParams,id:storyId};return`${url}?${Object.entries(params).map((item=>`${item[0]}=${item[1]}`)).join("&")}`},components2=components,resetComponents={};Object.keys(components).forEach((key=>{resetComponents[key]=(0,react.forwardRef)(((props,ref)=>(0,react.createElement)(key,{...props,ref})))}))},"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/chunk-4NMOSTKD.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$_:()=>color,Dz:()=>light_default,Ee:()=>__commonJS,Oq:()=>background,Q$:()=>getPreferredColorScheme,TE:()=>mkColor,cp:()=>typography,j6:()=>curriedOpacify$1,jm:()=>_extends,np:()=>themes,tG:()=>lightenColor,v:()=>__toESM});var _storybook_global__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/global/dist/index.mjs"),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/client-logger"),__create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod));function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}()?Reflect.construct.bind():function(Parent2,args2,Class2){var a=[null];a.push.apply(a,args2);var instance=new(Function.bind.apply(Parent2,a));return Class2&&_setPrototypeOf(instance,Class2.prototype),instance}).apply(null,arguments)}function _wrapNativeSuper(Class){var _cache="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(Class2){if(null===Class2||!function _isNativeFunction(fn){return-1!==Function.toString.call(fn).indexOf("[native code]")}(Class2))return Class2;if("function"!=typeof Class2)throw new TypeError("Super expression must either be null or a function");if(typeof _cache<"u"){if(_cache.has(Class2))return _cache.get(Class2);_cache.set(Class2,Wrapper)}function Wrapper(){return _construct(Class2,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(Class2.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,Class2)},_wrapNativeSuper(Class)}var ERRORS={1:"Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).\n\n",2:"Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).\n\n",3:"Passed an incorrect argument to a color function, please pass a string representation of a color.\n\n",4:"Couldn't generate valid rgb string from %s, it returned %s.\n\n",5:"Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.\n\n",6:"Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).\n\n",7:"Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).\n\n",8:"Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.\n\n",9:"Please provide a number of steps to the modularScale helper.\n\n",10:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",11:'Invalid value passed as base to modularScale, expected number or em string but got "%s"\n\n',12:'Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.\n\n',13:'Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.\n\n',14:'Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',15:'Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',16:"You must provide a template to this method.\n\n",17:"You passed an unsupported selector state to this method.\n\n",18:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",19:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",20:"expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:"fontFace expects a name of a font-family.\n\n",24:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",25:"fontFace expects localFonts to be an array.\n\n",26:"fontFace expects fileFormats to be an array.\n\n",27:"radialGradient requries at least 2 color-stops to properly render.\n\n",28:"Please supply a filename to retinaImage() as the first argument.\n\n",29:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation\n\n",32:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')\n\n",33:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation\n\n",34:"borderRadius expects a radius value as a string or number as the second argument.\n\n",35:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',36:"Property must be a string value.\n\n",37:"Syntax Error at %s.\n\n",38:"Formula contains a function that needs parentheses at %s.\n\n",39:"Formula is missing closing parenthesis at %s.\n\n",40:"Formula has too many closing parentheses at %s.\n\n",41:"All values in a formula must have the same unit or be unitless.\n\n",42:"Please provide a number of steps to the modularScale helper.\n\n",43:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",44:"Invalid value passed as base to modularScale, expected number or em/rem string but got %s.\n\n",45:"Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.\n\n",46:"Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.\n\n",47:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",48:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",49:"Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",50:"Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.\n\n",51:"Expects the first argument object to have the properties prop, fromSize, and toSize.\n\n",52:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",53:"fontFace expects localFonts to be an array.\n\n",54:"fontFace expects fileFormats to be an array.\n\n",55:"fontFace expects a name of a font-family.\n\n",56:"linearGradient requries at least 2 color-stops to properly render.\n\n",57:"radialGradient requries at least 2 color-stops to properly render.\n\n",58:"Please supply a filename to retinaImage() as the first argument.\n\n",59:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:"Property must be a string value.\n\n",62:"borderRadius expects a radius value as a string or number as the second argument.\n\n",63:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',64:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.\n\n",65:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').\n\n",66:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.\n\n",67:"You must provide a template to this method.\n\n",68:"You passed an unsupported selector state to this method.\n\n",69:'Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.\n\n',70:'Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.\n\n',71:'Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.\n\n',72:'Passed invalid base value %s to %s(), please pass a value like "12px" or 12.\n\n',73:"Please provide a valid CSS variable.\n\n",74:"CSS variable not found and no default was provided.\n\n",75:"important requires a valid style object, got a %s instead.\n\n",76:"fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n\n",77:'remToPx expects a value in "rem" but you provided it in "%s".\n\n',78:'base must be set in "px" or "%" but you set it in "%s".\n'};function format(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var c,a=args[0],b=[];for(c=1;c1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];return function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(_Error.call(this,format.apply(void 0,[ERRORS[code]].concat(args)))||this)}return function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,_setPrototypeOf(subClass,superClass)}(PolishedError2,_Error),PolishedError2}(_wrapNativeSuper(Error));function colorToInt(color2){return Math.round(255*color2)}function convertToInt(red,green,blue){return colorToInt(red)+","+colorToInt(green)+","+colorToInt(blue)}function hslToRgb(hue,saturation,lightness,convert){if(void 0===convert&&(convert=convertToInt),0===saturation)return convert(lightness,lightness,lightness);var huePrime=(hue%360+360)%360/60,chroma=(1-Math.abs(2*lightness-1))*saturation,secondComponent=chroma*(1-Math.abs(huePrime%2-1)),red=0,green=0,blue=0;huePrime>=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(color2){if("string"!=typeof color2)throw new PolishedError(3);var normalizedColor=function nameToHex(color2){if("string"!=typeof color2)return color2;var normalizedColorName=color2.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color2}(color2);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError(5)}function parseToHsl(color2){return function rgbToHsl(color2){var red=color2.red/255,green=color2.green/255,blue=color2.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color2.alpha?{hue:0,saturation:0,lightness,alpha:color2.alpha}:{hue:0,saturation:0,lightness};var hue,delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"==typeof firstValue&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new PolishedError(7)}var isRgb=function(color2){return"number"==typeof color2.red&&"number"==typeof color2.green&&"number"==typeof color2.blue&&("number"!=typeof color2.alpha||typeof color2.alpha>"u")},isRgba=function(color2){return"number"==typeof color2.red&&"number"==typeof color2.green&&"number"==typeof color2.blue&&"number"==typeof color2.alpha},isHsl=function(color2){return"number"==typeof color2.hue&&"number"==typeof color2.saturation&&"number"==typeof color2.lightness&&("number"!=typeof color2.alpha||typeof color2.alpha>"u")},isHsla=function(color2){return"number"==typeof color2.hue&&"number"==typeof color2.saturation&&"number"==typeof color2.lightness&&"number"==typeof color2.alpha};function toColorString(color2){if("object"!=typeof color2)throw new PolishedError(8);if(isRgba(color2))return rgba(color2);if(isRgb(color2))return rgb(color2);if(isHsla(color2))return function hsla(value,saturation,lightness,alpha){if("number"==typeof value&&"number"==typeof saturation&&"number"==typeof lightness&&"number"==typeof alpha)return alpha>=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"==typeof value&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new PolishedError(2)}(color2);if(isHsl(color2))return function hsl(value,saturation,lightness){if("number"==typeof value&&"number"==typeof saturation&&"number"==typeof lightness)return hslToHex(value,saturation,lightness);if("object"==typeof value&&void 0===saturation&&void 0===lightness)return hslToHex(value.hue,value.saturation,value.lightness);throw new PolishedError(1)}(color2);throw new PolishedError(8)}function curried(f,length,acc){return function(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}function curry(f){return curried(f,f.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}var curriedDarken$1=curry((function darken(amount,color2){if("transparent"===color2)return color2;var hslColor=parseToHsl(color2);return toColorString(_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}));var curriedLighten$1=curry((function lighten(amount,color2){if("transparent"===color2)return color2;var hslColor=parseToHsl(color2);return toColorString(_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}));var curriedOpacify$1=curry((function opacify(amount,color2){if("transparent"===color2)return color2;var parsedColor=parseToRgb(color2);return rgba(_extends({},parsedColor,{alpha:guard(0,1,(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)+100*parseFloat(amount))/100)}))}));var curriedTransparentize$1=curry((function transparentize(amount,color2){if("transparent"===color2)return color2;var parsedColor=parseToRgb(color2);return rgba(_extends({},parsedColor,{alpha:guard(0,1,+(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)-100*parseFloat(amount)).toFixed(2)/100)}))})),color={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},background={app:"#F6F9FC",bar:color.lightest,content:color.lightest,gridCellSize:10,hoverable:curriedTransparentize$1(.93,color.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},typography={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},light_default={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:background.app,appContentBg:color.lightest,appBorderColor:color.border,appBorderRadius:4,fontBase:typography.fonts.base,fontCode:typography.fonts.mono,textColor:color.darkest,textInverseColor:color.lightest,textMutedColor:color.mediumdark,barTextColor:color.mediumdark,barSelectedColor:color.secondary,barBg:color.lightest,buttonBg:background.app,buttonBorder:color.medium,booleanBg:color.mediumlight,booleanSelectedBg:color.lightest,inputBg:color.lightest,inputBorder:color.border,inputTextColor:color.darkest,inputBorderRadius:4},dark_default={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:typography.fonts.base,fontCode:typography.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:"#798186",barSelectedColor:color.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:color.lightest,inputBorderRadius:4},{window:globalWindow}=_storybook_global__WEBPACK_IMPORTED_MODULE_1__.global,mkColor=color2=>({color:color2}),colorFactory=type=>color2=>{if(!(color2=>"string"==typeof color2||(_storybook_client_logger__WEBPACK_IMPORTED_MODULE_0__.logger.warn(`Color passed to theme object should be a string. Instead ${color2}(${typeof color2}) was passed.`),!1))(color2)||!(color2=>!/(gradient|var|calc)/.test(color2))(color2))return color2;try{return((type,color2)=>"darken"===type?rgba(`${curriedDarken$1(1,color2)}`,.95):"lighten"===type?rgba(`${curriedLighten$1(1,color2)}`,.95):color2)(type,color2)}catch{return color2}},lightenColor=colorFactory("lighten"),getPreferredColorScheme=(colorFactory("darken"),()=>globalWindow&&globalWindow.matchMedia&&globalWindow.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),themes={light:light_default,dark:dark_default,normal:light_default};getPreferredColorScheme()},"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{xB:()=>Global,f6:()=>ThemeProvider,OQ:()=>convert,zx:()=>ensure,GG:()=>ignoreSsrWarning,R_:()=>emotion_is_prop_valid_esm_default,F4:()=>keyframes,zo:()=>emotion_styled_browser_esm_default,Fg:()=>useTheme});var chunk_4NMOSTKD=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/chunk-4NMOSTKD.mjs"),react=__webpack_require__("./node_modules/react/index.js"),react_namespaceObject=__webpack_require__.t(react,2),useInsertionEffect=!!react_namespaceObject.useInsertionEffect&&react_namespaceObject.useInsertionEffect,useInsertionEffectAlwaysWithSyncFallback=useInsertionEffect||function syncFallback(create){return create()},useInsertionEffectWithLayoutFallback=useInsertionEffect||react.useLayoutEffect,memoizerific=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific_default=__webpack_require__.n(memoizerific),external_STORYBOOK_MODULE_CLIENT_LOGGER_=__webpack_require__("@storybook/client-logger"),require_react_is_development=(0,chunk_4NMOSTKD.Ee)({"../../node_modules/react-is/cjs/react-is.development.js"(exports){!function(){var hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,REACT_STRICT_MODE_TYPE=hasSymbol?Symbol.for("react.strict_mode"):60108,REACT_PROFILER_TYPE=hasSymbol?Symbol.for("react.profiler"):60114,REACT_PROVIDER_TYPE=hasSymbol?Symbol.for("react.provider"):60109,REACT_CONTEXT_TYPE=hasSymbol?Symbol.for("react.context"):60110,REACT_ASYNC_MODE_TYPE=hasSymbol?Symbol.for("react.async_mode"):60111,REACT_CONCURRENT_MODE_TYPE=hasSymbol?Symbol.for("react.concurrent_mode"):60111,REACT_FORWARD_REF_TYPE=hasSymbol?Symbol.for("react.forward_ref"):60112,REACT_SUSPENSE_TYPE=hasSymbol?Symbol.for("react.suspense"):60113,REACT_SUSPENSE_LIST_TYPE=hasSymbol?Symbol.for("react.suspense_list"):60120,REACT_MEMO_TYPE=hasSymbol?Symbol.for("react.memo"):60115,REACT_LAZY_TYPE=hasSymbol?Symbol.for("react.lazy"):60116,REACT_BLOCK_TYPE=hasSymbol?Symbol.for("react.block"):60121,REACT_FUNDAMENTAL_TYPE=hasSymbol?Symbol.for("react.fundamental"):60117,REACT_RESPONDER_TYPE=hasSymbol?Symbol.for("react.responder"):60118,REACT_SCOPE_TYPE=hasSymbol?Symbol.for("react.scope"):60119;function typeOf(object){if("object"==typeof object&&null!==object){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type=object.type;switch(type){case REACT_ASYNC_MODE_TYPE:case REACT_CONCURRENT_MODE_TYPE:case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:return type;default:var $$typeofType=type&&type.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var AsyncMode=REACT_ASYNC_MODE_TYPE,ConcurrentMode=REACT_CONCURRENT_MODE_TYPE,ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment4=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1;function isConcurrentMode(object){return typeOf(object)===REACT_CONCURRENT_MODE_TYPE}exports.AsyncMode=AsyncMode,exports.ConcurrentMode=ConcurrentMode,exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment4,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.isAsyncMode=function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),isConcurrentMode(object)||typeOf(object)===REACT_ASYNC_MODE_TYPE},exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE},exports.isContextProvider=function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE},exports.isElement=function isElement(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE},exports.isForwardRef=function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE},exports.isFragment=function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE},exports.isLazy=function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE},exports.isMemo=function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE},exports.isPortal=function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE},exports.isProfiler=function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE},exports.isStrictMode=function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE},exports.isSuspense=function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE},exports.isValidElementType=function isValidElementType(type){return"string"==typeof type||"function"==typeof type||type===REACT_FRAGMENT_TYPE||type===REACT_CONCURRENT_MODE_TYPE||type===REACT_PROFILER_TYPE||type===REACT_STRICT_MODE_TYPE||type===REACT_SUSPENSE_TYPE||type===REACT_SUSPENSE_LIST_TYPE||"object"==typeof type&&null!==type&&(type.$$typeof===REACT_LAZY_TYPE||type.$$typeof===REACT_MEMO_TYPE||type.$$typeof===REACT_PROVIDER_TYPE||type.$$typeof===REACT_CONTEXT_TYPE||type.$$typeof===REACT_FORWARD_REF_TYPE||type.$$typeof===REACT_FUNDAMENTAL_TYPE||type.$$typeof===REACT_RESPONDER_TYPE||type.$$typeof===REACT_SCOPE_TYPE||type.$$typeof===REACT_BLOCK_TYPE)},exports.typeOf=typeOf}()}}),require_react_is=(0,chunk_4NMOSTKD.Ee)({"../../node_modules/react-is/index.js"(exports,module){module.exports=require_react_is_development()}}),require_hoist_non_react_statics_cjs=(0,chunk_4NMOSTKD.Ee)({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(exports,module){var reactIs=require_react_is(),REACT_STATICS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KNOWN_STATICS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},MEMO_STATICS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},TYPE_STATICS={};function getStatics(component){return reactIs.isMemo(component)?MEMO_STATICS:TYPE_STATICS[component.$$typeof]||REACT_STATICS}TYPE_STATICS[reactIs.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},TYPE_STATICS[reactIs.Memo]=MEMO_STATICS;var defineProperty=Object.defineProperty,getOwnPropertyNames=Object.getOwnPropertyNames,getOwnPropertySymbols=Object.getOwnPropertySymbols,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,getPrototypeOf=Object.getPrototypeOf,objectPrototype=Object.prototype;module.exports=function hoistNonReactStatics2(targetComponent,sourceComponent,blacklist){if("string"!=typeof sourceComponent){if(objectPrototype){var inheritedComponent=getPrototypeOf(sourceComponent);inheritedComponent&&inheritedComponent!==objectPrototype&&hoistNonReactStatics2(targetComponent,inheritedComponent,blacklist)}var keys=getOwnPropertyNames(sourceComponent);getOwnPropertySymbols&&(keys=keys.concat(getOwnPropertySymbols(sourceComponent)));for(var targetStatics=getStatics(targetComponent),sourceStatics=getStatics(sourceComponent),i=0;i2||token(character)>3?"":" "}function escaping(index,count){for(;--count&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(index,caret()+(count<6&&32==peek()&&32==next()))}function delimiter(type){for(;next();)switch(character){case type:return position;case 34:case 39:34!==type&&39!==type&&delimiter(character);break;case 40:41===type&&delimiter(type);break;case 92:next()}return position}function commenter(type,index){for(;next()&&type+character!==57&&(type+character!==84||47!==peek()););return"/*"+slice(index,position-1)+"*"+from(47===type?type:next())}function identifier(index){for(;!token(peek());)next();return slice(index,position)}function compile(value){return dealloc(parse("",null,null,null,[""],value=alloc(value),0,[0],value))}function parse(value,root,parent,rule,rules,rulesets,pseudo,points,declarations){for(var index=0,offset=0,length2=pseudo,atrule=0,property=0,previous=0,variable=1,scanning=1,ampersand=1,character2=0,type="",props=rules,children=rulesets,reference=rule,characters2=type;scanning;)switch(previous=character2,character2=next()){case 40:if(108!=previous&&58==charat(characters2,length2-1)){-1!=indexof(characters2+=replace(delimit(character2),"&","&\f"),"&\f")&&(ampersand=-1);break}case 34:case 39:case 91:characters2+=delimit(character2);break;case 9:case 10:case 13:case 32:characters2+=whitespace(previous);break;case 92:characters2+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),root,parent),declarations);break;default:characters2+="/"}break;case 123*variable:points[index++]=strlen(characters2)*ampersand;case 125*variable:case 59:case 0:switch(character2){case 0:case 125:scanning=0;case 59+offset:property>0&&strlen(characters2)-length2&&append(property>32?declaration(characters2+";",rule,parent,length2-1):declaration(replace(characters2," ","")+";",rule,parent,length2-2),declarations);break;case 59:characters2+=";";default:if(append(reference=ruleset(characters2,root,parent,index,offset,rules,points,type,props=[],children=[],length2),rulesets),123===character2)if(0===offset)parse(characters2,root,reference,reference,props,rulesets,length2,points,children);else switch(99===atrule&&110===charat(characters2,3)?100:atrule){case 100:case 109:case 115:parse(value,reference,reference,rule&&append(ruleset(value,reference,reference,0,0,rules,points,type,rules,props=[],length2),children),rules,children,length2,points,rule?props:children);break;default:parse(characters2,reference,reference,reference,[""],children,0,points,children)}}index=offset=property=0,variable=ampersand=1,type=characters2="",length2=pseudo;break;case 58:length2=1+strlen(characters2),property=previous;default:if(variable<1)if(123==character2)--variable;else if(125==character2&&0==variable++&&125==(character=position>0?charat(characters,--position):0,column--,10===character&&(column=1,line--),character))continue;switch(characters2+=from(character2),character2*variable){case 38:ampersand=offset>0?1:(characters2+="\f",-1);break;case 44:points[index++]=(strlen(characters2)-1)*ampersand,ampersand=1;break;case 64:45===peek()&&(characters2+=delimit(next())),atrule=peek(),offset=length2=strlen(type=characters2+=identifier(caret())),character2++;break;case 45:45===previous&&2==strlen(characters2)&&(variable=0)}}return rulesets}function ruleset(value,root,parent,index,offset,rules,points,type,props,children,length2){for(var post=offset-1,rule=0===offset?rules:[""],size=sizeof(rule),i=0,j=0,k=0;i0?rule[x]+" "+y:replace(y,/&\f/g,rule[x])))&&(props[k++]=z);return node(value,root,parent,0===offset?RULESET:type,props,children,length2)}function comment(value,root,parent){return node(value,root,parent,COMMENT,from(function dist_char(){return character}()),substr(value,2,-2),0)}function declaration(value,root,parent,length2){return node(value,root,parent,DECLARATION,substr(value,0,length2),substr(value,length2+1,-1),length2)}function serialize(children,callback){for(var output="",length2=sizeof(children),i=0;i-1},isImportRule=function(element){return 105===element.type.charCodeAt(1)&&64===element.type.charCodeAt(0)},nullifyElement=function(element){element.type="",element.value="",element.return="",element.children="",element.props=""},incorrectImportAlarm=function(element,index,children){isImportRule(element)&&(element.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),nullifyElement(element)):function(index,children){for(var i=index-1;i>=0;i--)if(!isImportRule(children[i]))return!0;return!1}(index,children)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),nullifyElement(element)))};function prefix(value,length2){switch(function hash(value,length2){return 45^charat(value,0)?(((length2<<2^charat(value,0))<<2^charat(value,1))<<2^charat(value,2))<<2^charat(value,3):0}(value,length2)){case 5103:return WEBKIT+"print-"+value+value;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return WEBKIT+value+value;case 5349:case 4246:case 4810:case 6968:case 2756:return WEBKIT+value+MOZ+value+MS+value+value;case 6828:case 4268:return WEBKIT+value+MS+value+value;case 6165:return WEBKIT+value+MS+"flex-"+value+value;case 5187:return WEBKIT+value+replace(value,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+value;case 5443:return WEBKIT+value+MS+"flex-item-"+replace(value,/flex-|-self/,"")+value;case 4675:return WEBKIT+value+MS+"flex-line-pack"+replace(value,/align-content|flex-|-self/,"")+value;case 5548:return WEBKIT+value+MS+replace(value,"shrink","negative")+value;case 5292:return WEBKIT+value+MS+replace(value,"basis","preferred-size")+value;case 6060:return WEBKIT+"box-"+replace(value,"-grow","")+WEBKIT+value+MS+replace(value,"grow","positive")+value;case 4554:return WEBKIT+replace(value,/([^-])(transform)/g,"$1-webkit-$2")+value;case 6187:return replace(replace(replace(value,/(zoom-|grab)/,WEBKIT+"$1"),/(image-set)/,WEBKIT+"$1"),value,"")+value;case 5495:case 3959:return replace(value,/(image-set\([^]*)/,WEBKIT+"$1$`$1");case 4968:return replace(replace(value,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+WEBKIT+value+value;case 4095:case 3583:case 4068:case 2532:return replace(value,/(.+)-inline(.+)/,WEBKIT+"$1$2")+value;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(strlen(value)-1-length2>6)switch(charat(value,length2+1)){case 109:if(45!==charat(value,length2+4))break;case 102:return replace(value,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+MOZ+(108==charat(value,length2+3)?"$3":"$2-$3"))+value;case 115:return~indexof(value,"stretch")?prefix(replace(value,"stretch","fill-available"),length2)+value:value}break;case 4949:if(115!==charat(value,length2+1))break;case 6444:switch(charat(value,strlen(value)-3-(~indexof(value,"!important")&&10))){case 107:return replace(value,":",":"+WEBKIT)+value;case 101:return replace(value,/(.+:)([^;!]+)(;|!.+)?/,"$1"+WEBKIT+(45===charat(value,14)?"inline-":"")+"box$3$1"+WEBKIT+"$2$3$1"+MS+"$2box$3")+value}break;case 5936:switch(charat(value,length2+11)){case 114:return WEBKIT+value+MS+replace(value,/[svh]\w+-[tblr]{2}/,"tb")+value;case 108:return WEBKIT+value+MS+replace(value,/[svh]\w+-[tblr]{2}/,"tb-rl")+value;case 45:return WEBKIT+value+MS+replace(value,/[svh]\w+-[tblr]{2}/,"lr")+value}return WEBKIT+value+MS+value+value}return value}var defaultStylisPlugins=[function(element,index,children,callback){if(element.length>-1&&!element.return)switch(element.type){case DECLARATION:element.return=prefix(element.value,element.length);break;case"@keyframes":return serialize([copy(element,{value:replace(element.value,"@","@"+WEBKIT)})],callback);case RULESET:if(element.length)return function combine(array,callback){return array.map(callback).join("")}(element.props,(function(value){switch(function match(value,pattern){return(value=pattern.exec(value))?value[0]:value}(value,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(element,{props:[replace(value,/:(read-\w+)/,":-moz-$1")]})],callback);case"::placeholder":return serialize([copy(element,{props:[replace(value,/:(plac\w+)/,":-webkit-input-$1")]}),copy(element,{props:[replace(value,/:(plac\w+)/,":-moz-$1")]}),copy(element,{props:[replace(value,/:(plac\w+)/,MS+"input-$1")]})],callback)}return""}))}}],emotion_cache_browser_esm_default=function(options){var key=options.key;if(!key)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if("css"===key){var ssrStyles=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(ssrStyles,(function(node2){-1!==node2.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(node2),node2.setAttribute("data-s",""))}))}var stylisPlugins=options.stylisPlugins||defaultStylisPlugins;if(/[^a-z-]/.test(key))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+key+'" was passed');var container,inserted={},nodesToHydrate=[];container=options.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+key+' "]'),(function(node2){for(var attrib=node2.getAttribute("data-emotion").split(" "),i=1;i=0;i--){var node2=commentContainer[i];if(node2.line=4;++i,len-=4)k=1540483477*(65535&(k=255&str.charCodeAt(i)|(255&str.charCodeAt(++i))<<8|(255&str.charCodeAt(++i))<<16|(255&str.charCodeAt(++i))<<24))+(59797*(k>>>16)<<16),h=1540483477*(65535&(k^=k>>>24))+(59797*(k>>>16)<<16)^1540483477*(65535&h)+(59797*(h>>>16)<<16);switch(len){case 3:h^=(255&str.charCodeAt(i+2))<<16;case 2:h^=(255&str.charCodeAt(i+1))<<8;case 1:h=1540483477*(65535&(h^=255&str.charCodeAt(i)))+(59797*(h>>>16)<<16)}return(((h=1540483477*(65535&(h^=h>>>13))+(59797*(h>>>16)<<16))^h>>>15)>>>0).toString(36)},emotion_unitless_esm_default={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ILLEGAL_ESCAPE_SEQUENCE_ERROR="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",UNDEFINED_AS_OBJECT_KEY_ERROR="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function(property){return 45===property.charCodeAt(1)},isProcessableValue=function(value){return null!=value&&"boolean"!=typeof value},processStyleName=emotion_memoize_esm_default((function(styleName){return isCustomProperty(styleName)?styleName:styleName.replace(hyphenateRegex,"-$&").toLowerCase()})),processStyleValue=function(key,value){switch(key){case"animation":case"animationName":if("string"==typeof value)return value.replace(animationRegex,(function(match2,p1,p2){return cursor={name:p1,styles:p2,next:cursor},p1}))}return 1===emotion_unitless_esm_default[key]||isCustomProperty(key)||"number"!=typeof value||0===value?value:value+"px"};contentValuePattern=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,contentValues=["normal","none","initial","inherit","unset"],oldProcessStyleValue=processStyleValue,msPattern=/^-ms-/,hyphenPattern=/-(.)/g,hyphenatedCache={},processStyleValue=function(key,value){if("content"===key&&("string"!=typeof value||-1===contentValues.indexOf(value)&&!contentValuePattern.test(value)&&(value.charAt(0)!==value.charAt(value.length-1)||'"'!==value.charAt(0)&&"'"!==value.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+value+"\"'`");var processed=oldProcessStyleValue(key,value);return""!==processed&&!isCustomProperty(key)&&-1!==key.indexOf("-")&&void 0===hyphenatedCache[key]&&(hyphenatedCache[key]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+key.replace(msPattern,"ms-").replace(hyphenPattern,(function(str,_char){return _char.toUpperCase()}))+"?")),processed};var contentValuePattern,contentValues,oldProcessStyleValue,msPattern,hyphenPattern,hyphenatedCache,noComponentSelectorMessage="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function handleInterpolation(mergedProps,registered,interpolation){if(null==interpolation)return"";if(void 0!==interpolation.__emotion_styles){if("NO_COMPONENT_SELECTOR"===interpolation.toString())throw new Error(noComponentSelectorMessage);return interpolation}switch(typeof interpolation){case"boolean":return"";case"object":if(1===interpolation.anim)return cursor={name:interpolation.name,styles:interpolation.styles,next:cursor},interpolation.name;if(void 0!==interpolation.styles){var next2=interpolation.next;if(void 0!==next2)for(;void 0!==next2;)cursor={name:next2.name,styles:next2.styles,next:cursor},next2=next2.next;var styles=interpolation.styles+";";return void 0!==interpolation.map&&(styles+=interpolation.map),styles}return function createStringFromObject(mergedProps,registered,obj){var string="";if(Array.isArray(obj))for(var i=0;i css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":var matched=[],replaced=interpolation.replace(animationRegex,(function(match2,p1,p2){var fakeVarName="animation"+matched.length;return matched.push("const "+fakeVarName+" = keyframes`"+p2.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+fakeVarName+"}"}));matched.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(matched,["`"+replaced+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+replaced+"`")}if(null==registered)return interpolation;var cached=registered[interpolation];return void 0!==cached?cached:interpolation}var sourceMapPattern,labelPattern=/label:\s*([^\s;\n{]+)\s*(;|$)/g;sourceMapPattern=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;var cursor,serializeStyles=function(args,registered,mergedProps){if(1===args.length&&"object"==typeof args[0]&&null!==args[0]&&void 0!==args[0].styles)return args[0];var stringMode=!0,styles="";cursor=void 0;var sourceMap,strings=args[0];null==strings||void 0===strings.raw?(stringMode=!1,styles+=handleInterpolation(mergedProps,registered,strings)):(void 0===strings[0]&&console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR),styles+=strings[0]);for(var i=1;i ({})}!");return mergedTheme}if(null==theme||"object"!=typeof theme||Array.isArray(theme))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return(0,chunk_4NMOSTKD.jm)({},outerTheme,theme)}(outerTheme,theme)}))})),ThemeProvider=function(props){var theme=(0,react.useContext)(ThemeContext);return props.theme!==theme&&(theme=createCacheWithTheme(theme)(props.theme)),(0,react.createElement)(ThemeContext.Provider,{value:theme},props.children)};new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]);var typePropName="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",labelPropName="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Insertion=function(_ref){var cache=_ref.cache,serialized=_ref.serialized,isStringTag=_ref.isStringTag;return registerStyles(cache,serialized,isStringTag),useInsertionEffectAlwaysWithSyncFallback((function(){return insertStyles(cache,serialized,isStringTag)})),null},Emotion=withEmotionCache((function(props,cache,ref){var cssProp=props.css;"string"==typeof cssProp&&void 0!==cache.registered[cssProp]&&(cssProp=cache.registered[cssProp]);var WrappedComponent=props[typePropName],registeredStyles=[cssProp],className="";"string"==typeof props.className?className=getRegisteredStyles(cache.registered,registeredStyles,props.className):null!=props.className&&(className=props.className+" ");var serialized=serializeStyles(registeredStyles,void 0,(0,react.useContext)(ThemeContext));if(-1===serialized.name.indexOf("-")){var labelFromStack=props[labelPropName];labelFromStack&&(serialized=serializeStyles([serialized,"label:"+labelFromStack+";"]))}className+=cache.key+"-"+serialized.name;var newProps={};for(var key in props)dist_hasOwnProperty.call(props,key)&&"css"!==key&&key!==typePropName&&key!==labelPropName&&(newProps[key]=props[key]);return newProps.ref=ref,newProps.className=className,(0,react.createElement)(react.Fragment,null,(0,react.createElement)(Insertion,{cache,serialized,isStringTag:"string"==typeof WrappedComponent}),(0,react.createElement)(WrappedComponent,newProps))}));Emotion.displayName="EmotionCssPropInternal",(0,chunk_4NMOSTKD.v)(require_hoist_non_react_statics_cjs());var warnedAboutCssPropForGlobal=!1,Global=withEmotionCache((function(props,cache){!warnedAboutCssPropForGlobal&&(props.className||props.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),warnedAboutCssPropForGlobal=!0);var styles=props.styles,serialized=serializeStyles([styles],void 0,(0,react.useContext)(ThemeContext)),sheetRef=(0,react.useRef)();return useInsertionEffectWithLayoutFallback((function(){var key=cache.key+"-global",sheet=new cache.sheet.constructor({key,nonce:cache.sheet.nonce,container:cache.sheet.container,speedy:cache.sheet.isSpeedy}),rehydrating=!1,node2=document.querySelector('style[data-emotion="'+key+" "+serialized.name+'"]');return cache.sheet.tags.length&&(sheet.before=cache.sheet.tags[0]),null!==node2&&(rehydrating=!0,node2.setAttribute("data-emotion",key),sheet.hydrate([node2])),sheetRef.current=[sheet,rehydrating],function(){sheet.flush()}}),[cache]),useInsertionEffectWithLayoutFallback((function(){var sheetRefCurrent=sheetRef.current,sheet=sheetRefCurrent[0];if(sheetRefCurrent[1])sheetRefCurrent[1]=!1;else{if(void 0!==serialized.next&&insertStyles(cache,serialized.next,!0),sheet.tags.length){var element=sheet.tags[sheet.tags.length-1].nextElementSibling;sheet.before=element,sheet.flush()}cache.insert("",serialized,sheet,!1)}}),[cache,serialized.name]),null}));function css(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return serializeStyles(args)}Global.displayName="EmotionGlobal";var keyframes=function(){var insertable=css.apply(void 0,arguments),name="animation-"+insertable.name;return{name,styles:"@keyframes "+name+"{"+insertable.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},classnames=function classnames2(args){for(var len=args.length,i=0,cls="";i component."),toAdd="",arg)arg[k]&&k&&(toAdd&&(toAdd+=" "),toAdd+=k);break;default:toAdd=arg}toAdd&&(cls&&(cls+=" "),cls+=toAdd)}}return cls};var globalContext,globalKey,Insertion3=function(_ref){var cache=_ref.cache,serializedArr=_ref.serializedArr;return useInsertionEffectAlwaysWithSyncFallback((function(){for(var i=0;i96?testOmitPropsOnStringTag:testOmitPropsOnComponent},composeShouldForwardProps=function(tag,options,isReal){var shouldForwardProp;if(options){var optionsShouldForwardProp=options.shouldForwardProp;shouldForwardProp=tag.__emotion_forwardProp&&optionsShouldForwardProp?function(propName){return tag.__emotion_forwardProp(propName)&&optionsShouldForwardProp(propName)}:optionsShouldForwardProp}return"function"!=typeof shouldForwardProp&&isReal&&(shouldForwardProp=tag.__emotion_forwardProp),shouldForwardProp},ILLEGAL_ESCAPE_SEQUENCE_ERROR2="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Insertion5=function(_ref){var cache=_ref.cache,serialized=_ref.serialized,isStringTag=_ref.isStringTag;return registerStyles(cache,serialized,isStringTag),useInsertionEffectAlwaysWithSyncFallback((function(){return insertStyles(cache,serialized,isStringTag)})),null},newStyled=function createStyled2(tag,options){if(void 0===tag)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var identifierName,targetClassName,isReal=tag.__emotion_real===tag,baseTag=isReal&&tag.__emotion_base||tag;void 0!==options&&(identifierName=options.label,targetClassName=options.target);var shouldForwardProp=composeShouldForwardProps(tag,options,isReal),defaultShouldForwardProp=shouldForwardProp||getDefaultShouldForwardProp(baseTag),shouldUseAs=!defaultShouldForwardProp("as");return function(){var args=arguments,styles=isReal&&void 0!==tag.__emotion_styles?tag.__emotion_styles.slice(0):[];if(void 0!==identifierName&&styles.push("label:"+identifierName+";"),null==args[0]||void 0===args[0].raw)styles.push.apply(styles,args);else{void 0===args[0][0]&&console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR2),styles.push(args[0][0]);for(var len=args.length,i=1;i({body:{fontFamily:typography2.fonts.base,fontSize:typography2.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:typography2.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:typography2.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:typography2.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:typography2.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}))),easing=(memoizerific_default()(1)((({color:color2,background:background2,typography:typography2})=>{let resetStyles=createReset({typography:typography2});return{...resetStyles,body:{...resetStyles.body,color:color2.defaultText,background:background2.app,overflow:"hidden"},hr:{...resetStyles.hr,borderTop:`1px solid ${color2.border}`}}})),{rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"}),rotate360=keyframes` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,glow=keyframes` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,animation={rotate360,glow,float:keyframes` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,jiggle:keyframes` + 0%, 100% { transform:translate3d(0,0,0); } + 12.5%, 62.5% { transform:translate3d(-4px,0,0); } + 37.5%, 87.5% { transform: translate3d(4px,0,0); } +`,inlineGlow:css` + animation: ${glow} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,hoverable:css` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`},chromeDark={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},chromeLight={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},create2=({colors,mono})=>{let colorsObjs=(colors=>Object.entries(colors).reduce(((acc,[k,v])=>({...acc,[k]:(0,chunk_4NMOSTKD.TE)(v)})),{}))(colors);return{token:{fontFamily:mono,WebkitFontSmoothing:"antialiased","&.tag":colorsObjs.red3,"&.comment":{...colorsObjs.green1,fontStyle:"italic"},"&.prolog":{...colorsObjs.green1,fontStyle:"italic"},"&.doctype":{...colorsObjs.green1,fontStyle:"italic"},"&.cdata":{...colorsObjs.green1,fontStyle:"italic"},"&.string":colorsObjs.red1,"&.url":colorsObjs.cyan1,"&.symbol":colorsObjs.cyan1,"&.number":colorsObjs.cyan1,"&.boolean":colorsObjs.cyan1,"&.variable":colorsObjs.cyan1,"&.constant":colorsObjs.cyan1,"&.inserted":colorsObjs.cyan1,"&.atrule":colorsObjs.blue1,"&.keyword":colorsObjs.blue1,"&.attr-value":colorsObjs.blue1,"&.punctuation":colorsObjs.gray1,"&.operator":colorsObjs.gray1,"&.function":colorsObjs.gray1,"&.deleted":colorsObjs.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":colorsObjs.cyan2,"&.selector":colorsObjs.red3,"&.attr-name":colorsObjs.red4,"&.property":colorsObjs.red4,"&.regex":colorsObjs.red4,"&.entity":colorsObjs.red4,"&.directive.tag .tag":{background:"#ffff00",...colorsObjs.gray1}},"language-json .token.boolean":colorsObjs.blue1,"language-json .token.number":colorsObjs.blue1,"language-json .token.property":colorsObjs.cyan2,namespace:{opacity:.7}}},lightSyntaxColors={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},darkSyntaxColors={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},convert=(inherit=chunk_4NMOSTKD.np[(0,chunk_4NMOSTKD.Q$)()])=>{let{base,colorPrimary,colorSecondary,appBg,appContentBg,appBorderColor,appBorderRadius,fontBase,fontCode,textColor,textInverseColor,barTextColor,barSelectedColor,barBg,buttonBg,buttonBorder,booleanBg,booleanSelectedBg,inputBg,inputBorder,inputTextColor,inputBorderRadius,brandTitle,brandUrl,brandImage,brandTarget,gridCellSize,...rest}=inherit;return{...rest,base,color:(vars=inherit,{primary:vars.colorPrimary,secondary:vars.colorSecondary,tertiary:chunk_4NMOSTKD.$_.tertiary,ancillary:chunk_4NMOSTKD.$_.ancillary,orange:chunk_4NMOSTKD.$_.orange,gold:chunk_4NMOSTKD.$_.gold,green:chunk_4NMOSTKD.$_.green,seafoam:chunk_4NMOSTKD.$_.seafoam,purple:chunk_4NMOSTKD.$_.purple,ultraviolet:chunk_4NMOSTKD.$_.ultraviolet,lightest:chunk_4NMOSTKD.$_.lightest,lighter:chunk_4NMOSTKD.$_.lighter,light:chunk_4NMOSTKD.$_.light,mediumlight:chunk_4NMOSTKD.$_.mediumlight,medium:chunk_4NMOSTKD.$_.medium,mediumdark:chunk_4NMOSTKD.$_.mediumdark,dark:chunk_4NMOSTKD.$_.dark,darker:chunk_4NMOSTKD.$_.darker,darkest:chunk_4NMOSTKD.$_.darkest,border:chunk_4NMOSTKD.$_.border,positive:chunk_4NMOSTKD.$_.positive,negative:chunk_4NMOSTKD.$_.negative,warning:chunk_4NMOSTKD.$_.warning,critical:chunk_4NMOSTKD.$_.critical,defaultText:vars.textColor||chunk_4NMOSTKD.$_.darkest,inverseText:vars.textInverseColor||chunk_4NMOSTKD.$_.lightest,positiveText:chunk_4NMOSTKD.$_.positiveText,negativeText:chunk_4NMOSTKD.$_.negativeText,warningText:chunk_4NMOSTKD.$_.warningText}),background:{app:appBg,bar:barBg,content:appContentBg,gridCellSize:gridCellSize||chunk_4NMOSTKD.Oq.gridCellSize,hoverable:chunk_4NMOSTKD.Oq.hoverable,positive:chunk_4NMOSTKD.Oq.positive,negative:chunk_4NMOSTKD.Oq.negative,warning:chunk_4NMOSTKD.Oq.warning,critical:chunk_4NMOSTKD.Oq.critical},typography:{fonts:{base:fontBase,mono:fontCode},weight:chunk_4NMOSTKD.cp.weight,size:chunk_4NMOSTKD.cp.size},animation,easing,input:{background:inputBg,border:inputBorder,borderRadius:inputBorderRadius,color:inputTextColor},button:{background:buttonBg||inputBg,border:buttonBorder||inputBorder},boolean:{background:booleanBg||inputBorder,selectedBackground:booleanSelectedBg||inputBg},layoutMargin:10,appBorderColor,appBorderRadius,barTextColor,barSelectedColor:barSelectedColor||colorSecondary,barBg,brand:{title:brandTitle,url:brandUrl,image:brandImage||(brandTitle?null:void 0),target:brandTarget},code:create2({colors:"light"===base?lightSyntaxColors:darkSyntaxColors,mono:fontCode}),addonActionsTheme:{..."light"===base?chromeLight:chromeDark,BASE_FONT_FAMILY:fontCode,BASE_FONT_SIZE:chunk_4NMOSTKD.cp.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:textColor,ARROW_COLOR:(0,chunk_4NMOSTKD.j6)(.2,appBorderColor),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:fontCode,TREENODE_FONT_SIZE:chunk_4NMOSTKD.cp.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}};var vars},isObject=o=>null!=o&&"object"==typeof o,deletedDiff=(lhs,rhs)=>lhs!==rhs&&isObject(lhs)&&isObject(rhs)?Object.keys(lhs).reduce(((acc,key)=>{if(((o,...args)=>Object.prototype.hasOwnProperty.call(o,...args))(rhs,key)){let difference=deletedDiff(lhs[key],rhs[key]);return isObject(difference)&&(o=difference,0===Object.keys(o).length)||(acc[key]=difference),acc}var o;return acc[key]=void 0,acc}),Object.create(null)):{},deleted_default=deletedDiff;function dedent(templ){for(var values=[],_i=1;_i{if(!input)return convert(chunk_4NMOSTKD.Dz);let missing=deleted_default(chunk_4NMOSTKD.Dz,input);return Object.keys(missing).length&&external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn(dedent` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,missing),convert(input)},ignoreSsrWarning="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */"},"./node_modules/@storybook/csf/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Nw:()=>L,fo:()=>v});var r,e,B=Object.create,R=Object.defineProperty,b=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyNames,h=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,x=(r=T=>{var r,e,t;Object.defineProperty(T,"__esModule",{value:!0}),T.isEqual=(r=Object.prototype.toString,e=Object.getPrototypeOf,t=Object.getOwnPropertySymbols?function(n){return Object.keys(n).concat(Object.getOwnPropertySymbols(n))}:Object.keys,function(n,a){return function i(o,s,d){var y,g,p,A=r.call(o),F=r.call(s);if(o===s)return!0;if(null==o||null==s)return!1;if(d.indexOf(o)>-1&&d.indexOf(s)>-1)return!0;if(d.push(o,s),A!=F||(y=t(o),g=t(s),y.length!=g.length||y.some((function(l){return!i(o[l],s[l],d)}))))return!1;switch(A.slice(8,-1)){case"Symbol":return o.valueOf()==s.valueOf();case"Date":case"Number":return+o==+s||+o!=+o&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+o==""+s;case"Set":case"Map":y=o.entries(),g=s.entries();do{if(!i((p=y.next()).value,g.next().value,d))return!1}while(!p.done);return!0;case"ArrayBuffer":o=new Uint8Array(o),s=new Uint8Array(s);case"DataView":o=new Uint8Array(o.buffer),s=new Uint8Array(s.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(o.length!=s.length)return!1;for(p=0;p(e||r((e={exports:{}}).exports,e),e.exports));var c=((r,e,t)=>(t=null!=r?B(h(r)):{},((r,e,t,n)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let a of C(e))!w.call(r,a)&&a!==t&&R(r,a,{get:()=>e[a],enumerable:!(n=b(e,a))||n.enumerable});return r})(!e&&r&&r.__esModule?t:R(t,"default",{value:r,enumerable:!0}),r)))(x()),S=r=>r.map((e=>typeof e<"u")).filter(Boolean).length,v=(r,e,t)=>{if(!r.if)return!0;let{arg:n,global:a}=r.if;if(1!==S([n,a]))throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let i=n?e[n]:t[a];return((r,e)=>{let{exists:t,eq:n,neq:a,truthy:i}=r;if(S([t,n,a,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:t,eq:n,neq:a})}`);if(typeof n<"u")return(0,c.isEqual)(e,n);if(typeof a<"u")return!(0,c.isEqual)(e,a);if(typeof t<"u"){let s=typeof e<"u";return t?s:!s}return typeof i>"u"||i?!!e:!e})(r.if,i)},L=r=>r.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},"./node_modules/lodash/_arrayEach.js":module=>{module.exports=function arrayEach(array,iteratee){for(var index=-1,length=null==array?0:array.length;++index{var baseIndexOf=__webpack_require__("./node_modules/lodash/_baseIndexOf.js");module.exports=function arrayIncludes(array,value){return!!(null==array?0:array.length)&&baseIndexOf(array,value,0)>-1}},"./node_modules/lodash/_arrayIncludesWith.js":module=>{module.exports=function arrayIncludesWith(array,value,comparator){for(var index=-1,length=null==array?0:array.length;++index{var baseAssignValue=__webpack_require__("./node_modules/lodash/_baseAssignValue.js"),eq=__webpack_require__("./node_modules/lodash/eq.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function assignValue(object,key,value){var objValue=object[key];hasOwnProperty.call(object,key)&&eq(objValue,value)&&(void 0!==value||key in object)||baseAssignValue(object,key,value)}},"./node_modules/lodash/_baseAssign.js":(module,__unused_webpack_exports,__webpack_require__)=>{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function baseAssign(object,source){return object&©Object(source,keys(source),object)}},"./node_modules/lodash/_baseAssignIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),keysIn=__webpack_require__("./node_modules/lodash/keysIn.js");module.exports=function baseAssignIn(object,source){return object&©Object(source,keysIn(source),object)}},"./node_modules/lodash/_baseClone.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),arrayEach=__webpack_require__("./node_modules/lodash/_arrayEach.js"),assignValue=__webpack_require__("./node_modules/lodash/_assignValue.js"),baseAssign=__webpack_require__("./node_modules/lodash/_baseAssign.js"),baseAssignIn=__webpack_require__("./node_modules/lodash/_baseAssignIn.js"),cloneBuffer=__webpack_require__("./node_modules/lodash/_cloneBuffer.js"),copyArray=__webpack_require__("./node_modules/lodash/_copyArray.js"),copySymbols=__webpack_require__("./node_modules/lodash/_copySymbols.js"),copySymbolsIn=__webpack_require__("./node_modules/lodash/_copySymbolsIn.js"),getAllKeys=__webpack_require__("./node_modules/lodash/_getAllKeys.js"),getAllKeysIn=__webpack_require__("./node_modules/lodash/_getAllKeysIn.js"),getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),initCloneArray=__webpack_require__("./node_modules/lodash/_initCloneArray.js"),initCloneByTag=__webpack_require__("./node_modules/lodash/_initCloneByTag.js"),initCloneObject=__webpack_require__("./node_modules/lodash/_initCloneObject.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isMap=__webpack_require__("./node_modules/lodash/isMap.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),isSet=__webpack_require__("./node_modules/lodash/isSet.js"),keys=__webpack_require__("./node_modules/lodash/keys.js"),keysIn=__webpack_require__("./node_modules/lodash/keysIn.js"),cloneableTags={};cloneableTags["[object Arguments]"]=cloneableTags["[object Array]"]=cloneableTags["[object ArrayBuffer]"]=cloneableTags["[object DataView]"]=cloneableTags["[object Boolean]"]=cloneableTags["[object Date]"]=cloneableTags["[object Float32Array]"]=cloneableTags["[object Float64Array]"]=cloneableTags["[object Int8Array]"]=cloneableTags["[object Int16Array]"]=cloneableTags["[object Int32Array]"]=cloneableTags["[object Map]"]=cloneableTags["[object Number]"]=cloneableTags["[object Object]"]=cloneableTags["[object RegExp]"]=cloneableTags["[object Set]"]=cloneableTags["[object String]"]=cloneableTags["[object Symbol]"]=cloneableTags["[object Uint8Array]"]=cloneableTags["[object Uint8ClampedArray]"]=cloneableTags["[object Uint16Array]"]=cloneableTags["[object Uint32Array]"]=!0,cloneableTags["[object Error]"]=cloneableTags["[object Function]"]=cloneableTags["[object WeakMap]"]=!1,module.exports=function baseClone(value,bitmask,customizer,key,object,stack){var result,isDeep=1&bitmask,isFlat=2&bitmask,isFull=4&bitmask;if(customizer&&(result=object?customizer(value,key,object,stack):customizer(value)),void 0!==result)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){if(result=initCloneArray(value),!isDeep)return copyArray(value,result)}else{var tag=getTag(value),isFunc="[object Function]"==tag||"[object GeneratorFunction]"==tag;if(isBuffer(value))return cloneBuffer(value,isDeep);if("[object Object]"==tag||"[object Arguments]"==tag||isFunc&&!object){if(result=isFlat||isFunc?{}:initCloneObject(value),!isDeep)return isFlat?copySymbolsIn(value,baseAssignIn(result,value)):copySymbols(value,baseAssign(result,value))}else{if(!cloneableTags[tag])return object?value:{};result=initCloneByTag(value,tag,isDeep)}}stack||(stack=new Stack);var stacked=stack.get(value);if(stacked)return stacked;stack.set(value,result),isSet(value)?value.forEach((function(subValue){result.add(baseClone(subValue,bitmask,customizer,subValue,value,stack))})):isMap(value)&&value.forEach((function(subValue,key){result.set(key,baseClone(subValue,bitmask,customizer,key,value,stack))}));var props=isArr?void 0:(isFull?isFlat?getAllKeysIn:getAllKeys:isFlat?keysIn:keys)(value);return arrayEach(props||value,(function(subValue,key){props&&(subValue=value[key=subValue]),assignValue(result,key,baseClone(subValue,bitmask,customizer,key,value,stack))})),result}},"./node_modules/lodash/_baseCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js"),objectCreate=Object.create,baseCreate=function(){function object(){}return function(proto){if(!isObject(proto))return{};if(objectCreate)return objectCreate(proto);object.prototype=proto;var result=new object;return object.prototype=void 0,result}}();module.exports=baseCreate},"./node_modules/lodash/_baseFindIndex.js":module=>{module.exports=function baseFindIndex(array,predicate,fromIndex,fromRight){for(var length=array.length,index=fromIndex+(fromRight?1:-1);fromRight?index--:++index{var baseFindIndex=__webpack_require__("./node_modules/lodash/_baseFindIndex.js"),baseIsNaN=__webpack_require__("./node_modules/lodash/_baseIsNaN.js"),strictIndexOf=__webpack_require__("./node_modules/lodash/_strictIndexOf.js");module.exports=function baseIndexOf(array,value,fromIndex){return value==value?strictIndexOf(array,value,fromIndex):baseFindIndex(array,baseIsNaN,fromIndex)}},"./node_modules/lodash/_baseIsMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsMap(value){return isObjectLike(value)&&"[object Map]"==getTag(value)}},"./node_modules/lodash/_baseIsNaN.js":module=>{module.exports=function baseIsNaN(value){return value!=value}},"./node_modules/lodash/_baseIsSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsSet(value){return isObjectLike(value)&&"[object Set]"==getTag(value)}},"./node_modules/lodash/_baseKeysIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js"),isPrototype=__webpack_require__("./node_modules/lodash/_isPrototype.js"),nativeKeysIn=__webpack_require__("./node_modules/lodash/_nativeKeysIn.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseKeysIn(object){if(!isObject(object))return nativeKeysIn(object);var isProto=isPrototype(object),result=[];for(var key in object)("constructor"!=key||!isProto&&hasOwnProperty.call(object,key))&&result.push(key);return result}},"./node_modules/lodash/_basePickBy.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js"),baseSet=__webpack_require__("./node_modules/lodash/_baseSet.js"),castPath=__webpack_require__("./node_modules/lodash/_castPath.js");module.exports=function basePickBy(object,paths,predicate){for(var index=-1,length=paths.length,result={};++index{var assignValue=__webpack_require__("./node_modules/lodash/_assignValue.js"),castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseSet(object,path,value,customizer){if(!isObject(object))return object;for(var index=-1,length=(path=castPath(path,object)).length,lastIndex=length-1,nested=object;null!=nested&&++index{var SetCache=__webpack_require__("./node_modules/lodash/_SetCache.js"),arrayIncludes=__webpack_require__("./node_modules/lodash/_arrayIncludes.js"),arrayIncludesWith=__webpack_require__("./node_modules/lodash/_arrayIncludesWith.js"),cacheHas=__webpack_require__("./node_modules/lodash/_cacheHas.js"),createSet=__webpack_require__("./node_modules/lodash/_createSet.js"),setToArray=__webpack_require__("./node_modules/lodash/_setToArray.js");module.exports=function baseUniq(array,iteratee,comparator){var index=-1,includes=arrayIncludes,length=array.length,isCommon=!0,result=[],seen=result;if(comparator)isCommon=!1,includes=arrayIncludesWith;else if(length>=200){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache}else seen=iteratee?[]:result;outer:for(;++index{var Uint8Array=__webpack_require__("./node_modules/lodash/_Uint8Array.js");module.exports=function cloneArrayBuffer(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);return new Uint8Array(result).set(new Uint8Array(arrayBuffer)),result}},"./node_modules/lodash/_cloneBuffer.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var root=__webpack_require__("./node_modules/lodash/_root.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;module.exports=function cloneBuffer(buffer,isDeep){if(isDeep)return buffer.slice();var length=buffer.length,result=allocUnsafe?allocUnsafe(length):new buffer.constructor(length);return buffer.copy(result),result}},"./node_modules/lodash/_cloneDataView.js":(module,__unused_webpack_exports,__webpack_require__)=>{var cloneArrayBuffer=__webpack_require__("./node_modules/lodash/_cloneArrayBuffer.js");module.exports=function cloneDataView(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength)}},"./node_modules/lodash/_cloneRegExp.js":module=>{var reFlags=/\w*$/;module.exports=function cloneRegExp(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));return result.lastIndex=regexp.lastIndex,result}},"./node_modules/lodash/_cloneSymbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;module.exports=function cloneSymbol(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{}}},"./node_modules/lodash/_cloneTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var cloneArrayBuffer=__webpack_require__("./node_modules/lodash/_cloneArrayBuffer.js");module.exports=function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length)}},"./node_modules/lodash/_copyArray.js":module=>{module.exports=function copyArray(source,array){var index=-1,length=source.length;for(array||(array=Array(length));++index{var assignValue=__webpack_require__("./node_modules/lodash/_assignValue.js"),baseAssignValue=__webpack_require__("./node_modules/lodash/_baseAssignValue.js");module.exports=function copyObject(source,props,object,customizer){var isNew=!object;object||(object={});for(var index=-1,length=props.length;++index{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),getSymbols=__webpack_require__("./node_modules/lodash/_getSymbols.js");module.exports=function copySymbols(source,object){return copyObject(source,getSymbols(source),object)}},"./node_modules/lodash/_copySymbolsIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),getSymbolsIn=__webpack_require__("./node_modules/lodash/_getSymbolsIn.js");module.exports=function copySymbolsIn(source,object){return copyObject(source,getSymbolsIn(source),object)}},"./node_modules/lodash/_createSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Set=__webpack_require__("./node_modules/lodash/_Set.js"),noop=__webpack_require__("./node_modules/lodash/noop.js"),setToArray=__webpack_require__("./node_modules/lodash/_setToArray.js"),createSet=Set&&1/setToArray(new Set([,-0]))[1]==1/0?function(values){return new Set(values)}:noop;module.exports=createSet},"./node_modules/lodash/_getAllKeysIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetAllKeys=__webpack_require__("./node_modules/lodash/_baseGetAllKeys.js"),getSymbolsIn=__webpack_require__("./node_modules/lodash/_getSymbolsIn.js"),keysIn=__webpack_require__("./node_modules/lodash/keysIn.js");module.exports=function getAllKeysIn(object){return baseGetAllKeys(object,keysIn,getSymbolsIn)}},"./node_modules/lodash/_getSymbolsIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayPush=__webpack_require__("./node_modules/lodash/_arrayPush.js"),getPrototype=__webpack_require__("./node_modules/lodash/_getPrototype.js"),getSymbols=__webpack_require__("./node_modules/lodash/_getSymbols.js"),stubArray=__webpack_require__("./node_modules/lodash/stubArray.js"),getSymbolsIn=Object.getOwnPropertySymbols?function(object){for(var result=[];object;)arrayPush(result,getSymbols(object)),object=getPrototype(object);return result}:stubArray;module.exports=getSymbolsIn},"./node_modules/lodash/_initCloneArray.js":module=>{var hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function initCloneArray(array){var length=array.length,result=new array.constructor(length);return length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")&&(result.index=array.index,result.input=array.input),result}},"./node_modules/lodash/_initCloneByTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var cloneArrayBuffer=__webpack_require__("./node_modules/lodash/_cloneArrayBuffer.js"),cloneDataView=__webpack_require__("./node_modules/lodash/_cloneDataView.js"),cloneRegExp=__webpack_require__("./node_modules/lodash/_cloneRegExp.js"),cloneSymbol=__webpack_require__("./node_modules/lodash/_cloneSymbol.js"),cloneTypedArray=__webpack_require__("./node_modules/lodash/_cloneTypedArray.js");module.exports=function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case"[object ArrayBuffer]":return cloneArrayBuffer(object);case"[object Boolean]":case"[object Date]":return new Ctor(+object);case"[object DataView]":return cloneDataView(object,isDeep);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return cloneTypedArray(object,isDeep);case"[object Map]":case"[object Set]":return new Ctor;case"[object Number]":case"[object String]":return new Ctor(object);case"[object RegExp]":return cloneRegExp(object);case"[object Symbol]":return cloneSymbol(object)}}},"./node_modules/lodash/_initCloneObject.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseCreate=__webpack_require__("./node_modules/lodash/_baseCreate.js"),getPrototype=__webpack_require__("./node_modules/lodash/_getPrototype.js"),isPrototype=__webpack_require__("./node_modules/lodash/_isPrototype.js");module.exports=function initCloneObject(object){return"function"!=typeof object.constructor||isPrototype(object)?{}:baseCreate(getPrototype(object))}},"./node_modules/lodash/_nativeKeysIn.js":module=>{module.exports=function nativeKeysIn(object){var result=[];if(null!=object)for(var key in Object(object))result.push(key);return result}},"./node_modules/lodash/_strictIndexOf.js":module=>{module.exports=function strictIndexOf(array,value,fromIndex){for(var index=fromIndex-1,length=array.length;++index{var baseClone=__webpack_require__("./node_modules/lodash/_baseClone.js");module.exports=function cloneDeep(value){return baseClone(value,5)}},"./node_modules/lodash/isMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsMap=__webpack_require__("./node_modules/lodash/_baseIsMap.js"),baseUnary=__webpack_require__("./node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("./node_modules/lodash/_nodeUtil.js"),nodeIsMap=nodeUtil&&nodeUtil.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;module.exports=isMap},"./node_modules/lodash/isSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsSet=__webpack_require__("./node_modules/lodash/_baseIsSet.js"),baseUnary=__webpack_require__("./node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("./node_modules/lodash/_nodeUtil.js"),nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;module.exports=isSet},"./node_modules/lodash/keysIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayLikeKeys=__webpack_require__("./node_modules/lodash/_arrayLikeKeys.js"),baseKeysIn=__webpack_require__("./node_modules/lodash/_baseKeysIn.js"),isArrayLike=__webpack_require__("./node_modules/lodash/isArrayLike.js");module.exports=function keysIn(object){return isArrayLike(object)?arrayLikeKeys(object,!0):baseKeysIn(object)}},"./node_modules/lodash/noop.js":module=>{module.exports=function noop(){}},"./node_modules/lodash/pickBy.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayMap=__webpack_require__("./node_modules/lodash/_arrayMap.js"),baseIteratee=__webpack_require__("./node_modules/lodash/_baseIteratee.js"),basePickBy=__webpack_require__("./node_modules/lodash/_basePickBy.js"),getAllKeysIn=__webpack_require__("./node_modules/lodash/_getAllKeysIn.js");module.exports=function pickBy(object,predicate){if(null==object)return{};var props=arrayMap(getAllKeysIn(object),(function(prop){return[prop]}));return predicate=baseIteratee(predicate),basePickBy(object,props,(function(value,path){return predicate(value,path[0])}))}},"./node_modules/lodash/uniq.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseUniq=__webpack_require__("./node_modules/lodash/_baseUniq.js");module.exports=function uniq(array){return array&&array.length?baseUniq(array):[]}},"./node_modules/memoizerific/memoizerific.js":module=>{module.exports=function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,(function(e){var n=t[o][1][e];return s(n||e)}),l,l.exports,e,t,n,r)}return n[o].exports}for(var i=void 0,o=0;o=0?(this.lastItem=this.list[index],this.list[index].val):void 0},Similar.prototype.set=function(key,val){var index;return this.lastItem&&this.isEqual(this.lastItem.key,key)?(this.lastItem.val=val,this):(index=this.indexOf(key))>=0?(this.lastItem=this.list[index],this.list[index].val=val,this):(this.lastItem={key,val},this.list.push(this.lastItem),this.size++,this)},Similar.prototype.delete=function(key){var index;if(this.lastItem&&this.isEqual(this.lastItem.key,key)&&(this.lastItem=void 0),(index=this.indexOf(key))>=0)return this.size--,this.list.splice(index,1)[0]},Similar.prototype.has=function(key){var index;return!(!this.lastItem||!this.isEqual(this.lastItem.key,key))||(index=this.indexOf(key))>=0&&(this.lastItem=this.list[index],!0)},Similar.prototype.forEach=function(callback,thisArg){var i;for(i=0;i=0&&(!(tmp=(currentLru=removedLru[i]).cacheItem.get(currentLru.arg))||!tmp.size);i--)currentLru.cacheItem.delete(currentLru.arg)}function isEqual(val1,val2){return val1===val2||val1!=val1&&val2!=val2}module.exports=function(limit){var cache=new MapOrSimilar(!1),lru=[];return function(fn){var memoizerific=function(){var newMap,fnResult,i,currentCache=cache,argsLengthMinusOne=arguments.length-1,lruPath=Array(argsLengthMinusOne+1),isMemoized=!0;if((memoizerific.numArgs||0===memoizerific.numArgs)&&memoizerific.numArgs!==argsLengthMinusOne+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(i=0;i0&&(lruPath[argsLengthMinusOne]={cacheItem:currentCache,arg:arguments[argsLengthMinusOne]},isMemoized?moveToMostRecentLru(lru,lruPath):lru.push(lruPath),lru.length>limit&&removeCachedResult(lru.shift())),memoizerific.wasMemoized=isMemoized,memoizerific.numArgs=argsLengthMinusOne+1,fnResult};return memoizerific.limit=limit,memoizerific.wasMemoized=!1,memoizerific.cache=cache,memoizerific.lru=lru,memoizerific}}},{"map-or-similar":1}]},{},[3])(3)},"./node_modules/telejson/dist/chunk-465TF3XA.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ee:()=>__commonJS,_l:()=>extractEventHiddenProperties,v:()=>__toESM});var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS=(cb,mod)=>function __require(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))__hasOwnProp.call(to,key)||key===except||__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod)),eventProperties=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],customEventSpecificProperties=["detail"];function extractEventHiddenProperties(event){const rebuildEvent=eventProperties.filter((value=>void 0!==event[value])).reduce(((acc,value)=>({...acc,[value]:event[value]})),{});return event instanceof CustomEvent&&customEventSpecificProperties.filter((value=>void 0!==event[value])).forEach((value=>{rebuildEvent[value]=event[value]})),rebuildEvent}},"./node_modules/telejson/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Pz:()=>stringify});var _chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/telejson/dist/chunk-465TF3XA.mjs"),memoizerific__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_1__),require_shams=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.Ee)({"node_modules/has-symbols/shams.js"(exports,module){module.exports=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var obj={},sym=Symbol("test"),symObj=Object(sym);if("string"==typeof sym)return!1;if("[object Symbol]"!==Object.prototype.toString.call(sym))return!1;if("[object Symbol]"!==Object.prototype.toString.call(symObj))return!1;for(sym in obj[sym]=42,obj)return!1;if("function"==typeof Object.keys&&0!==Object.keys(obj).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(obj).length)return!1;var syms=Object.getOwnPropertySymbols(obj);if(1!==syms.length||syms[0]!==sym)return!1;if(!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(42!==descriptor.value||!0!==descriptor.enumerable)return!1}return!0}}}),require_has_symbols=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.Ee)({"node_modules/has-symbols/index.js"(exports,module){var origSymbol="undefined"!=typeof Symbol&&Symbol,hasSymbolSham=require_shams();module.exports=function hasNativeSymbols(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))}}}),require_implementation=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.Ee)({"node_modules/function-bind/implementation.js"(exports,module){var slice=Array.prototype.slice,toStr=Object.prototype.toString;module.exports=function bind(that){var target=this;if("function"!=typeof target||"[object Function]"!==toStr.call(target))throw new TypeError("Function.prototype.bind called on incompatible "+target);for(var bound,args2=slice.call(arguments,1),boundLength=Math.max(0,target.length-args2.length),boundArgs=[],i=0;i1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,name2))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=function stringToPath3(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result2=[];return $replace(string,rePropName2,(function(match,number,quote,subString){result2[result2.length]=quote?$replace(subString,reEscapeChar2,"$1"):number||match})),result2}(name2),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value2=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value2,part);value2=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value2[part]}else isOwn=hasOwn(value2,part),value2=value2[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value2)}}return value2}}}),require_call_bind=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.Ee)({"node_modules/call-bind/index.js"(exports,module){var bind=require_function_bind(),GetIntrinsic=require_get_intrinsic(),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$gOPD=GetIntrinsic("%Object.getOwnPropertyDescriptor%",!0),$defineProperty=GetIntrinsic("%Object.defineProperty%",!0),$max=GetIntrinsic("%Math.max%");if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=null}module.exports=function callBind(originalFunction){var func=$reflectApply(bind,$call,arguments);$gOPD&&$defineProperty&&($gOPD(func,"length").configurable&&$defineProperty(func,"length",{value:1+$max(0,originalFunction.length-(arguments.length-1))}));return func};var applyBind=function applyBind2(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind}}),require_callBound=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.Ee)({"node_modules/call-bind/callBound.js"(exports,module){var GetIntrinsic=require_get_intrinsic(),callBind=require_call_bind(),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name2,allowMissing){var intrinsic=GetIntrinsic(name2,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name2,".prototype.")>-1?callBind(intrinsic):intrinsic}}}),require_shams2=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.Ee)({"node_modules/has-tostringtag/shams.js"(exports,module){var hasSymbols=require_shams();module.exports=function hasToStringTagShams(){return hasSymbols()&&!!Symbol.toStringTag}}}),require_is_regex=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.Ee)({"node_modules/is-regex/index.js"(exports,module){var has,$exec,isRegexMarker,badStringifier,throwRegexMarker,callBound=require_callBound(),hasToStringTag=require_shams2()();hasToStringTag&&(has=callBound("Object.prototype.hasOwnProperty"),$exec=callBound("RegExp.prototype.exec"),isRegexMarker={},badStringifier={toString:throwRegexMarker=function(){throw isRegexMarker},valueOf:throwRegexMarker},"symbol"==typeof Symbol.toPrimitive&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker));var $toString=callBound("Object.prototype.toString"),gOPD=Object.getOwnPropertyDescriptor;module.exports=hasToStringTag?function isRegex(value2){if(!value2||"object"!=typeof value2)return!1;var descriptor=gOPD(value2,"lastIndex");if(!(descriptor&&has(descriptor,"value")))return!1;try{$exec(value2,badStringifier)}catch(e){return e===isRegexMarker}}:function isRegex(value2){return!(!value2||"object"!=typeof value2&&"function"!=typeof value2)&&"[object RegExp]"===$toString(value2)}}}),require_is_function=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.Ee)({"node_modules/is-function/index.js"(exports,module){module.exports=function isFunction3(fn){if(!fn)return!1;var string=toString2.call(fn);return"[object Function]"===string||"function"==typeof fn&&"[object RegExp]"!==string||"undefined"!=typeof window&&(fn===window.setTimeout||fn===window.alert||fn===window.confirm||fn===window.prompt)};var toString2=Object.prototype.toString}}),require_is_symbol=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.Ee)({"node_modules/is-symbol/index.js"(exports,module){var symToStr,symStringRegex,isSymbolObject,toStr=Object.prototype.toString;require_has_symbols()()?(symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/,isSymbolObject=function isRealSymbolObject(value2){return"symbol"==typeof value2.valueOf()&&symStringRegex.test(symToStr.call(value2))},module.exports=function isSymbol3(value2){if("symbol"==typeof value2)return!0;if("[object Symbol]"!==toStr.call(value2))return!1;try{return isSymbolObject(value2)}catch(e){return!1}}):module.exports=function isSymbol3(value2){return!1}}}),import_is_regex=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.v)(require_is_regex()),import_is_function=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.v)(require_is_function()),import_is_symbol=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.v)(require_is_symbol());function isObject(val){return null!=val&&"object"==typeof val&&!1===Array.isArray(val)}var freeGlobal="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g,freeGlobal_default=freeGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root2=freeGlobal_default||freeSelf||Function("return this")(),root_default=root2,Symbol2=root_default.Symbol,Symbol_default=Symbol2,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(value2){var isOwn=hasOwnProperty.call(value2,symToStringTag),tag=value2[symToStringTag];try{value2[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result2=nativeObjectToString.call(value2);return unmasked&&(isOwn?value2[symToStringTag]=tag:delete value2[symToStringTag]),result2}var getRawTag_default=getRawTag,objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(value2){return nativeObjectToString2.call(value2)}var objectToString_default=objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(value2){return null==value2?void 0===value2?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(value2)?getRawTag_default(value2):objectToString_default(value2)}var baseGetTag_default=baseGetTag;function isObjectLike(value2){return null!=value2&&"object"==typeof value2}var isObjectLike_default=null,symbolTag="[object Symbol]";function isSymbol(value2){return"symbol"==typeof value2||isObjectLike_default(value2)&&baseGetTag_default(value2)==symbolTag}var isSymbol_default=null;function arrayMap(array,iteratee){for(var index=-1,length=null==array?0:array.length,result2=Array(length);++index-1}var listCacheHas_default=listCacheHas;function listCacheSet(key2,value2){var data=this.__data__,index=assocIndexOf_default(data,key2);return index<0?(++this.size,data.push([key2,value2])):data[index][1]=value2,this}var listCacheSet_default=listCacheSet;function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{let inQuoteChar=null,inBlockComment=!1,inLineComment=!1,inRegexLiteral=!1,newCode="";if(code.indexOf("//")>=0||code.indexOf("/*")>=0)for(let i=0;iremoveCodeComments(code).replace(/\n\s*/g,"").trim())),convertShorthandMethods=function convertShorthandMethods2(key2,stringified){const fnHead=stringified.slice(0,stringified.indexOf("{")),fnBody=stringified.slice(stringified.indexOf("{"));if(fnHead.includes("=>"))return stringified;if(fnHead.includes("function"))return stringified;let modifiedHead=fnHead;return modifiedHead=modifiedHead.replace(key2,"function"),modifiedHead+fnBody},dateFormat=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,isJSON=input=>input.match(/^[\[\{\"\}].*[\]\}\"]$/);function convertUnconventionalData(data){if(!isObject3(data))return data;let result2=data,wasMutated=!1;return"undefined"!=typeof Event&&data instanceof Event&&(result2=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__._l)(result2),wasMutated=!0),result2=Object.keys(result2).reduce(((acc,key2)=>{try{result2[key2]&&result2[key2].toJSON,acc[key2]=result2[key2]}catch(err){wasMutated=!0}return acc}),{}),wasMutated?result2:data}var replacer=function replacer2(options2){let objects,map,stack,keys;return function replace(key2,value2){try{if(""===key2)return keys=[],objects=new Map([[value2,"[]"]]),map=new Map,stack=[],value2;const origin=map.get(this)||this;for(;stack.length&&origin!==stack[0];)stack.shift(),keys.pop();if("boolean"==typeof value2)return value2;if(void 0===value2){if(!options2.allowUndefined)return;return"_undefined_"}if(null===value2)return null;if("number"==typeof value2)return value2===-1/0?"_-Infinity_":value2===1/0?"_Infinity_":Number.isNaN(value2)?"_NaN_":value2;if("bigint"==typeof value2)return`_bigint_${value2.toString()}`;if("string"==typeof value2){if(dateFormat.test(value2)){if(!options2.allowDate)return;return`_date_${value2}`}return value2}if((0,import_is_regex.default)(value2)){if(!options2.allowRegExp)return;return`_regexp_${value2.flags}|${value2.source}`}if((0,import_is_function.default)(value2)){if(!options2.allowFunction)return;const{name:name2}=value2,stringified=value2.toString();return stringified.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${name2}|${(()=>{}).toString()}`:`_function_${name2}|${cleanCode(convertShorthandMethods(key2,stringified))}`}if((0,import_is_symbol.default)(value2)){if(!options2.allowSymbol)return;const globalRegistryKey=Symbol.keyFor(value2);return void 0!==globalRegistryKey?`_gsymbol_${globalRegistryKey}`:`_symbol_${value2.toString().slice(7,-1)}`}if(stack.length>=options2.maxDepth)return Array.isArray(value2)?`[Array(${value2.length})]`:"[Object]";if(value2===this)return`_duplicate_${JSON.stringify(keys)}`;if(value2.constructor&&value2.constructor.name&&"Object"!==value2.constructor.name&&!Array.isArray(value2)&&!options2.allowClass)return;const found=objects.get(value2);if(!found){const converted=Array.isArray(value2)?value2:convertUnconventionalData(value2);if(value2.constructor&&value2.constructor.name&&"Object"!==value2.constructor.name&&!Array.isArray(value2)&&options2.allowClass)try{Object.assign(converted,{"_constructor-name_":value2.constructor.name})}catch(e){}return keys.push(key2),stack.unshift(converted),objects.set(value2,JSON.stringify(keys)),value2!==converted&&map.set(value2,converted),converted}return`_duplicate_${found}`}catch(e){return}}},reviver2=function reviver(options){const refs=[];let root;return function revive(key,value){if(""===key&&(root=value,refs.forEach((({target,container,replacement})=>{const replacementArr=isJSON(replacement)?JSON.parse(replacement):replacement.split(".");0===replacementArr.length?container[target]=root:container[target]=get_default(root,replacementArr)}))),"_constructor-name_"===key)return value;if(isObject3(value)&&value["_constructor-name_"]&&options.allowFunction){const name2=value["_constructor-name_"];if("Object"!==name2){const Fn=new Function(`return function ${name2.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new Fn)}return delete value["_constructor-name_"],value}if("string"==typeof value&&value.startsWith("_function_")&&options.allowFunction){const[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);const result=(...args)=>{const f=eval(`(${sourceSanitized})`);return f(...args)};return Object.defineProperty(result,"toString",{value:()=>sourceSanitized}),Object.defineProperty(result,"name",{value:name}),result}if("string"==typeof value&&value.startsWith("_regexp_")&&options.allowRegExp){const[,flags,source2]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(source2,flags)}return"string"==typeof value&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):"string"==typeof value&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):"string"==typeof value&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):"string"==typeof value&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):"string"==typeof value&&"_-Infinity_"===value?-1/0:"string"==typeof value&&"_Infinity_"===value?1/0:"string"==typeof value&&"_NaN_"===value?NaN:"string"==typeof value&&value.startsWith("_bigint_")&&"function"==typeof BigInt?BigInt(value.replace("_bigint_","")):value}},defaultOptions={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},stringify=(data,options2={})=>{const mergedOptions={...defaultOptions,...options2};return JSON.stringify(convertUnconventionalData(data),replacer(mergedOptions),options2.space)},mutator=()=>{const mutated=new Map;return function mutateUndefined(value2){isObject3(value2)&&Object.entries(value2).forEach((([k,v])=>{"_undefined_"===v?value2[k]=void 0:mutated.get(v)||(mutated.set(v,!0),mutateUndefined(v))})),Array.isArray(value2)&&value2.forEach(((v,index)=>{"_undefined_"===v?(mutated.set(v,!0),value2[index]=void 0):mutated.get(v)||(mutated.set(v,!0),mutateUndefined(v))}))}},parse=(data,options2={})=>{const mergedOptions={...defaultOptions,...options2},result2=JSON.parse(data,reviver2(mergedOptions));return mutator()(result2),result2}}}]); +//# sourceMappingURL=3694.24fccbab.iframe.bundle.js.map \ No newline at end of file diff --git a/3694.24fccbab.iframe.bundle.js.LICENSE.txt b/3694.24fccbab.iframe.bundle.js.LICENSE.txt new file mode 100644 index 000000000..efc58865e --- /dev/null +++ b/3694.24fccbab.iframe.bundle.js.LICENSE.txt @@ -0,0 +1,16 @@ +/*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ + +/** + * @license + * Lodash (Custom Build) + * Build: `lodash modularize exports="es" -o ./` + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ diff --git a/3694.24fccbab.iframe.bundle.js.map b/3694.24fccbab.iframe.bundle.js.map new file mode 100644 index 000000000..503ed13d9 --- /dev/null +++ b/3694.24fccbab.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3694.24fccbab.iframe.bundle.js","mappings":";;;;AA2CA;;;AAGA;;;AAGA;;;AAGA;;AAUA;;AAEA;;AAEA;;;AAGA;;;AAGA;;;AAGA;;;AAGA;;;AAGA;;;AAGA;;;;;;;;;;;;;;;;AAgBA;;AAEA;;ACnFA;AACA;AACA;AACA;;;;;;;;;ACkKA;;;;;;;AAiBA;;;;;AAKA;;;;;;;ACjLA;;;AA2BA;;;;;AAAA;;;;AAAA;AAdA;;;AAcA;;;;;;;;;;;AAAA;;;;AASA","sources":["webpack://amazon-chime-sdk-component-library-react/./node_modules/@storybook/blocks/dist/index.mjs","webpack://amazon-chime-sdk-component-library-react/./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-E5IOH6B7.mjs","webpack://amazon-chime-sdk-component-library-react/./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/index.mjs","webpack://amazon-chime-sdk-component-library-react/./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/index.mjs"],"sourcesContent":["import { getControlSetterButtonId, getControlId } from './chunk-GWAJ4KRU.mjs';\nimport React17, { createContext, lazy, Fragment, useState, useCallback, useRef, useEffect, Component, cloneElement, useMemo, Suspense, useContext, Children } from 'react';\nimport { styled, ignoreSsrWarning, themes, ThemeProvider, convert, useTheme, ensure } from '@storybook/theming';\nimport { withReset, SyntaxHighlighter, FlexBar, codeCommon, Icons, IconButton, Form, components, IconButtonSkeleton, Zoom as Zoom$1, ActionBar, Link, ResetWrapper, Code, nameSpaceClassNames, H3, H2, Loader, TabsState, ErrorFormatter, getStoryHref, WithTooltipPure } from '@storybook/components';\nimport { transparentize, darken, opacify, lighten, rgba } from 'polished';\nimport { global } from '@storybook/global';\nimport pickBy from 'lodash/pickBy.js';\nimport { includeConditionalArg } from '@storybook/csf';\nimport { deprecate, once, logger } from '@storybook/client-logger';\nimport Markdown from 'markdown-to-jsx';\nimport memoize from 'memoizerific';\nimport uniq from 'lodash/uniq.js';\nimport cloneDeep from 'lodash/cloneDeep.js';\nimport { filterArgTypes, composeConfigs, Preview as Preview$1, DocsContext as DocsContext$1 } from '@storybook/preview-api';\nimport mapValues from 'lodash/mapValues.js';\nimport { STORY_ARGS_UPDATED, UPDATE_STORY_ARGS, RESET_STORY_ARGS, GLOBALS_UPDATED, NAVIGATE_URL } from '@storybook/core-events';\nimport dedent2 from 'ts-dedent';\nimport { dequal } from 'dequal';\nimport { SNIPPET_RENDERED, SourceType, str } from '@storybook/docs-tools';\nimport { stringify } from 'telejson';\nimport { Channel } from '@storybook/channels';\n\nvar Wrapper=styled.div(withReset,({theme})=>({backgroundColor:theme.base===\"light\"?\"rgba(0,0,0,.01)\":\"rgba(255,255,255,.01)\",borderRadius:theme.appBorderRadius,border:`1px dashed ${theme.appBorderColor}`,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:20,margin:\"25px 0 40px\",color:transparentize(.3,theme.color.defaultText),fontSize:theme.typography.size.s2})),EmptyBlock=props=>React17.createElement(Wrapper,{...props,className:\"docblock-emptyblock sb-unstyled\"});var StyledSyntaxHighlighter=styled(SyntaxHighlighter)(({theme})=>({fontSize:`${theme.typography.size.s2-1}px`,lineHeight:\"19px\",margin:\"25px 0 40px\",borderRadius:theme.appBorderRadius,boxShadow:theme.base===\"light\"?\"rgba(0, 0, 0, 0.10) 0 1px 3px 0\":\"rgba(0, 0, 0, 0.20) 0 2px 5px 0\",\"pre.prismjs\":{padding:20,background:\"inherit\"}}));var SourceSkeletonWrapper=styled.div(({theme})=>({background:theme.background.content,borderRadius:theme.appBorderRadius,border:`1px solid ${theme.appBorderColor}`,boxShadow:theme.base===\"light\"?\"rgba(0, 0, 0, 0.10) 0 1px 3px 0\":\"rgba(0, 0, 0, 0.20) 0 2px 5px 0\",margin:\"25px 0 40px\",padding:\"20px 20px 20px 22px\"})),SourceSkeletonPlaceholder=styled.div(({theme})=>({animation:`${theme.animation.glow} 1.5s ease-in-out infinite`,background:theme.appBorderColor,height:17,marginTop:1,width:\"60%\",[`&:first-child${ignoreSsrWarning}`]:{margin:0}})),SourceSkeleton=()=>React17.createElement(SourceSkeletonWrapper,null,React17.createElement(SourceSkeletonPlaceholder,null),React17.createElement(SourceSkeletonPlaceholder,{style:{width:\"80%\"}}),React17.createElement(SourceSkeletonPlaceholder,{style:{width:\"30%\"}}),React17.createElement(SourceSkeletonPlaceholder,{style:{width:\"80%\"}})),Source=({isLoading,error,language,code,dark,format:format2,...rest})=>{if(isLoading)return React17.createElement(SourceSkeleton,null);if(error)return React17.createElement(EmptyBlock,null,error);let syntaxHighlighter=React17.createElement(StyledSyntaxHighlighter,{bordered:!0,copyable:!0,format:format2,language,className:\"docblock-source sb-unstyled\",...rest},code);if(typeof dark>\"u\")return syntaxHighlighter;let overrideTheme=dark?themes.dark:themes.light;return React17.createElement(ThemeProvider,{theme:convert(overrideTheme)},syntaxHighlighter)};Source.defaultProps={format:!1};var toGlobalSelector=element=>`& :where(${element}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${element}))`,breakpoint=600,Title=styled.h1(withReset,({theme})=>({color:theme.color.defaultText,fontSize:theme.typography.size.m3,fontWeight:theme.typography.weight.bold,lineHeight:\"32px\",[`@media (min-width: ${breakpoint}px)`]:{fontSize:theme.typography.size.l1,lineHeight:\"36px\",marginBottom:\"16px\"}})),Subtitle=styled.h2(withReset,({theme})=>({fontWeight:theme.typography.weight.regular,fontSize:theme.typography.size.s3,lineHeight:\"20px\",borderBottom:\"none\",marginBottom:15,[`@media (min-width: ${breakpoint}px)`]:{fontSize:theme.typography.size.m1,lineHeight:\"28px\",marginBottom:24},color:transparentize(.25,theme.color.defaultText)})),DocsContent=styled.div(({theme})=>{let reset={fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s3,margin:0,WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",WebkitTapHighlightColor:\"rgba(0, 0, 0, 0)\",WebkitOverflowScrolling:\"touch\"},headers={margin:\"20px 0 8px\",padding:0,cursor:\"text\",position:\"relative\",color:theme.color.defaultText,\"&:first-of-type\":{marginTop:0,paddingTop:0},\"&:hover a.anchor\":{textDecoration:\"none\"},\"& code\":{fontSize:\"inherit\"}},code={lineHeight:1,margin:\"0 2px\",padding:\"3px 5px\",whiteSpace:\"nowrap\",borderRadius:3,fontSize:theme.typography.size.s2-1,border:theme.base===\"light\"?`1px solid ${theme.color.mediumlight}`:`1px solid ${theme.color.darker}`,color:theme.base===\"light\"?transparentize(.1,theme.color.defaultText):transparentize(.3,theme.color.defaultText),backgroundColor:theme.base===\"light\"?theme.color.lighter:theme.color.border};return {maxWidth:1e3,width:\"100%\",[toGlobalSelector(\"a\")]:{...reset,fontSize:\"inherit\",lineHeight:\"24px\",color:theme.color.secondary,textDecoration:\"none\",\"&.absent\":{color:\"#cc0000\"},\"&.anchor\":{display:\"block\",paddingLeft:30,marginLeft:-30,cursor:\"pointer\",position:\"absolute\",top:0,left:0,bottom:0}},[toGlobalSelector(\"blockquote\")]:{...reset,margin:\"16px 0\",borderLeft:`4px solid ${theme.color.medium}`,padding:\"0 15px\",color:theme.color.dark,\"& > :first-of-type\":{marginTop:0},\"& > :last-child\":{marginBottom:0}},[toGlobalSelector(\"div\")]:reset,[toGlobalSelector(\"dl\")]:{...reset,margin:\"16px 0\",padding:0,\"& dt\":{fontSize:\"14px\",fontWeight:\"bold\",fontStyle:\"italic\",padding:0,margin:\"16px 0 4px\"},\"& dt:first-of-type\":{padding:0},\"& dt > :first-of-type\":{marginTop:0},\"& dt > :last-child\":{marginBottom:0},\"& dd\":{margin:\"0 0 16px\",padding:\"0 15px\"},\"& dd > :first-of-type\":{marginTop:0},\"& dd > :last-child\":{marginBottom:0}},[toGlobalSelector(\"h1\")]:{...reset,...headers,fontSize:`${theme.typography.size.l1}px`,fontWeight:theme.typography.weight.bold},[toGlobalSelector(\"h2\")]:{...reset,...headers,fontSize:`${theme.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${theme.appBorderColor}`},[toGlobalSelector(\"h3\")]:{...reset,...headers,fontSize:`${theme.typography.size.m1}px`,fontWeight:theme.typography.weight.bold},[toGlobalSelector(\"h4\")]:{...reset,...headers,fontSize:`${theme.typography.size.s3}px`},[toGlobalSelector(\"h5\")]:{...reset,...headers,fontSize:`${theme.typography.size.s2}px`},[toGlobalSelector(\"h6\")]:{...reset,...headers,fontSize:`${theme.typography.size.s2}px`,color:theme.color.dark},[toGlobalSelector(\"hr\")]:{border:\"0 none\",borderTop:`1px solid ${theme.appBorderColor}`,height:4,padding:0},[toGlobalSelector(\"img\")]:{maxWidth:\"100%\"},[toGlobalSelector(\"li\")]:{...reset,fontSize:theme.typography.size.s2,color:theme.color.defaultText,lineHeight:\"24px\",\"& + li\":{marginTop:\".25em\"},\"& ul, & ol\":{marginTop:\".25em\",marginBottom:0},\"& code\":code},[toGlobalSelector(\"ol\")]:{...reset,margin:\"16px 0\",paddingLeft:30,\"& :first-of-type\":{marginTop:0},\"& :last-child\":{marginBottom:0}},[toGlobalSelector(\"p\")]:{...reset,margin:\"16px 0\",fontSize:theme.typography.size.s2,lineHeight:\"24px\",color:theme.color.defaultText,\"& code\":code},[toGlobalSelector(\"pre\")]:{...reset,fontFamily:theme.typography.fonts.mono,WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",lineHeight:\"18px\",padding:\"11px 1rem\",whiteSpace:\"pre-wrap\",color:\"inherit\",borderRadius:3,margin:\"1rem 0\",\"&:not(.prismjs)\":{background:\"transparent\",border:\"none\",borderRadius:0,padding:0,margin:0},\"& pre, &.prismjs\":{padding:15,margin:0,whiteSpace:\"pre-wrap\",color:\"inherit\",fontSize:\"13px\",lineHeight:\"19px\",code:{color:\"inherit\",fontSize:\"inherit\"}},\"& code\":{whiteSpace:\"pre\"},\"& code, & tt\":{border:\"none\"}},[toGlobalSelector(\"span\")]:{...reset,\"&.frame\":{display:\"block\",overflow:\"hidden\",\"& > span\":{border:`1px solid ${theme.color.medium}`,display:\"block\",float:\"left\",overflow:\"hidden\",margin:\"13px 0 0\",padding:7,width:\"auto\"},\"& span img\":{display:\"block\",float:\"left\"},\"& span span\":{clear:\"both\",color:theme.color.darkest,display:\"block\",padding:\"5px 0 0\"}},\"&.align-center\":{display:\"block\",overflow:\"hidden\",clear:\"both\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px auto 0\",textAlign:\"center\"},\"& span img\":{margin:\"0 auto\",textAlign:\"center\"}},\"&.align-right\":{display:\"block\",overflow:\"hidden\",clear:\"both\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px 0 0\",textAlign:\"right\"},\"& span img\":{margin:0,textAlign:\"right\"}},\"&.float-left\":{display:\"block\",marginRight:13,overflow:\"hidden\",float:\"left\",\"& span\":{margin:\"13px 0 0\"}},\"&.float-right\":{display:\"block\",marginLeft:13,overflow:\"hidden\",float:\"right\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px auto 0\",textAlign:\"right\"}}},[toGlobalSelector(\"table\")]:{...reset,margin:\"16px 0\",fontSize:theme.typography.size.s2,lineHeight:\"24px\",padding:0,borderCollapse:\"collapse\",\"& tr\":{borderTop:`1px solid ${theme.appBorderColor}`,backgroundColor:theme.appContentBg,margin:0,padding:0},\"& tr:nth-of-type(2n)\":{backgroundColor:theme.base===\"dark\"?theme.color.darker:theme.color.lighter},\"& tr th\":{fontWeight:\"bold\",color:theme.color.defaultText,border:`1px solid ${theme.appBorderColor}`,margin:0,padding:\"6px 13px\"},\"& tr td\":{border:`1px solid ${theme.appBorderColor}`,color:theme.color.defaultText,margin:0,padding:\"6px 13px\"},\"& tr th :first-of-type, & tr td :first-of-type\":{marginTop:0},\"& tr th :last-child, & tr td :last-child\":{marginBottom:0}},[toGlobalSelector(\"ul\")]:{...reset,margin:\"16px 0\",paddingLeft:30,\"& :first-of-type\":{marginTop:0},\"& :last-child\":{marginBottom:0},listStyle:\"disc\"}}}),DocsWrapper=styled.div(({theme})=>({background:theme.background.content,display:\"flex\",justifyContent:\"center\",padding:\"4rem 20px\",minHeight:\"100vh\",boxSizing:\"border-box\",[`@media (min-width: ${breakpoint}px)`]:{}})),DocsPageWrapper=({children})=>React17.createElement(DocsWrapper,{className:\"sbdocs sbdocs-wrapper\"},React17.createElement(DocsContent,{className:\"sbdocs sbdocs-content\"},children));var getBlockBackgroundStyle=theme=>({borderRadius:theme.appBorderRadius,background:theme.background.content,boxShadow:theme.base===\"light\"?\"rgba(0, 0, 0, 0.10) 0 1px 3px 0\":\"rgba(0, 0, 0, 0.20) 0 2px 5px 0\",border:`1px solid ${theme.appBorderColor}`});var Zoom=({zoom,resetZoom})=>React17.createElement(React17.Fragment,null,React17.createElement(IconButton,{key:\"zoomin\",onClick:e=>{e.preventDefault(),zoom(.8);},title:\"Zoom in\"},React17.createElement(Icons,{icon:\"zoom\"})),React17.createElement(IconButton,{key:\"zoomout\",onClick:e=>{e.preventDefault(),zoom(1.25);},title:\"Zoom out\"},React17.createElement(Icons,{icon:\"zoomout\"})),React17.createElement(IconButton,{key:\"zoomreset\",onClick:e=>{e.preventDefault(),resetZoom();},title:\"Reset zoom\"},React17.createElement(Icons,{icon:\"zoomreset\"}))),Bar=styled(FlexBar)({position:\"absolute\",left:0,right:0,top:0,transition:\"transform .2s linear\"}),Toolbar=({isLoading,storyId,baseUrl,zoom,resetZoom,...rest})=>React17.createElement(Bar,{...rest},React17.createElement(Fragment,{key:\"left\"},isLoading?[1,2,3].map(key=>React17.createElement(IconButtonSkeleton,{key})):React17.createElement(Zoom,{zoom,resetZoom})));var ZoomContext=createContext({scale:1});var{window:globalWindow}=global,IFrame=class extends Component{constructor(){super(...arguments);this.iframe=null;}componentDidMount(){let{id}=this.props;this.iframe=globalWindow.document.getElementById(id);}shouldComponentUpdate(nextProps){let{scale}=nextProps;return scale!==this.props.scale&&this.setIframeBodyStyle({width:`${scale*100}%`,height:`${scale*100}%`,transform:`scale(${1/scale})`,transformOrigin:\"top left\"}),!1}setIframeBodyStyle(style){return Object.assign(this.iframe.contentDocument.body.style,style)}render(){let{id,title,src,allowFullScreen,scale,...rest}=this.props;return React17.createElement(\"iframe\",{id,title,src,...allowFullScreen?{allow:\"fullscreen\"}:{},loading:\"lazy\",...rest})}};var{PREVIEW_URL}=global,BASE_URL=PREVIEW_URL||\"iframe.html\",storyBlockIdFromId=({story,primary})=>`story--${story.id}${primary?\"--primary\":\"\"}`,InlineStory=props=>{let storyRef=useRef(),[showLoader,setShowLoader]=useState(!0),[error,setError]=useState(),{story,height,autoplay,forceInitialArgs,renderStoryToElement}=props;useEffect(()=>{if(!(story&&storyRef.current))return ()=>{};let element=storyRef.current,cleanup=renderStoryToElement(story,element,{showMain:()=>{},showError:({title,description})=>setError(new Error(`${title} - ${description}`)),showException:err=>setError(err)},{autoplay,forceInitialArgs});return setShowLoader(!1),()=>{Promise.resolve().then(()=>cleanup());}},[autoplay,renderStoryToElement,story]);let htmlContents=\"\";return error?React17.createElement(\"pre\",null,React17.createElement(ErrorFormatter,{error})):React17.createElement(React17.Fragment,null,height?React17.createElement(\"style\",null,`#${storyBlockIdFromId(props)} { min-height: ${height}; transform: translateZ(0); overflow: auto }`):null,showLoader&&React17.createElement(StorySkeleton,null),React17.createElement(\"div\",{ref:storyRef,id:`${storyBlockIdFromId(props)}-inner`,\"data-name\":story.name,dangerouslySetInnerHTML:{__html:htmlContents}}))},IFrameStory=({story,height=\"500px\"})=>React17.createElement(\"div\",{style:{width:\"100%\",height}},React17.createElement(ZoomContext.Consumer,null,({scale})=>React17.createElement(IFrame,{key:\"iframe\",id:`iframe--${story.id}`,title:story.name,src:getStoryHref(BASE_URL,story.id,{viewMode:\"story\"}),allowFullScreen:!0,scale,style:{width:\"100%\",height:\"100%\",border:\"0 none\"}}))),Story=props=>{let{inline}=props;return React17.createElement(\"div\",{id:storyBlockIdFromId(props),className:\"sb-story sb-unstyled\",\"data-story-block\":\"true\"},inline?React17.createElement(InlineStory,{...props}):React17.createElement(IFrameStory,{...props}))},StorySkeleton=()=>React17.createElement(Loader,null);var ChildrenContainer=styled.div(({isColumn,columns,layout})=>({display:isColumn||!columns?\"block\":\"flex\",position:\"relative\",flexWrap:\"wrap\",overflow:\"auto\",flexDirection:isColumn?\"column\":\"row\",\"& .innerZoomElementWrapper > *\":isColumn?{width:layout!==\"fullscreen\"?\"calc(100% - 20px)\":\"100%\",display:\"block\"}:{maxWidth:layout!==\"fullscreen\"?\"calc(100% - 20px)\":\"100%\",display:\"inline-block\"}}),({layout=\"padded\"})=>layout===\"centered\"||layout===\"padded\"?{padding:\"30px 20px\",margin:-10,\"& .innerZoomElementWrapper > *\":{width:\"auto\",border:\"10px solid transparent!important\"}}:{},({layout=\"padded\"})=>layout===\"centered\"?{display:\"flex\",justifyContent:\"center\",justifyItems:\"center\",alignContent:\"center\",alignItems:\"center\"}:{},({columns})=>columns&&columns>1?{\".innerZoomElementWrapper > *\":{minWidth:`calc(100% / ${columns} - 20px)`}}:{}),StyledSource=styled(Source)(({theme})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:theme.appBorderRadius,borderBottomRightRadius:theme.appBorderRadius,border:\"none\",background:theme.base===\"light\"?\"rgba(0, 0, 0, 0.85)\":darken(.05,theme.background.content),color:theme.color.lightest,button:{background:theme.base===\"light\"?\"rgba(0, 0, 0, 0.85)\":darken(.05,theme.background.content)}})),PreviewContainer=styled.div(({theme,withSource,isExpanded})=>({position:\"relative\",overflow:\"hidden\",margin:\"25px 0 40px\",...getBlockBackgroundStyle(theme),borderBottomLeftRadius:withSource&&isExpanded&&0,borderBottomRightRadius:withSource&&isExpanded&&0,borderBottomWidth:isExpanded&&0,\"h3 + &\":{marginTop:\"16px\"}}),({withToolbar})=>withToolbar&&{paddingTop:40}),getSource=(withSource,expanded,setExpanded)=>{switch(!0){case!!(withSource&&withSource.error):return {source:null,actionItem:{title:\"No code available\",className:\"docblock-code-toggle docblock-code-toggle--disabled\",disabled:!0,onClick:()=>setExpanded(!1)}};case expanded:return {source:React17.createElement(StyledSource,{...withSource,dark:!0}),actionItem:{title:\"Hide code\",className:\"docblock-code-toggle docblock-code-toggle--expanded\",onClick:()=>setExpanded(!1)}};default:return {source:React17.createElement(StyledSource,{...withSource,dark:!0}),actionItem:{title:\"Show code\",className:\"docblock-code-toggle\",onClick:()=>setExpanded(!0)}}}};function getStoryId(children){if(Children.count(children)===1){let elt=children;if(elt.props)return elt.props.id}return null}var PositionedToolbar=styled(Toolbar)({position:\"absolute\",top:0,left:0,right:0,height:40}),Relative=styled.div({overflow:\"hidden\",position:\"relative\"}),Preview=({isLoading,isColumn,columns,children,withSource,withToolbar=!1,isExpanded=!1,additionalActions,className,layout=\"padded\",...props})=>{let[expanded,setExpanded]=useState(isExpanded),{source,actionItem}=getSource(withSource,expanded,setExpanded),[scale,setScale]=useState(1),previewClasses=[className].concat([\"sbdocs\",\"sbdocs-preview\",\"sb-unstyled\"]),defaultActionItems=withSource?[actionItem]:[],[additionalActionItems,setAdditionalActionItems]=useState(additionalActions?[...additionalActions]:[]),actionItems=[...defaultActionItems,...additionalActionItems],{window:globalWindow4}=global,copyToClipboard=useCallback(async text=>{let{createCopyToClipboardFunction}=await import('@storybook/components');createCopyToClipboardFunction();},[]),onCopyCapture=e=>{let selection=globalWindow4.getSelection();selection&&selection.type===\"Range\"||(e.preventDefault(),additionalActionItems.filter(item=>item.title===\"Copied\").length===0&©ToClipboard(source.props.code).then(()=>{setAdditionalActionItems([...additionalActionItems,{title:\"Copied\",onClick:()=>{}}]),globalWindow4.setTimeout(()=>setAdditionalActionItems(additionalActionItems.filter(item=>item.title!==\"Copied\")),1500);}));};return React17.createElement(PreviewContainer,{withSource,withToolbar,...props,className:previewClasses.join(\" \")},withToolbar&&React17.createElement(PositionedToolbar,{isLoading,border:!0,zoom:z=>setScale(scale*z),resetZoom:()=>setScale(1),storyId:getStoryId(children),baseUrl:\"./iframe.html\"}),React17.createElement(ZoomContext.Provider,{value:{scale}},React17.createElement(Relative,{className:\"docs-story\",onCopyCapture:withSource&&onCopyCapture},React17.createElement(ChildrenContainer,{isColumn:isColumn||!Array.isArray(children),columns,layout},React17.createElement(Zoom$1.Element,{scale},Array.isArray(children)?children.map((child,i)=>React17.createElement(\"div\",{key:i},child)):React17.createElement(\"div\",null,children))),React17.createElement(ActionBar,{actionItems}))),withSource&&expanded&&source)},StyledPreview=styled(Preview)(()=>({\".docs-story\":{paddingTop:32,paddingBottom:40}})),PreviewSkeleton=()=>React17.createElement(StyledPreview,{isLoading:!0,withToolbar:!0},React17.createElement(StorySkeleton,null));var Table=styled.table(({theme})=>({\"&&\":{borderCollapse:\"collapse\",borderSpacing:0,border:\"none\",tr:{border:\"none !important\",background:\"none\"},\"td, th\":{padding:0,border:\"none\",width:\"auto!important\"},marginTop:0,marginBottom:0,\"th:first-of-type, td:first-of-type\":{paddingLeft:0},\"th:last-of-type, td:last-of-type\":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,\"&:not(:first-of-type)\":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:\"none\",border:\"none\"},code:codeCommon({theme}),div:{span:{fontWeight:\"bold\"}},\"& code\":{margin:0,display:\"inline-block\",fontSize:theme.typography.size.s1}}})),ArgJsDoc=({tags})=>{let params=(tags.params||[]).filter(x=>x.description),hasDisplayableParams=params.length!==0,hasDisplayableDeprecated=tags.deprecated!=null,hasDisplayableReturns=tags.returns!=null&&tags.returns.description!=null;return !hasDisplayableParams&&!hasDisplayableReturns&&!hasDisplayableDeprecated?null:React17.createElement(React17.Fragment,null,React17.createElement(Table,null,React17.createElement(\"tbody\",null,hasDisplayableDeprecated&&React17.createElement(\"tr\",{key:\"deprecated\"},React17.createElement(\"td\",{colSpan:2},React17.createElement(\"strong\",null,\"Deprecated\"),\": \",tags.deprecated)),hasDisplayableParams&¶ms.map(x=>React17.createElement(\"tr\",{key:x.name},React17.createElement(\"td\",null,React17.createElement(\"code\",null,x.name)),React17.createElement(\"td\",null,x.description))),hasDisplayableReturns&&React17.createElement(\"tr\",{key:\"returns\"},React17.createElement(\"td\",null,React17.createElement(\"code\",null,\"Returns\")),React17.createElement(\"td\",null,tags.returns.description)))))};var ITEMS_BEFORE_EXPANSION=8,Summary=styled.div(({isExpanded})=>({display:\"flex\",flexDirection:isExpanded?\"column\":\"row\",flexWrap:\"wrap\",alignItems:\"flex-start\",marginBottom:\"-4px\",minWidth:100})),Text=styled.span(codeCommon,({theme,simple=!1})=>({flex:\"0 0 auto\",fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,wordBreak:\"break-word\",whiteSpace:\"normal\",maxWidth:\"100%\",margin:0,marginRight:\"4px\",marginBottom:\"4px\",paddingTop:\"2px\",paddingBottom:\"2px\",lineHeight:\"13px\",...simple&&{background:\"transparent\",border:\"0 none\",paddingLeft:0}})),ExpandButton=styled.button(({theme})=>({fontFamily:theme.typography.fonts.mono,color:theme.color.secondary,marginBottom:\"4px\",background:\"none\",border:\"none\"})),Expandable=styled.div(codeCommon,({theme})=>({fontFamily:theme.typography.fonts.mono,color:theme.color.secondary,fontSize:theme.typography.size.s1,margin:0,whiteSpace:\"nowrap\",display:\"flex\",alignItems:\"center\"})),Detail=styled.div(({theme,width})=>({width,minWidth:200,maxWidth:800,padding:15,fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,boxSizing:\"content-box\",\"& code\":{padding:\"0 !important\"}})),ArrowIcon=styled(Icons)({height:10,width:10,minWidth:10,marginLeft:4}),EmptyArg=()=>React17.createElement(\"span\",null,\"-\"),ArgText=({text,simple})=>React17.createElement(Text,{simple},text),calculateDetailWidth=memoize(1e3)(detail=>{let lines=detail.split(/\\r?\\n/);return `${Math.max(...lines.map(x=>x.length))}ch`}),getSummaryItems=summary=>{if(!summary)return [summary];let summaryItems=summary.split(\"|\").map(value2=>value2.trim());return uniq(summaryItems)},renderSummaryItems=(summaryItems,isExpanded=!0)=>{let items=summaryItems;return isExpanded||(items=summaryItems.slice(0,ITEMS_BEFORE_EXPANSION)),items.map(item=>React17.createElement(ArgText,{key:item,text:item===\"\"?'\"\"':item}))},ArgSummary=({value:value2,initialExpandedArgs})=>{let{summary,detail}=value2,[isOpen,setIsOpen]=useState(!1),[isExpanded,setIsExpanded]=useState(initialExpandedArgs||!1);if(summary==null)return null;let summaryAsString=typeof summary.toString==\"function\"?summary.toString():summary;if(detail==null){if(/[(){}[\\]<>]/.test(summaryAsString))return React17.createElement(ArgText,{text:summaryAsString});let summaryItems=getSummaryItems(summaryAsString),itemsCount=summaryItems.length;return itemsCount>ITEMS_BEFORE_EXPANSION?React17.createElement(Summary,{isExpanded},renderSummaryItems(summaryItems,isExpanded),React17.createElement(ExpandButton,{onClick:()=>setIsExpanded(!isExpanded)},isExpanded?\"Show less...\":`Show ${itemsCount-ITEMS_BEFORE_EXPANSION} more...`)):React17.createElement(Summary,null,renderSummaryItems(summaryItems))}return React17.createElement(WithTooltipPure,{closeOnOutsideClick:!0,placement:\"bottom\",visible:isOpen,onVisibleChange:isVisible=>{setIsOpen(isVisible);},tooltip:React17.createElement(Detail,{width:calculateDetailWidth(detail)},React17.createElement(SyntaxHighlighter,{language:\"jsx\",format:!1},detail))},React17.createElement(Expandable,{className:\"sbdocs-expandable\"},React17.createElement(\"span\",null,summaryAsString),React17.createElement(ArrowIcon,{icon:isOpen?\"arrowup\":\"arrowdown\"})))},ArgValue=({value:value2,initialExpandedArgs})=>value2==null?React17.createElement(EmptyArg,null):React17.createElement(ArgSummary,{value:value2,initialExpandedArgs});var Label=styled.label(({theme})=>({lineHeight:\"18px\",alignItems:\"center\",marginBottom:8,display:\"inline-block\",position:\"relative\",whiteSpace:\"nowrap\",background:theme.boolean.background,borderRadius:\"3em\",padding:1,input:{appearance:\"none\",width:\"100%\",height:\"100%\",position:\"absolute\",left:0,top:0,margin:0,padding:0,border:\"none\",background:\"transparent\",cursor:\"pointer\",borderRadius:\"3em\",\"&:focus\":{outline:\"none\",boxShadow:`${theme.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:\"center\",fontSize:theme.typography.size.s1,fontWeight:theme.typography.weight.bold,lineHeight:\"1\",cursor:\"pointer\",display:\"inline-block\",padding:\"7px 15px\",transition:\"all 100ms ease-out\",userSelect:\"none\",borderRadius:\"3em\",color:transparentize(.5,theme.color.defaultText),background:\"transparent\",\"&:hover\":{boxShadow:`${opacify(.3,theme.appBorderColor)} 0 0 0 1px inset`},\"&:active\":{boxShadow:`${opacify(.05,theme.appBorderColor)} 0 0 0 2px inset`,color:opacify(1,theme.appBorderColor)},\"&:first-of-type\":{paddingRight:8},\"&:last-of-type\":{paddingLeft:8}},\"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type\":{background:theme.boolean.selectedBackground,boxShadow:theme.base===\"light\"?`${opacify(.1,theme.appBorderColor)} 0 0 2px`:`${theme.appBorderColor} 0 0 0 1px`,color:theme.color.defaultText,padding:\"7px 15px\"}})),parse=value2=>value2===\"true\",BooleanControl=({name,value:value2,onChange,onBlur,onFocus})=>{let onSetFalse=useCallback(()=>onChange(!1),[onChange]);if(value2===void 0)return React17.createElement(Form.Button,{id:getControlSetterButtonId(name),onClick:onSetFalse},\"Set boolean\");let controlId=getControlId(name),parsedValue=typeof value2==\"string\"?parse(value2):value2;return React17.createElement(Label,{htmlFor:controlId,title:parsedValue?\"Change to false\":\"Change to true\"},React17.createElement(\"input\",{id:controlId,type:\"checkbox\",onChange:e=>onChange(e.target.checked),checked:parsedValue,name,onBlur,onFocus}),React17.createElement(\"span\",null,\"False\"),React17.createElement(\"span\",null,\"True\"))};var parseDate=value2=>{let[year,month,day]=value2.split(\"-\"),result=new Date;return result.setFullYear(parseInt(year,10),parseInt(month,10)-1,parseInt(day,10)),result},parseTime=value2=>{let[hours,minutes]=value2.split(\":\"),result=new Date;return result.setHours(parseInt(hours,10)),result.setMinutes(parseInt(minutes,10)),result},formatDate=value2=>{let date=new Date(value2),year=`000${date.getFullYear()}`.slice(-4),month=`0${date.getMonth()+1}`.slice(-2),day=`0${date.getDate()}`.slice(-2);return `${year}-${month}-${day}`},formatTime=value2=>{let date=new Date(value2),hours=`0${date.getHours()}`.slice(-2),minutes=`0${date.getMinutes()}`.slice(-2);return `${hours}:${minutes}`},FlexSpaced=styled.div(({theme})=>({flex:1,display:\"flex\",input:{marginLeft:10,flex:1,height:32,\"&::-webkit-calendar-picker-indicator\":{opacity:.5,height:12,filter:theme.base===\"light\"?void 0:\"invert(1)\"}},\"input:first-of-type\":{marginLeft:0,flexGrow:4},\"input:last-of-type\":{flexGrow:3}})),DateControl=({name,value:value2,onChange,onFocus,onBlur})=>{let[valid,setValid]=useState(!0),dateRef=useRef(),timeRef=useRef();useEffect(()=>{valid!==!1&&(dateRef&&dateRef.current&&(dateRef.current.value=formatDate(value2)),timeRef&&timeRef.current&&(timeRef.current.value=formatTime(value2)));},[value2]);let onDateChange=e=>{let parsed=parseDate(e.target.value),result=new Date(value2);result.setFullYear(parsed.getFullYear(),parsed.getMonth(),parsed.getDate());let time=result.getTime();time&&onChange(time),setValid(!!time);},onTimeChange=e=>{let parsed=parseTime(e.target.value),result=new Date(value2);result.setHours(parsed.getHours()),result.setMinutes(parsed.getMinutes());let time=result.getTime();time&&onChange(time),setValid(!!time);},controlId=getControlId(name);return React17.createElement(FlexSpaced,null,React17.createElement(Form.Input,{type:\"date\",max:\"9999-12-31\",ref:dateRef,id:`${controlId}-date`,name:`${controlId}-date`,onChange:onDateChange,onFocus,onBlur}),React17.createElement(Form.Input,{type:\"time\",id:`${controlId}-time`,name:`${controlId}-time`,ref:timeRef,onChange:onTimeChange,onFocus,onBlur}),valid?null:React17.createElement(\"div\",null,\"invalid\"))};var Wrapper2=styled.label({display:\"flex\"}),parse2=value2=>{let result=parseFloat(value2);return Number.isNaN(result)?void 0:result},format=value2=>value2!=null?String(value2):\"\",NumberControl=({name,value:value2,onChange,min,max,step,onBlur,onFocus})=>{let[inputValue,setInputValue]=useState(typeof value2==\"number\"?value2:\"\"),[forceVisible,setForceVisible]=useState(!1),[parseError,setParseError]=useState(null),handleChange=useCallback(event=>{setInputValue(event.target.value);let result=parseFloat(event.target.value);Number.isNaN(result)?setParseError(new Error(`'${event.target.value}' is not a number`)):(onChange(result),setParseError(null));},[onChange,setParseError]),onForceVisible=useCallback(()=>{setInputValue(\"0\"),onChange(0),setForceVisible(!0);},[setForceVisible]),htmlElRef=useRef(null);return useEffect(()=>{forceVisible&&htmlElRef.current&&htmlElRef.current.select();},[forceVisible]),useEffect(()=>{inputValue!==(typeof value2==\"number\"?value2:\"\")&&setInputValue(value2);},[value2]),!forceVisible&&value2===void 0?React17.createElement(Form.Button,{id:getControlSetterButtonId(name),onClick:onForceVisible},\"Set number\"):React17.createElement(Wrapper2,null,React17.createElement(Form.Input,{ref:htmlElRef,id:getControlId(name),type:\"number\",onChange:handleChange,size:\"flex\",placeholder:\"Edit number...\",value:inputValue,valid:parseError?\"error\":null,autoFocus:forceVisible,name,min,max,step,onFocus,onBlur}))};var selectedKey=(value2,options)=>{let entry=options&&Object.entries(options).find(([_key,val])=>val===value2);return entry?entry[0]:void 0},selectedKeys=(value2,options)=>value2&&options?Object.entries(options).filter(entry=>value2.includes(entry[1])).map(entry=>entry[0]):[],selectedValues=(keys,options)=>keys&&options&&keys.map(key=>options[key]);var Wrapper3=styled.div(({isInline})=>isInline?{display:\"flex\",flexWrap:\"wrap\",alignItems:\"flex-start\",label:{display:\"inline-flex\",marginRight:15}}:{label:{display:\"flex\"}}),Text2=styled.span({}),Label2=styled.label({lineHeight:\"20px\",alignItems:\"center\",marginBottom:8,\"&:last-child\":{marginBottom:0},input:{margin:0,marginRight:6}}),CheckboxControl=({name,options,value:value2,onChange,isInline})=>{if(!options)return logger.warn(`Checkbox with no options: ${name}`),React17.createElement(React17.Fragment,null,\"-\");let initial=selectedKeys(value2,options),[selected,setSelected]=useState(initial),handleChange=e=>{let option=e.target.value,updated=[...selected];updated.includes(option)?updated.splice(updated.indexOf(option),1):updated.push(option),onChange(selectedValues(updated,options)),setSelected(updated);};useEffect(()=>{setSelected(selectedKeys(value2,options));},[value2]);let controlId=getControlId(name);return React17.createElement(Wrapper3,{isInline},Object.keys(options).map((key,index)=>{let id=`${controlId}-${index}`;return React17.createElement(Label2,{key:id,htmlFor:id},React17.createElement(\"input\",{type:\"checkbox\",id,name:id,value:key,onChange:handleChange,checked:selected?.includes(key)}),React17.createElement(Text2,null,key))}))};var Wrapper4=styled.div(({isInline})=>isInline?{display:\"flex\",flexWrap:\"wrap\",alignItems:\"flex-start\",label:{display:\"inline-flex\",marginRight:15}}:{label:{display:\"flex\"}}),Text3=styled.span({}),Label3=styled.label({lineHeight:\"20px\",alignItems:\"center\",marginBottom:8,\"&:last-child\":{marginBottom:0},input:{margin:0,marginRight:6}}),RadioControl=({name,options,value:value2,onChange,isInline})=>{if(!options)return logger.warn(`Radio with no options: ${name}`),React17.createElement(React17.Fragment,null,\"-\");let selection=selectedKey(value2,options),controlId=getControlId(name);return React17.createElement(Wrapper4,{isInline},Object.keys(options).map((key,index)=>{let id=`${controlId}-${index}`;return React17.createElement(Label3,{key:id,htmlFor:id},React17.createElement(\"input\",{type:\"radio\",id,name:id,value:key,onChange:e=>onChange(options[e.currentTarget.value]),checked:key===selection}),React17.createElement(Text3,null,key))}))};var styleResets={appearance:\"none\",border:\"0 none\",boxSizing:\"inherit\",display:\" block\",margin:\" 0\",background:\"transparent\",padding:0,fontSize:\"inherit\",position:\"relative\"},OptionsSelect=styled.select(({theme})=>({...styleResets,boxSizing:\"border-box\",position:\"relative\",padding:\"6px 10px\",width:\"100%\",color:theme.input.color||\"inherit\",background:theme.input.background,borderRadius:theme.input.borderRadius,boxShadow:`${theme.input.border} 0 0 0 1px inset`,fontSize:theme.typography.size.s2-1,lineHeight:\"20px\",\"&:focus\":{boxShadow:`${theme.color.secondary} 0 0 0 1px inset`,outline:\"none\"},\"&[disabled]\":{cursor:\"not-allowed\",opacity:.5},\"::placeholder\":{color:theme.textMutedColor},\"&[multiple]\":{overflow:\"auto\",padding:0,option:{display:\"block\",padding:\"6px 10px\",marginLeft:1,marginRight:1}}})),SelectWrapper=styled.span(({theme})=>({display:\"inline-block\",lineHeight:\"normal\",overflow:\"hidden\",position:\"relative\",verticalAlign:\"top\",width:\"100%\",svg:{position:\"absolute\",zIndex:1,pointerEvents:\"none\",height:\"12px\",marginTop:\"-6px\",right:\"12px\",top:\"50%\",fill:theme.textMutedColor,path:{fill:theme.textMutedColor}}})),NO_SELECTION=\"Choose option...\",SingleSelect=({name,value:value2,options,onChange})=>{let handleChange=e=>{onChange(options[e.currentTarget.value]);},selection=selectedKey(value2,options)||NO_SELECTION,controlId=getControlId(name);return React17.createElement(SelectWrapper,null,React17.createElement(Icons,{icon:\"arrowdown\"}),React17.createElement(OptionsSelect,{id:controlId,value:selection,onChange:handleChange},React17.createElement(\"option\",{key:\"no-selection\",disabled:!0},NO_SELECTION),Object.keys(options).map(key=>React17.createElement(\"option\",{key},key))))},MultiSelect=({name,value:value2,options,onChange})=>{let handleChange=e=>{let selection2=Array.from(e.currentTarget.options).filter(option=>option.selected).map(option=>option.value);onChange(selectedValues(selection2,options));},selection=selectedKeys(value2,options),controlId=getControlId(name);return React17.createElement(SelectWrapper,null,React17.createElement(OptionsSelect,{id:controlId,multiple:!0,value:selection,onChange:handleChange},Object.keys(options).map(key=>React17.createElement(\"option\",{key},key))))},SelectControl=props=>{let{name,options}=props;return options?props.isMulti?React17.createElement(MultiSelect,{...props}):React17.createElement(SingleSelect,{...props}):(logger.warn(`Select with no options: ${name}`),React17.createElement(React17.Fragment,null,\"-\"))};var normalizeOptions=(options,labels)=>Array.isArray(options)?options.reduce((acc,item)=>(acc[labels?.[item]||String(item)]=item,acc),{}):options,Controls={check:CheckboxControl,\"inline-check\":CheckboxControl,radio:RadioControl,\"inline-radio\":RadioControl,select:SelectControl,\"multi-select\":SelectControl},OptionsControl=props=>{let{type=\"select\",labels,argType}=props,normalized={...props,options:argType?normalizeOptions(argType.options,labels):{},isInline:type.includes(\"inline\"),isMulti:type.includes(\"multi\")},Control=Controls[type];if(Control)return React17.createElement(Control,{...normalized});throw new Error(`Unknown options type: ${type}`)};var VALUE=\"value\",KEY=\"key\";var ERROR=\"Error\",OBJECT=\"Object\",ARRAY=\"Array\",STRING=\"String\",NUMBER=\"Number\",BOOLEAN=\"Boolean\",DATE=\"Date\",NULL=\"Null\",UNDEFINED=\"Undefined\",FUNCTION=\"Function\",SYMBOL=\"Symbol\";var ADD_DELTA_TYPE=\"ADD_DELTA_TYPE\",REMOVE_DELTA_TYPE=\"REMOVE_DELTA_TYPE\",UPDATE_DELTA_TYPE=\"UPDATE_DELTA_TYPE\";function getObjectType(obj){return obj!==null&&typeof obj==\"object\"&&!Array.isArray(obj)&&typeof obj[Symbol.iterator]==\"function\"?\"Iterable\":Object.prototype.toString.call(obj).slice(8,-1)}function isComponentWillChange(oldValue,newValue){let oldType=getObjectType(oldValue),newType=getObjectType(newValue);return (oldType===\"Function\"||newType===\"Function\")&&newType!==oldType}var JsonAddValue=class extends Component{constructor(props){super(props),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this);}componentDidMount(){let{inputRefKey,inputRefValue}=this.state,{onlyValue}=this.props;inputRefKey&&typeof inputRefKey.focus==\"function\"&&inputRefKey.focus(),onlyValue&&inputRefValue&&typeof inputRefValue.focus==\"function\"&&inputRefValue.focus(),document.addEventListener(\"keydown\",this.onKeydown);}componentWillUnmount(){document.removeEventListener(\"keydown\",this.onKeydown);}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||((event.code===\"Enter\"||event.key===\"Enter\")&&(event.preventDefault(),this.onSubmit()),(event.code===\"Escape\"||event.key===\"Escape\")&&(event.preventDefault(),this.props.handleCancel()));}onSubmit(){let{handleAdd,onlyValue,onSubmitValueParser,keyPath,deep}=this.props,{inputRefKey,inputRefValue}=this.state,result={};if(!onlyValue){if(!inputRefKey.value)return;result.key=inputRefKey.value;}result.newValue=onSubmitValueParser(!1,keyPath,deep,result.key,inputRefValue.value),handleAdd(result);}refInputKey(node){this.state.inputRefKey=node;}refInputValue(node){this.state.inputRefValue=node;}render(){let{handleCancel,onlyValue,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep}=this.props,addButtonElementLayout=cloneElement(addButtonElement,{onClick:this.onSubmit}),cancelButtonElementLayout=cloneElement(cancelButtonElement,{onClick:handleCancel}),inputElementValue=inputElementGenerator(VALUE,keyPath,deep),inputElementValueLayout=cloneElement(inputElementValue,{placeholder:\"Value\",ref:this.refInputValue}),inputElementKeyLayout=null;if(!onlyValue){let inputElementKey=inputElementGenerator(KEY,keyPath,deep);inputElementKeyLayout=cloneElement(inputElementKey,{placeholder:\"Key\",ref:this.refInputKey});}return React17.createElement(\"span\",{className:\"rejt-add-value-node\"},inputElementKeyLayout,inputElementValueLayout,cancelButtonElementLayout,addButtonElementLayout)}};JsonAddValue.defaultProps={onlyValue:!1,addButtonElement:React17.createElement(\"button\",null,\"+\"),cancelButtonElement:React17.createElement(\"button\",null,\"c\")};var JsonArray=class extends Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={data:props.data,name:props.name,keyPath,deep:props.deep,nextDeep:props.deep+1,collapsed:props.isCollapsed(keyPath,props.deep,props.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this);}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}onChildUpdate(childKey,childData){let{data,keyPath}=this.state;data[childKey]=childData,this.setState({data});let{onUpdate}=this.props,size=keyPath.length;onUpdate(keyPath[size-1],data);}handleAddMode(){this.setState({addFormVisible:!0});}handleCollapseMode(){this.setState(state=>({collapsed:!state.collapsed}));}handleRemoveItem(index){return ()=>{let{beforeRemoveAction,logger:logger4}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[index];beforeRemoveAction(index,keyPath,deep,oldValue).then(()=>{let deltaUpdateResult={keyPath,deep,key:index,oldValue,type:REMOVE_DELTA_TYPE};data.splice(index,1),this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate(deltaUpdateResult);}).catch(logger4.error);}}handleAddValueAdd({newValue}){let{data,keyPath,nextDeep:deep}=this.state,{beforeAddAction,logger:logger4}=this.props;beforeAddAction(data.length,keyPath,deep,newValue).then(()=>{let newData=[...data,newValue];this.setState({data:newData}),this.handleAddValueCancel();let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],newData),onDeltaUpdate({type:ADD_DELTA_TYPE,keyPath,deep,key:newData.length-1,newValue});}).catch(logger4.error);}handleAddValueCancel(){this.setState({addFormVisible:!1});}handleEditValue({key,value:value2}){return new Promise((resolve,reject)=>{let{beforeUpdateAction}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeUpdateAction(key,keyPath,deep,oldValue,value2).then(()=>{data[key]=value2,this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:UPDATE_DELTA_TYPE,keyPath,deep,key,newValue:value2,oldValue}),resolve(void 0);}).catch(reject);})}renderCollapsed(){let{name,data,keyPath,deep}=this.state,{handleRemove,readOnly,getStyle,dataType,minusMenuElement}=this.props,{minus,collapsed}=getStyle(name,data,keyPath,deep,dataType),isReadOnly=readOnly(name,data,keyPath,deep,dataType),removeItemButton=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:minus});return React17.createElement(\"span\",{className:\"rejt-collapsed\"},React17.createElement(\"span\",{className:\"rejt-collapsed-text\",style:collapsed,onClick:this.handleCollapseMode},\"[...] \",data.length,\" \",data.length===1?\"item\":\"items\"),!isReadOnly&&removeItemButton)}renderNotCollapsed(){let{name,data,keyPath,deep,addFormVisible,nextDeep}=this.state,{isCollapsed,handleRemove,onDeltaUpdate,readOnly,getStyle,dataType,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,{minus,plus,delimiter,ul,addForm}=getStyle(name,data,keyPath,deep,dataType),isReadOnly=readOnly(name,data,keyPath,deep,dataType),addItemButton=cloneElement(plusMenuElement,{onClick:this.handleAddMode,className:\"rejt-plus-menu\",style:plus}),removeItemButton=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:minus}),onlyValue=!0,startObject=\"[\",endObject=\"]\";return React17.createElement(\"span\",{className:\"rejt-not-collapsed\"},React17.createElement(\"span\",{className:\"rejt-not-collapsed-delimiter\",style:delimiter},startObject),!addFormVisible&&addItemButton,React17.createElement(\"ul\",{className:\"rejt-not-collapsed-list\",style:ul},data.map((item,index)=>React17.createElement(JsonNode,{key:index,name:`${index}`,data:item,keyPath,deep:nextDeep,isCollapsed,handleRemove:this.handleRemoveItem(index),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}))),!isReadOnly&&addFormVisible&&React17.createElement(\"div\",{className:\"rejt-add-form\",style:addForm},React17.createElement(JsonAddValue,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep,onSubmitValueParser})),React17.createElement(\"span\",{className:\"rejt-not-collapsed-delimiter\",style:delimiter},endObject),!isReadOnly&&removeItemButton)}render(){let{name,collapsed,data,keyPath,deep}=this.state,{dataType,getStyle}=this.props,value2=collapsed?this.renderCollapsed():this.renderNotCollapsed(),style=getStyle(name,data,keyPath,deep,dataType);return React17.createElement(\"div\",{className:\"rejt-array-node\"},React17.createElement(\"span\",{onClick:this.handleCollapseMode},React17.createElement(\"span\",{className:\"rejt-name\",style:style.name},name,\" :\",\" \")),value2)}};JsonArray.defaultProps={keyPath:[],deep:0,minusMenuElement:React17.createElement(\"span\",null,\" - \"),plusMenuElement:React17.createElement(\"span\",null,\" + \")};var JsonFunctionValue=class extends Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={value:props.value,name:props.name,keyPath,deep:props.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this);}static getDerivedStateFromProps(props,state){return props.value!==state.value?{value:props.value}:null}componentDidUpdate(){let{editEnabled,inputRef,name,value:value2,keyPath,deep}=this.state,{readOnly,dataType}=this.props,readOnlyResult=readOnly(name,value2,keyPath,deep,dataType);editEnabled&&!readOnlyResult&&typeof inputRef.focus==\"function\"&&inputRef.focus();}componentDidMount(){document.addEventListener(\"keydown\",this.onKeydown);}componentWillUnmount(){document.removeEventListener(\"keydown\",this.onKeydown);}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||((event.code===\"Enter\"||event.key===\"Enter\")&&(event.preventDefault(),this.handleEdit()),(event.code===\"Escape\"||event.key===\"Escape\")&&(event.preventDefault(),this.handleCancelEdit()));}handleEdit(){let{handleUpdateValue,originalValue,logger:logger4,onSubmitValueParser,keyPath}=this.props,{inputRef,name,deep}=this.state;if(!inputRef)return;let newValue=onSubmitValueParser(!0,keyPath,deep,name,inputRef.value);handleUpdateValue({value:newValue,key:name}).then(()=>{isComponentWillChange(originalValue,newValue)||this.handleCancelEdit();}).catch(logger4.error);}handleEditMode(){this.setState({editEnabled:!0});}refInput(node){this.state.inputRef=node;}handleCancelEdit(){this.setState({editEnabled:!1});}render(){let{name,value:value2,editEnabled,keyPath,deep}=this.state,{handleRemove,originalValue,readOnly,dataType,getStyle,editButtonElement,cancelButtonElement,textareaElementGenerator,minusMenuElement,keyPath:comeFromKeyPath}=this.props,style=getStyle(name,originalValue,keyPath,deep,dataType),result=null,minusElement=null,resultOnlyResult=readOnly(name,originalValue,keyPath,deep,dataType);if(editEnabled&&!resultOnlyResult){let textareaElement=textareaElementGenerator(VALUE,comeFromKeyPath,deep,name,originalValue,dataType),editButtonElementLayout=cloneElement(editButtonElement,{onClick:this.handleEdit}),cancelButtonElementLayout=cloneElement(cancelButtonElement,{onClick:this.handleCancelEdit}),textareaElementLayout=cloneElement(textareaElement,{ref:this.refInput,defaultValue:originalValue});result=React17.createElement(\"span\",{className:\"rejt-edit-form\",style:style.editForm},textareaElementLayout,\" \",cancelButtonElementLayout,editButtonElementLayout),minusElement=null;}else {result=React17.createElement(\"span\",{className:\"rejt-value\",style:style.value,onClick:resultOnlyResult?null:this.handleEditMode},value2);let minusMenuLayout=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:style.minus});minusElement=resultOnlyResult?null:minusMenuLayout;}return React17.createElement(\"li\",{className:\"rejt-function-value-node\",style:style.li},React17.createElement(\"span\",{className:\"rejt-name\",style:style.name},name,\" :\",\" \"),result,minusElement)}};JsonFunctionValue.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:React17.createElement(\"button\",null,\"e\"),cancelButtonElement:React17.createElement(\"button\",null,\"c\"),minusMenuElement:React17.createElement(\"span\",null,\" - \")};var JsonNode=class extends Component{constructor(props){super(props),this.state={data:props.data,name:props.name,keyPath:props.keyPath,deep:props.deep};}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}render(){let{data,name,keyPath,deep}=this.state,{isCollapsed,handleRemove,handleUpdateValue,onUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,readOnlyTrue=()=>!0,dataType=getObjectType(data);switch(dataType){case ERROR:return React17.createElement(JsonObject,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly:readOnlyTrue,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case OBJECT:return React17.createElement(JsonObject,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case ARRAY:return React17.createElement(JsonArray,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case STRING:return React17.createElement(JsonValue,{name,value:`\"${data}\"`,originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case NUMBER:return React17.createElement(JsonValue,{name,value:data,originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case BOOLEAN:return React17.createElement(JsonValue,{name,value:data?\"true\":\"false\",originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case DATE:return React17.createElement(JsonValue,{name,value:data.toISOString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly:readOnlyTrue,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case NULL:return React17.createElement(JsonValue,{name,value:\"null\",originalValue:\"null\",keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case UNDEFINED:return React17.createElement(JsonValue,{name,value:\"undefined\",originalValue:\"undefined\",keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case FUNCTION:return React17.createElement(JsonFunctionValue,{name,value:data.toString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,textareaElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case SYMBOL:return React17.createElement(JsonValue,{name,value:data.toString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly:readOnlyTrue,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});default:return null}}};JsonNode.defaultProps={keyPath:[],deep:0};var JsonObject=class extends Component{constructor(props){super(props);let keyPath=props.deep===-1?[]:[...props.keyPath,props.name];this.state={name:props.name,data:props.data,keyPath,deep:props.deep,nextDeep:props.deep+1,collapsed:props.isCollapsed(keyPath,props.deep,props.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this);}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}onChildUpdate(childKey,childData){let{data,keyPath}=this.state;data[childKey]=childData,this.setState({data});let{onUpdate}=this.props,size=keyPath.length;onUpdate(keyPath[size-1],data);}handleAddMode(){this.setState({addFormVisible:!0});}handleAddValueCancel(){this.setState({addFormVisible:!1});}handleAddValueAdd({key,newValue}){let{data,keyPath,nextDeep:deep}=this.state,{beforeAddAction,logger:logger4}=this.props;beforeAddAction(key,keyPath,deep,newValue).then(()=>{data[key]=newValue,this.setState({data}),this.handleAddValueCancel();let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:ADD_DELTA_TYPE,keyPath,deep,key,newValue});}).catch(logger4.error);}handleRemoveValue(key){return ()=>{let{beforeRemoveAction,logger:logger4}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeRemoveAction(key,keyPath,deep,oldValue).then(()=>{let deltaUpdateResult={keyPath,deep,key,oldValue,type:REMOVE_DELTA_TYPE};delete data[key],this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate(deltaUpdateResult);}).catch(logger4.error);}}handleCollapseMode(){this.setState(state=>({collapsed:!state.collapsed}));}handleEditValue({key,value:value2}){return new Promise((resolve,reject)=>{let{beforeUpdateAction}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeUpdateAction(key,keyPath,deep,oldValue,value2).then(()=>{data[key]=value2,this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:UPDATE_DELTA_TYPE,keyPath,deep,key,newValue:value2,oldValue}),resolve();}).catch(reject);})}renderCollapsed(){let{name,keyPath,deep,data}=this.state,{handleRemove,readOnly,dataType,getStyle,minusMenuElement}=this.props,{minus,collapsed}=getStyle(name,data,keyPath,deep,dataType),keyList=Object.getOwnPropertyNames(data),isReadOnly=readOnly(name,data,keyPath,deep,dataType),removeItemButton=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:minus});return React17.createElement(\"span\",{className:\"rejt-collapsed\"},React17.createElement(\"span\",{className:\"rejt-collapsed-text\",style:collapsed,onClick:this.handleCollapseMode},\"{...}\",\" \",keyList.length,\" \",keyList.length===1?\"key\":\"keys\"),!isReadOnly&&removeItemButton)}renderNotCollapsed(){let{name,data,keyPath,deep,nextDeep,addFormVisible}=this.state,{isCollapsed,handleRemove,onDeltaUpdate,readOnly,getStyle,dataType,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,{minus,plus,addForm,ul,delimiter}=getStyle(name,data,keyPath,deep,dataType),keyList=Object.getOwnPropertyNames(data),isReadOnly=readOnly(name,data,keyPath,deep,dataType),addItemButton=cloneElement(plusMenuElement,{onClick:this.handleAddMode,className:\"rejt-plus-menu\",style:plus}),removeItemButton=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:minus}),list=keyList.map(key=>React17.createElement(JsonNode,{key,name:key,data:data[key],keyPath,deep:nextDeep,isCollapsed,handleRemove:this.handleRemoveValue(key),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser})),startObject=\"{\",endObject=\"}\";return React17.createElement(\"span\",{className:\"rejt-not-collapsed\"},React17.createElement(\"span\",{className:\"rejt-not-collapsed-delimiter\",style:delimiter},startObject),!isReadOnly&&addItemButton,React17.createElement(\"ul\",{className:\"rejt-not-collapsed-list\",style:ul},list),!isReadOnly&&addFormVisible&&React17.createElement(\"div\",{className:\"rejt-add-form\",style:addForm},React17.createElement(JsonAddValue,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep,onSubmitValueParser})),React17.createElement(\"span\",{className:\"rejt-not-collapsed-delimiter\",style:delimiter},endObject),!isReadOnly&&removeItemButton)}render(){let{name,collapsed,data,keyPath,deep}=this.state,{getStyle,dataType}=this.props,value2=collapsed?this.renderCollapsed():this.renderNotCollapsed(),style=getStyle(name,data,keyPath,deep,dataType);return React17.createElement(\"div\",{className:\"rejt-object-node\"},React17.createElement(\"span\",{onClick:this.handleCollapseMode},React17.createElement(\"span\",{className:\"rejt-name\",style:style.name},name,\" :\",\" \")),value2)}};JsonObject.defaultProps={keyPath:[],deep:0,minusMenuElement:React17.createElement(\"span\",null,\" - \"),plusMenuElement:React17.createElement(\"span\",null,\" + \")};var JsonValue=class extends Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={value:props.value,name:props.name,keyPath,deep:props.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this);}static getDerivedStateFromProps(props,state){return props.value!==state.value?{value:props.value}:null}componentDidUpdate(){let{editEnabled,inputRef,name,value:value2,keyPath,deep}=this.state,{readOnly,dataType}=this.props,isReadOnly=readOnly(name,value2,keyPath,deep,dataType);editEnabled&&!isReadOnly&&typeof inputRef.focus==\"function\"&&inputRef.focus();}componentDidMount(){document.addEventListener(\"keydown\",this.onKeydown);}componentWillUnmount(){document.removeEventListener(\"keydown\",this.onKeydown);}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||((event.code===\"Enter\"||event.key===\"Enter\")&&(event.preventDefault(),this.handleEdit()),(event.code===\"Escape\"||event.key===\"Escape\")&&(event.preventDefault(),this.handleCancelEdit()));}handleEdit(){let{handleUpdateValue,originalValue,logger:logger4,onSubmitValueParser,keyPath}=this.props,{inputRef,name,deep}=this.state;if(!inputRef)return;let newValue=onSubmitValueParser(!0,keyPath,deep,name,inputRef.value);handleUpdateValue({value:newValue,key:name}).then(()=>{isComponentWillChange(originalValue,newValue)||this.handleCancelEdit();}).catch(logger4.error);}handleEditMode(){this.setState({editEnabled:!0});}refInput(node){this.state.inputRef=node;}handleCancelEdit(){this.setState({editEnabled:!1});}render(){let{name,value:value2,editEnabled,keyPath,deep}=this.state,{handleRemove,originalValue,readOnly,dataType,getStyle,editButtonElement,cancelButtonElement,inputElementGenerator,minusMenuElement,keyPath:comeFromKeyPath}=this.props,style=getStyle(name,originalValue,keyPath,deep,dataType),isReadOnly=readOnly(name,originalValue,keyPath,deep,dataType),isEditing=editEnabled&&!isReadOnly,inputElement=inputElementGenerator(VALUE,comeFromKeyPath,deep,name,originalValue,dataType),editButtonElementLayout=cloneElement(editButtonElement,{onClick:this.handleEdit}),cancelButtonElementLayout=cloneElement(cancelButtonElement,{onClick:this.handleCancelEdit}),inputElementLayout=cloneElement(inputElement,{ref:this.refInput,defaultValue:JSON.stringify(originalValue)}),minusMenuLayout=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:style.minus});return React17.createElement(\"li\",{className:\"rejt-value-node\",style:style.li},React17.createElement(\"span\",{className:\"rejt-name\",style:style.name},name,\" : \"),isEditing?React17.createElement(\"span\",{className:\"rejt-edit-form\",style:style.editForm},inputElementLayout,\" \",cancelButtonElementLayout,editButtonElementLayout):React17.createElement(\"span\",{className:\"rejt-value\",style:style.value,onClick:isReadOnly?null:this.handleEditMode},String(value2)),!isReadOnly&&!isEditing&&minusMenuLayout)}};JsonValue.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:React17.createElement(\"button\",null,\"e\"),cancelButtonElement:React17.createElement(\"button\",null,\"c\"),minusMenuElement:React17.createElement(\"span\",null,\" - \")};var object={minus:{color:\"red\"},plus:{color:\"green\"},collapsed:{color:\"grey\"},delimiter:{},ul:{padding:\"0px\",margin:\"0 0 0 25px\",listStyle:\"none\"},name:{color:\"#2287CD\"},addForm:{}},array={minus:{color:\"red\"},plus:{color:\"green\"},collapsed:{color:\"grey\"},delimiter:{},ul:{padding:\"0px\",margin:\"0 0 0 25px\",listStyle:\"none\"},name:{color:\"#2287CD\"},addForm:{}},value={minus:{color:\"red\"},editForm:{},value:{color:\"#7bba3d\"},li:{minHeight:\"22px\",lineHeight:\"22px\",outline:\"0px\"},name:{color:\"#2287CD\"}};function parse3(string){let result=string;if(result.indexOf(\"function\")===0)return (0, eval)(`(${result})`);try{result=JSON.parse(string);}catch{}return result}var JsonTree=class extends Component{constructor(props){super(props),this.state={data:props.data,rootName:props.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this);}static getDerivedStateFromProps(props,state){return props.data!==state.data||props.rootName!==state.rootName?{data:props.data,rootName:props.rootName}:null}onUpdate(key,data){this.setState({data}),this.props.onFullyUpdate(data);}removeRoot(){this.onUpdate(null,null);}render(){let{data,rootName}=this.state,{isCollapsed,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElement,textareaElement,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser,fallback=null}=this.props,dataType=getObjectType(data),readOnlyFunction=readOnly;getObjectType(readOnly)===\"Boolean\"&&(readOnlyFunction=()=>readOnly);let inputElementFunction=inputElement;inputElement&&getObjectType(inputElement)!==\"Function\"&&(inputElementFunction=()=>inputElement);let textareaElementFunction=textareaElement;return textareaElement&&getObjectType(textareaElement)!==\"Function\"&&(textareaElementFunction=()=>textareaElement),dataType===\"Object\"||dataType===\"Array\"?React17.createElement(\"div\",{className:\"rejt-tree\"},React17.createElement(JsonNode,{data,name:rootName,deep:-1,isCollapsed,onUpdate:this.onUpdate,onDeltaUpdate,readOnly:readOnlyFunction,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator:inputElementFunction,textareaElementGenerator:textareaElementFunction,minusMenuElement,plusMenuElement,handleRemove:this.removeRoot,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser})):fallback}};JsonTree.defaultProps={rootName:\"root\",isCollapsed:(keyPath,deep)=>deep!==-1,getStyle:(keyName,data,keyPath,deep,dataType)=>{switch(dataType){case\"Object\":case\"Error\":return object;case\"Array\":return array;default:return value}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(isEditMode,keyPath,deep,name,rawValue)=>parse3(rawValue),inputElement:()=>React17.createElement(\"input\",null),textareaElement:()=>React17.createElement(\"textarea\",null),fallback:null};var {window:globalWindow2}=global,Wrapper5=styled.div(({theme})=>({position:\"relative\",display:\"flex\",\".rejt-tree\":{marginLeft:\"1rem\",fontSize:\"13px\"},\".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed\":{\"& > svg\":{opacity:0,transition:\"opacity 0.2s\"}},\".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed\":{\"& > svg\":{opacity:1}},\".rejt-edit-form button\":{display:\"none\"},\".rejt-add-form\":{marginLeft:10},\".rejt-add-value-node\":{display:\"inline-flex\",alignItems:\"center\"},\".rejt-name\":{lineHeight:\"22px\"},\".rejt-not-collapsed-delimiter\":{lineHeight:\"22px\"},\".rejt-plus-menu\":{marginLeft:5},\".rejt-object-node > span > *\":{position:\"relative\",zIndex:2},\".rejt-object-node, .rejt-array-node\":{position:\"relative\"},\".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before\":{content:'\"\"',position:\"absolute\",top:0,display:\"block\",width:\"100%\",marginLeft:\"-1rem\",padding:\"0 4px 0 1rem\",height:22},\".rejt-collapsed::before, .rejt-not-collapsed::before\":{zIndex:1,background:\"transparent\",borderRadius:4,transition:\"background 0.2s\",pointerEvents:\"none\",opacity:.1},\".rejt-object-node:hover, .rejt-array-node:hover\":{\"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before\":{background:theme.color.secondary}},\".rejt-collapsed::after, .rejt-not-collapsed::after\":{content:'\"\"',position:\"absolute\",display:\"inline-block\",pointerEvents:\"none\",width:0,height:0},\".rejt-collapsed::after\":{left:-8,top:8,borderTop:\"3px solid transparent\",borderBottom:\"3px solid transparent\",borderLeft:\"3px solid rgba(153,153,153,0.6)\"},\".rejt-not-collapsed::after\":{left:-10,top:10,borderTop:\"3px solid rgba(153,153,153,0.6)\",borderLeft:\"3px solid transparent\",borderRight:\"3px solid transparent\"},\".rejt-value\":{display:\"inline-block\",border:\"1px solid transparent\",borderRadius:4,margin:\"1px 0\",padding:\"0 4px\",cursor:\"text\",color:theme.color.defaultText},\".rejt-value-node:hover > .rejt-value\":{background:theme.color.lighter,borderColor:theme.appBorderColor}})),Button=styled.button(({theme,primary})=>({border:0,height:20,margin:1,borderRadius:4,background:primary?theme.color.secondary:\"transparent\",color:primary?theme.color.lightest:theme.color.dark,fontWeight:primary?\"bold\":\"normal\",cursor:\"pointer\",order:primary?\"initial\":9})),ActionIcon=styled(Icons)(({theme,icon,disabled})=>({display:\"inline-block\",verticalAlign:\"middle\",width:15,height:15,padding:3,marginLeft:5,cursor:disabled?\"not-allowed\":\"pointer\",color:theme.textMutedColor,\"&:hover\":disabled?{}:{color:icon===\"subtract\"?theme.color.negative:theme.color.ancillary},\"svg + &\":{marginLeft:0}})),Input=styled.input(({theme,placeholder})=>({outline:0,margin:placeholder?1:\"1px 0\",padding:\"3px 4px\",color:theme.color.defaultText,background:theme.background.app,border:`1px solid ${theme.appBorderColor}`,borderRadius:4,lineHeight:\"14px\",width:placeholder===\"Key\"?80:120,\"&:focus\":{border:`1px solid ${theme.color.secondary}`}})),RawButton=styled(IconButton)(({theme})=>({position:\"absolute\",zIndex:2,top:2,right:2,height:21,padding:\"0 3px\",background:theme.background.bar,border:`1px solid ${theme.appBorderColor}`,borderRadius:3,color:theme.textMutedColor,fontSize:\"9px\",fontWeight:\"bold\",textDecoration:\"none\",span:{marginLeft:3,marginTop:1}})),RawInput=styled(Form.Textarea)(({theme})=>({flex:1,padding:\"7px 6px\",fontFamily:theme.typography.fonts.mono,fontSize:\"12px\",lineHeight:\"18px\",\"&::placeholder\":{fontFamily:theme.typography.fonts.base,fontSize:\"13px\"},\"&:placeholder-shown\":{padding:\"7px 10px\"}})),ENTER_EVENT={bubbles:!0,cancelable:!0,key:\"Enter\",code:\"Enter\",keyCode:13},dispatchEnterKey=event=>{event.currentTarget.dispatchEvent(new globalWindow2.KeyboardEvent(\"keydown\",ENTER_EVENT));},selectValue=event=>{event.currentTarget.select();},getCustomStyleFunction=theme=>()=>({name:{color:theme.color.secondary},collapsed:{color:theme.color.dark},ul:{listStyle:\"none\",margin:\"0 0 0 1rem\",padding:0},li:{outline:0}}),ObjectControl=({name,value:value2,onChange})=>{let theme=useTheme(),data=useMemo(()=>value2&&cloneDeep(value2),[value2]),hasData=data!=null,[showRaw,setShowRaw]=useState(!hasData),[parseError,setParseError]=useState(null),updateRaw=useCallback(raw=>{try{raw&&onChange(JSON.parse(raw)),setParseError(void 0);}catch(e){setParseError(e);}},[onChange]),[forceVisible,setForceVisible]=useState(!1),onForceVisible=useCallback(()=>{onChange({}),setForceVisible(!0);},[setForceVisible]),htmlElRef=useRef(null);if(useEffect(()=>{forceVisible&&htmlElRef.current&&htmlElRef.current.select();},[forceVisible]),!hasData)return React17.createElement(Form.Button,{id:getControlSetterButtonId(name),onClick:onForceVisible},\"Set object\");let rawJSONForm=React17.createElement(RawInput,{ref:htmlElRef,id:getControlId(name),name,defaultValue:value2===null?\"\":JSON.stringify(value2,null,2),onBlur:event=>updateRaw(event.target.value),placeholder:\"Edit JSON string...\",autoFocus:forceVisible,valid:parseError?\"error\":null});return React17.createElement(Wrapper5,null,[\"Object\",\"Array\"].includes(getObjectType(data))&&React17.createElement(RawButton,{href:\"#\",onClick:e=>{e.preventDefault(),setShowRaw(v=>!v);}},React17.createElement(Icons,{icon:showRaw?\"eyeclose\":\"eye\"}),React17.createElement(\"span\",null,\"RAW\")),showRaw?rawJSONForm:React17.createElement(JsonTree,{data,rootName:name,onFullyUpdate:onChange,getStyle:getCustomStyleFunction(theme),cancelButtonElement:React17.createElement(Button,{type:\"button\"},\"Cancel\"),editButtonElement:React17.createElement(Button,{type:\"submit\"},\"Save\"),addButtonElement:React17.createElement(Button,{type:\"submit\",primary:!0},\"Save\"),plusMenuElement:React17.createElement(ActionIcon,{icon:\"add\"}),minusMenuElement:React17.createElement(ActionIcon,{icon:\"subtract\"}),inputElement:(_,__,___,key)=>key?React17.createElement(Input,{onFocus:selectValue,onBlur:dispatchEnterKey}):React17.createElement(Input,null),fallback:rawJSONForm}))};var RangeInput=styled.input(({theme,min,max,value:value2})=>({\"&\":{width:\"100%\",backgroundColor:\"transparent\",appearance:\"none\"},\"&::-webkit-slider-runnable-track\":{background:theme.base===\"light\"?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:\"100%\",height:6,cursor:\"pointer\"},\"&::-webkit-slider-thumb\":{marginTop:\"-6px\",width:16,height:16,border:`1px solid ${rgba(theme.appBorderColor,.2)}`,borderRadius:\"50px\",boxShadow:`0 1px 3px 0px ${rgba(theme.appBorderColor,.2)}`,cursor:\"grab\",appearance:\"none\",background:`${theme.input.background}`,transition:\"all 150ms ease-out\",\"&:hover\":{background:`${darken(.05,theme.input.background)}`,transform:\"scale3d(1.1, 1.1, 1.1) translateY(-1px)\",transition:\"all 50ms ease-out\"},\"&:active\":{background:`${theme.input.background}`,transform:\"scale3d(1, 1, 1) translateY(0px)\",cursor:\"grabbing\"}},\"&:focus\":{outline:\"none\",\"&::-webkit-slider-runnable-track\":{borderColor:rgba(theme.color.secondary,.4)},\"&::-webkit-slider-thumb\":{borderColor:theme.color.secondary,boxShadow:`0 0px 5px 0px ${theme.color.secondary}`}},\"&::-moz-range-track\":{background:theme.base===\"light\"?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:\"100%\",height:6,cursor:\"pointer\",outline:\"none\"},\"&::-moz-range-thumb\":{width:16,height:16,border:`1px solid ${rgba(theme.appBorderColor,.2)}`,borderRadius:\"50px\",boxShadow:`0 1px 3px 0px ${rgba(theme.appBorderColor,.2)}`,cursor:\"grab\",background:`${theme.input.background}`,transition:\"all 150ms ease-out\",\"&:hover\":{background:`${darken(.05,theme.input.background)}`,transform:\"scale3d(1.1, 1.1, 1.1) translateY(-1px)\",transition:\"all 50ms ease-out\"},\"&:active\":{background:`${theme.input.background}`,transform:\"scale3d(1, 1, 1) translateY(0px)\",cursor:\"grabbing\"}},\"&::-ms-track\":{background:theme.base===\"light\"?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,color:\"transparent\",width:\"100%\",height:\"6px\",cursor:\"pointer\"},\"&::-ms-fill-lower\":{borderRadius:6},\"&::-ms-fill-upper\":{borderRadius:6},\"&::-ms-thumb\":{width:16,height:16,background:`${theme.input.background}`,border:`1px solid ${rgba(theme.appBorderColor,.2)}`,borderRadius:50,cursor:\"grab\",marginTop:0},\"@supports (-ms-ime-align:auto)\":{\"input[type=range]\":{margin:\"0\"}}})),RangeLabel=styled.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:\"nowrap\",fontFeatureSettings:\"tnum\",fontVariantNumeric:\"tabular-nums\"}),RangeCurrentAndMaxLabel=styled(RangeLabel)(({numberOFDecimalsPlaces,max})=>({width:`${numberOFDecimalsPlaces+max.toString().length*2+3}ch`,textAlign:\"right\",flexShrink:0})),RangeWrapper=styled.div({display:\"flex\",alignItems:\"center\",width:\"100%\"});function getNumberOfDecimalPlaces(number){let match=number.toString().match(/(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/);return match?Math.max(0,(match[1]?match[1].length:0)-(match[2]?+match[2]:0)):0}var RangeControl=({name,value:value2,onChange,min=0,max=100,step=1,onBlur,onFocus})=>{let handleChange=event=>{onChange(parse2(event.target.value));},hasValue=value2!==void 0,numberOFDecimalsPlaces=useMemo(()=>getNumberOfDecimalPlaces(step),[step]);return React17.createElement(RangeWrapper,null,React17.createElement(RangeLabel,null,min),React17.createElement(RangeInput,{id:getControlId(name),type:\"range\",onChange:handleChange,name,value:value2,min,max,step,onFocus,onBlur}),React17.createElement(RangeCurrentAndMaxLabel,{numberOFDecimalsPlaces,max},`${hasValue?value2.toFixed(numberOFDecimalsPlaces):\"--\"}`,\" / \",max))};var Wrapper6=styled.label({display:\"flex\"}),MaxLength=styled.div(({isMaxed})=>({marginLeft:\"0.75rem\",paddingTop:\"0.35rem\",color:isMaxed?\"red\":void 0})),TextControl=({name,value:value2,onChange,onFocus,onBlur,maxLength})=>{let handleChange=event=>{onChange(event.target.value);},[forceVisible,setForceVisible]=useState(!1),onForceVisible=useCallback(()=>{onChange(\"\"),setForceVisible(!0);},[setForceVisible]);if(value2===void 0)return React17.createElement(Form.Button,{id:getControlSetterButtonId(name),onClick:onForceVisible},\"Set string\");let isValid=typeof value2==\"string\";return React17.createElement(Wrapper6,null,React17.createElement(Form.Textarea,{id:getControlId(name),maxLength,onChange:handleChange,size:\"flex\",placeholder:\"Edit string...\",autoFocus:forceVisible,valid:isValid?null:\"error\",name,value:isValid?value2:\"\",onFocus,onBlur}),maxLength&&React17.createElement(MaxLength,{isMaxed:value2?.length===maxLength},value2?.length??0,\" / \",maxLength))};var FileInput=styled(Form.Input)({padding:10});function revokeOldUrls(urls){urls.forEach(url=>{url.startsWith(\"blob:\")&&URL.revokeObjectURL(url);});}var FilesControl=({onChange,name,accept=\"image/*\",value:value2})=>{let inputElement=useRef(null);function handleFileChange(e){if(!e.target.files)return;let fileUrls=Array.from(e.target.files).map(file=>URL.createObjectURL(file));onChange(fileUrls),revokeOldUrls(value2);}return useEffect(()=>{value2==null&&inputElement.current&&(inputElement.current.value=null);},[value2,name]),React17.createElement(FileInput,{ref:inputElement,id:getControlId(name),type:\"file\",name,multiple:!0,onChange:handleFileChange,accept,size:\"flex\"})};var LazyColorControl=lazy(()=>import('./Color-3YIJY6X7.mjs')),ColorControl=props=>React17.createElement(Suspense,{fallback:React17.createElement(\"div\",null)},React17.createElement(LazyColorControl,{...props}));var Controls2={array:ObjectControl,object:ObjectControl,boolean:BooleanControl,color:ColorControl,date:DateControl,number:NumberControl,check:OptionsControl,\"inline-check\":OptionsControl,radio:OptionsControl,\"inline-radio\":OptionsControl,select:OptionsControl,\"multi-select\":OptionsControl,range:RangeControl,text:TextControl,file:FilesControl},NoControl=()=>React17.createElement(React17.Fragment,null,\"-\"),ArgControl=({row,arg,updateArgs})=>{let{key,control}=row,[isFocused,setFocused]=useState(!1),[boxedValue,setBoxedValue]=useState({value:arg});useEffect(()=>{isFocused||setBoxedValue({value:arg});},[isFocused,arg]);let onChange=useCallback(argVal=>(setBoxedValue({value:argVal}),updateArgs({[key]:argVal}),argVal),[updateArgs,key]),onBlur=useCallback(()=>setFocused(!1),[]),onFocus=useCallback(()=>setFocused(!0),[]);if(!control||control.disable)return React17.createElement(NoControl,null);let props={name:key,argType:row,value:boxedValue.value,onChange,onBlur,onFocus},Control=Controls2[control.type]||NoControl;return React17.createElement(Control,{...props,...control,controlType:control.type})};var Name=styled.span({fontWeight:\"bold\"}),Required=styled.span(({theme})=>({color:theme.color.negative,fontFamily:theme.typography.fonts.mono,cursor:\"help\"})),Description=styled.div(({theme})=>({\"&&\":{p:{margin:\"0 0 10px 0\"},a:{color:theme.color.secondary}},code:{...codeCommon({theme}),fontSize:12,fontFamily:theme.typography.fonts.mono},\"& code\":{margin:0,display:\"inline-block\"},\"& pre > code\":{whiteSpace:\"pre-wrap\"}})),Type=styled.div(({theme,hasDescription})=>({color:theme.base===\"light\"?transparentize(.1,theme.color.defaultText):transparentize(.2,theme.color.defaultText),marginTop:hasDescription?4:0})),TypeWithJsDoc=styled.div(({theme,hasDescription})=>({color:theme.base===\"light\"?transparentize(.1,theme.color.defaultText):transparentize(.2,theme.color.defaultText),marginTop:hasDescription?12:0,marginBottom:12})),StyledTd=styled.td(({theme,expandable})=>({paddingLeft:expandable?\"40px !important\":\"20px !important\"})),ArgRow=props=>{let{row,updateArgs,compact,expandable,initialExpandedArgs}=props,{name,description}=row,table=row.table||{},type=table.type||row.type,defaultValue=table.defaultValue||row.defaultValue,required=row.type?.required,hasDescription=description!=null&&description!==\"\";return React17.createElement(\"tr\",null,React17.createElement(StyledTd,{expandable},React17.createElement(Name,null,name),required?React17.createElement(Required,{title:\"Required\"},\"*\"):null),compact?null:React17.createElement(\"td\",null,hasDescription&&React17.createElement(Description,null,React17.createElement(Markdown,null,description)),table.jsDocTags!=null?React17.createElement(React17.Fragment,null,React17.createElement(TypeWithJsDoc,{hasDescription},React17.createElement(ArgValue,{value:type,initialExpandedArgs})),React17.createElement(ArgJsDoc,{tags:table.jsDocTags})):React17.createElement(Type,{hasDescription},React17.createElement(ArgValue,{value:type,initialExpandedArgs}))),compact?null:React17.createElement(\"td\",null,React17.createElement(ArgValue,{value:defaultValue,initialExpandedArgs})),updateArgs?React17.createElement(\"td\",null,React17.createElement(ArgControl,{...props})):null)};var ExpanderIcon=styled(Icons)(({theme})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:theme.base===\"light\"?transparentize(.25,theme.color.defaultText):transparentize(.3,theme.color.defaultText),border:\"none\",display:\"inline-block\"})),FlexWrapper=styled.span(({theme})=>({display:\"flex\",lineHeight:\"20px\",alignItems:\"center\"})),Section=styled.td(({theme})=>({position:\"relative\",letterSpacing:\"0.35em\",textTransform:\"uppercase\",fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s1-1,color:theme.base===\"light\"?transparentize(.4,theme.color.defaultText):transparentize(.6,theme.color.defaultText),background:`${theme.background.app} !important`,\"& ~ td\":{background:`${theme.background.app} !important`}})),Subsection=styled.td(({theme})=>({position:\"relative\",fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s2-1,background:theme.background.app})),StyledTd2=styled.td(()=>({position:\"relative\"})),StyledTr=styled.tr(({theme})=>({\"&:hover > td\":{backgroundColor:`${lighten(.005,theme.background.app)} !important`,boxShadow:`${theme.color.mediumlight} 0 - 1px 0 0 inset`,cursor:\"row-resize\"}})),ClickIntercept=styled.button(()=>({background:\"none\",border:\"none\",padding:\"0\",font:\"inherit\",position:\"absolute\",top:0,bottom:0,left:0,right:0,height:\"100%\",width:\"100%\",color:\"transparent\",cursor:\"row-resize !important\"})),SectionRow=({level=\"section\",label,children,initialExpanded=!0,colSpan=3})=>{let[expanded,setExpanded]=useState(initialExpanded),Level=level===\"subsection\"?Subsection:Section,itemCount=children?.length||0,caption=level===\"subsection\"?`${itemCount} item${itemCount!==1?\"s\":\"\"}`:\"\",icon=expanded?\"arrowdown\":\"arrowright\",helperText=`${expanded?\"Hide\":\"Show\"} ${level===\"subsection\"?itemCount:label} item${itemCount!==1?\"s\":\"\"}`;return React17.createElement(React17.Fragment,null,React17.createElement(StyledTr,{title:helperText},React17.createElement(Level,{colSpan:1},React17.createElement(ClickIntercept,{onClick:e=>setExpanded(!expanded),tabIndex:0},helperText),React17.createElement(FlexWrapper,null,React17.createElement(ExpanderIcon,{icon}),label)),React17.createElement(StyledTd2,{colSpan:colSpan-1},React17.createElement(ClickIntercept,{onClick:e=>setExpanded(!expanded),tabIndex:-1,style:{outline:\"none\"}},helperText),expanded?null:caption)),expanded?children:null)};var TableWrapper=styled.table(({theme,compact,inAddonPanel})=>({\"&&\":{borderSpacing:0,color:theme.color.defaultText,\"td, th\":{padding:0,border:\"none\",verticalAlign:\"top\",textOverflow:\"ellipsis\"},fontSize:theme.typography.size.s2-1,lineHeight:\"20px\",textAlign:\"left\",width:\"100%\",marginTop:inAddonPanel?0:25,marginBottom:inAddonPanel?0:40,\"thead th:first-of-type, td:first-of-type\":{width:\"25%\"},\"th:first-of-type, td:first-of-type\":{paddingLeft:20},\"th:nth-of-type(2), td:nth-of-type(2)\":{...compact?null:{width:\"35%\"}},\"td:nth-of-type(3)\":{...compact?null:{width:\"15%\"}},\"th:last-of-type, td:last-of-type\":{paddingRight:20,...compact?null:{width:\"25%\"}},th:{color:theme.base===\"light\"?transparentize(.25,theme.color.defaultText):transparentize(.45,theme.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:\"10px\",paddingBottom:\"10px\",\"&:not(:first-of-type)\":{paddingLeft:15,paddingRight:15},\"&:last-of-type\":{paddingRight:20}},marginLeft:inAddonPanel?0:1,marginRight:inAddonPanel?0:1,tbody:{...inAddonPanel?null:{filter:theme.base===\"light\"?\"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))\":\"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))\"},\"> tr > *\":{background:theme.background.content,borderTop:`1px solid ${theme.appBorderColor}`},...inAddonPanel?null:{\"> tr:first-of-type > *\":{borderBlockStart:`1px solid ${theme.appBorderColor}`},\"> tr:last-of-type > *\":{borderBlockEnd:`1px solid ${theme.appBorderColor}`},\"> tr > *:first-of-type\":{borderInlineStart:`1px solid ${theme.appBorderColor}`},\"> tr > *:last-of-type\":{borderInlineEnd:`1px solid ${theme.appBorderColor}`},\"> tr:first-of-type > td:first-of-type\":{borderTopLeftRadius:theme.appBorderRadius},\"> tr:first-of-type > td:last-of-type\":{borderTopRightRadius:theme.appBorderRadius},\"> tr:last-of-type > td:first-of-type\":{borderBottomLeftRadius:theme.appBorderRadius},\"> tr:last-of-type > td:last-of-type\":{borderBottomRightRadius:theme.appBorderRadius}}}}}),({isLoading,theme})=>isLoading?{\"th span, td span, td button\":{display:\"inline\",backgroundColor:theme.appBorderColor,animation:`${theme.animation.glow} 1.5s ease-in-out infinite`,color:\"transparent\",boxShadow:\"none\",borderRadius:0}}:{}),StyledIconButton=styled(IconButton)(({theme})=>({color:theme.barTextColor,margin:\"-4px -12px -4px 0\"})),ControlHeadingWrapper=styled.span({display:\"flex\",justifyContent:\"space-between\"});var sortFns={alpha:(a,b)=>a.name.localeCompare(b.name),requiredFirst:(a,b)=>Number(!!b.type?.required)-Number(!!a.type?.required)||a.name.localeCompare(b.name),none:void 0},rowLoadingData=key=>({key,name:\"propertyName\",description:\"This is a short description\",control:{type:\"text\"},table:{type:{summary:\"summary\"},defaultValue:{summary:\"defaultValue\"}}}),argsTableLoadingData={rows:{row1:rowLoadingData(\"row1\"),row2:rowLoadingData(\"row2\"),row3:rowLoadingData(\"row3\")}},groupRows=(rows,sort)=>{let sections={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!rows)return sections;Object.entries(rows).forEach(([key,row])=>{let{category,subcategory}=row?.table||{};if(category){let section=sections.sections[category]||{ungrouped:[],subsections:{}};if(!subcategory)section.ungrouped.push({key,...row});else {let subsection=section.subsections[subcategory]||[];subsection.push({key,...row}),section.subsections[subcategory]=subsection;}sections.sections[category]=section;}else if(subcategory){let subsection=sections.ungroupedSubsections[subcategory]||[];subsection.push({key,...row}),sections.ungroupedSubsections[subcategory]=subsection;}else sections.ungrouped.push({key,...row});});let sortFn=sortFns[sort],sortSubsection=record=>sortFn?Object.keys(record).reduce((acc,cur)=>({...acc,[cur]:record[cur].sort(sortFn)}),{}):record;return {ungrouped:sections.ungrouped.sort(sortFn),ungroupedSubsections:sortSubsection(sections.ungroupedSubsections),sections:Object.keys(sections.sections).reduce((acc,cur)=>({...acc,[cur]:{ungrouped:sections.sections[cur].ungrouped.sort(sortFn),subsections:sortSubsection(sections.sections[cur].subsections)}}),{})}},safeIncludeConditionalArg=(row,args,globals)=>{try{return includeConditionalArg(row,args,globals)}catch(err){return once.warn(err.message),!1}},ArgsTable=props=>{if(\"error\"in props)return React17.createElement(EmptyBlock,null,props.error,\"\\xA0\",React17.createElement(Link,{href:\"http://storybook.js.org/docs/\",target:\"_blank\",withArrow:!0},\"Read the docs\"));let{updateArgs,resetArgs,compact,inAddonPanel,initialExpandedArgs,sort=\"none\"}=props,isLoading=\"isLoading\"in props,{rows,args,globals}=\"rows\"in props?props:argsTableLoadingData,groups=groupRows(pickBy(rows,row=>!row?.table?.disable&&safeIncludeConditionalArg(row,args||{},globals||{})),sort);if(groups.ungrouped.length===0&&Object.entries(groups.sections).length===0&&Object.entries(groups.ungroupedSubsections).length===0)return React17.createElement(EmptyBlock,null,\"No inputs found for this component.\\xA0\",React17.createElement(Link,{href:\"http://storybook.js.org/docs/\",target:\"_blank\",withArrow:!0},\"Read the docs\"));let colSpan=1;updateArgs&&(colSpan+=1),compact||(colSpan+=2);let expandable=Object.keys(groups.sections).length>0,common={updateArgs,compact,inAddonPanel,initialExpandedArgs};return React17.createElement(ResetWrapper,null,React17.createElement(TableWrapper,{\"aria-hidden\":isLoading,compact,inAddonPanel,isLoading,className:\"docblock-argstable sb-unstyled\"},React17.createElement(\"thead\",{className:\"docblock-argstable-head\"},React17.createElement(\"tr\",null,React17.createElement(\"th\",null,React17.createElement(\"span\",null,\"Name\")),compact?null:React17.createElement(\"th\",null,React17.createElement(\"span\",null,\"Description\")),compact?null:React17.createElement(\"th\",null,React17.createElement(\"span\",null,\"Default\")),updateArgs?React17.createElement(\"th\",null,React17.createElement(ControlHeadingWrapper,null,\"Control\",\" \",!isLoading&&resetArgs&&React17.createElement(StyledIconButton,{onClick:()=>resetArgs(),title:\"Reset controls\"},React17.createElement(Icons,{icon:\"undo\",\"aria-hidden\":!0})))):null)),React17.createElement(\"tbody\",{className:\"docblock-argstable-body\"},groups.ungrouped.map(row=>React17.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],...common})),Object.entries(groups.ungroupedSubsections).map(([subcategory,subsection])=>React17.createElement(SectionRow,{key:subcategory,label:subcategory,level:\"subsection\",colSpan},subsection.map(row=>React17.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],expandable,...common})))),Object.entries(groups.sections).map(([category,section])=>React17.createElement(SectionRow,{key:category,label:category,level:\"section\",colSpan},section.ungrouped.map(row=>React17.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],...common})),Object.entries(section.subsections).map(([subcategory,subsection])=>React17.createElement(SectionRow,{key:subcategory,label:subcategory,level:\"subsection\",colSpan},subsection.map(row=>React17.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],expandable,...common})))))))))};var TabbedArgsTable=({tabs,...props})=>{let entries=Object.entries(tabs);return entries.length===1?React17.createElement(ArgsTable,{...entries[0][1],...props}):React17.createElement(TabsState,null,entries.map(entry=>{let[label,table]=entry,id=`prop_table_div_${label}`;return React17.createElement(\"div\",{key:id,id,title:label},({active})=>active?React17.createElement(ArgsTable,{key:`prop_table_${label}`,...table,...props}):null)}))};var NoControlsWrapper=styled.div(({theme})=>({background:theme.background.warning,color:theme.color.darkest,padding:\"10px 15px\",lineHeight:\"20px\",boxShadow:`${theme.appBorderColor} 0 -1px 0 0 inset`})),NoControlsWarning=()=>React17.createElement(NoControlsWrapper,null,\"This story is not configured to handle controls.\",\" \",React17.createElement(Link,{href:\"https://storybook.js.org/docs/react/essentials/controls\",target:\"_blank\",cancel:!1,withArrow:!0},\"Learn how to add controls\"));var Label4=styled.div(({theme})=>({marginRight:30,fontSize:`${theme.typography.size.s1}px`,color:theme.base===\"light\"?transparentize(.4,theme.color.defaultText):transparentize(.6,theme.color.defaultText)})),Sample=styled.div({overflow:\"hidden\",whiteSpace:\"nowrap\",textOverflow:\"ellipsis\"}),TypeSpecimen=styled.div({display:\"flex\",flexDirection:\"row\",alignItems:\"baseline\",\"&:not(:last-child)\":{marginBottom:\"1rem\"}}),Wrapper7=styled.div(withReset,({theme})=>({...getBlockBackgroundStyle(theme),margin:\"25px 0 40px\",padding:\"30px 20px\"})),Typeset=({fontFamily,fontSizes,fontWeight,sampleText,...props})=>React17.createElement(Wrapper7,{...props,className:\"docblock-typeset sb-unstyled\"},fontSizes.map(size=>React17.createElement(TypeSpecimen,{key:size},React17.createElement(Label4,null,size),React17.createElement(Sample,{style:{fontFamily,fontSize:size,fontWeight,lineHeight:1.2}},sampleText||\"Was he a beast if music could move him so?\"))));var ItemTitle=styled.div(({theme})=>({fontWeight:theme.typography.weight.bold,color:theme.color.defaultText})),ItemSubtitle=styled.div(({theme})=>({color:theme.base===\"light\"?transparentize(.2,theme.color.defaultText):transparentize(.6,theme.color.defaultText)})),ItemDescription=styled.div({flex:\"0 0 30%\",lineHeight:\"20px\",marginTop:5}),SwatchLabel=styled.div(({theme})=>({flex:1,textAlign:\"center\",fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,lineHeight:1,overflow:\"hidden\",color:theme.base===\"light\"?transparentize(.4,theme.color.defaultText):transparentize(.6,theme.color.defaultText),\"> div\":{display:\"inline-block\",overflow:\"hidden\",maxWidth:\"100%\",textOverflow:\"ellipsis\"},span:{display:\"block\",marginTop:2}})),SwatchLabels=styled.div({display:\"flex\",flexDirection:\"row\"}),Swatch=styled.div(({background})=>({position:\"relative\",flex:1,\"&::before\":{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",background,content:'\"\"'}})),SwatchColors=styled.div(({theme})=>({...getBlockBackgroundStyle(theme),display:\"flex\",flexDirection:\"row\",height:50,marginBottom:5,overflow:\"hidden\",backgroundColor:\"white\",backgroundImage:\"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)\",backgroundClip:\"padding-box\"})),SwatchSpecimen=styled.div({display:\"flex\",flexDirection:\"column\",flex:1,position:\"relative\",marginBottom:30}),Swatches=styled.div({flex:1,display:\"flex\",flexDirection:\"row\"}),Item=styled.div({display:\"flex\",alignItems:\"flex-start\"}),ListName=styled.div({flex:\"0 0 30%\"}),ListSwatches=styled.div({flex:1}),ListHeading=styled.div(({theme})=>({display:\"flex\",flexDirection:\"row\",alignItems:\"center\",paddingBottom:20,fontWeight:theme.typography.weight.bold,color:theme.base===\"light\"?transparentize(.4,theme.color.defaultText):transparentize(.6,theme.color.defaultText)})),List=styled.div(({theme})=>({fontSize:theme.typography.size.s2,lineHeight:\"20px\",display:\"flex\",flexDirection:\"column\"}));function renderSwatch(color,index){return React17.createElement(Swatch,{key:`${color}-${index}`,title:color,background:color})}function renderSwatchLabel(color,index,colorDescription){return React17.createElement(SwatchLabel,{key:`${color}-${index}`,title:color},React17.createElement(\"div\",null,color,colorDescription&&React17.createElement(\"span\",null,colorDescription)))}function renderSwatchSpecimen(colors){return Array.isArray(colors)?React17.createElement(SwatchSpecimen,null,React17.createElement(SwatchColors,null,colors.map((color,index)=>renderSwatch(color,index))),React17.createElement(SwatchLabels,null,colors.map((color,index)=>renderSwatchLabel(color,index)))):React17.createElement(SwatchSpecimen,null,React17.createElement(SwatchColors,null,Object.values(colors).map((color,index)=>renderSwatch(color,index))),React17.createElement(SwatchLabels,null,Object.keys(colors).map((color,index)=>renderSwatchLabel(color,index,colors[color]))))}var ColorItem=({title,subtitle,colors})=>React17.createElement(Item,null,React17.createElement(ItemDescription,null,React17.createElement(ItemTitle,null,title),React17.createElement(ItemSubtitle,null,subtitle)),React17.createElement(Swatches,null,renderSwatchSpecimen(colors))),ColorPalette=({children,...props})=>React17.createElement(ResetWrapper,null,React17.createElement(List,{...props,className:\"docblock-colorpalette sb-unstyled\"},React17.createElement(ListHeading,null,React17.createElement(ListName,null,\"Name\"),React17.createElement(ListSwatches,null,\"Swatches\")),children));var ItemLabel=styled.div(({theme})=>({fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s2,color:theme.color.defaultText,marginLeft:10,lineHeight:1.2})),ItemSpecimen=styled.div(({theme})=>({...getBlockBackgroundStyle(theme),overflow:\"hidden\",height:40,width:40,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flex:\"none\",\"> img, > svg\":{width:20,height:20}})),Item2=styled.div({display:\"inline-flex\",flexDirection:\"row\",alignItems:\"center\",flex:\"0 1 calc(20% - 10px)\",minWidth:120,margin:\"0px 10px 30px 0\"}),List2=styled.div({display:\"flex\",flexFlow:\"row wrap\"}),IconItem=({name,children})=>React17.createElement(Item2,null,React17.createElement(ItemSpecimen,null,children),React17.createElement(ItemLabel,null,name)),IconGallery=({children,...props})=>React17.createElement(ResetWrapper,null,React17.createElement(List2,{...props,className:\"docblock-icongallery sb-unstyled\"},children));var anchorBlockIdFromId=storyId=>`anchor--${storyId}`,Anchor=({storyId,children})=>React17.createElement(\"div\",{id:anchorBlockIdFromId(storyId),className:\"sb-anchor\"},children);global&&global.__DOCS_CONTEXT__===void 0&&(global.__DOCS_CONTEXT__=createContext(null),global.__DOCS_CONTEXT__.displayName=\"DocsContext\");var DocsContext=global?global.__DOCS_CONTEXT__:createContext(null);var useOf=(moduleExportOrType,validTypes)=>useContext(DocsContext).resolveOf(moduleExportOrType,validTypes);function extractComponentArgTypes(component,parameters){let{extractArgTypes}=parameters.docs||{};if(!extractArgTypes)throw new Error(\"Args unsupported. See Args documentation for your framework.\");return extractArgTypes(component)}function getArgTypesFromResolved(resolved,props){if(resolved.type===\"component\"){let{component,projectAnnotations:{parameters:parameters2}}=resolved;return {argTypes:extractComponentArgTypes(component,parameters2),parameters:parameters2}}if(resolved.type===\"meta\"){let{preparedMeta:{argTypes:argTypes2,parameters:parameters2}}=resolved;return {argTypes:argTypes2,parameters:parameters2}}let{story:{argTypes,parameters}}=resolved;return {argTypes,parameters}}var ArgTypes=props=>{let{of}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");let resolved=useOf(of||\"meta\"),{argTypes,parameters}=getArgTypesFromResolved(resolved),argTypesParameters=parameters.docs?.argTypes||{},include=props.include??argTypesParameters.include,exclude=props.exclude??argTypesParameters.exclude,sort=props.sort??argTypesParameters.sort,filteredArgTypes=filterArgTypes(argTypes,include,exclude);return React17.createElement(ArgsTable,{rows:filteredArgTypes,sort})};var PRIMARY_STORY=\"^\";var titleCase=str2=>str2.split(\"-\").map(part=>part.charAt(0).toUpperCase()+part.slice(1)).join(\"\"),getComponentName=component=>{if(component)return typeof component==\"string\"?component.includes(\"-\")?titleCase(component):component:component.__docgenInfo&&component.__docgenInfo.displayName?component.__docgenInfo.displayName:component.name};function scrollToElement(element,block=\"start\"){element.scrollIntoView({behavior:\"smooth\",block,inline:\"nearest\"});}function useStory(storyId,context){let stories=useStories([storyId],context);return stories&&stories[0]}function useStories(storyIds,context){let[storiesById,setStories]=useState({});return useEffect(()=>{Promise.all(storyIds.map(async storyId=>{let story=await context.loadStory(storyId);setStories(current=>current[storyId]===story?current:{...current,[storyId]:story});}));}),storyIds.map(storyId=>{if(storiesById[storyId])return storiesById[storyId];try{return context.storyById(storyId)}catch{return null}})}var useArgs=(storyId,context)=>{let storyContext=context.getStoryContext(context.storyById()),[args,setArgs]=useState(storyContext.args);useEffect(()=>{let cb=changed=>{changed.storyId===storyId&&setArgs(changed.args);};return context.channel.on(STORY_ARGS_UPDATED,cb),()=>context.channel.off(STORY_ARGS_UPDATED,cb)},[storyId]);let updateArgs=useCallback(updatedArgs=>context.channel.emit(UPDATE_STORY_ARGS,{storyId,updatedArgs}),[storyId]),resetArgs=useCallback(argNames=>context.channel.emit(RESET_STORY_ARGS,{storyId,argNames}),[storyId]);return [args,updateArgs,resetArgs]},useGlobals=context=>{let storyContext=context.getStoryContext(context.storyById()),[globals,setGlobals]=useState(storyContext.globals);return useEffect(()=>{let cb=changed=>{setGlobals(changed.globals);};return context.channel.on(GLOBALS_UPDATED,cb),()=>context.channel.off(GLOBALS_UPDATED,cb)},[]),[globals]},extractComponentArgTypes2=(component,parameters,include,exclude)=>{let{extractArgTypes}=parameters.docs||{};if(!extractArgTypes)throw new Error(\"Args unsupported. See Args documentation for your framework.\");let argTypes=extractArgTypes(component);return argTypes=filterArgTypes(argTypes,include,exclude),argTypes},isShortcut=value2=>value2&&[PRIMARY_STORY].includes(value2),getComponent=(props={},component)=>{let{of}=props,{story}=props;if(isShortcut(of)||isShortcut(story))return component||null;if(!of)throw new Error(\"No component found.\");return of},addComponentTabs=(tabs,components2,parameters,include,exclude,sort)=>({...tabs,...mapValues(components2,comp=>({rows:extractComponentArgTypes2(comp,parameters,include,exclude),sort}))}),StoryTable=props=>{let context=useContext(DocsContext),{story:storyName,component,subcomponents,showComponent,include,exclude,sort}=props;try{let storyId;switch(storyName){case PRIMARY_STORY:{storyId=context.storyById().id;break}default:storyId=context.storyIdByName(storyName);}let story=useStory(storyId,context),[args,updateArgs,resetArgs]=useArgs(storyId,context),[globals]=useGlobals(context);if(!story)return React17.createElement(ArgsTable,{isLoading:!0,updateArgs,resetArgs});let argTypes=filterArgTypes(story.argTypes,include,exclude),mainLabel=getComponentName(component)||\"Story\",tabs={[mainLabel]:{rows:argTypes,args,globals,updateArgs,resetArgs}},storyHasArgsWithControls=argTypes&&Object.values(argTypes).find(v=>!!v?.control);if(storyHasArgsWithControls||(updateArgs=null,resetArgs=null,tabs={}),component&&(!storyHasArgsWithControls||showComponent)&&(tabs=addComponentTabs(tabs,{[mainLabel]:component},story.parameters,include,exclude)),subcomponents){if(Array.isArray(subcomponents))throw new Error(\"Unexpected subcomponents array. Expected an object whose keys are tab labels and whose values are components.\");tabs=addComponentTabs(tabs,subcomponents,story.parameters,include,exclude);}return React17.createElement(TabbedArgsTable,{tabs,sort})}catch(err){return React17.createElement(ArgsTable,{error:err.message})}},ComponentsTable=props=>{let{components:components2,include,exclude,sort,parameters}=props,tabs=addComponentTabs({},components2,parameters,include,exclude);return React17.createElement(TabbedArgsTable,{tabs,sort})},ArgsTable2=props=>{deprecate(dedent2`The ArgsTable doc block is deprecated. Instead use the ArgTypes doc block for static tables or the Controls doc block for tables with controls.\n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#argstable-block\n `);let context=useContext(DocsContext),parameters,component,subcomponents;try{({parameters,component,subcomponents}=context.storyById());}catch{let{of}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");({projectAnnotations:{parameters}}=context.resolveOf(of,[\"component\"]));}let{include,exclude,components:components2,sort:sortProp}=props,{story:storyName}=props,sort=sortProp||parameters.controls?.sort,main=getComponent(props,component);if(storyName)return React17.createElement(StoryTable,{...props,component:main,subcomponents,sort});if(!components2&&!subcomponents){let mainProps;try{mainProps={rows:extractComponentArgTypes2(main,parameters,include,exclude)};}catch(err){mainProps={error:err.message};}return React17.createElement(ArgsTable,{...mainProps,sort})}if(components2)return React17.createElement(ComponentsTable,{...props,components:components2,sort,parameters});let mainLabel=getComponentName(main);return React17.createElement(ComponentsTable,{...props,components:{[mainLabel]:main,...subcomponents},sort,parameters})};ArgsTable2.defaultProps={of:PRIMARY_STORY};function argsHash(args){return stringify(args)}var SourceContext=createContext({sources:{}}),UNKNOWN_ARGS_HASH=\"--unknown--\",SourceContainer=({children,channel})=>{let[sources,setSources]=useState({});return useEffect(()=>{let handleSnippetRendered=(idOrEvent,inputSource=null,inputFormat=!1)=>{let{id,args=void 0,source,format:format2}=typeof idOrEvent==\"string\"?{id:idOrEvent,source:inputSource,format:inputFormat}:idOrEvent,hash=args?argsHash(args):UNKNOWN_ARGS_HASH;sources[id]&&sources[id][hash]&&sources[id][hash].code===source||setSources(current=>{let newSources={...current,[id]:{...current[id],[hash]:{code:source,format:format2}}};return dequal(current,newSources)?current:newSources});};return channel.on(SNIPPET_RENDERED,handleSnippetRendered),()=>channel.off(SNIPPET_RENDERED,handleSnippetRendered)},[]),React17.createElement(SourceContext.Provider,{value:{sources}},children)};var SourceState=(SourceState2=>(SourceState2.OPEN=\"open\",SourceState2.CLOSED=\"closed\",SourceState2.NONE=\"none\",SourceState2))(SourceState||{}),getSourceState=stories=>{let states=stories.map(story=>story.parameters.docs?.source?.state).filter(Boolean);return states.length===0?\"closed\":states[0]},getStorySource=(storyId,args,sourceContext)=>{let{sources}=sourceContext,sourceMap=sources?.[storyId];return sourceMap?.[argsHash(args)]||sourceMap?.[UNKNOWN_ARGS_HASH]||{code:\"\"}},getSnippet=({snippet,storyContext,typeFromProps,transformFromProps})=>{let{__isArgsStory:isArgsStory}=storyContext.parameters,sourceParameters=storyContext.parameters.docs?.source||{},type=typeFromProps||sourceParameters.type||SourceType.AUTO;if(sourceParameters.code!==void 0)return sourceParameters.code;let code=type===SourceType.DYNAMIC||type===SourceType.AUTO&&snippet&&isArgsStory?snippet:sourceParameters.originalSource||\"\";return sourceParameters.transformSource&&deprecate(dedent2`The \\`transformSource\\` parameter at \\`parameters.docs.source.transformSource\\` is deprecated, please use \\`parameters.docs.source.transform\\` instead. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block\n `),storyContext.parameters.docs?.transformSource&&deprecate(dedent2`The \\`transformSource\\` parameter at \\`parameters.docs.transformSource\\` is deprecated, please use \\`parameters.docs.source.transform\\` instead. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block\n `),storyContext.parameters.jsx?.transformSource&&deprecate(dedent2`The \\`transformSource\\` parameter at \\`parameters.jsx.transformSource\\` is deprecated, please use \\`parameters.docs.source.transform\\` instead. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block\n `),(transformFromProps??sourceParameters.transform??sourceParameters.transformSource??storyContext.parameters.docs?.transformSource??storyContext.parameters.jsx?.transformSource)?.(code,storyContext)||code},useSourceProps=(props,docsContext,sourceContext)=>{let storyIds=props.ids||(props.id?[props.id]:[]),storiesFromIds=useStories(storyIds,docsContext),stories=storiesFromIds,{of}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");if(of)stories=[docsContext.resolveOf(of,[\"story\"]).story];else if(stories.length===0)try{stories=[docsContext.storyById()];}catch{}if(!storiesFromIds.every(Boolean))return {error:\"Oh no! The source is not available.\",state:\"none\"};let sourceParameters=stories[0]?.parameters?.docs?.source||{},{code}=props,format2=props.format??sourceParameters.format,language=props.language??sourceParameters.language??\"jsx\",dark=props.dark??sourceParameters.dark??!1;code||(code=stories.map((story,index)=>{if(!story)return \"\";let storyContext=docsContext.getStoryContext(story),argsForSource=props.__forceInitialArgs?storyContext.initialArgs:storyContext.unmappedArgs,source=getStorySource(story.id,argsForSource,sourceContext);return index===0&&(format2=source.format??story.parameters.docs?.source?.format??!1),getSnippet({snippet:source.code,storyContext:{...storyContext,args:argsForSource},typeFromProps:props.type,transformFromProps:props.transform})}).join(`\n\n`));let state=getSourceState(stories);return code?{code,format:format2,language,dark,state}:{error:\"Oh no! The source is not available.\",state}},Source2=props=>{props.id&&deprecate(dedent2`The \\`id\\` prop on Source is deprecated, please use the \\`of\\` prop instead to reference a story. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block\n `),props.ids&&deprecate(dedent2`The \\`ids\\` prop on Source is deprecated, please use the \\`of\\` prop instead to reference a story. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block\n `);let sourceContext=useContext(SourceContext),docsContext=useContext(DocsContext),{state,...sourceProps}=useSourceProps(props,docsContext,sourceContext);return React17.createElement(Source,{...sourceProps})};var getStoryId2=(props,context)=>{let{id,of,meta,story}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");if(id)return deprecate(dedent2`Referencing stories by \\`id\\` is deprecated, please use \\`of\\` instead. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),id;let{name}=props;return name?(deprecate(dedent2`Referencing stories by \\`name\\` is deprecated, please use \\`of\\` instead. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),context.storyIdByName(name)):(story&&deprecate(dedent2`The \\`story\\` prop is deprecated, please export your stories from CSF files and reference them with \\`of={}\\`.\n\n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),meta&&context.referenceMeta(meta,!1),context.resolveOf(of||story||\"story\",[\"story\"]).story.id)},getStoryProps=(props,story,context)=>{let{parameters={}}=story||{},{docs={}}=parameters,storyParameters=docs.story||{};if(docs.disable)return null;let{inlineStories,iframeHeight}=docs;typeof inlineStories<\"u\"&&deprecate(dedent2`The \\`docs.inlineStories\\` parameter is deprecated, use \\`docs.story.inline\\` instead. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'\n `);let inline=props.inline??storyParameters.inline??inlineStories??!1;if(typeof iframeHeight<\"u\"&&deprecate(dedent2`The \\`docs.iframeHeight\\` parameter is deprecated, use \\`docs.story.iframeHeight\\` instead. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'\n `),inline){let height2=props.height??storyParameters.height,autoplay=props.autoplay??storyParameters.autoplay??!1;return {story,inline:!0,height:height2,autoplay,forceInitialArgs:!!props.__forceInitialArgs,primary:!!props.__primary,renderStoryToElement:context.renderStoryToElement}}let height=props.height??storyParameters.height??storyParameters.iframeHeight??iframeHeight??\"100px\";return {story,inline:!1,height,primary:!!props.__primary}},Story2=(props={__forceInitialArgs:!1,__primary:!1})=>{let context=useContext(DocsContext),storyId=getStoryId2(props,context),story=useStory(storyId,context);if(!story)return React17.createElement(StorySkeleton,null);let storyProps=getStoryProps(props,story,context);return storyProps?React17.createElement(Story,{...storyProps}):null};var useDeprecatedPreviewProps=({withSource,mdxSource,children,layout:layoutProp,...props},docsContext,sourceContext)=>{let storyIds=Children.toArray(children).filter(c=>c.props&&(c.props.id||c.props.name||c.props.of)).map(c=>getStoryId2(c.props,docsContext)),stories=useStories(storyIds,docsContext),isLoading=stories.some(s=>!s),sourceProps=useSourceProps({...mdxSource?{code:decodeURI(mdxSource)}:{ids:storyIds},...props.of&&{of:props.of}},docsContext,sourceContext);if(withSource===\"none\")return {isLoading,previewProps:props};let layout=layoutProp;return Children.forEach(children,child=>{layout||(layout=child?.props?.parameters?.layout);}),stories.forEach(story=>{layout||!story||(layout=story?.parameters.layout??story.parameters.docs?.canvas?.layout);}),{isLoading,previewProps:{...props,layout:layout??\"padded\",withSource:sourceProps,isExpanded:(withSource||sourceProps.state)===\"open\"}}},Canvas=props=>{let docsContext=useContext(DocsContext),sourceContext=useContext(SourceContext),{children,of,source}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");let{isLoading,previewProps}=useDeprecatedPreviewProps(props,docsContext,sourceContext),story,sourceProps,hookError;try{({story}=useOf(of||\"story\",[\"story\"]));}catch(error){children||(hookError=error);}try{sourceProps=useSourceProps({...source,...of&&{of}},docsContext,sourceContext);}catch(error){children||(hookError=error);}if(hookError)throw hookError;if(props.withSource&&deprecate(dedent2`Setting source state with \\`withSource\\` is deprecated, please use \\`sourceState\\` with 'hidden', 'shown' or 'none' instead. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block\n `),props.mdxSource&&deprecate(dedent2`Setting source code with \\`mdxSource\\` is deprecated, please use source={{code: '...'}} instead. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block\n `),(props.isColumn!==void 0||props.columns!==void 0)&&deprecate(dedent2`\\`isColumn\\` and \\`columns\\` props are deprecated as the Canvas block now only supports showing a single story. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block\n `),children)return deprecate(dedent2`Passing children to Canvas is deprecated, please use the \\`of\\` prop instead to reference a story. \n \n Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block\n `),isLoading?React17.createElement(PreviewSkeleton,null):React17.createElement(Preview,{...previewProps},children);let layout=props.layout??story.parameters.layout??story.parameters.docs?.canvas?.layout??\"padded\",withToolbar=props.withToolbar??story.parameters.docs?.canvas?.withToolbar??!1,additionalActions=props.additionalActions??story.parameters.docs?.canvas?.additionalActions,sourceState=props.sourceState??story.parameters.docs?.canvas?.sourceState??\"hidden\",className=props.className??story.parameters.docs?.canvas?.className;return React17.createElement(Preview,{withSource:sourceState===\"none\"?void 0:sourceProps,isExpanded:sourceState===\"shown\",withToolbar,additionalActions,className,layout},React17.createElement(Story2,{of:of||story.moduleExport,meta:props.meta,...props.story}))};var useGlobals2=(story,context)=>{let storyContext=context.getStoryContext(story),[globals,setGlobals]=useState(storyContext.globals);return useEffect(()=>{let onGlobalsUpdated=changed=>{setGlobals(changed.globals);};return context.channel.on(GLOBALS_UPDATED,onGlobalsUpdated),()=>context.channel.off(GLOBALS_UPDATED,onGlobalsUpdated)},[context.channel]),[globals]};var useArgs2=(story,context)=>{let result=useArgsIfDefined(story,context);if(!result)throw new Error(\"No result when story was defined\");return result},useArgsIfDefined=(story,context)=>{let storyContext=story?context.getStoryContext(story):{args:{}},{id:storyId}=story||{id:\"none\"},[args,setArgs]=useState(storyContext.args);useEffect(()=>{let onArgsUpdated=changed=>{changed.storyId===storyId&&setArgs(changed.args);};return context.channel.on(STORY_ARGS_UPDATED,onArgsUpdated),()=>context.channel.off(STORY_ARGS_UPDATED,onArgsUpdated)},[storyId,context.channel]);let updateArgs=useCallback(updatedArgs=>context.channel.emit(UPDATE_STORY_ARGS,{storyId,updatedArgs}),[storyId,context.channel]),resetArgs=useCallback(argNames=>context.channel.emit(RESET_STORY_ARGS,{storyId,argNames}),[storyId,context.channel]);return story&&[args,updateArgs,resetArgs]};var Controls3=props=>{let{of}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");let context=useContext(DocsContext),{story}=context.resolveOf(of||\"story\",[\"story\"]),{parameters,argTypes}=story,controlsParameters=parameters.docs?.controls||{},include=props.include??controlsParameters.include,exclude=props.exclude??controlsParameters.exclude,sort=props.sort??controlsParameters.sort,[args,updateArgs,resetArgs]=useArgs2(story,context),[globals]=useGlobals2(story,context),filteredArgTypes=filterArgTypes(argTypes,include,exclude);return React17.createElement(ArgsTable,{rows:filteredArgTypes,args,globals,updateArgs,resetArgs,sort})};var {document:document2}=global,assertIsFn=val=>{if(typeof val!=\"function\")throw new Error(`Expected story function, got: ${val}`);return val},AddContext=props=>{let{children,...rest}=props,parentContext=React17.useContext(DocsContext);return React17.createElement(DocsContext.Provider,{value:{...parentContext,...rest}},children)},CodeOrSourceMdx=({className,children,...rest})=>{if(typeof className!=\"string\"&&(typeof children!=\"string\"||!children.match(/[\\n\\r]/g)))return React17.createElement(Code,null,children);let language=className&&className.split(\"-\");return React17.createElement(Source,{language:language&&language[1]||\"plaintext\",format:!1,code:children,...rest})};function navigate(context,url){context.channel.emit(NAVIGATE_URL,url);}var A=components.a,AnchorInPage=({hash,children})=>{let context=useContext(DocsContext);return React17.createElement(A,{href:hash,target:\"_self\",onClick:event=>{let id=hash.substring(1);document2.getElementById(id)&&navigate(context,hash);}},children)},AnchorMdx=props=>{let{href,target,children,...rest}=props,context=useContext(DocsContext);if(href){if(href.startsWith(\"#\"))return React17.createElement(AnchorInPage,{hash:href},children);if(target!==\"_blank\"&&!href.startsWith(\"https://\"))return React17.createElement(A,{href,onClick:event=>{event.button===0&&!event.altKey&&!event.ctrlKey&&!event.metaKey&&!event.shiftKey&&(event.preventDefault(),navigate(context,event.currentTarget.getAttribute(\"href\")));},target,...rest},children)}return React17.createElement(A,{...props})},SUPPORTED_MDX_HEADERS=[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"],OcticonHeaders=SUPPORTED_MDX_HEADERS.reduce((acc,headerType)=>({...acc,[headerType]:styled(headerType)({\"& svg\":{position:\"relative\",top:\"-0.1em\",visibility:\"hidden\"},\"&:hover svg\":{visibility:\"visible\"}})}),{}),OcticonAnchor=styled.a(()=>({float:\"left\",lineHeight:\"inherit\",paddingRight:\"10px\",marginLeft:\"-24px\",color:\"inherit\"})),HeaderWithOcticonAnchor=({as,id,children,...rest})=>{let context=useContext(DocsContext),OcticonHeader=OcticonHeaders[as],hash=`#${id}`;return React17.createElement(OcticonHeader,{id,...rest},React17.createElement(OcticonAnchor,{\"aria-hidden\":\"true\",href:hash,tabIndex:-1,target:\"_self\",onClick:event=>{document2.getElementById(id)&&navigate(context,hash);}},React17.createElement(Icons,{icon:\"link\"})),children)},HeaderMdx=props=>{let{as,id,children,...rest}=props;if(id)return React17.createElement(HeaderWithOcticonAnchor,{as,id,...rest},children);let Component4=as,{as:omittedAs,...withoutAs}=props;return React17.createElement(Component4,{...nameSpaceClassNames(withoutAs,as)})},HeadersMdx=SUPPORTED_MDX_HEADERS.reduce((acc,headerType)=>({...acc,[headerType]:props=>React17.createElement(HeaderMdx,{as:headerType,...props})}),{});var Markdown2=props=>{if(!props.children)return null;if(typeof props.children!=\"string\")throw new Error(dedent2`The Markdown block only accepts children as a single string, but children were of type: '${typeof props.children}'\n This is often caused by not wrapping the child in a template string.\n \n This is invalid:\n \n # Some heading\n A paragraph\n \n\n Instead do:\n \n {\\`\n # Some heading\n A paragraph\n \\`}\n \n `);return React17.createElement(Markdown,{...props,options:{forceBlock:!0,overrides:{code:CodeOrSourceMdx,a:AnchorMdx,...HeadersMdx,...props?.options?.overrides},...props?.options}})};var DescriptionType=(DescriptionType2=>(DescriptionType2.INFO=\"info\",DescriptionType2.NOTES=\"notes\",DescriptionType2.DOCGEN=\"docgen\",DescriptionType2.AUTO=\"auto\",DescriptionType2))(DescriptionType||{}),DEPRECATION_MIGRATION_LINK=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#description-block-parametersnotes-and-parametersinfo\",getNotes=notes=>notes&&(typeof notes==\"string\"?notes:str(notes.markdown)||str(notes.text)),getInfo=info=>info&&(typeof info==\"string\"?info:str(info.text)),noDescription=component=>null,getDescriptionFromResolvedOf=resolvedOf=>{switch(resolvedOf.type){case\"story\":return resolvedOf.story.parameters.docs?.description?.story||null;case\"meta\":{let{parameters,component}=resolvedOf.preparedMeta,metaDescription=parameters.docs?.description?.component;return metaDescription||parameters.docs?.extractComponentDescription?.(component,{component,parameters})||null}case\"component\":{let{component,projectAnnotations:{parameters}}=resolvedOf;return parameters.docs?.extractComponentDescription?.(component,{component,parameters})||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${resolvedOf.type}`)}},getDescriptionFromDeprecatedProps=({type,markdown,children},{storyById})=>{let{component,parameters}=storyById();if(children||markdown)return children||markdown;let{notes,info,docs}=parameters;(Boolean(notes)||Boolean(info))&&deprecate(`Using 'parameters.notes' or 'parameters.info' properties to describe stories is deprecated. See ${DEPRECATION_MIGRATION_LINK}`);let{extractComponentDescription=noDescription,description}=docs||{},componentDescriptionParameter=description?.component;if(componentDescriptionParameter)return componentDescriptionParameter;switch(type){case\"info\":return getInfo(info);case\"notes\":return getNotes(notes);case\"docgen\":case\"auto\":default:return extractComponentDescription(component,{component,...parameters})}},DescriptionContainer=props=>{let{of,type,markdown:markdownProp,children}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");let context=useContext(DocsContext),resolvedOf=useOf(of||\"meta\"),markdown;return type||markdownProp||children?markdown=getDescriptionFromDeprecatedProps(props,context):markdown=getDescriptionFromResolvedOf(resolvedOf),type&&deprecate(`Manually specifying description type is deprecated. See ${DEPRECATION_MIGRATION_LINK}`),markdownProp&&deprecate(`The 'markdown' prop on the Description block is deprecated. See ${DEPRECATION_MIGRATION_LINK}`),children&&deprecate(`The 'children' prop on the Description block is deprecated. See ${DEPRECATION_MIGRATION_LINK}`),markdown?React17.createElement(Markdown2,null,markdown):null};var {document:document3,window:globalWindow3}=global,DocsContainer=({context,theme,children})=>(useEffect(()=>{let url;try{if(url=new URL(globalWindow3.parent.location.toString()),url.hash){let element=document3.getElementById(url.hash.substring(1));element&&setTimeout(()=>{scrollToElement(element);},200);}}catch{}}),React17.createElement(DocsContext.Provider,{value:context},React17.createElement(SourceContainer,{channel:context.channel},React17.createElement(ThemeProvider,{theme:ensure(theme)},React17.createElement(DocsPageWrapper,null,children)))));var STORY_KIND_PATH_SEPARATOR=/\\s*\\/\\s*/,extractTitle=title=>{let groups=title.trim().split(STORY_KIND_PATH_SEPARATOR);return groups&&groups[groups.length-1]||title},Title2=({children})=>{let context=useContext(DocsContext),content=children||extractTitle(context.storyById().title);return content?React17.createElement(Title,{className:\"sbdocs-title sb-unstyled\"},content):null};var Subtitle2=({children})=>{let docsContext=useContext(DocsContext),{parameters}=docsContext.storyById(),content=children||parameters?.componentSubtitle;return content?React17.createElement(Subtitle,{className:\"sbdocs-subtitle sb-unstyled\"},content):null};var Subheading=({children,disableAnchor})=>{if(disableAnchor||typeof children!=\"string\")return React17.createElement(H3,null,children);let tagID=children.toLowerCase().replace(/[^a-z0-9]/gi,\"-\");return React17.createElement(HeaderMdx,{as:\"h3\",id:tagID},children)};var DocsStory=({of,expanded=!0,withToolbar:withToolbarProp=!1,__forceInitialArgs=!1,__primary=!1})=>{let{story}=useOf(of||\"story\",[\"story\"]),withToolbar=story.parameters.docs?.canvas?.withToolbar??withToolbarProp;return React17.createElement(Anchor,{storyId:story.id},expanded&&React17.createElement(React17.Fragment,null,React17.createElement(Subheading,null,story.name),React17.createElement(DescriptionContainer,{of})),React17.createElement(Canvas,{of,withToolbar,story:{__forceInitialArgs,__primary},source:{__forceInitialArgs}}))};var Primary=({name})=>{let docsContext=useContext(DocsContext);name&&deprecate(dedent2`\\`name\\` prop is deprecated on the Primary block.\n The Primary block should only be used to render the primary story, which is automatically found.\n `);let storyId=name&&docsContext.storyIdByName(name),story=docsContext.storyById(storyId);return story?React17.createElement(DocsStory,{of:story.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null};var Heading=({children,disableAnchor,...props})=>{if(disableAnchor||typeof children!=\"string\")return React17.createElement(H2,null,children);let tagID=children.toLowerCase().replace(/[^a-z0-9]/gi,\"-\");return React17.createElement(HeaderMdx,{as:\"h2\",id:tagID,...props},children)};var StyledHeading=styled(Heading)(({theme})=>({fontSize:`${theme.typography.size.s2-1}px`,fontWeight:theme.typography.weight.bold,lineHeight:\"16px\",letterSpacing:\"0.35em\",textTransform:\"uppercase\",color:theme.textMutedColor,border:0,marginBottom:\"12px\",\"&:first-of-type\":{marginTop:\"56px\"}})),Stories=({title,includePrimary=!0})=>{let{componentStories}=useContext(DocsContext),stories=componentStories().filter(story=>!story.parameters?.docs?.disable);return includePrimary||(stories=stories.slice(1)),!stories||stories.length===0?null:React17.createElement(React17.Fragment,null,React17.createElement(StyledHeading,null,title),stories.map(story=>story&&React17.createElement(DocsStory,{key:story.id,of:story.moduleExport,expanded:!0,__forceInitialArgs:!0})))};Stories.defaultProps={title:\"Stories\"};var DocsPage=()=>{let resolvedOf=useOf(\"meta\",[\"meta\"]),{stories}=resolvedOf.csfFile,isSingleStory=Object.keys(stories).length===1;return React17.createElement(React17.Fragment,null,React17.createElement(Title2,null),React17.createElement(Subtitle2,null),React17.createElement(DescriptionContainer,{of:\"meta\"}),isSingleStory?React17.createElement(DescriptionContainer,{of:\"story\"}):null,React17.createElement(Primary,null),React17.createElement(Controls3,null),isSingleStory?null:React17.createElement(Stories,null))};var Docs=({docsParameter,context})=>{let Container=docsParameter.container||DocsContainer,Page=docsParameter.page||DocsPage;return React17.createElement(Container,{context,theme:docsParameter.theme},React17.createElement(Page,null))};var ExternalDocsContext=class extends DocsContext$1{constructor(channel,store,renderStoryToElement,processMetaExports){super(channel,store,renderStoryToElement,[]);this.channel=channel;this.store=store;this.renderStoryToElement=renderStoryToElement;this.processMetaExports=processMetaExports;this.referenceMeta=(metaExports,attach)=>{let csfFile=this.processMetaExports(metaExports);this.referenceCSFFile(csfFile),super.referenceMeta(metaExports,attach);};}};var ConstantMap=class{constructor(prefix){this.prefix=prefix;this.entries=new Map;}get(key){return this.entries.has(key)||this.entries.set(key,`${this.prefix}${this.entries.size}`),this.entries.get(key)}},ExternalPreview=class extends Preview$1{constructor(projectAnnotations){super(new Channel);this.projectAnnotations=projectAnnotations;this.importPaths=new ConstantMap(\"./importPath/\");this.titles=new ConstantMap(\"title-\");this.storyIndex={v:4,entries:{}};this.moduleExportsByImportPath={};this.processMetaExports=metaExports=>{let importPath=this.importPaths.get(metaExports);this.moduleExportsByImportPath[importPath]=metaExports;let title=metaExports.default.title||this.titles.get(metaExports),csfFile=this.storyStore.processCSFFileWithCache(metaExports,importPath,title);return Object.values(csfFile.stories).forEach(({id,name})=>{this.storyIndex.entries[id]={id,importPath,title,name,type:\"story\"};}),this.onStoriesChanged({storyIndex:this.storyIndex}),csfFile};this.docsContext=()=>new ExternalDocsContext(this.channel,this.storyStore,this.renderStoryToElement.bind(this),this.processMetaExports.bind(this));this.initialize({getStoryIndex:()=>this.storyIndex,importFn:path=>Promise.resolve(this.moduleExportsByImportPath[path]),getProjectAnnotations:()=>composeConfigs([{parameters:{docs:{story:{inline:!0}}}},this.projectAnnotations])});}};function usePreview(projectAnnotations){let previewRef=useRef();return previewRef.current||(previewRef.current=new ExternalPreview(projectAnnotations)),previewRef.current}var ExternalDocs=({projectAnnotationsList,children})=>{let projectAnnotations=composeConfigs(projectAnnotationsList),preview2=usePreview(projectAnnotations),docsParameter={...projectAnnotations.parameters?.docs,page:()=>children};return React17.createElement(Docs,{docsParameter,context:preview2.docsContext()})};var preview,ExternalDocsContainer=({projectAnnotations,children})=>(preview||(preview=new ExternalPreview(projectAnnotations)),React17.createElement(DocsContext.Provider,{value:preview.docsContext()},React17.createElement(ThemeProvider,{theme:ensure(themes.light)},children)));var Meta=({of})=>{let context=useContext(DocsContext);of&&context.referenceMeta(of,!0);try{let primary=context.storyById();return React17.createElement(Anchor,{storyId:primary.id})}catch{return null}};var Unstyled=props=>React17.createElement(\"div\",{...props,className:\"sb-unstyled\"});var Wrapper8=({children})=>React17.createElement(\"div\",{style:{fontFamily:\"sans-serif\"}},children);\n\nexport { AddContext, Anchor, AnchorMdx, ArgTypes, ArgsTable2 as ArgsTable, BooleanControl, Canvas, CodeOrSourceMdx, ColorControl, ColorItem, ColorPalette, ComponentsTable, Controls3 as Controls, DateControl, DescriptionContainer as Description, DescriptionType, Docs, DocsContainer, DocsContext, DocsPage, DocsStory, ExternalDocs, ExternalDocsContainer, FilesControl, HeaderMdx, HeadersMdx, Heading, IconGallery, IconItem, Markdown2 as Markdown, Meta, NoControlsWarning, NumberControl, ObjectControl, OptionsControl, PRIMARY_STORY, Primary, ArgsTable as PureArgsTable, RangeControl, Source2 as Source, SourceContainer, SourceContext, SourceState, Stories, Story2 as Story, StoryTable, Subheading, Subtitle2 as Subtitle, TextControl, Title2 as Title, Typeset, UNKNOWN_ARGS_HASH, Unstyled, Wrapper8 as Wrapper, anchorBlockIdFromId, argsHash, assertIsFn, extractComponentArgTypes2 as extractComponentArgTypes, extractTitle, format, formatDate, formatTime, getComponent, getStoryId2 as getStoryId, getStoryProps, parse2 as parse, parseDate, parseTime, useOf, useSourceProps };\n","import { _extends, _objectWithoutPropertiesLoose } from './chunk-FD4M6EBV.mjs';\nimport { __commonJS, __toESM } from './chunk-NNAAFZ4U.mjs';\nimport * as React3 from 'react';\nimport React3__default, { useState, useCallback, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\nimport ReactDOM__default from 'react-dom';\nimport { styled, lighten } from '@storybook/theming';\nimport { global } from '@storybook/global';\nimport memoize from 'memoizerific';\n\nvar require_react_fast_compare=__commonJS({\"../../node_modules/react-fast-compare/index.js\"(exports,module){var hasElementType=typeof Element<\"u\",hasMap=typeof Map==\"function\",hasSet=typeof Set==\"function\",hasArrayBuffer=typeof ArrayBuffer==\"function\"&&!!ArrayBuffer.isView;function equal(a,b){if(a===b)return !0;if(a&&b&&typeof a==\"object\"&&typeof b==\"object\"){if(a.constructor!==b.constructor)return !1;var length,i,keys;if(Array.isArray(a)){if(length=a.length,length!=b.length)return !1;for(i=length;i--!==0;)if(!equal(a[i],b[i]))return !1;return !0}var it;if(hasMap&&a instanceof Map&&b instanceof Map){if(a.size!==b.size)return !1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return !1;for(it=a.entries();!(i=it.next()).done;)if(!equal(i.value[1],b.get(i.value[0])))return !1;return !0}if(hasSet&&a instanceof Set&&b instanceof Set){if(a.size!==b.size)return !1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return !1;return !0}if(hasArrayBuffer&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(b)){if(length=a.length,length!=b.length)return !1;for(i=length;i--!==0;)if(a[i]!==b[i])return !1;return !0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf==\"function\"&&typeof b.valueOf==\"function\")return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString==\"function\"&&typeof b.toString==\"function\")return a.toString()===b.toString();if(keys=Object.keys(a),length=keys.length,length!==Object.keys(b).length)return !1;for(i=length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return !1;if(hasElementType&&a instanceof Element)return !1;for(i=length;i--!==0;)if(!((keys[i]===\"_owner\"||keys[i]===\"__v\"||keys[i]===\"__o\")&&a.$$typeof)&&!equal(a[keys[i]],b[keys[i]]))return !1;return !0}return a!==a&&b!==b}module.exports=function(a,b){try{return equal(a,b)}catch(error){if((error.message||\"\").match(/stack|recursion/i))return console.warn(\"react-fast-compare cannot handle circular refs\"),!1;throw error}};}});var fromEntries=function(entries){return entries.reduce(function(acc,_ref){var key=_ref[0],value=_ref[1];return acc[key]=value,acc},{})},useIsomorphicLayoutEffect=typeof window<\"u\"&&window.document&&window.document.createElement?React3.useLayoutEffect:React3.useEffect;var top=\"top\",bottom=\"bottom\",right=\"right\",left=\"left\",auto=\"auto\",basePlacements=[top,bottom,right,left],start=\"start\",end=\"end\",clippingParents=\"clippingParents\",viewport=\"viewport\",popper=\"popper\",reference=\"reference\",variationPlacements=basePlacements.reduce(function(acc,placement){return acc.concat([placement+\"-\"+start,placement+\"-\"+end])},[]),placements=[].concat(basePlacements,[auto]).reduce(function(acc,placement){return acc.concat([placement,placement+\"-\"+start,placement+\"-\"+end])},[]),beforeRead=\"beforeRead\",read=\"read\",afterRead=\"afterRead\",beforeMain=\"beforeMain\",main=\"main\",afterMain=\"afterMain\",beforeWrite=\"beforeWrite\",write=\"write\",afterWrite=\"afterWrite\",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName(element){return element?(element.nodeName||\"\").toLowerCase():null}function getWindow(node){if(node==null)return window;if(node.toString()!==\"[object Window]\"){var ownerDocument=node.ownerDocument;return ownerDocument&&ownerDocument.defaultView||window}return node}function isElement(node){var OwnElement=getWindow(node).Element;return node instanceof OwnElement||node instanceof Element}function isHTMLElement(node){var OwnElement=getWindow(node).HTMLElement;return node instanceof OwnElement||node instanceof HTMLElement}function isShadowRoot(node){if(typeof ShadowRoot>\"u\")return !1;var OwnElement=getWindow(node).ShadowRoot;return node instanceof OwnElement||node instanceof ShadowRoot}function applyStyles(_ref){var state=_ref.state;Object.keys(state.elements).forEach(function(name){var style=state.styles[name]||{},attributes=state.attributes[name]||{},element=state.elements[name];!isHTMLElement(element)||!getNodeName(element)||(Object.assign(element.style,style),Object.keys(attributes).forEach(function(name2){var value=attributes[name2];value===!1?element.removeAttribute(name2):element.setAttribute(name2,value===!0?\"\":value);}));});}function effect(_ref2){var state=_ref2.state,initialStyles={popper:{position:state.options.strategy,left:\"0\",top:\"0\",margin:\"0\"},arrow:{position:\"absolute\"},reference:{}};return Object.assign(state.elements.popper.style,initialStyles.popper),state.styles=initialStyles,state.elements.arrow&&Object.assign(state.elements.arrow.style,initialStyles.arrow),function(){Object.keys(state.elements).forEach(function(name){var element=state.elements[name],attributes=state.attributes[name]||{},styleProperties=Object.keys(state.styles.hasOwnProperty(name)?state.styles[name]:initialStyles[name]),style=styleProperties.reduce(function(style2,property){return style2[property]=\"\",style2},{});!isHTMLElement(element)||!getNodeName(element)||(Object.assign(element.style,style),Object.keys(attributes).forEach(function(attribute){element.removeAttribute(attribute);}));});}}var applyStyles_default={name:\"applyStyles\",enabled:!0,phase:\"write\",fn:applyStyles,effect,requires:[\"computeStyles\"]};function getBasePlacement(placement){return placement.split(\"-\")[0]}var max=Math.max,min=Math.min,round=Math.round;function getUAString(){var uaData=navigator.userAgentData;return uaData!=null&&uaData.brands&&Array.isArray(uaData.brands)?uaData.brands.map(function(item){return item.brand+\"/\"+item.version}).join(\" \"):navigator.userAgent}function isLayoutViewport(){return !/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(element,includeScale,isFixedStrategy){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);var clientRect=element.getBoundingClientRect(),scaleX=1,scaleY=1;includeScale&&isHTMLElement(element)&&(scaleX=element.offsetWidth>0&&round(clientRect.width)/element.offsetWidth||1,scaleY=element.offsetHeight>0&&round(clientRect.height)/element.offsetHeight||1);var _ref=isElement(element)?getWindow(element):window,visualViewport=_ref.visualViewport,addVisualOffsets=!isLayoutViewport()&&isFixedStrategy,x=(clientRect.left+(addVisualOffsets&&visualViewport?visualViewport.offsetLeft:0))/scaleX,y=(clientRect.top+(addVisualOffsets&&visualViewport?visualViewport.offsetTop:0))/scaleY,width=clientRect.width/scaleX,height=clientRect.height/scaleY;return {width,height,top:y,right:x+width,bottom:y+height,left:x,x,y}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width,height}}function contains(parent,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child))return !0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent.isSameNode(next))return !0;next=next.parentNode||next.host;}while(next)}return !1}function getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function isTableElement(element){return [\"table\",\"td\",\"th\"].indexOf(getNodeName(element))>=0}function getDocumentElement(element){return ((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getParentNode(element){return getNodeName(element)===\"html\"?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function getTrueOffsetParent(element){return !isHTMLElement(element)||getComputedStyle(element).position===\"fixed\"?null:element.offsetParent}function getContainingBlock(element){var isFirefox=/firefox/i.test(getUAString()),isIE=/Trident/i.test(getUAString());if(isIE&&isHTMLElement(element)){var elementCss=getComputedStyle(element);if(elementCss.position===\"fixed\")return null}var currentNode=getParentNode(element);for(isShadowRoot(currentNode)&&(currentNode=currentNode.host);isHTMLElement(currentNode)&&[\"html\",\"body\"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle(currentNode);if(css.transform!==\"none\"||css.perspective!==\"none\"||css.contain===\"paint\"||[\"transform\",\"perspective\"].indexOf(css.willChange)!==-1||isFirefox&&css.willChange===\"filter\"||isFirefox&&css.filter&&css.filter!==\"none\")return currentNode;currentNode=currentNode.parentNode;}return null}function getOffsetParent(element){for(var window2=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&getComputedStyle(offsetParent).position===\"static\";)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&(getNodeName(offsetParent)===\"html\"||getNodeName(offsetParent)===\"body\"&&getComputedStyle(offsetParent).position===\"static\")?window2:offsetParent||getContainingBlock(element)||window2}function getMainAxisFromPlacement(placement){return [\"top\",\"bottom\"].indexOf(placement)>=0?\"x\":\"y\"}function within(min2,value,max2){return max(min2,min(value,max2))}function withinMaxClamp(min2,value,max2){var v=within(min2,value,max2);return v>max2?max2:v}function getFreshSideObject(){return {top:0,right:0,bottom:0,left:0}}function mergePaddingObject(paddingObject){return Object.assign({},getFreshSideObject(),paddingObject)}function expandToHashMap(value,keys){return keys.reduce(function(hashMap,key){return hashMap[key]=value,hashMap},{})}var toPaddingObject=function(padding,state){return padding=typeof padding==\"function\"?padding(Object.assign({},state.rects,{placement:state.placement})):padding,mergePaddingObject(typeof padding!=\"number\"?padding:expandToHashMap(padding,basePlacements))};function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets2=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),isVertical=[left,right].indexOf(basePlacement)>=0,len=isVertical?\"height\":\"width\";if(!(!arrowElement||!popperOffsets2)){var paddingObject=toPaddingObject(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp=axis===\"y\"?top:left,maxProp=axis===\"y\"?bottom:right,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets2[axis]-state.rects.popper[len],startDiff=popperOffsets2[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?axis===\"y\"?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min2=paddingObject[minProp],max2=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset2=within(min2,center,max2),axisProp=axis;state.modifiersData[name]=(_state$modifiersData$={},_state$modifiersData$[axisProp]=offset2,_state$modifiersData$.centerOffset=offset2-center,_state$modifiersData$);}}function effect2(_ref2){var state=_ref2.state,options=_ref2.options,_options$element=options.element,arrowElement=_options$element===void 0?\"[data-popper-arrow]\":_options$element;if(arrowElement!=null&&!(typeof arrowElement==\"string\"&&(arrowElement=state.elements.popper.querySelector(arrowElement),!arrowElement))){if(process.env.NODE_ENV!==\"production\"&&(isHTMLElement(arrowElement)||console.error(['Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).',\"To use an SVG arrow, wrap it in an HTMLElement that will be used as\",\"the arrow.\"].join(\" \"))),!contains(state.elements.popper,arrowElement)){process.env.NODE_ENV!==\"production\"&&console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper',\"element.\"].join(\" \"));return}state.elements.arrow=arrowElement;}}var arrow_default={name:\"arrow\",enabled:!0,phase:\"main\",fn:arrow,effect:effect2,requires:[\"popperOffsets\"],requiresIfExists:[\"preventOverflow\"]};function getVariation(placement){return placement.split(\"-\")[1]}var unsetSides={top:\"auto\",right:\"auto\",bottom:\"auto\",left:\"auto\"};function roundOffsetsByDPR(_ref,win){var x=_ref.x,y=_ref.y,dpr=win.devicePixelRatio||1;return {x:round(x*dpr)/dpr||0,y:round(y*dpr)/dpr||0}}function mapToStyles(_ref2){var _Object$assign2,popper2=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,variation=_ref2.variation,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,isFixed=_ref2.isFixed,_offsets$x=offsets.x,x=_offsets$x===void 0?0:_offsets$x,_offsets$y=offsets.y,y=_offsets$y===void 0?0:_offsets$y,_ref3=typeof roundOffsets==\"function\"?roundOffsets({x,y}):{x,y};x=_ref3.x,y=_ref3.y;var hasX=offsets.hasOwnProperty(\"x\"),hasY=offsets.hasOwnProperty(\"y\"),sideX=left,sideY=top,win=window;if(adaptive){var offsetParent=getOffsetParent(popper2),heightProp=\"clientHeight\",widthProp=\"clientWidth\";if(offsetParent===getWindow(popper2)&&(offsetParent=getDocumentElement(popper2),getComputedStyle(offsetParent).position!==\"static\"&&position===\"absolute\"&&(heightProp=\"scrollHeight\",widthProp=\"scrollWidth\")),offsetParent=offsetParent,placement===top||(placement===left||placement===right)&&variation===end){sideY=bottom;var offsetY=isFixed&&offsetParent===win&&win.visualViewport?win.visualViewport.height:offsetParent[heightProp];y-=offsetY-popperRect.height,y*=gpuAcceleration?1:-1;}if(placement===left||(placement===top||placement===bottom)&&variation===end){sideX=right;var offsetX=isFixed&&offsetParent===win&&win.visualViewport?win.visualViewport.width:offsetParent[widthProp];x-=offsetX-popperRect.width,x*=gpuAcceleration?1:-1;}}var commonStyles=Object.assign({position},adaptive&&unsetSides),_ref4=roundOffsets===!0?roundOffsetsByDPR({x,y},getWindow(popper2)):{x,y};if(x=_ref4.x,y=_ref4.y,gpuAcceleration){var _Object$assign;return Object.assign({},commonStyles,(_Object$assign={},_Object$assign[sideY]=hasY?\"0\":\"\",_Object$assign[sideX]=hasX?\"0\":\"\",_Object$assign.transform=(win.devicePixelRatio||1)<=1?\"translate(\"+x+\"px, \"+y+\"px)\":\"translate3d(\"+x+\"px, \"+y+\"px, 0)\",_Object$assign))}return Object.assign({},commonStyles,(_Object$assign2={},_Object$assign2[sideY]=hasY?y+\"px\":\"\",_Object$assign2[sideX]=hasX?x+\"px\":\"\",_Object$assign2.transform=\"\",_Object$assign2))}function computeStyles(_ref5){var state=_ref5.state,options=_ref5.options,_options$gpuAccelerat=options.gpuAcceleration,gpuAcceleration=_options$gpuAccelerat===void 0?!0:_options$gpuAccelerat,_options$adaptive=options.adaptive,adaptive=_options$adaptive===void 0?!0:_options$adaptive,_options$roundOffsets=options.roundOffsets,roundOffsets=_options$roundOffsets===void 0?!0:_options$roundOffsets;if(process.env.NODE_ENV!==\"production\"){var transitionProperty=getComputedStyle(state.elements.popper).transitionProperty||\"\";adaptive&&[\"transform\",\"top\",\"right\",\"bottom\",\"left\"].some(function(property){return transitionProperty.indexOf(property)>=0})&&console.warn([\"Popper: Detected CSS transitions on at least one of the following\",'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".',`\n\n`,'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow',\"for smooth transitions, or remove these properties from the CSS\",\"transition declaration on the popper element if only transitioning\",\"opacity or background-color for example.\",`\n\n`,\"We recommend using the popper element as a wrapper around an inner\",\"element that can have any CSS property transitioned for animations.\"].join(\" \"));}var commonStyles={placement:getBasePlacement(state.placement),variation:getVariation(state.placement),popper:state.elements.popper,popperRect:state.rects.popper,gpuAcceleration,isFixed:state.options.strategy===\"fixed\"};state.modifiersData.popperOffsets!=null&&(state.styles.popper=Object.assign({},state.styles.popper,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.popperOffsets,position:state.options.strategy,adaptive,roundOffsets})))),state.modifiersData.arrow!=null&&(state.styles.arrow=Object.assign({},state.styles.arrow,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.arrow,position:\"absolute\",adaptive:!1,roundOffsets})))),state.attributes.popper=Object.assign({},state.attributes.popper,{\"data-popper-placement\":state.placement});}var computeStyles_default={name:\"computeStyles\",enabled:!0,phase:\"beforeWrite\",fn:computeStyles,data:{}};var passive={passive:!0};function effect3(_ref){var state=_ref.state,instance=_ref.instance,options=_ref.options,_options$scroll=options.scroll,scroll=_options$scroll===void 0?!0:_options$scroll,_options$resize=options.resize,resize=_options$resize===void 0?!0:_options$resize,window2=getWindow(state.elements.popper),scrollParents=[].concat(state.scrollParents.reference,state.scrollParents.popper);return scroll&&scrollParents.forEach(function(scrollParent){scrollParent.addEventListener(\"scroll\",instance.update,passive);}),resize&&window2.addEventListener(\"resize\",instance.update,passive),function(){scroll&&scrollParents.forEach(function(scrollParent){scrollParent.removeEventListener(\"scroll\",instance.update,passive);}),resize&&window2.removeEventListener(\"resize\",instance.update,passive);}}var eventListeners_default={name:\"eventListeners\",enabled:!0,phase:\"write\",fn:function(){},effect:effect3,data:{}};var hash={left:\"right\",right:\"left\",bottom:\"top\",top:\"bottom\"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,function(matched){return hash[matched]})}var hash2={start:\"end\",end:\"start\"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,function(matched){return hash2[matched]})}function getWindowScroll(node){var win=getWindow(node),scrollLeft=win.pageXOffset,scrollTop=win.pageYOffset;return {scrollLeft,scrollTop}}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function getViewportRect(element,strategy){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;if(visualViewport){width=visualViewport.width,height=visualViewport.height;var layoutViewport=isLayoutViewport();(layoutViewport||!layoutViewport&&strategy===\"fixed\")&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop);}return {width,height,x:x+getWindowScrollBarX(element),y}}function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=(_element$ownerDocumen=element.ownerDocument)==null?void 0:_element$ownerDocumen.body,width=max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return getComputedStyle(body||html).direction===\"rtl\"&&(x+=max(html.clientWidth,body?body.clientWidth:0)-width),{width,height,x,y}}function isScrollParent(element){var _getComputedStyle=getComputedStyle(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return /auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function getScrollParent(node){return [\"html\",\"body\",\"#document\"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}function listScrollParents(element,list){var _element$ownerDocumen;list===void 0&&(list=[]);var scrollParent=getScrollParent(element),isBody=scrollParent===((_element$ownerDocumen=element.ownerDocument)==null?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getInnerBoundingClientRect(element,strategy){var rect=getBoundingClientRect(element,!1,strategy===\"fixed\");return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}function getClientRectFromMixedType(element,clippingParent,strategy){return clippingParent===viewport?rectToClientRect(getViewportRect(element,strategy)):isElement(clippingParent)?getInnerBoundingClientRect(clippingParent,strategy):rectToClientRect(getDocumentRect(getDocumentElement(element)))}function getClippingParents(element){var clippingParents2=listScrollParents(getParentNode(element)),canEscapeClipping=[\"absolute\",\"fixed\"].indexOf(getComputedStyle(element).position)>=0,clipperElement=canEscapeClipping&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents2.filter(function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&getNodeName(clippingParent)!==\"body\"}):[]}function getClippingRect(element,boundary,rootBoundary,strategy){var mainClippingParents=boundary===\"clippingParents\"?getClippingParents(element):[].concat(boundary),clippingParents2=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents2[0],clippingRect=clippingParents2.reduce(function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromMixedType(element,firstClippingParent,strategy));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function computeOffsets(_ref){var reference2=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference2.x+reference2.width/2-element.width/2,commonY=reference2.y+reference2.height/2-element.height/2,offsets;switch(basePlacement){case top:offsets={x:commonX,y:reference2.y-element.height};break;case bottom:offsets={x:commonX,y:reference2.y+reference2.height};break;case right:offsets={x:reference2.x+reference2.width,y:commonY};break;case left:offsets={x:reference2.x-element.width,y:commonY};break;default:offsets={x:reference2.x,y:reference2.y};}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(mainAxis!=null){var len=mainAxis===\"y\"?\"height\":\"width\";switch(variation){case start:offsets[mainAxis]=offsets[mainAxis]-(reference2[len]/2-element[len]/2);break;case end:offsets[mainAxis]=offsets[mainAxis]+(reference2[len]/2-element[len]/2);break;}}return offsets}function detectOverflow(state,options){options===void 0&&(options={});var _options=options,_options$placement=_options.placement,placement=_options$placement===void 0?state.placement:_options$placement,_options$strategy=_options.strategy,strategy=_options$strategy===void 0?state.strategy:_options$strategy,_options$boundary=_options.boundary,boundary=_options$boundary===void 0?clippingParents:_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=_options$rootBoundary===void 0?viewport:_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=_options$elementConte===void 0?popper:_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=_options$altBoundary===void 0?!1:_options$altBoundary,_options$padding=_options.padding,padding=_options$padding===void 0?0:_options$padding,paddingObject=mergePaddingObject(typeof padding!=\"number\"?padding:expandToHashMap(padding,basePlacements)),altContext=elementContext===popper?reference:popper,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary,strategy),referenceClientRect=getBoundingClientRect(state.elements.reference),popperOffsets2=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:\"absolute\",placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets2)),elementClientRect=elementContext===popper?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if(elementContext===popper&&offsetData){var offset2=offsetData[placement];Object.keys(overflowOffsets).forEach(function(key){var multiply=[right,bottom].indexOf(key)>=0?1:-1,axis=[top,bottom].indexOf(key)>=0?\"y\":\"x\";overflowOffsets[key]+=offset2[axis]*multiply;});}return overflowOffsets}function computeAutoPlacement(state,options){options===void 0&&(options={});var _options=options,placement=_options.placement,boundary=_options.boundary,rootBoundary=_options.rootBoundary,padding=_options.padding,flipVariations=_options.flipVariations,_options$allowedAutoP=_options.allowedAutoPlacements,allowedAutoPlacements=_options$allowedAutoP===void 0?placements:_options$allowedAutoP,variation=getVariation(placement),placements2=variation?flipVariations?variationPlacements:variationPlacements.filter(function(placement2){return getVariation(placement2)===variation}):basePlacements,allowedPlacements=placements2.filter(function(placement2){return allowedAutoPlacements.indexOf(placement2)>=0});allowedPlacements.length===0&&(allowedPlacements=placements2,process.env.NODE_ENV!==\"production\"&&console.error([\"Popper: The `allowedAutoPlacements` option did not allow any\",\"placements. Ensure the `placement` option matches the variation\",\"of the allowed placements.\",'For example, \"auto\" cannot be used to allow \"bottom-start\".','Use \"auto-start\" instead.'].join(\" \")));var overflows=allowedPlacements.reduce(function(acc,placement2){return acc[placement2]=detectOverflow(state,{placement:placement2,boundary,rootBoundary,padding})[getBasePlacement(placement2)],acc},{});return Object.keys(overflows).sort(function(a,b){return overflows[a]-overflows[b]})}function getExpandedFallbackPlacements(placement){if(getBasePlacement(placement)===auto)return [];var oppositePlacement=getOppositePlacement(placement);return [getOppositeVariationPlacement(placement),oppositePlacement,getOppositeVariationPlacement(oppositePlacement)]}function flip(_ref){var state=_ref.state,options=_ref.options,name=_ref.name;if(!state.modifiersData[name]._skip){for(var _options$mainAxis=options.mainAxis,checkMainAxis=_options$mainAxis===void 0?!0:_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=_options$altAxis===void 0?!0:_options$altAxis,specifiedFallbackPlacements=options.fallbackPlacements,padding=options.padding,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,_options$flipVariatio=options.flipVariations,flipVariations=_options$flipVariatio===void 0?!0:_options$flipVariatio,allowedAutoPlacements=options.allowedAutoPlacements,preferredPlacement=state.options.placement,basePlacement=getBasePlacement(preferredPlacement),isBasePlacement=basePlacement===preferredPlacement,fallbackPlacements=specifiedFallbackPlacements||(isBasePlacement||!flipVariations?[getOppositePlacement(preferredPlacement)]:getExpandedFallbackPlacements(preferredPlacement)),placements2=[preferredPlacement].concat(fallbackPlacements).reduce(function(acc,placement2){return acc.concat(getBasePlacement(placement2)===auto?computeAutoPlacement(state,{placement:placement2,boundary,rootBoundary,padding,flipVariations,allowedAutoPlacements}):placement2)},[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements2[0],i=0;i=0,len=isVertical?\"width\":\"height\",overflow=detectOverflow(state,{placement,boundary,rootBoundary,altBoundary,padding}),mainVariationSide=isVertical?isStartVariation?right:left:isStartVariation?bottom:top;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every(function(check){return check})){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks);}if(makeFallbackChecks)for(var numberOfChecks=flipVariations?3:1,_loop=function(_i2){var fittingPlacement=placements2.find(function(placement2){var checks2=checksMap.get(placement2);if(checks2)return checks2.slice(0,_i2).every(function(check){return check})});if(fittingPlacement)return firstFittingPlacement=fittingPlacement,\"break\"},_i=numberOfChecks;_i>0;_i--){var _ret=_loop(_i);if(_ret===\"break\")break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0);}}var flip_default={name:\"flip\",enabled:!0,phase:\"main\",fn:flip,requiresIfExists:[\"offset\"],data:{_skip:!1}};function getSideOffsets(overflow,rect,preventedOffsets){return preventedOffsets===void 0&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return [top,right,bottom,left].some(function(side){return overflow[side]>=0})}function hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:\"reference\"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets,popperEscapeOffsets,isReferenceHidden,hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{\"data-popper-reference-hidden\":isReferenceHidden,\"data-popper-escaped\":hasPopperEscaped});}var hide_default={name:\"hide\",enabled:!0,phase:\"main\",requiresIfExists:[\"preventOverflow\"],fn:hide};function distanceAndSkiddingToXY(placement,rects,offset2){var basePlacement=getBasePlacement(placement),invertDistance=[left,top].indexOf(basePlacement)>=0?-1:1,_ref=typeof offset2==\"function\"?offset2(Object.assign({},rects,{placement})):offset2,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[left,right].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}function offset(_ref2){var state=_ref2.state,options=_ref2.options,name=_ref2.name,_options$offset=options.offset,offset2=_options$offset===void 0?[0,0]:_options$offset,data=placements.reduce(function(acc,placement){return acc[placement]=distanceAndSkiddingToXY(placement,state.rects,offset2),acc},{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;state.modifiersData.popperOffsets!=null&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data;}var offset_default={name:\"offset\",enabled:!0,phase:\"main\",requires:[\"popperOffsets\"],fn:offset};function popperOffsets(_ref){var state=_ref.state,name=_ref.name;state.modifiersData[name]=computeOffsets({reference:state.rects.reference,element:state.rects.popper,strategy:\"absolute\",placement:state.placement});}var popperOffsets_default={name:\"popperOffsets\",enabled:!0,phase:\"read\",fn:popperOffsets,data:{}};function getAltAxis(axis){return axis===\"x\"?\"y\":\"x\"}function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=_options$mainAxis===void 0?!0:_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=_options$altAxis===void 0?!1:_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=_options$tether===void 0?!0:_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=_options$tetherOffset===void 0?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary,rootBoundary,padding,altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=getAltAxis(mainAxis),popperOffsets2=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue=typeof tetherOffset==\"function\"?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,normalizedTetherOffsetValue=typeof tetherOffsetValue==\"number\"?{mainAxis:tetherOffsetValue,altAxis:tetherOffsetValue}:Object.assign({mainAxis:0,altAxis:0},tetherOffsetValue),offsetModifierState=state.modifiersData.offset?state.modifiersData.offset[state.placement]:null,data={x:0,y:0};if(popperOffsets2){if(checkMainAxis){var _offsetModifierState$,mainSide=mainAxis===\"y\"?top:left,altSide=mainAxis===\"y\"?bottom:right,len=mainAxis===\"y\"?\"height\":\"width\",offset2=popperOffsets2[mainAxis],min2=offset2+overflow[mainSide],max2=offset2-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen=variation===start?referenceRect[len]:popperRect[len],maxLen=variation===start?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData[\"arrow#persistent\"]?state.modifiersData[\"arrow#persistent\"].padding:getFreshSideObject(),arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis:minLen-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis:maxLen+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?mainAxis===\"y\"?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=(_offsetModifierState$=offsetModifierState?.[mainAxis])!=null?_offsetModifierState$:0,tetherMin=offset2+minOffset-offsetModifierValue-clientOffset,tetherMax=offset2+maxOffset-offsetModifierValue,preventedOffset=within(tether?min(min2,tetherMin):min2,offset2,tether?max(max2,tetherMax):max2);popperOffsets2[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset2;}if(checkAltAxis){var _offsetModifierState$2,_mainSide=mainAxis===\"x\"?top:left,_altSide=mainAxis===\"x\"?bottom:right,_offset=popperOffsets2[altAxis],_len=altAxis===\"y\"?\"height\":\"width\",_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],isOriginSide=[top,left].indexOf(basePlacement)!==-1,_offsetModifierValue=(_offsetModifierState$2=offsetModifierState?.[altAxis])!=null?_offsetModifierState$2:0,_tetherMin=isOriginSide?_min:_offset-referenceRect[_len]-popperRect[_len]-_offsetModifierValue+normalizedTetherOffsetValue.altAxis,_tetherMax=isOriginSide?_offset+referenceRect[_len]+popperRect[_len]-_offsetModifierValue-normalizedTetherOffsetValue.altAxis:_max,_preventedOffset=tether&&isOriginSide?withinMaxClamp(_tetherMin,_offset,_tetherMax):within(tether?_tetherMin:_min,_offset,tether?_tetherMax:_max);popperOffsets2[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset;}state.modifiersData[name]=data;}}var preventOverflow_default={name:\"preventOverflow\",enabled:!0,phase:\"main\",fn:preventOverflow,requiresIfExists:[\"offset\"]};function getHTMLElementScroll(element){return {scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}function getNodeScroll(node){return node===getWindow(node)||!isHTMLElement(node)?getWindowScroll(node):getHTMLElementScroll(node)}function isElementScaled(element){var rect=element.getBoundingClientRect(),scaleX=round(rect.width)/element.offsetWidth||1,scaleY=round(rect.height)/element.offsetHeight||1;return scaleX!==1||scaleY!==1}function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){isFixed===void 0&&(isFixed=!1);var isOffsetParentAnElement=isHTMLElement(offsetParent),offsetParentIsScaled=isHTMLElement(offsetParent)&&isElementScaled(offsetParent),documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement,offsetParentIsScaled,isFixed),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return (isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==\"body\"||isScrollParent(documentElement))&&(scroll=getNodeScroll(offsetParent)),isHTMLElement(offsetParent)?(offsets=getBoundingClientRect(offsetParent,!0),offsets.x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function order(modifiers){var map=new Map,visited=new Set,result=[];modifiers.forEach(function(modifier){map.set(modifier.name,modifier);});function sort(modifier){visited.add(modifier.name);var requires=[].concat(modifier.requires||[],modifier.requiresIfExists||[]);requires.forEach(function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier);}}),result.push(modifier);}return modifiers.forEach(function(modifier){visited.has(modifier.name)||sort(modifier);}),result}function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return modifierPhases.reduce(function(acc,phase){return acc.concat(orderedModifiers.filter(function(modifier){return modifier.phase===phase}))},[])}function debounce(fn2){var pending;return function(){return pending||(pending=new Promise(function(resolve){Promise.resolve().then(function(){pending=void 0,resolve(fn2());});})),pending}}function format(str){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return [].concat(args).reduce(function(p,c){return p.replace(/%s/,c)},str)}var INVALID_MODIFIER_ERROR='Popper: modifier \"%s\" provided an invalid %s property, expected %s but got %s',MISSING_DEPENDENCY_ERROR='Popper: modifier \"%s\" requires \"%s\", but \"%s\" modifier is not available',VALID_PROPERTIES=[\"name\",\"enabled\",\"phase\",\"fn\",\"effect\",\"requires\",\"options\"];function validateModifiers(modifiers){modifiers.forEach(function(modifier){[].concat(Object.keys(modifier),VALID_PROPERTIES).filter(function(value,index,self){return self.indexOf(value)===index}).forEach(function(key){switch(key){case\"name\":typeof modifier.name!=\"string\"&&console.error(format(INVALID_MODIFIER_ERROR,String(modifier.name),'\"name\"','\"string\"','\"'+String(modifier.name)+'\"'));break;case\"enabled\":typeof modifier.enabled!=\"boolean\"&&console.error(format(INVALID_MODIFIER_ERROR,modifier.name,'\"enabled\"','\"boolean\"','\"'+String(modifier.enabled)+'\"'));break;case\"phase\":modifierPhases.indexOf(modifier.phase)<0&&console.error(format(INVALID_MODIFIER_ERROR,modifier.name,'\"phase\"',\"either \"+modifierPhases.join(\", \"),'\"'+String(modifier.phase)+'\"'));break;case\"fn\":typeof modifier.fn!=\"function\"&&console.error(format(INVALID_MODIFIER_ERROR,modifier.name,'\"fn\"','\"function\"','\"'+String(modifier.fn)+'\"'));break;case\"effect\":modifier.effect!=null&&typeof modifier.effect!=\"function\"&&console.error(format(INVALID_MODIFIER_ERROR,modifier.name,'\"effect\"','\"function\"','\"'+String(modifier.fn)+'\"'));break;case\"requires\":modifier.requires!=null&&!Array.isArray(modifier.requires)&&console.error(format(INVALID_MODIFIER_ERROR,modifier.name,'\"requires\"','\"array\"','\"'+String(modifier.requires)+'\"'));break;case\"requiresIfExists\":Array.isArray(modifier.requiresIfExists)||console.error(format(INVALID_MODIFIER_ERROR,modifier.name,'\"requiresIfExists\"','\"array\"','\"'+String(modifier.requiresIfExists)+'\"'));break;case\"options\":case\"data\":break;default:console.error('PopperJS: an invalid property has been provided to the \"'+modifier.name+'\" modifier, valid properties are '+VALID_PROPERTIES.map(function(s){return '\"'+s+'\"'}).join(\", \")+'; but \"'+key+'\" was provided.');}modifier.requires&&modifier.requires.forEach(function(requirement){modifiers.find(function(mod){return mod.name===requirement})==null&&console.error(format(MISSING_DEPENDENCY_ERROR,String(modifier.name),requirement,requirement));});});});}function uniqueBy(arr,fn2){var identifiers=new Set;return arr.filter(function(item){var identifier=fn2(item);if(!identifiers.has(identifier))return identifiers.add(identifier),!0})}function mergeByName(modifiers){var merged=modifiers.reduce(function(merged2,current){var existing=merged2[current.name];return merged2[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged2},{});return Object.keys(merged).map(function(key){return merged[key]})}var INVALID_ELEMENT_ERROR=\"Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.\",INFINITE_LOOP_ERROR=\"Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.\",DEFAULT_OPTIONS={placement:\"bottom\",modifiers:[],strategy:\"absolute\"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return !args.some(function(element){return !(element&&typeof element.getBoundingClientRect==\"function\")})}function popperGenerator(generatorOptions){generatorOptions===void 0&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers2=_generatorOptions$def===void 0?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=_generatorOptions$def2===void 0?DEFAULT_OPTIONS:_generatorOptions$def2;return function(reference2,popper2,options){options===void 0&&(options=defaultOptions);var state={placement:\"bottom\",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference2,popper:popper2},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state,setOptions:function(setOptionsAction){var options2=typeof setOptionsAction==\"function\"?setOptionsAction(state.options):setOptionsAction;cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options2),state.scrollParents={reference:isElement(reference2)?listScrollParents(reference2):reference2.contextElement?listScrollParents(reference2.contextElement):[],popper:listScrollParents(popper2)};var orderedModifiers=orderModifiers(mergeByName([].concat(defaultModifiers2,state.options.modifiers)));if(state.orderedModifiers=orderedModifiers.filter(function(m){return m.enabled}),process.env.NODE_ENV!==\"production\"){var modifiers=uniqueBy([].concat(orderedModifiers,state.options.modifiers),function(_ref){var name=_ref.name;return name});if(validateModifiers(modifiers),getBasePlacement(state.options.placement)===auto){var flipModifier=state.orderedModifiers.find(function(_ref2){var name=_ref2.name;return name===\"flip\"});flipModifier||console.error(['Popper: \"auto\" placements require the \"flip\" modifier be',\"present and enabled to work.\"].join(\" \"));}var _getComputedStyle=getComputedStyle(popper2),marginTop=_getComputedStyle.marginTop,marginRight=_getComputedStyle.marginRight,marginBottom=_getComputedStyle.marginBottom,marginLeft=_getComputedStyle.marginLeft;[marginTop,marginRight,marginBottom,marginLeft].some(function(margin){return parseFloat(margin)})&&console.warn(['Popper: CSS \"margin\" styles cannot be used to apply padding',\"between the popper and its reference element or boundary.\",\"To replicate margin, use the `offset` modifier, as well as\",\"the `padding` option in the `preventOverflow` and `flip`\",\"modifiers.\"].join(\" \"));}return runModifierEffects(),instance.update()},forceUpdate:function(){if(!isDestroyed){var _state$elements=state.elements,reference3=_state$elements.reference,popper3=_state$elements.popper;if(!areValidElements(reference3,popper3)){process.env.NODE_ENV!==\"production\"&&console.error(INVALID_ELEMENT_ERROR);return}state.rects={reference:getCompositeRect(reference3,getOffsetParent(popper3),state.options.strategy===\"fixed\"),popper:getLayoutRect(popper3)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach(function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)});for(var __debug_loops__=0,index=0;index100)){console.error(INFINITE_LOOP_ERROR);break}if(state.reset===!0){state.reset=!1,index=-1;continue}var _state$orderedModifie=state.orderedModifiers[index],fn2=_state$orderedModifie.fn,_state$orderedModifie2=_state$orderedModifie.options,_options=_state$orderedModifie2===void 0?{}:_state$orderedModifie2,name=_state$orderedModifie.name;typeof fn2==\"function\"&&(state=fn2({state,options:_options,name,instance})||state);}}},update:debounce(function(){return new Promise(function(resolve){instance.forceUpdate(),resolve(state);})}),destroy:function(){cleanupModifierEffects(),isDestroyed=!0;}};if(!areValidElements(reference2,popper2))return process.env.NODE_ENV!==\"production\"&&console.error(INVALID_ELEMENT_ERROR),instance;instance.setOptions(options).then(function(state2){!isDestroyed&&options.onFirstUpdate&&options.onFirstUpdate(state2);});function runModifierEffects(){state.orderedModifiers.forEach(function(_ref3){var name=_ref3.name,_ref3$options=_ref3.options,options2=_ref3$options===void 0?{}:_ref3$options,effect4=_ref3.effect;if(typeof effect4==\"function\"){var cleanupFn=effect4({state,name,instance,options:options2}),noopFn=function(){};effectCleanupFns.push(cleanupFn||noopFn);}});}function cleanupModifierEffects(){effectCleanupFns.forEach(function(fn2){return fn2()}),effectCleanupFns=[];}return instance}}var defaultModifiers=[eventListeners_default,popperOffsets_default,computeStyles_default,applyStyles_default,offset_default,flip_default,preventOverflow_default,arrow_default,hide_default],createPopper=popperGenerator({defaultModifiers});var import_react_fast_compare=__toESM(require_react_fast_compare());var EMPTY_MODIFIERS=[],usePopper=function(referenceElement,popperElement,options){options===void 0&&(options={});var prevOptions=React3.useRef(null),optionsWithDefaults={onFirstUpdate:options.onFirstUpdate,placement:options.placement||\"bottom\",strategy:options.strategy||\"absolute\",modifiers:options.modifiers||EMPTY_MODIFIERS},_React$useState=React3.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:\"0\",top:\"0\"},arrow:{position:\"absolute\"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1],updateStateModifier=React3.useMemo(function(){return {name:\"updateState\",enabled:!0,phase:\"write\",fn:function(_ref){var state2=_ref.state,elements=Object.keys(state2.elements);ReactDOM.flushSync(function(){setState({styles:fromEntries(elements.map(function(element){return [element,state2.styles[element]||{}]})),attributes:fromEntries(elements.map(function(element){return [element,state2.attributes[element]]}))});});},requires:[\"computeStyles\"]}},[]),popperOptions=React3.useMemo(function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:\"applyStyles\",enabled:!1}])};return (0, import_react_fast_compare.default)(prevOptions.current,newOptions)?prevOptions.current||newOptions:(prevOptions.current=newOptions,newOptions)},[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]),popperInstanceRef=React3.useRef();return useIsomorphicLayoutEffect(function(){popperInstanceRef.current&&popperInstanceRef.current.setOptions(popperOptions);},[popperOptions]),useIsomorphicLayoutEffect(function(){if(!(referenceElement==null||popperElement==null)){var createPopper2=options.createPopper||createPopper,popperInstance=createPopper2(referenceElement,popperElement,popperOptions);return popperInstanceRef.current=popperInstance,function(){popperInstance.destroy(),popperInstanceRef.current=null;}}},[referenceElement,popperElement,options.createPopper]),{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}};function useGetLatest(val){var ref=React3.useRef(val);return ref.current=val,React3.useCallback(function(){return ref.current},[])}var noop=function(){};function useControlledState(_ref){var initial=_ref.initial,value=_ref.value,_ref$onChange=_ref.onChange,onChange=_ref$onChange===void 0?noop:_ref$onChange;if(initial===void 0&&value===void 0)throw new TypeError('Either \"value\" or \"initial\" variable must be set. Now both are undefined');var _React$useState=React3.useState(initial),state=_React$useState[0],setState=_React$useState[1],getLatest=useGetLatest(state),set=React3.useCallback(function(updater){var state2=getLatest(),updatedState=typeof updater==\"function\"?updater(state2):updater;typeof updatedState.persist==\"function\"&&updatedState.persist(),setState(updatedState),typeof onChange==\"function\"&&onChange(updatedState);},[getLatest,onChange]),isControlled=value!==void 0;return [isControlled?value:state,isControlled?onChange:set]}function generateBoundingClientRect(x,y){return x===void 0&&(x=0),y===void 0&&(y=0),function(){return {width:0,height:0,top:y,right:x,bottom:y,left:x,x:0,y:0,toJSON:function(){return null}}}}var _excluded=[\"styles\",\"attributes\"],virtualElement={getBoundingClientRect:generateBoundingClientRect()},defaultConfig={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:\"hover\"};function usePopperTooltip(config,popperOptions){var _popperProps$state,_popperProps$state$mo,_popperProps$state$mo2;config===void 0&&(config={}),popperOptions===void 0&&(popperOptions={});var finalConfig=Object.keys(defaultConfig).reduce(function(config2,key){var _extends2;return _extends({},config2,(_extends2={},_extends2[key]=config2[key]!==void 0?config2[key]:defaultConfig[key],_extends2))},config),defaultModifiers2=React3.useMemo(function(){return [{name:\"offset\",options:{offset:finalConfig.offset}}]},Array.isArray(finalConfig.offset)?finalConfig.offset:[]),finalPopperOptions=_extends({},popperOptions,{placement:popperOptions.placement||finalConfig.placement,modifiers:popperOptions.modifiers||defaultModifiers2}),_React$useState=React3.useState(null),triggerRef=_React$useState[0],setTriggerRef=_React$useState[1],_React$useState2=React3.useState(null),tooltipRef=_React$useState2[0],setTooltipRef=_React$useState2[1],_useControlledState=useControlledState({initial:finalConfig.defaultVisible,value:finalConfig.visible,onChange:finalConfig.onVisibleChange}),visible=_useControlledState[0],setVisible=_useControlledState[1],timer=React3.useRef();React3.useEffect(function(){return function(){return clearTimeout(timer.current)}},[]);var _usePopper=usePopper(finalConfig.followCursor?virtualElement:triggerRef,tooltipRef,finalPopperOptions),styles=_usePopper.styles,attributes=_usePopper.attributes,popperProps=_objectWithoutPropertiesLoose(_usePopper,_excluded),update=popperProps.update,getLatest=useGetLatest({visible,triggerRef,tooltipRef,finalConfig}),isTriggeredBy=React3.useCallback(function(trigger){return Array.isArray(finalConfig.trigger)?finalConfig.trigger.includes(trigger):finalConfig.trigger===trigger},Array.isArray(finalConfig.trigger)?finalConfig.trigger:[finalConfig.trigger]),hideTooltip=React3.useCallback(function(){clearTimeout(timer.current),timer.current=window.setTimeout(function(){return setVisible(!1)},finalConfig.delayHide);},[finalConfig.delayHide,setVisible]),showTooltip=React3.useCallback(function(){clearTimeout(timer.current),timer.current=window.setTimeout(function(){return setVisible(!0)},finalConfig.delayShow);},[finalConfig.delayShow,setVisible]),toggleTooltip=React3.useCallback(function(){getLatest().visible?hideTooltip():showTooltip();},[getLatest,hideTooltip,showTooltip]);React3.useEffect(function(){if(getLatest().finalConfig.closeOnOutsideClick){var handleClickOutside=function(event){var _event$composedPath,_getLatest=getLatest(),tooltipRef2=_getLatest.tooltipRef,triggerRef2=_getLatest.triggerRef,target=(event.composedPath==null||(_event$composedPath=event.composedPath())==null?void 0:_event$composedPath[0])||event.target;target instanceof Node&&tooltipRef2!=null&&triggerRef2!=null&&!tooltipRef2.contains(target)&&!triggerRef2.contains(target)&&hideTooltip();};return document.addEventListener(\"mousedown\",handleClickOutside),function(){return document.removeEventListener(\"mousedown\",handleClickOutside)}}},[getLatest,hideTooltip]),React3.useEffect(function(){if(!(triggerRef==null||!isTriggeredBy(\"click\")))return triggerRef.addEventListener(\"click\",toggleTooltip),function(){return triggerRef.removeEventListener(\"click\",toggleTooltip)}},[triggerRef,isTriggeredBy,toggleTooltip]),React3.useEffect(function(){if(!(triggerRef==null||!isTriggeredBy(\"double-click\")))return triggerRef.addEventListener(\"dblclick\",toggleTooltip),function(){return triggerRef.removeEventListener(\"dblclick\",toggleTooltip)}},[triggerRef,isTriggeredBy,toggleTooltip]),React3.useEffect(function(){if(!(triggerRef==null||!isTriggeredBy(\"right-click\"))){var preventDefaultAndToggle=function(event){event.preventDefault(),toggleTooltip();};return triggerRef.addEventListener(\"contextmenu\",preventDefaultAndToggle),function(){return triggerRef.removeEventListener(\"contextmenu\",preventDefaultAndToggle)}}},[triggerRef,isTriggeredBy,toggleTooltip]),React3.useEffect(function(){if(!(triggerRef==null||!isTriggeredBy(\"focus\")))return triggerRef.addEventListener(\"focus\",showTooltip),triggerRef.addEventListener(\"blur\",hideTooltip),function(){triggerRef.removeEventListener(\"focus\",showTooltip),triggerRef.removeEventListener(\"blur\",hideTooltip);}},[triggerRef,isTriggeredBy,showTooltip,hideTooltip]),React3.useEffect(function(){if(!(triggerRef==null||!isTriggeredBy(\"hover\")))return triggerRef.addEventListener(\"mouseenter\",showTooltip),triggerRef.addEventListener(\"mouseleave\",hideTooltip),function(){triggerRef.removeEventListener(\"mouseenter\",showTooltip),triggerRef.removeEventListener(\"mouseleave\",hideTooltip);}},[triggerRef,isTriggeredBy,showTooltip,hideTooltip]),React3.useEffect(function(){if(!(tooltipRef==null||!isTriggeredBy(\"hover\")||!getLatest().finalConfig.interactive))return tooltipRef.addEventListener(\"mouseenter\",showTooltip),tooltipRef.addEventListener(\"mouseleave\",hideTooltip),function(){tooltipRef.removeEventListener(\"mouseenter\",showTooltip),tooltipRef.removeEventListener(\"mouseleave\",hideTooltip);}},[tooltipRef,isTriggeredBy,showTooltip,hideTooltip,getLatest]);var isReferenceHidden=popperProps==null||(_popperProps$state=popperProps.state)==null||(_popperProps$state$mo=_popperProps$state.modifiersData)==null||(_popperProps$state$mo2=_popperProps$state$mo.hide)==null?void 0:_popperProps$state$mo2.isReferenceHidden;React3.useEffect(function(){finalConfig.closeOnTriggerHidden&&isReferenceHidden&&hideTooltip();},[finalConfig.closeOnTriggerHidden,hideTooltip,isReferenceHidden]),React3.useEffect(function(){if(!finalConfig.followCursor||triggerRef==null)return;function setMousePosition(_ref){var clientX=_ref.clientX,clientY=_ref.clientY;virtualElement.getBoundingClientRect=generateBoundingClientRect(clientX,clientY),update?.();}return triggerRef.addEventListener(\"mousemove\",setMousePosition),function(){return triggerRef.removeEventListener(\"mousemove\",setMousePosition)}},[finalConfig.followCursor,triggerRef,update]),React3.useEffect(function(){if(!(tooltipRef==null||update==null||finalConfig.mutationObserverOptions==null)){var observer=new MutationObserver(update);return observer.observe(tooltipRef,finalConfig.mutationObserverOptions),function(){return observer.disconnect()}}},[finalConfig.mutationObserverOptions,tooltipRef,update]);var getTooltipProps=function(args){return args===void 0&&(args={}),_extends({},args,{style:_extends({},args.style,styles.popper)},attributes.popper,{\"data-popper-interactive\":finalConfig.interactive})},getArrowProps=function(args){return args===void 0&&(args={}),_extends({},args,attributes.arrow,{style:_extends({},args.style,styles.arrow),\"data-popper-arrow\":!0})};return _extends({getArrowProps,getTooltipProps,setTooltipRef,setTriggerRef,tooltipRef,triggerRef,visible},popperProps)}var match=memoize(1e3)((requests,actual,value,fallback=0)=>actual.split(\"-\")[0]===requests?value:fallback),ArrowSpacing=8,Arrow=styled.div({position:\"absolute\",borderStyle:\"solid\"},({placement})=>{let x=0,y=0;switch(!0){case(placement.startsWith(\"left\")||placement.startsWith(\"right\")):{y=8;break}case(placement.startsWith(\"top\")||placement.startsWith(\"bottom\")):{x=8;break}}return {transform:`translate3d(${x}px, ${y}px, 0px)`}},({theme,color,placement})=>({bottom:`${match(\"top\",placement,`${ArrowSpacing*-1}px`,\"auto\")}`,top:`${match(\"bottom\",placement,`${ArrowSpacing*-1}px`,\"auto\")}`,right:`${match(\"left\",placement,`${ArrowSpacing*-1}px`,\"auto\")}`,left:`${match(\"right\",placement,`${ArrowSpacing*-1}px`,\"auto\")}`,borderBottomWidth:`${match(\"top\",placement,\"0\",ArrowSpacing)}px`,borderTopWidth:`${match(\"bottom\",placement,\"0\",ArrowSpacing)}px`,borderRightWidth:`${match(\"left\",placement,\"0\",ArrowSpacing)}px`,borderLeftWidth:`${match(\"right\",placement,\"0\",ArrowSpacing)}px`,borderTopColor:match(\"top\",placement,theme.color[color]||color||theme.base===\"light\"?lighten(theme.background.app):theme.background.app,\"transparent\"),borderBottomColor:match(\"bottom\",placement,theme.color[color]||color||theme.base===\"light\"?lighten(theme.background.app):theme.background.app,\"transparent\"),borderLeftColor:match(\"left\",placement,theme.color[color]||color||theme.base===\"light\"?lighten(theme.background.app):theme.background.app,\"transparent\"),borderRightColor:match(\"right\",placement,theme.color[color]||color||theme.base===\"light\"?lighten(theme.background.app):theme.background.app,\"transparent\")})),Wrapper=styled.div(({hidden})=>({display:hidden?\"none\":\"inline-block\",zIndex:2147483647}),({theme,color,hasChrome})=>hasChrome?{background:theme.color[color]||color||theme.base===\"light\"?lighten(theme.background.app):theme.background.app,filter:`\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n `,borderRadius:theme.appBorderRadius,fontSize:theme.typography.size.s1}:{}),Tooltip=React3__default.forwardRef(({placement,hasChrome,children,arrowProps,tooltipRef,color,withArrows,...props},ref)=>React3__default.createElement(Wrapper,{\"data-testid\":\"tooltip\",hasChrome,ref,...props,color},hasChrome&&withArrows&&React3__default.createElement(Arrow,{placement,...arrowProps,color}),children));Tooltip.displayName=\"Tooltip\";Tooltip.defaultProps={color:void 0,tooltipRef:void 0,hasChrome:!0,placement:\"top\",arrowProps:{}};var {document:document2}=global,TargetContainer=styled.div`\n display: inline-block;\n cursor: ${props=>props.trigger===\"hover\"||props.trigger.includes(\"hover\")?\"default\":\"pointer\"};\n`,TargetSvgContainer=styled.g`\n cursor: ${props=>props.trigger===\"hover\"||props.trigger.includes(\"hover\")?\"default\":\"pointer\"};\n`,WithTooltipPure=({svg,trigger,closeOnOutsideClick,placement,hasChrome,withArrows,offset:offset2,tooltip,children,closeOnTriggerHidden,mutationObserverOptions,closeOnClick,tooltipShown,onVisibilityChange,defaultVisible,delayHide,visible,interactive,delayShow,modifiers,strategy,followCursor,onVisibleChange,...props})=>{let Container=svg?TargetSvgContainer:TargetContainer,{getArrowProps,getTooltipProps,setTooltipRef,setTriggerRef,visible:isVisible,state}=usePopperTooltip({trigger,placement,defaultVisible:defaultVisible??tooltipShown,delayHide,interactive,closeOnOutsideClick:closeOnOutsideClick??closeOnClick,closeOnTriggerHidden,onVisibleChange:_isVisible=>{onVisibilityChange?.(_isVisible),onVisibleChange?.(_isVisible);},delayShow,followCursor,mutationObserverOptions,visible,offset:offset2},{modifiers,strategy}),tooltipComponent=React3__default.createElement(Tooltip,{placement:state?.placement,ref:setTooltipRef,hasChrome,arrowProps:getArrowProps(),withArrows,...getTooltipProps()},typeof tooltip==\"function\"?tooltip({onHide:()=>onVisibleChange(!1)}):tooltip);return React3__default.createElement(React3__default.Fragment,null,React3__default.createElement(Container,{trigger,ref:setTriggerRef,...props},children),isVisible&&ReactDOM__default.createPortal(tooltipComponent,document2.body))};WithTooltipPure.defaultProps={svg:!1,trigger:\"click\",closeOnOutsideClick:!1,placement:\"top\",modifiers:[{name:\"preventOverflow\",options:{padding:8}},{name:\"offset\",options:{offset:[8,8]}},{name:\"arrow\",options:{padding:8}}],hasChrome:!0,defaultVisible:!1};var WithToolTipState=({startOpen=!1,onVisibleChange:onChange,...rest})=>{let[tooltipShown,setTooltipShown]=useState(startOpen),onVisibilityChange=useCallback(visibility=>{onChange&&onChange(visibility)===!1||setTooltipShown(visibility);},[onChange]);return useEffect(()=>{let hide2=()=>onVisibilityChange(!1);document2.addEventListener(\"keydown\",hide2,!1);let iframes=Array.from(document2.getElementsByTagName(\"iframe\")),unbinders=[];return iframes.forEach(iframe=>{let bind=()=>{try{iframe.contentWindow.document&&(iframe.contentWindow.document.addEventListener(\"click\",hide2),unbinders.push(()=>{try{iframe.contentWindow.document.removeEventListener(\"click\",hide2);}catch{}}));}catch{}};bind(),iframe.addEventListener(\"load\",bind),unbinders.push(()=>{iframe.removeEventListener(\"load\",bind);});}),()=>{document2.removeEventListener(\"keydown\",hide2),unbinders.forEach(unbind=>{unbind();});}}),React3__default.createElement(WithTooltipPure,{...rest,visible:tooltipShown,onVisibleChange:onVisibilityChange})};\n\nexport { WithToolTipState, WithTooltipPure, auto };\n","import { SyntaxHighlighter, ScrollArea } from './chunk-RDJSMFWU.mjs';\nexport { ActionBar, ScrollArea, createCopyToClipboardFunction } from './chunk-RDJSMFWU.mjs';\nimport { auto, WithToolTipState } from './chunk-E5IOH6B7.mjs';\nimport { _objectWithoutPropertiesLoose, _extends } from './chunk-FD4M6EBV.mjs';\nimport './chunk-S72H4O6B.mjs';\nimport './chunk-CR4N7OJN.mjs';\nimport './chunk-Q5VTUGLN.mjs';\nimport './chunk-XWWAUDHM.mjs';\nimport './chunk-OLF4PGGZ.mjs';\nimport './chunk-KMON5KHC.mjs';\nimport './chunk-FXDDSU3L.mjs';\nimport './chunk-R5KWTIWY.mjs';\nimport './chunk-7K7XSER6.mjs';\nimport './chunk-YTVVV3IZ.mjs';\nimport './chunk-HNIG72LA.mjs';\nimport './chunk-3UNGU6BL.mjs';\nimport './chunk-EU3NKDVB.mjs';\nimport './chunk-I3OL67LK.mjs';\nimport './chunk-NNAAFZ4U.mjs';\nimport * as React5 from 'react';\nimport React5__default, { memo, lazy, forwardRef, useMemo, Fragment, createElement, Children, Suspense, useRef, useLayoutEffect, useState, useCallback, Component, useEffect } from 'react';\nimport { styled, ignoreSsrWarning, isPropValid, keyframes } from '@storybook/theming';\nimport useResizeObserver from 'use-resize-observer';\nimport { global as global$1 } from '@storybook/global';\nimport memoize from 'memoizerific';\nimport { sanitize } from '@storybook/csf';\n\nvar nameSpaceClassNames=({...props},key)=>{let classes=[props.class,props.className];return delete props.class,props.className=[\"sbdocs\",`sbdocs-${key}`,...classes].filter(Boolean).join(\" \"),props};function _assertThisInitialized(self){if(self===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return self}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o2,p2){return o2.__proto__=p2,o2},_setPrototypeOf(o,p)}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,_setPrototypeOf(subClass,superClass);}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o2){return o2.__proto__||Object.getPrototypeOf(o2)},_getPrototypeOf(o)}function _isNativeFunction(fn){return Function.toString.call(fn).indexOf(\"[native code]\")!==-1}function _isNativeReflectConstruct(){if(typeof Reflect>\"u\"||!Reflect.construct||Reflect.construct.sham)return !1;if(typeof Proxy==\"function\")return !0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return !1}}function _construct(Parent,args,Class){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(Parent2,args2,Class2){var a=[null];a.push.apply(a,args2);var Constructor=Function.bind.apply(Parent2,a),instance=new Constructor;return Class2&&_setPrototypeOf(instance,Class2.prototype),instance},_construct.apply(null,arguments)}function _wrapNativeSuper(Class){var _cache=typeof Map==\"function\"?new Map:void 0;return _wrapNativeSuper=function(Class2){if(Class2===null||!_isNativeFunction(Class2))return Class2;if(typeof Class2!=\"function\")throw new TypeError(\"Super expression must either be null or a function\");if(typeof _cache<\"u\"){if(_cache.has(Class2))return _cache.get(Class2);_cache.set(Class2,Wrapper3);}function Wrapper3(){return _construct(Class2,arguments,_getPrototypeOf(this).constructor)}return Wrapper3.prototype=Object.create(Class2.prototype,{constructor:{value:Wrapper3,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper3,Class2)},_wrapNativeSuper(Class)}var ERRORS={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).\n\n`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).\n\n`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color.\n\n`,4:`Couldn't generate valid rgb string from %s, it returned %s.\n\n`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.\n\n`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).\n\n`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).\n\n`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.\n\n`,9:`Please provide a number of steps to the modularScale helper.\n\n`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n`,11:`Invalid value passed as base to modularScale, expected number or em string but got \"%s\"\n\n`,12:`Expected a string ending in \"px\" or a number passed as the first argument to %s(), got \"%s\" instead.\n\n`,13:`Expected a string ending in \"px\" or a number passed as the second argument to %s(), got \"%s\" instead.\n\n`,14:`Passed invalid pixel value (\"%s\") to %s(), please pass a value like \"12px\" or 12.\n\n`,15:`Passed invalid base value (\"%s\") to %s(), please pass a value like \"12px\" or 12.\n\n`,16:`You must provide a template to this method.\n\n`,17:`You passed an unsupported selector state to this method.\n\n`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n`,19:`fromSize and toSize must be provided as stringified numbers with the same units.\n\n`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n`,21:\"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\\n\\n\",22:\"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\\n\\n\",23:`fontFace expects a name of a font-family.\n\n`,24:`fontFace expects either the path to the font file(s) or a name of a local copy.\n\n`,25:`fontFace expects localFonts to be an array.\n\n`,26:`fontFace expects fileFormats to be an array.\n\n`,27:`radialGradient requries at least 2 color-stops to properly render.\n\n`,28:`Please supply a filename to retinaImage() as the first argument.\n\n`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n`,30:\"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\\n\\n\",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation\n\n`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')\n\n`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation\n\n`,34:`borderRadius expects a radius value as a string or number as the second argument.\n\n`,35:`borderRadius expects one of \"top\", \"bottom\", \"left\" or \"right\" as the first argument.\n\n`,36:`Property must be a string value.\n\n`,37:`Syntax Error at %s.\n\n`,38:`Formula contains a function that needs parentheses at %s.\n\n`,39:`Formula is missing closing parenthesis at %s.\n\n`,40:`Formula has too many closing parentheses at %s.\n\n`,41:`All values in a formula must have the same unit or be unitless.\n\n`,42:`Please provide a number of steps to the modularScale helper.\n\n`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s.\n\n`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.\n\n`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.\n\n`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n`,48:`fromSize and toSize must be provided as stringified numbers with the same units.\n\n`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.\n\n`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize.\n\n`,52:`fontFace expects either the path to the font file(s) or a name of a local copy.\n\n`,53:`fontFace expects localFonts to be an array.\n\n`,54:`fontFace expects fileFormats to be an array.\n\n`,55:`fontFace expects a name of a font-family.\n\n`,56:`linearGradient requries at least 2 color-stops to properly render.\n\n`,57:`radialGradient requries at least 2 color-stops to properly render.\n\n`,58:`Please supply a filename to retinaImage() as the first argument.\n\n`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n`,60:\"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\\n\\n\",61:`Property must be a string value.\n\n`,62:`borderRadius expects a radius value as a string or number as the second argument.\n\n`,63:`borderRadius expects one of \"top\", \"bottom\", \"left\" or \"right\" as the first argument.\n\n`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.\n\n`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').\n\n`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.\n\n`,67:`You must provide a template to this method.\n\n`,68:`You passed an unsupported selector state to this method.\n\n`,69:`Expected a string ending in \"px\" or a number passed as the first argument to %s(), got %s instead.\n\n`,70:`Expected a string ending in \"px\" or a number passed as the second argument to %s(), got %s instead.\n\n`,71:`Passed invalid pixel value %s to %s(), please pass a value like \"12px\" or 12.\n\n`,72:`Passed invalid base value %s to %s(), please pass a value like \"12px\" or 12.\n\n`,73:`Please provide a valid CSS variable.\n\n`,74:`CSS variable not found and no default was provided.\n\n`,75:`important requires a valid style object, got a %s instead.\n\n`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n\n`,77:`remToPx expects a value in \"rem\" but you provided it in \"%s\".\n\n`,78:`base must be set in \"px\" or \"%\" but you set it in \"%s\".\n`};function format(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var a=args[0],b=[],c;for(c=1;c1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];_this=_Error.call(this,format.apply(void 0,[ERRORS[code]].concat(args)))||this;}return _assertThisInitialized(_this)}return PolishedError2}(_wrapNativeSuper(Error));function colorToInt(color){return Math.round(color*255)}function convertToInt(red,green,blue){return colorToInt(red)+\",\"+colorToInt(green)+\",\"+colorToInt(blue)}function hslToRgb(hue,saturation,lightness,convert){if(convert===void 0&&(convert=convertToInt),saturation===0)return convert(lightness,lightness,lightness);var huePrime=(hue%360+360)%360/60,chroma=(1-Math.abs(2*lightness-1))*saturation,secondComponent=chroma*(1-Math.abs(huePrime%2-1)),red=0,green=0,blue=0;huePrime>=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2,finalRed=red+lightnessModification,finalGreen=green+lightnessModification,finalBlue=blue+lightnessModification;return convert(finalRed,finalGreen,finalBlue)}var namedColorMap={aliceblue:\"f0f8ff\",antiquewhite:\"faebd7\",aqua:\"00ffff\",aquamarine:\"7fffd4\",azure:\"f0ffff\",beige:\"f5f5dc\",bisque:\"ffe4c4\",black:\"000\",blanchedalmond:\"ffebcd\",blue:\"0000ff\",blueviolet:\"8a2be2\",brown:\"a52a2a\",burlywood:\"deb887\",cadetblue:\"5f9ea0\",chartreuse:\"7fff00\",chocolate:\"d2691e\",coral:\"ff7f50\",cornflowerblue:\"6495ed\",cornsilk:\"fff8dc\",crimson:\"dc143c\",cyan:\"00ffff\",darkblue:\"00008b\",darkcyan:\"008b8b\",darkgoldenrod:\"b8860b\",darkgray:\"a9a9a9\",darkgreen:\"006400\",darkgrey:\"a9a9a9\",darkkhaki:\"bdb76b\",darkmagenta:\"8b008b\",darkolivegreen:\"556b2f\",darkorange:\"ff8c00\",darkorchid:\"9932cc\",darkred:\"8b0000\",darksalmon:\"e9967a\",darkseagreen:\"8fbc8f\",darkslateblue:\"483d8b\",darkslategray:\"2f4f4f\",darkslategrey:\"2f4f4f\",darkturquoise:\"00ced1\",darkviolet:\"9400d3\",deeppink:\"ff1493\",deepskyblue:\"00bfff\",dimgray:\"696969\",dimgrey:\"696969\",dodgerblue:\"1e90ff\",firebrick:\"b22222\",floralwhite:\"fffaf0\",forestgreen:\"228b22\",fuchsia:\"ff00ff\",gainsboro:\"dcdcdc\",ghostwhite:\"f8f8ff\",gold:\"ffd700\",goldenrod:\"daa520\",gray:\"808080\",green:\"008000\",greenyellow:\"adff2f\",grey:\"808080\",honeydew:\"f0fff0\",hotpink:\"ff69b4\",indianred:\"cd5c5c\",indigo:\"4b0082\",ivory:\"fffff0\",khaki:\"f0e68c\",lavender:\"e6e6fa\",lavenderblush:\"fff0f5\",lawngreen:\"7cfc00\",lemonchiffon:\"fffacd\",lightblue:\"add8e6\",lightcoral:\"f08080\",lightcyan:\"e0ffff\",lightgoldenrodyellow:\"fafad2\",lightgray:\"d3d3d3\",lightgreen:\"90ee90\",lightgrey:\"d3d3d3\",lightpink:\"ffb6c1\",lightsalmon:\"ffa07a\",lightseagreen:\"20b2aa\",lightskyblue:\"87cefa\",lightslategray:\"789\",lightslategrey:\"789\",lightsteelblue:\"b0c4de\",lightyellow:\"ffffe0\",lime:\"0f0\",limegreen:\"32cd32\",linen:\"faf0e6\",magenta:\"f0f\",maroon:\"800000\",mediumaquamarine:\"66cdaa\",mediumblue:\"0000cd\",mediumorchid:\"ba55d3\",mediumpurple:\"9370db\",mediumseagreen:\"3cb371\",mediumslateblue:\"7b68ee\",mediumspringgreen:\"00fa9a\",mediumturquoise:\"48d1cc\",mediumvioletred:\"c71585\",midnightblue:\"191970\",mintcream:\"f5fffa\",mistyrose:\"ffe4e1\",moccasin:\"ffe4b5\",navajowhite:\"ffdead\",navy:\"000080\",oldlace:\"fdf5e6\",olive:\"808000\",olivedrab:\"6b8e23\",orange:\"ffa500\",orangered:\"ff4500\",orchid:\"da70d6\",palegoldenrod:\"eee8aa\",palegreen:\"98fb98\",paleturquoise:\"afeeee\",palevioletred:\"db7093\",papayawhip:\"ffefd5\",peachpuff:\"ffdab9\",peru:\"cd853f\",pink:\"ffc0cb\",plum:\"dda0dd\",powderblue:\"b0e0e6\",purple:\"800080\",rebeccapurple:\"639\",red:\"f00\",rosybrown:\"bc8f8f\",royalblue:\"4169e1\",saddlebrown:\"8b4513\",salmon:\"fa8072\",sandybrown:\"f4a460\",seagreen:\"2e8b57\",seashell:\"fff5ee\",sienna:\"a0522d\",silver:\"c0c0c0\",skyblue:\"87ceeb\",slateblue:\"6a5acd\",slategray:\"708090\",slategrey:\"708090\",snow:\"fffafa\",springgreen:\"00ff7f\",steelblue:\"4682b4\",tan:\"d2b48c\",teal:\"008080\",thistle:\"d8bfd8\",tomato:\"ff6347\",turquoise:\"40e0d0\",violet:\"ee82ee\",wheat:\"f5deb3\",white:\"fff\",whitesmoke:\"f5f5f5\",yellow:\"ff0\",yellowgreen:\"9acd32\"};function nameToHex(color){if(typeof color!=\"string\")return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?\"#\"+namedColorMap[normalizedColorName]:color}var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\\(\\s*(\\d{1,3})\\s*(?:,)?\\s*(\\d{1,3})\\s*(?:,)?\\s*(\\d{1,3})\\s*\\)$/i,rgbaRegex=/^rgb(?:a)?\\(\\s*(\\d{1,3})\\s*(?:,)?\\s*(\\d{1,3})\\s*(?:,)?\\s*(\\d{1,3})\\s*(?:,|\\/)\\s*([-+]?\\d*[.]?\\d+[%]?)\\s*\\)$/i,hslRegex=/^hsl\\(\\s*(\\d{0,3}[.]?[0-9]+(?:deg)?)\\s*(?:,)?\\s*(\\d{1,3}[.]?[0-9]?)%\\s*(?:,)?\\s*(\\d{1,3}[.]?[0-9]?)%\\s*\\)$/i,hslaRegex=/^hsl(?:a)?\\(\\s*(\\d{0,3}[.]?[0-9]+(?:deg)?)\\s*(?:,)?\\s*(\\d{1,3}[.]?[0-9]?)%\\s*(?:,)?\\s*(\\d{1,3}[.]?[0-9]?)%\\s*(?:,|\\/)\\s*([-+]?\\d*[.]?\\d+[%]?)\\s*\\)$/i;function parseToRgb(color){if(typeof color!=\"string\")throw new PolishedError(3);var normalizedColor=nameToHex(color);if(normalizedColor.match(hexRegex))return {red:parseInt(\"\"+normalizedColor[1]+normalizedColor[2],16),green:parseInt(\"\"+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(\"\"+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(\"\"+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return {red:parseInt(\"\"+normalizedColor[1]+normalizedColor[2],16),green:parseInt(\"\"+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(\"\"+normalizedColor[5]+normalizedColor[6],16),alpha}}if(normalizedColor.match(reducedHexRegex))return {red:parseInt(\"\"+normalizedColor[1]+normalizedColor[1],16),green:parseInt(\"\"+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(\"\"+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(\"\"+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return {red:parseInt(\"\"+normalizedColor[1]+normalizedColor[1],16),green:parseInt(\"\"+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(\"\"+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return {red:parseInt(\"\"+rgbMatched[1],10),green:parseInt(\"\"+rgbMatched[2],10),blue:parseInt(\"\"+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return {red:parseInt(\"\"+rgbaMatched[1],10),green:parseInt(\"\"+rgbaMatched[2],10),blue:parseInt(\"\"+rgbaMatched[3],10),alpha:parseFloat(\"\"+rgbaMatched[4])>1?parseFloat(\"\"+rgbaMatched[4])/100:parseFloat(\"\"+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var hue=parseInt(\"\"+hslMatched[1],10),saturation=parseInt(\"\"+hslMatched[2],10)/100,lightness=parseInt(\"\"+hslMatched[3],10)/100,rgbColorString=\"rgb(\"+hslToRgb(hue,saturation,lightness)+\")\",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return {red:parseInt(\"\"+hslRgbMatched[1],10),green:parseInt(\"\"+hslRgbMatched[2],10),blue:parseInt(\"\"+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _hue=parseInt(\"\"+hslaMatched[1],10),_saturation=parseInt(\"\"+hslaMatched[2],10)/100,_lightness=parseInt(\"\"+hslaMatched[3],10)/100,_rgbColorString=\"rgb(\"+hslToRgb(_hue,_saturation,_lightness)+\")\",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return {red:parseInt(\"\"+_hslRgbMatched[1],10),green:parseInt(\"\"+_hslRgbMatched[2],10),blue:parseInt(\"\"+_hslRgbMatched[3],10),alpha:parseFloat(\"\"+hslaMatched[4])>1?parseFloat(\"\"+hslaMatched[4])/100:parseFloat(\"\"+hslaMatched[4])}}throw new PolishedError(5)}function rgbToHsl(color){var red=color.red/255,green=color.green/255,blue=color.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return color.alpha!==void 0?{hue:0,saturation:0,lightness,alpha:color.alpha}:{hue:0,saturation:0,lightness};var hue,delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?hslToHex(value,saturation,lightness):\"rgba(\"+hslToRgb(value,saturation,lightness)+\",\"+alpha+\")\";if(typeof value==\"object\"&&saturation===void 0&&lightness===void 0&&alpha===void 0)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):\"rgba(\"+hslToRgb(value.hue,value.saturation,value.lightness)+\",\"+value.alpha+\")\";throw new PolishedError(2)}function rgb(value,green,blue){if(typeof value==\"number\"&&typeof green==\"number\"&&typeof blue==\"number\")return reduceHexValue$1(\"#\"+numberToHex(value)+numberToHex(green)+numberToHex(blue));if(typeof value==\"object\"&&green===void 0&&blue===void 0)return reduceHexValue$1(\"#\"+numberToHex(value.red)+numberToHex(value.green)+numberToHex(value.blue));throw new PolishedError(6)}function rgba(firstValue,secondValue,thirdValue,fourthValue){if(typeof firstValue==\"string\"&&typeof secondValue==\"number\"){var rgbValue=parseToRgb(firstValue);return \"rgba(\"+rgbValue.red+\",\"+rgbValue.green+\",\"+rgbValue.blue+\",\"+secondValue+\")\"}else {if(typeof firstValue==\"number\"&&typeof secondValue==\"number\"&&typeof thirdValue==\"number\"&&typeof fourthValue==\"number\")return fourthValue>=1?rgb(firstValue,secondValue,thirdValue):\"rgba(\"+firstValue+\",\"+secondValue+\",\"+thirdValue+\",\"+fourthValue+\")\";if(typeof firstValue==\"object\"&&secondValue===void 0&&thirdValue===void 0&&fourthValue===void 0)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):\"rgba(\"+firstValue.red+\",\"+firstValue.green+\",\"+firstValue.blue+\",\"+firstValue.alpha+\")\"}throw new PolishedError(7)}var isRgb=function(color){return typeof color.red==\"number\"&&typeof color.green==\"number\"&&typeof color.blue==\"number\"&&(typeof color.alpha!=\"number\"||typeof color.alpha>\"u\")},isRgba=function(color){return typeof color.red==\"number\"&&typeof color.green==\"number\"&&typeof color.blue==\"number\"&&typeof color.alpha==\"number\"},isHsl=function(color){return typeof color.hue==\"number\"&&typeof color.saturation==\"number\"&&typeof color.lightness==\"number\"&&(typeof color.alpha!=\"number\"||typeof color.alpha>\"u\")},isHsla=function(color){return typeof color.hue==\"number\"&&typeof color.saturation==\"number\"&&typeof color.lightness==\"number\"&&typeof color.alpha==\"number\"};function toColorString(color){if(typeof color!=\"object\")throw new PolishedError(8);if(isRgba(color))return rgba(color);if(isRgb(color))return rgb(color);if(isHsla(color))return hsla(color);if(isHsl(color))return hsl(color);throw new PolishedError(8)}function curried(f,length,acc){return function(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}function curry(f){return curried(f,f.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}function darken(amount,color){if(color===\"transparent\")return color;var hslColor=parseToHsl(color);return toColorString(_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}var curriedDarken=curry(darken),curriedDarken$1=curriedDarken;function lighten(amount,color){if(color===\"transparent\")return color;var hslColor=parseToHsl(color);return toColorString(_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}var curriedLighten=curry(lighten),curriedLighten$1=curriedLighten;function transparentize(amount,color){if(color===\"transparent\")return color;var parsedColor=parseToRgb(color),alpha=typeof parsedColor.alpha==\"number\"?parsedColor.alpha:1,colorWithAlpha=_extends({},parsedColor,{alpha:guard(0,1,+(alpha*100-parseFloat(amount)*100).toFixed(2)/100)});return rgba(colorWithAlpha)}var curriedTransparentize=curry(transparentize),curriedTransparentize$1=curriedTransparentize;var headerCommon=({theme})=>({margin:\"20px 0 8px\",padding:0,cursor:\"text\",position:\"relative\",color:theme.color.defaultText,\"&:first-of-type\":{marginTop:0,paddingTop:0},\"&:hover a.anchor\":{textDecoration:\"none\"},\"& tt, & code\":{fontSize:\"inherit\"}}),codeCommon=({theme})=>({lineHeight:1,margin:\"0 2px\",padding:\"3px 5px\",whiteSpace:\"nowrap\",borderRadius:3,fontSize:theme.typography.size.s2-1,border:theme.base===\"light\"?`1px solid ${theme.color.mediumlight}`:`1px solid ${theme.color.darker}`,color:theme.base===\"light\"?curriedTransparentize$1(.1,theme.color.defaultText):curriedTransparentize$1(.3,theme.color.defaultText),backgroundColor:theme.base===\"light\"?theme.color.lighter:theme.color.border}),withReset=({theme})=>({fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s3,margin:0,WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",WebkitTapHighlightColor:\"rgba(0, 0, 0, 0)\",WebkitOverflowScrolling:\"touch\"}),withMargin={margin:\"16px 0\"};var Link=({href:input,children,...props})=>{let isStorybookPath=/^\\//.test(input),isAnchorUrl=/^#.*/.test(input),href=isStorybookPath?`./?path=${input}`:input;return React5__default.createElement(\"a\",{href,target:isAnchorUrl?\"_self\":\"_top\",...props},children)};var A=styled(Link)(withReset,({theme})=>({fontSize:\"inherit\",lineHeight:\"24px\",color:theme.color.secondary,textDecoration:\"none\",\"&.absent\":{color:\"#cc0000\"},\"&.anchor\":{display:\"block\",paddingLeft:30,marginLeft:-30,cursor:\"pointer\",position:\"absolute\",top:0,left:0,bottom:0}}));var Blockquote=styled.blockquote(withReset,withMargin,({theme})=>({borderLeft:`4px solid ${theme.color.medium}`,padding:\"0 15px\",color:theme.color.dark,\"& > :first-of-type\":{marginTop:0},\"& > :last-child\":{marginBottom:0}}));var isReactChildString=child=>typeof child==\"string\";var isInlineCodeRegex=/[\\n\\r]/g,DefaultCodeBlock=styled.code(({theme})=>({fontFamily:theme.typography.fonts.mono,WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",display:\"inline-block\",paddingLeft:2,paddingRight:2,verticalAlign:\"baseline\",color:\"inherit\"}),codeCommon),StyledSyntaxHighlighter=styled(SyntaxHighlighter)(({theme})=>({fontFamily:theme.typography.fonts.mono,fontSize:`${theme.typography.size.s2-1}px`,lineHeight:\"19px\",margin:\"25px 0 40px\",borderRadius:theme.appBorderRadius,boxShadow:theme.base===\"light\"?\"rgba(0, 0, 0, 0.10) 0 1px 3px 0\":\"rgba(0, 0, 0, 0.20) 0 2px 5px 0\",\"pre.prismjs\":{padding:20,background:\"inherit\"}})),Code=({className,children,...props})=>{let language=(className||\"\").match(/lang-(\\S+)/),childrenArray=Children.toArray(children);return childrenArray.filter(isReactChildString).some(child=>child.match(isInlineCodeRegex))?React5__default.createElement(StyledSyntaxHighlighter,{bordered:!0,copyable:!0,language:language?.[1]??\"plaintext\",format:!1,...props},children):React5__default.createElement(DefaultCodeBlock,{...props,className},childrenArray)};var Div=styled.div(withReset);var DL=styled.dl(withReset,{...withMargin,padding:0,\"& dt\":{fontSize:\"14px\",fontWeight:\"bold\",fontStyle:\"italic\",padding:0,margin:\"16px 0 4px\"},\"& dt:first-of-type\":{padding:0},\"& dt > :first-of-type\":{marginTop:0},\"& dt > :last-child\":{marginBottom:0},\"& dd\":{margin:\"0 0 16px\",padding:\"0 15px\"},\"& dd > :first-of-type\":{marginTop:0},\"& dd > :last-child\":{marginBottom:0}});var H1=styled.h1(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.l1}px`,fontWeight:theme.typography.weight.bold}));var H2=styled.h2(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${theme.appBorderColor}`}));var H3=styled.h3(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.m1}px`}));var H4=styled.h4(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.s3}px`}));var H5=styled.h5(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.s2}px`}));var H6=styled.h6(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.s2}px`,color:theme.color.dark}));var HR=styled.hr(({theme})=>({border:\"0 none\",borderTop:`1px solid ${theme.appBorderColor}`,height:4,padding:0}));var Img=styled.img({maxWidth:\"100%\"});var LI=styled.li(withReset,({theme})=>({fontSize:theme.typography.size.s2,color:theme.color.defaultText,lineHeight:\"24px\",\"& + li\":{marginTop:\".25em\"},\"& ul, & ol\":{marginTop:\".25em\",marginBottom:0},\"& code\":codeCommon({theme})}));var listCommon={paddingLeft:30,\"& :first-of-type\":{marginTop:0},\"& :last-child\":{marginBottom:0}},OL=styled.ol(withReset,withMargin,{...listCommon,listStyle:\"decimal\"});var P=styled.p(withReset,withMargin,({theme})=>({fontSize:theme.typography.size.s2,lineHeight:\"24px\",color:theme.color.defaultText,\"& code\":codeCommon({theme})}));var Pre=styled.pre(withReset,withMargin,({theme})=>({fontFamily:theme.typography.fonts.mono,WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",lineHeight:\"18px\",padding:\"11px 1rem\",whiteSpace:\"pre-wrap\",color:\"inherit\",borderRadius:3,margin:\"1rem 0\",\"&:not(.prismjs)\":{background:\"transparent\",border:\"none\",borderRadius:0,padding:0,margin:0},\"& pre, &.prismjs\":{padding:15,margin:0,whiteSpace:\"pre-wrap\",color:\"inherit\",fontSize:\"13px\",lineHeight:\"19px\",code:{color:\"inherit\",fontSize:\"inherit\"}},\"& code\":{whiteSpace:\"pre\"},\"& code, & tt\":{border:\"none\"}}));var Span=styled.span(withReset,({theme})=>({\"&.frame\":{display:\"block\",overflow:\"hidden\",\"& > span\":{border:`1px solid ${theme.color.medium}`,display:\"block\",float:\"left\",overflow:\"hidden\",margin:\"13px 0 0\",padding:7,width:\"auto\"},\"& span img\":{display:\"block\",float:\"left\"},\"& span span\":{clear:\"both\",color:theme.color.darkest,display:\"block\",padding:\"5px 0 0\"}},\"&.align-center\":{display:\"block\",overflow:\"hidden\",clear:\"both\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px auto 0\",textAlign:\"center\"},\"& span img\":{margin:\"0 auto\",textAlign:\"center\"}},\"&.align-right\":{display:\"block\",overflow:\"hidden\",clear:\"both\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px 0 0\",textAlign:\"right\"},\"& span img\":{margin:0,textAlign:\"right\"}},\"&.float-left\":{display:\"block\",marginRight:13,overflow:\"hidden\",float:\"left\",\"& span\":{margin:\"13px 0 0\"}},\"&.float-right\":{display:\"block\",marginLeft:13,overflow:\"hidden\",float:\"right\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px auto 0\",textAlign:\"right\"}}}));var Table=styled.table(withReset,withMargin,({theme})=>({fontSize:theme.typography.size.s2,lineHeight:\"24px\",padding:0,borderCollapse:\"collapse\",\"& tr\":{borderTop:`1px solid ${theme.appBorderColor}`,backgroundColor:theme.appContentBg,margin:0,padding:0},\"& tr:nth-of-type(2n)\":{backgroundColor:theme.base===\"dark\"?theme.color.darker:theme.color.lighter},\"& tr th\":{fontWeight:\"bold\",color:theme.color.defaultText,border:`1px solid ${theme.appBorderColor}`,margin:0,padding:\"6px 13px\"},\"& tr td\":{border:`1px solid ${theme.appBorderColor}`,color:theme.color.defaultText,margin:0,padding:\"6px 13px\"},\"& tr th :first-of-type, & tr td :first-of-type\":{marginTop:0},\"& tr th :last-child, & tr td :last-child\":{marginBottom:0}}));var TT=styled.title(codeCommon);var listCommon2={paddingLeft:30,\"& :first-of-type\":{marginTop:0},\"& :last-child\":{marginBottom:0}},UL=styled.ul(withReset,withMargin,{...listCommon2,listStyle:\"disc\"});var ResetWrapper=styled.div(withReset);var components={h1:props=>React5__default.createElement(H1,{...nameSpaceClassNames(props,\"h1\")}),h2:props=>React5__default.createElement(H2,{...nameSpaceClassNames(props,\"h2\")}),h3:props=>React5__default.createElement(H3,{...nameSpaceClassNames(props,\"h3\")}),h4:props=>React5__default.createElement(H4,{...nameSpaceClassNames(props,\"h4\")}),h5:props=>React5__default.createElement(H5,{...nameSpaceClassNames(props,\"h5\")}),h6:props=>React5__default.createElement(H6,{...nameSpaceClassNames(props,\"h6\")}),pre:props=>React5__default.createElement(Pre,{...nameSpaceClassNames(props,\"pre\")}),a:props=>React5__default.createElement(A,{...nameSpaceClassNames(props,\"a\")}),hr:props=>React5__default.createElement(HR,{...nameSpaceClassNames(props,\"hr\")}),dl:props=>React5__default.createElement(DL,{...nameSpaceClassNames(props,\"dl\")}),blockquote:props=>React5__default.createElement(Blockquote,{...nameSpaceClassNames(props,\"blockquote\")}),table:props=>React5__default.createElement(Table,{...nameSpaceClassNames(props,\"table\")}),img:props=>React5__default.createElement(Img,{...nameSpaceClassNames(props,\"img\")}),div:props=>React5__default.createElement(Div,{...nameSpaceClassNames(props,\"div\")}),span:props=>React5__default.createElement(Span,{...nameSpaceClassNames(props,\"span\")}),li:props=>React5__default.createElement(LI,{...nameSpaceClassNames(props,\"li\")}),ul:props=>React5__default.createElement(UL,{...nameSpaceClassNames(props,\"ul\")}),ol:props=>React5__default.createElement(OL,{...nameSpaceClassNames(props,\"ol\")}),p:props=>React5__default.createElement(P,{...nameSpaceClassNames(props,\"p\")}),code:props=>React5__default.createElement(Code,{...nameSpaceClassNames(props,\"code\")}),tt:props=>React5__default.createElement(TT,{...nameSpaceClassNames(props,\"tt\")}),resetwrapper:props=>React5__default.createElement(ResetWrapper,{...nameSpaceClassNames(props,\"resetwrapper\")})};var BadgeWrapper=styled.div(({theme})=>({display:\"inline-block\",fontSize:11,lineHeight:\"12px\",alignSelf:\"center\",padding:\"4px 12px\",borderRadius:\"3em\",fontWeight:theme.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:\"currentColor\"}}},({theme,status})=>{switch(status){case\"critical\":return {color:theme.color.critical,background:theme.background.critical};case\"negative\":return {color:theme.color.negativeText,background:theme.background.negative,boxShadow:theme.base===\"light\"?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.negativeText)}`:\"none\"};case\"warning\":return {color:theme.color.warningText,background:theme.background.warning,boxShadow:theme.base===\"light\"?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.warningText)}`:\"none\"};case\"neutral\":return {color:theme.color.dark,background:theme.color.mediumlight,boxShadow:theme.base===\"light\"?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.dark)}`:\"none\"};case\"positive\":return {color:theme.color.positiveText,background:theme.background.positive,boxShadow:theme.base===\"light\"?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.positiveText)}`:\"none\"};default:return {}}}),Badge=({...props})=>React5__default.createElement(BadgeWrapper,{...props});var icons={user:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0ZM2.67 11.15c.7-1 2.6-1.81 3.2-1.9.22-.04.23-.66.23-.66s-.67-.66-.81-1.55c-.4 0-.63-.94-.24-1.27l-.02-.13c-.06-.6-.28-2.6 1.97-2.6s2.03 2 1.97 2.6l-.02.13c.4.33.15 1.27-.24 1.27-.14.89-.8 1.55-.8 1.55s0 .62.22.66c.6.09 2.5.9 3.2 1.9a6 6 0 1 0-8.66 0Z\"})),useralt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.27 13.16a11.39 11.39 0 0 0 5.18-1.23v-.25c0-1.57-3.24-3-4.1-3.13-.27-.05-.28-.79-.28-.79s.8-.78.96-1.83c.47 0 .75-1.12.29-1.52.02-.41.6-3.25-2.32-3.25S4.65 4 4.67 4.41c-.46.4-.17 1.52.29 1.52.17 1.05.96 1.83.96 1.83s0 .74-.27.79c-.86.13-4.04 1.53-4.1 3.08a11.44 11.44 0 0 0 5.72 1.53Z\"})),useradd:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1.18 11.9c-.4-.17-.8-.36-1.18-.58.06-1.44 3.02-2.74 3.82-2.87.25-.04.26-.73.26-.73s-.74-.73-.9-1.7c-.43 0-.7-1.05-.27-1.42l-.01-.14c-.07-.67-.31-2.88 2.18-2.88 2.48 0 2.24 2.2 2.17 2.88l-.01.14c.43.37.16 1.41-.27 1.41-.16.98-.9 1.71-.9 1.71s.01.69.26.73c.8.13 3.82 1.46 3.82 2.91v.24a10.63 10.63 0 0 1-8.97.3ZM11.5 2.16c.28 0 .5.22.5.5v1.5h1.5a.5.5 0 0 1 0 1H12v1.5a.5.5 0 0 1-1 0v-1.5H9.5a.5.5 0 1 1 0-1H11v-1.5c0-.28.22-.5.5-.5Z\"})),users:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M9.21 11.62A10.59 10.59 0 0 1 0 11.07c.06-1.35 2.93-2.58 3.7-2.7.25-.03.26-.68.26-.68s-.72-.69-.87-1.6c-.42 0-.68-.99-.26-1.33 0-.03 0-.08-.02-.14-.07-.63-.3-2.71 2.12-2.71 2.41 0 2.18 2.08 2.11 2.71l-.01.14c.42.34.16 1.32-.26 1.32-.16.92-.87 1.6-.87 1.6s0 .66.25.7c.78.11 3.7 1.36 3.7 2.73v.22l-.64.3Z\"}),React5__default.createElement(\"path\",{d:\"M8.81 8.42a9.64 9.64 0 0 0-.74-.4 5.2 5.2 0 0 1 1.7-.76c.17-.02.17-.47.17-.47s-.49-.47-.6-1.1c-.28 0-.46-.68-.17-.91l-.01-.1c-.05-.43-.2-1.86 1.45-1.86 1.66 0 1.5 1.43 1.45 1.86v.1c.28.23.1.9-.18.9-.11.64-.6 1.11-.6 1.11s0 .45.17.47c.54.08 2.55.94 2.55 1.89v.62a10.6 10.6 0 0 1-3.3.56 2.97 2.97 0 0 0-.58-.88c-.37-.41-.85-.76-1.31-1.03Z\"})),profile:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M9.1 7.35a5.06 5.06 0 0 1-4.52-.28C4.6 6.4 6.02 5.77 6.4 5.7c.12-.02.12-.35.12-.35s-.35-.34-.43-.81c-.2 0-.33-.5-.12-.67l-.01-.07C5.93 3.48 5.81 2.42 7 2.42S8.07 3.48 8.04 3.8v.07c.2.17.07.67-.13.67-.08.47-.43.81-.43.81s0 .33.12.35c.38.06 1.82.7 1.82 1.4v.1c-.1.06-.2.1-.31.15Zm-5.35 3.9c0-.14.11-.25.25-.25h6a.25.25 0 1 1 0 .5H4a.25.25 0 0 1-.25-.25ZM4 9a.25.25 0 0 0 0 .5h6a.25.25 0 1 0 0-.5H4Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1 .5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v13a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V.5ZM2 13V1h10v12H2Z\"})),facehappy:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M3.97 8.75a.5.5 0 0 0-.87.5 4.5 4.5 0 0 0 7.8 0 .5.5 0 1 0-.87-.5 3.5 3.5 0 0 1-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z\"})),faceneutral:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M4.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z\"})),facesad:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M3.97 10.25a.5.5 0 0 1-.87-.5 4.5 4.5 0 0 1 7.8 0 .5.5 0 1 1-.87.5 3.5 3.5 0 0 0-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z\"})),accessibility:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z\"}),React5__default.createElement(\"path\",{d:\"M7 4.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z\"})),accessibilityalt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM8 3.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z\"})),arrowup:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"m7.35 2.9 5.5 5.5a.5.5 0 0 1-.7.7L7 3.96 1.85 9.1a.5.5 0 1 1-.7-.7l5.5-5.5c.2-.2.5-.2.7 0Z\"})),arrowdown:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"m1.15 5.6 5.5 5.5c.2.2.5.2.7 0l5.5-5.5a.5.5 0 0 0-.7-.7L7 10.04 1.85 4.9a.5.5 0 1 0-.7.7Z\"})),arrowleft:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2.76 7.1c.02.09.06.18.14.25l5.5 5.5a.5.5 0 0 0 .7-.7L3.96 7 9.1 1.85a.5.5 0 1 0-.7-.7l-5.5 5.5a.5.5 0 0 0-.14.45Z\"})),arrowright:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"m11.1 7.35-5.5 5.5a.5.5 0 0 1-.7-.7L10.04 7 4.9 1.85a.5.5 0 1 1 .7-.7l5.5 5.5c.2.2.2.5 0 .7Z\"})),arrowupalt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M11.85 4.65 7.35.15a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 1 0 .7.7L6.5 1.71V13.5a.5.5 0 0 0 1 0V1.7l3.65 3.65a.5.5 0 0 0 .7-.7Z\"})),arrowdownalt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.5.5a.5.5 0 0 0-1 0v11.8L2.85 8.64a.5.5 0 1 0-.7.7l4.5 4.5A.5.5 0 0 0 7 14a.5.5 0 0 0 .35-.15l4.5-4.5a.5.5 0 0 0-.7-.7L7.5 12.29V.5Z\"})),arrowleftalt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5.35 2.15c.2.2.2.5 0 .7L1.71 6.5H13.5a.5.5 0 0 1 0 1H1.7l3.65 3.65a.5.5 0 0 1-.7.7l-4.5-4.5a.5.5 0 0 1 0-.7l4.5-4.5c.2-.2.5-.2.7 0Z\"})),arrowrightalt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M8.65 2.15c.2-.2.5-.2.7 0l4.5 4.5c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7-.7l3.64-3.65H.5a.5.5 0 0 1 0-1h11.8L8.64 2.85a.5.5 0 0 1 0-.7Z\"})),expandalt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"m7.35.15 4 4a.5.5 0 0 1-.7.7L7 1.21 3.35 4.85a.5.5 0 1 1-.7-.7l4-4c.2-.2.5-.2.7 0ZM11.35 9.15c.2.2.2.5 0 .7l-4 4a.5.5 0 0 1-.7 0l-4-4a.5.5 0 1 1 .7-.7L7 12.79l3.65-3.64c.2-.2.5-.2.7 0Z\"})),collapse:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M3.354.146a.5.5 0 1 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0-.708-.708L7 3.793 3.354.146Zm3.292 9a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1-.708.708L7 10.207l-3.646 3.647a.5.5 0 0 1-.708-.708l4-4Z\"})),expand:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1.5 1h2a.5.5 0 0 1 0 1h-.8l3.15 3.15a.5.5 0 1 1-.7.7L2 2.71v.79a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 1.5c0-.28.22-.5.5-.5h2c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-.8L8.85 5.86a.5.5 0 1 1-.7-.7L11.29 2h-.79a.5.5 0 0 1-.5-.5ZM12.5 10c.28 0 .5.22.5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h.8L8.14 8.85a.5.5 0 1 1 .7-.7L12 11.29v-.79c0-.28.22-.5.5-.5ZM2 11.3v-.8a.5.5 0 0 0-1 0v2c0 .28.22.5.5.5h2a.5.5 0 0 0 0-1h-.8l3.15-3.15a.5.5 0 1 0-.7-.7L2 11.29Z\"})),unfold:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"m6.65.15-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64V5a.5.5 0 0 0 1 0V1.7l.65.65a.5.5 0 1 0 .7-.7L7.35.15a.5.5 0 0 0-.7 0Z\"}),React5__default.createElement(\"path\",{d:\"M1.3 4.04a.5.5 0 0 0-.16.82L3.3 7 1.15 9.15a.5.5 0 0 0 .35.85h3a.5.5 0 0 0 0-1H2.7l1.5-1.5h5.6l2.35 2.35a.5.5 0 0 0 .7-.7L10.71 7l2.14-2.15.11-.54-.1.54A.5.5 0 0 0 13 4.5a.5.5 0 0 0-.14-.35.5.5 0 0 0-.36-.15h-3a.5.5 0 0 0 0 1h1.8L9.8 6.5H4.2L2.7 5h1.8a.5.5 0 0 0 0-1h-3a.5.5 0 0 0-.2.04Z\"}),React5__default.createElement(\"path\",{d:\"M7 8.5c.28 0 .5.22.5.5v3.3l.65-.65a.5.5 0 0 1 .7.7l-1.5 1.5a.5.5 0 0 1-.7 0l-1.5-1.5a.5.5 0 0 1 .7-.7l.65.64V9c0-.28.22-.5.5-.5ZM9 9.5c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Z\"})),transfer:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M10.65 2.65c.2-.2.5-.2.7 0l1.5 1.5c.2.2.2.5 0 .7l-1.5 1.5a.5.5 0 0 1-.7-.7l.64-.65H1.5a.5.5 0 0 1 0-1h9.8l-.65-.65a.5.5 0 0 1 0-.7ZM3.35 8.35 2.71 9h9.79a.5.5 0 0 1 0 1H2.7l.65.65a.5.5 0 0 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7Z\"})),redirect:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1.5 1c.28 0 .5.22.5.5V10a2 2 0 0 0 4 0V4a3 3 0 0 1 6 0v7.8l1.15-1.15a.5.5 0 0 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 0 1 .7-.7L11 11.79V4a2 2 0 1 0-4 0v6a3 3 0 0 1-6 0V1.5c0-.28.22-.5.5-.5Z\"})),undo:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1.15 3.85a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7L2.71 3H9a4 4 0 0 1 0 8H3a.5.5 0 0 1 0-1h6a3 3 0 1 0 0-6H2.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2Z\"})),reply:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M4.35 2.15c.2.2.2.5 0 .7L1.71 5.5H9.5A4.5 4.5 0 0 1 14 10v1.5a.5.5 0 0 1-1 0V10a3.5 3.5 0 0 0-3.5-3.5H1.7l2.65 2.65a.5.5 0 1 1-.7.7l-3.5-3.5a.5.5 0 0 1 0-.7l3.5-3.5c.2-.2.5-.2.7 0Z\"})),sync:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5.5 1A.5.5 0 0 0 5 .5H2a.5.5 0 0 0 0 1h1.53a6.5 6.5 0 0 0 2.39 11.91.5.5 0 1 0 .16-.99A5.5 5.5 0 0 1 4.5 2.1V4a.5.5 0 0 0 1 0V1ZM7.5 1a.5.5 0 0 1 .58-.41 6.5 6.5 0 0 1 2.39 11.91H12a.5.5 0 0 1 0 1H9a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 1 0v1.9A5.5 5.5 0 0 0 7.92 1.58.5.5 0 0 1 7.5 1Z\"})),upload:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M8.65 5.85 7.5 4.71v5.79a.5.5 0 0 1-1 0V4.7L5.35 5.86a.5.5 0 1 1-.7-.7l2-2c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z\"})),download:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5.35 8.15 6.5 9.29V3.5a.5.5 0 0 1 1 0v5.8l1.15-1.15a.5.5 0 1 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 1 1 .7-.7Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm1 0a6 6 0 1 1 12 0A6 6 0 0 1 1 7Z\"})),back:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5.85 5.35 4.71 6.5h5.79a.5.5 0 0 1 0 1H4.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7 0a7 7 0 1 1 0 14A7 7 0 0 1 7 0Zm0 1a6 6 0 1 1 0 12A6 6 0 0 1 7 1Z\"})),proceed:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M3.5 6.5h5.8L8.14 5.35a.5.5 0 1 1 .7-.7l2 2c.2.2.2.5 0 .7l-2 2a.5.5 0 1 1-.7-.7L9.29 7.5H3.5a.5.5 0 0 1 0-1Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7 14A7 7 0 1 1 7 0a7 7 0 0 1 0 14Zm0-1A6 6 0 1 1 7 1a6 6 0 0 1 0 12Z\"})),refresh:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.1.5H7a6.5 6.5 0 1 0 6.41 7.58.5.5 0 1 0-.99-.16A5.47 5.47 0 0 1 7 12.5a5.5 5.5 0 0 1 0-11 5.5 5.5 0 0 1 4.9 3H10a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-1 0v1.53A6.5 6.5 0 0 0 7.1.5Z\"})),globe:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7A7 7 0 1 0 0 7a7 7 0 0 0 14 0Zm-6.53 5.74c-.24.23-.4.26-.47.26-.08 0-.23-.03-.47-.26-.23-.24-.5-.62-.73-1.18A11.57 11.57 0 0 1 5 7.5h4a11.57 11.57 0 0 1-.8 4.06c-.24.56-.5.94-.73 1.18ZM8.99 6.5H5.01c.05-1.62.35-3.04.79-4.06.24-.56.5-.94.73-1.18.24-.23.4-.26.47-.26.08 0 .23.03.47.26.23.24.5.62.73 1.18.44 1.02.74 2.44.8 4.06Zm1 1c-.06 2.18-.56 4.08-1.28 5.25a6 6 0 0 0 4.27-5.25H9.99Zm2.99-1H9.99c-.06-2.18-.56-4.08-1.28-5.25a6 6 0 0 1 4.27 5.25ZM4 6.5c.06-2.18.56-4.08 1.28-5.25A6 6 0 0 0 1.02 6.5h2.99Zm-2.99 1a6 6 0 0 0 4.27 5.25c-.72-1.17-1.22-3.07-1.28-5.25H1.02Z\"})),compass:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M10.09 3.4 5.95 5.8a.37.37 0 0 0-.11.09.38.38 0 0 0-.04.05l-2.4 4.15a.37.37 0 0 0 0 .38c.1.18.33.24.5.14l4.15-2.4a.37.37 0 0 0 .15-.15l2.4-4.15a.37.37 0 0 0-.03-.44.37.37 0 0 0-.48-.07ZM4.75 9.25 7.6 7.6 6.4 6.4 4.75 9.25Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z\"})),location:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm6.5 3.5v2.48A6 6 0 0 1 1.02 7.5H3.5a.5.5 0 0 0 0-1H1.02A6 6 0 0 1 6.5 1.02V3.5a.5.5 0 0 0 1 0V1.02a6 6 0 0 1 5.48 5.48H10.5a.5.5 0 0 0 0 1h2.48a6 6 0 0 1-5.48 5.48V10.5a.5.5 0 0 0-1 0Z\"})),pin:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M9 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M12 5A5 5 0 0 0 2 5c0 2.63 2.27 6.15 4.65 8.64.2.2.5.2.7 0C9.73 11.15 12 7.64 12 5ZM7 1a4 4 0 0 1 4 4c0 1.06-.47 2.42-1.3 3.88A21.23 21.23 0 0 1 7 12.55c-1-1.1-1.97-2.39-2.7-3.67A8.46 8.46 0 0 1 3 5a4 4 0 0 1 4-4Z\"})),time:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7 2c.28 0 .5.22.5.5v4H10a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5V2.5c0-.28.22-.5.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z\"})),dashboard:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M9.8 4.1a.5.5 0 0 1 .1.7L7.92 7.58A1 1 0 1 1 7.1 7l2-2.8a.5.5 0 0 1 .7-.12Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M2.07 12.97a7 7 0 1 1 9.86 0 12.96 12.96 0 0 0-9.86 0Zm9.58-1.18a6 6 0 1 0-9.3 0 13.98 13.98 0 0 1 9.3 0Z\"})),timer:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.5 4.5a.5.5 0 0 0-1 0v2.63a1 1 0 1 0 1 0V4.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M5.5.5c0-.28.22-.5.5-.5h2a.5.5 0 0 1 0 1h-.5v1.02c1.28.1 2.45.61 3.37 1.4l.78-.77a.5.5 0 0 1 .7.7l-.77.78a6 6 0 1 1-5.08-2.1V1H6a.5.5 0 0 1-.5-.5ZM7 3a5 5 0 1 0 0 10A5 5 0 0 0 7 3Z\"})),home:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"m7.35 1.15 5.5 5.5a.5.5 0 0 1-.7.7L12 7.21v5.29a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V9H6v3.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V7.2l-.15.15a.5.5 0 1 1-.7-.7l1-1 4.5-4.5c.2-.2.5-.2.7 0ZM3 6.2V12h2V8.5c0-.28.22-.5.5-.5h3c.28 0 .5.22.5.5V12h2V6.2l-4-4-4 4Z\"})),admin:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1.21 4.1a.5.5 0 0 1 .06-.04l5.48-3a.5.5 0 0 1 .5 0l5.48 3a.5.5 0 0 1 .27.39.5.5 0 0 1-.51.55H1.51a.5.5 0 0 1-.3-.9ZM3.46 4h7.08L7 2.07 3.46 4Z\"}),React5__default.createElement(\"path\",{d:\"M4 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM11 6a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V6ZM5.75 5.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM8.75 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM1.5 12.5c0-.27.22-.5.5-.5h10a.5.5 0 0 1 0 1H2a.5.5 0 0 1-.5-.5Z\"})),info:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7 5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM7 4.5A.75.75 0 1 0 7 3a.75.75 0 0 0 0 1.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z\"})),question:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5.25 5.25A1.75 1.75 0 1 1 7 7a.5.5 0 0 0-.5.5V9a.5.5 0 0 0 1 0V7.95a2.75 2.75 0 1 0-3.25-2.7.5.5 0 0 0 1 0ZM7 11.5A.75.75 0 1 0 7 10a.75.75 0 0 0 0 1.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z\"})),support:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-3.52 4.9a5.97 5.97 0 0 1-6.96 0l1.45-1.45a3.98 3.98 0 0 0 4.06 0l1.45 1.44Zm-.03-2.87 1.44 1.45a5.97 5.97 0 0 0 0-6.96l-1.44 1.45a3.98 3.98 0 0 1 0 4.06ZM9.03 3.55l1.45-1.44a5.97 5.97 0 0 0-6.96 0l1.45 1.44a3.98 3.98 0 0 1 4.06 0ZM3.55 4.97 2.11 3.52a5.97 5.97 0 0 0 0 6.96l1.44-1.45a3.98 3.98 0 0 1 0-4.06ZM10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"})),alert:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7 4.5c.28 0 .5.22.5.5v3.5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM7.75 10.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7.2 1.04a.5.5 0 0 1 .24.21l6.49 11a.5.5 0 0 1-.44.75H.51a.5.5 0 0 1-.5-.45.5.5 0 0 1 .06-.31l6.5-10.99a.5.5 0 0 1 .64-.2ZM7 2.48 1.38 12h11.24L7 2.48Z\"})),email:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M0 2.5c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-9Zm1 1.02V11h12V3.52L7.31 7.89a.5.5 0 0 1-.52.07.5.5 0 0 1-.1-.07L1 3.52ZM12.03 3H1.97L7 6.87 12.03 3Z\"})),phone:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"m7.76 8.13-.05.05a.2.2 0 0 1-.28.03A6.76 6.76 0 0 1 5.8 6.56a.21.21 0 0 1 .04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 0 0-.51.13A3.23 3.23 0 0 0 .9 3.42c-.13 1.1.26 2.37 1.17 3.78a16.68 16.68 0 0 0 4.55 4.6 6.57 6.57 0 0 0 3.53 1.32A3.2 3.2 0 0 0 13 11.46c.14-.24.24-.64-.07-1.18a7.8 7.8 0 0 0-1.73-1.8c-.64-.5-1.52-1.12-2.13-1.12a.97.97 0 0 0-.34.06c-.47.17-.74.46-.95.69l-.02.02Zm4.32 2.68a6.8 6.8 0 0 0-1.48-1.54h-.02c-.3-.25-.64-.49-.95-.67a2.7 2.7 0 0 0-.56-.24h-.01c-.23.09-.34.21-.56.45l-.02.02-.04.04a1.2 1.2 0 0 1-1.6.15 7.76 7.76 0 0 1-1.86-1.89l-.01-.01-.02-.02a1.21 1.21 0 0 1 .2-1.53l.06-.06.02-.02c.22-.2.35-.31.43-.53v-.02c0-.02 0-.06-.03-.14a3.7 3.7 0 0 0-.5-.88h-.01V3.9c-.23-.33-.65-.87-1.1-1.32H4c-.31-.32-.55-.5-.72-.6a.6.6 0 0 0-.22-.1h-.03a2.23 2.23 0 0 0-1.15 1.66c-.09.78.18 1.8 1.02 3.1a15.68 15.68 0 0 0 4.27 4.33l.02.01.02.02a5.57 5.57 0 0 0 2.97 1.11 2.2 2.2 0 0 0 1.93-1.14h.01v-.05a.57.57 0 0 0-.05-.12Z\"})),link:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M11.84 2.16a2.25 2.25 0 0 0-3.18 0l-2.5 2.5c-.88.88-.88 2.3 0 3.18a.5.5 0 0 1-.7.7 3.25 3.25 0 0 1 0-4.59l2.5-2.5a3.25 3.25 0 0 1 4.59 4.6L10.48 8.1c.04-.44.01-.89-.09-1.32l1.45-1.45c.88-.88.88-2.3 0-3.18Z\"}),React5__default.createElement(\"path\",{d:\"M3.6 7.2c-.1-.42-.12-.87-.08-1.31L1.45 7.95a3.25 3.25 0 1 0 4.6 4.6l2.5-2.5a3.25 3.25 0 0 0 0-4.6.5.5 0 0 0-.7.7c.87.89.87 2.31 0 3.2l-2.5 2.5a2.25 2.25 0 1 1-3.2-3.2l1.46-1.44Z\"})),unlink:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"m1.45 7.95 1.3-1.3.71.7-1.3 1.3a2.25 2.25 0 1 0 3.18 3.2l1.3-1.31.71.7-1.3 1.3a3.25 3.25 0 0 1-4.6-4.59ZM12.55 6.05l-1.3 1.3-.71-.7 1.3-1.3a2.25 2.25 0 1 0-3.18-3.2l-1.3 1.31-.71-.7 1.3-1.3a3.25 3.25 0 0 1 4.6 4.59ZM1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z\"})),bell:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M8 1.11a1 1 0 1 0-1.99 0A4.5 4.5 0 0 0 2.5 5.5v3.88l-.94 1.89a.5.5 0 0 0-.06.3.5.5 0 0 0 .51.43h3.58a1.5 1.5 0 1 0 2.82 0H12a.5.5 0 0 0 .45-.73l-.94-1.89V5.5A4.5 4.5 0 0 0 8 1.11ZM2.8 11h8.4l-.5-1H3.3l-.5 1Zm7.7-2V5.5a3.5 3.5 0 1 0-7 0V9h7Zm-4 3.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Z\"})),rss:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1.5.5c0-.28.22-.5.5-.5a12 12 0 0 1 12 12 .5.5 0 0 1-1 0A11 11 0 0 0 2 1a.5.5 0 0 1-.5-.5Z\"}),React5__default.createElement(\"path\",{d:\"M1.5 4.5c0-.28.22-.5.5-.5a8 8 0 0 1 8 8 .5.5 0 0 1-1 0 7 7 0 0 0-7-7 .5.5 0 0 1-.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M5 11a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-1 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\"})),sharealt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7.5a.5.5 0 0 0-1 0V12H2V2h4.5a.5.5 0 0 0 0-1H2Z\"}),React5__default.createElement(\"path\",{d:\"M7.35 7.36 12 2.7v1.8a.5.5 0 0 0 1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 1 0 0 1h1.8L6.64 6.64a.5.5 0 1 0 .7.7Z\"})),share:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M6.65.15c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7L7.5 1.72v6.8a.5.5 0 0 1-1 0V1.7L5.35 2.86a.5.5 0 1 1-.7-.71l2-2Z\"}),React5__default.createElement(\"path\",{d:\"M2 4a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H9.5a.5.5 0 1 0 0 1H12v7H2V5h2.5a.5.5 0 0 0 0-1H2Z\"})),circlehollow:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7 13A6 6 0 1 0 7 1a6 6 0 0 0 0 12Zm0 1A7 7 0 1 0 7 0a7 7 0 0 0 0 14Z\"})),circle:React5__default.createElement(\"path\",{d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Z\"}),bookmarkhollow:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5ZM4 12.41l2.66-2.28a.45.45 0 0 1 .38-.13c.1.01.2.05.29.12l2.67 2.3V1H4v11.41Z\"})),bookmark:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5Z\"})),hearthollow:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59ZM1.2 3.53A2.2 2.2 0 0 1 2.57 2.2M1.2 3.53c-.13.33-.2.72-.2 1.18 0 .22.03.45.1.68a3.97 3.97 0 0 0 .79 1.46c.19.23.38.45.59.65l4.51 4.36 4.52-4.35c.2-.2.4-.4.59-.65.18-.23.34-.47.49-.73.13-.23.23-.48.3-.73.08-.23.11-.46.11-.7 0-.45-.07-.84-.2-1.18-.12-.33-.3-.6-.51-.8v-.01c-.22-.2-.5-.38-.85-.51-.34-.13-.75-.2-1.24-.2-.2 0-.4.03-.6.09a4.95 4.95 0 0 0-1.9 1.22l-.68.67-.7-.65a9.97 9.97 0 0 0-.62-.53c-.2-.16-.42-.3-.63-.42h-.01c-.21-.12-.43-.22-.66-.29C4.2 2.03 4 2 3.77 2c-.48 0-.88.07-1.21.2\"})),heart:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59Z\"})),starhollow:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M6.32.78a.75.75 0 0 1 1.36 0l1.63 3.54 3.87.46c.63.07.89.86.42 1.3l-2.86 2.64.76 3.81a.75.75 0 0 1-1.1.8L7 11.43l-3.4 1.9a.75.75 0 0 1-1.1-.8l.76-3.81L.4 6.07a.75.75 0 0 1 .42-1.3l3.87-.45L6.32.78ZM7 1.7 5.54 4.86c-.11.24-.34.4-.6.43l-3.46.42 2.56 2.37c.2.17.28.44.23.7l-.68 3.42 3.04-1.7c.23-.14.5-.14.74 0l3.04 1.7-.68-3.43a.75.75 0 0 1 .23-.7l2.56-2.36-3.47-.42a.75.75 0 0 1-.59-.43L7 1.7Z\"})),star:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.68.78a.75.75 0 0 0-1.36 0L4.69 4.32l-3.87.46a.75.75 0 0 0-.42 1.3l2.86 2.64-.76 3.81a.75.75 0 0 0 1.1.8l3.4-1.9 3.4 1.9a.75.75 0 0 0 1.1-.8l-.76-3.81 2.86-2.65a.75.75 0 0 0-.42-1.3L9.3 4.33 7.68.78Z\"})),certificate:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M10 7.85A4.49 4.49 0 0 0 7 0a4.5 4.5 0 0 0-3 7.85V13a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.15L7 11.21l2.15 2.14A.5.5 0 0 0 10 13V7.85ZM7 8a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm-.35 2.15c.2-.2.5-.2.7 0L9 11.79V8.53a4.48 4.48 0 0 1-4 0v3.26l1.65-1.64Z\"})),verified:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M6.56 13.12a1 1 0 0 1 .88 0l.98.49a1 1 0 0 0 1.31-.43l.52-.97a1 1 0 0 1 .7-.51l1.08-.2a1 1 0 0 0 .81-1.1l-.15-1.1a1 1 0 0 1 .27-.82l.76-.8a1 1 0 0 0 0-1.37l-.76-.79a1 1 0 0 1-.27-.83l.15-1.08a1 1 0 0 0-.8-1.12l-1.09-.19a1 1 0 0 1-.7-.5L9.73.81A1 1 0 0 0 8.43.4l-1 .49a1 1 0 0 1-.87 0L5.58.39a1 1 0 0 0-1.31.43l-.52.97a1 1 0 0 1-.7.51l-1.08.2a1 1 0 0 0-.81 1.1l.15 1.1a1 1 0 0 1-.27.82l-.76.8a1 1 0 0 0 0 1.37l.76.79a1 1 0 0 1 .27.83l-.15 1.08a1 1 0 0 0 .8 1.12l1.09.19a1 1 0 0 1 .7.5l.52.98a1 1 0 0 0 1.3.43l1-.49Zm4.3-8.47c.19.2.19.5 0 .7l-4.5 4.5a.5.5 0 0 1-.71 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z\"})),thumbsup:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.5 5.5 0 0 1-1.3-.16c-.42-.1-.91-.25-1.47-.45-.3-.12-.63-.21-.95-.27H2.88a.84.84 0 0 1-.62-.26.84.84 0 0 1-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 0 1 .62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 0 1 .62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7a2.94 2.94 0 0 1 .21 1.58 3 3 0 0 1-.3 1h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98.07.54-.07 1.08-.4 1.51a1.9 1.9 0 0 1-.57 1.5Zm.47-5.33a.96.96 0 0 0 .03-.25.74.74 0 0 0-.23-.51.68.68 0 0 0-.52-.23H7.93l.73-1.45a2 2 0 0 0 .21-.87c0-.44-.07-.7-.13-.82a.53.53 0 0 0-.24-.24 1.3 1.3 0 0 0-.54-.12.99.99 0 0 0-.14.28c-.08.27-.13.52-.18.76-.06.38-.2.77-.48 1.07v.01l-.02.01c-.2.2-.4.46-.67.8l-.61.76c-.15.17-.35.38-.54.51l-.26.18H5v4.13h.02c.38.08.76.18 1.12.32.53.2.98.33 1.35.42.36.09.71.13 1.07.13h.88c.43 0 .68-.11.87-.29a.9.9 0 0 0 .26-.7l-.02-.37.22-.3c.17-.23.25-.5.2-.78l-.04-.33.17-.3a.97.97 0 0 0 .13-.48c0-.09 0-.13-.02-.15l-.15-.46.26-.4c.1-.15.13-.25.15-.33ZM3.5 10.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z\"})),shield:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M11.76 2.08a.5.5 0 0 1 .24.42v6a.5.5 0 0 1-.17.38l-4.5 3.99a.5.5 0 0 1-.67 0l-4.49-4A.5.5 0 0 1 2 8.5V2.5c0-.18.1-.34.24-.42l.01-.02a2.5 2.5 0 0 1 .3-.16c.22-.1.52-.24.92-.37C4.27 1.26 5.44 1 7 1c1.56 0 2.73.26 3.53.53a6.97 6.97 0 0 1 1.22.53l.01.02ZM3 2.79v5.49l1.07.94 6.59-6.58-.44-.17C9.52 2.24 8.44 2 7 2c-1.44 0-2.52.24-3.22.47-.35.12-.6.24-.78.32Zm4 9.04L4.82 9.9 11 3.71v4.57l-4 3.55Z\"})),basket:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M10.35 2.85a.5.5 0 1 0-.7-.7l-3 3a.5.5 0 1 0 .7.7l3-3Z\"}),React5__default.createElement(\"path\",{d:\"M2.09 6H4.5a.5.5 0 0 0 0-1H1.8a.75.75 0 0 0-.74.87l.8 4.88A1.5 1.5 0 0 0 3.36 12h7.3a1.5 1.5 0 0 0 1.48-1.25l.81-4.88A.75.75 0 0 0 12.2 5H10a.5.5 0 0 0 0 1h1.91l-.76 4.58a.5.5 0 0 1-.5.42h-7.3a.5.5 0 0 1-.5-.42L2.1 6Z\"}),React5__default.createElement(\"path\",{d:\"M4.5 7c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 7.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2ZM6.5 9.5v-2a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0Z\"})),beaker:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M4.5 2h.75v3.87l-3.03 5.26c-.48.83.12 1.87 1.08 1.87h7.4c.96 0 1.57-1.04 1.08-1.87L8.75 5.87V2h.75a.5.5 0 0 0 0-1h-5a.5.5 0 0 0 0 1Zm1.75 4V2h1.5v4.13l.07.12 1 1.75H5.18l1.01-1.75.07-.12V6ZM4.6 9l-1.52 2.63c-.1.16.03.37.22.37h7.4c.2 0 .31-.2.22-.37L9.4 9H4.6Z\"})),hourglass:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.5 10.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3.5 1a.5.5 0 0 0-.5.5c0 1.06.14 1.9.68 2.97.34.7.86 1.5 1.6 2.53a16.53 16.53 0 0 0-1.8 2.96A6 6 0 0 0 3 12.49v.01a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5 6 6 0 0 0-.48-2.54c-.34-.8-.9-1.71-1.8-2.96a19.78 19.78 0 0 0 1.6-2.53c.54-1.08.68-1.9.68-2.97a.5.5 0 0 0-.5-.5h-7Zm6.49 11a4.68 4.68 0 0 0-.39-1.65c-.27-.65-.73-1.4-1.5-2.5a133 133 0 0 1-.75 1 .5.5 0 0 1-.56.1.5.5 0 0 1-.2-.16l-.7-.94a14.36 14.36 0 0 0-1.5 2.5A4.68 4.68 0 0 0 4.02 12H10ZM6.3 6.72l.7.94a90.06 90.06 0 0 0 .7-.96c.49-.67.87-1.22 1.17-1.7H5.13A32.67 32.67 0 0 0 6.3 6.72ZM4.56 4h4.88c.36-.73.5-1.31.55-2H4c.04.69.19 1.27.55 2Z\"})),flag:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M11.5 1h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 1 0V8h8.5a.5.5 0 0 0 .35-.85L9.21 4.5l2.64-2.65A.5.5 0 0 0 11.5 1ZM8.15 4.15 10.29 2H3v5h7.3L8.14 4.85a.5.5 0 0 1 0-.7Z\"})),cloudhollow:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M10 7V6a3 3 0 0 0-5.9-.74l-.18.68-.7.07A2.5 2.5 0 0 0 3.5 11h3.19l.07-.01h.08L7 11h4a2 2 0 1 0 0-4h-1ZM3.12 5.02A3.5 3.5 0 0 0 3.5 12H11a3 3 0 1 0 0-6 4 4 0 0 0-7.88-.98Z\"})),cloud:React5__default.createElement(\"path\",{d:\"M7 2a4 4 0 0 1 4 4 3 3 0 1 1 0 6H3.5a3.5 3.5 0 0 1-.38-6.98A4 4 0 0 1 7 2Z\"}),edit:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"m13.85 2.15-2-2a.5.5 0 0 0-.7 0l-1.5 1.5-9 9a.5.5 0 0 0-.14.26L0 13.39a.5.5 0 0 0 .14.46.5.5 0 0 0 .46.14l2.48-.5a.5.5 0 0 0 .27-.14l9-9 1.5-1.5a.5.5 0 0 0 0-.7ZM12 3.29l.8-.79-1.3-1.3-.8.8L12 3.3Zm-2-.58L1.7 11 3 12.3 11.3 4 10 2.7ZM1.14 12.86l.17-.85.68.68-.85.17Z\"})),cog:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5.59 5.59a2 2 0 0 1 3.27 2.14.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 1 0-.36-.94A2 2 0 0 1 5.6 5.6Z\",fill:\"#333\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M.94 6.53c.13.12.19.3.18.46 0 .17-.05.34-.18.47L0 8.39c.19.94.55 1.81 1.07 2.58h1.32c.18 0 .34.07.46.2.12.11.2.27.2.45v1.32c.76.51 1.62.88 2.55 1.06l.94-.94a.63.63 0 0 1 .45-.19h.03c.16 0 .33.07.45.19l.94.94a7.1 7.1 0 0 0 2.55-1.06v-1.33c0-.18.07-.35.2-.46.11-.12.27-.2.45-.2h1.33A7.1 7.1 0 0 0 14 8.4l-.95-.94a.64.64 0 0 1-.18-.47c0-.17.06-.34.18-.46l.95-.95a7.1 7.1 0 0 0-1.05-2.52h-1.34a.63.63 0 0 1-.46-.2.64.64 0 0 1-.2-.46V1.06A7.1 7.1 0 0 0 8.42 0l-.94.94a.63.63 0 0 1-.45.19H7a.63.63 0 0 1-.45-.19L5.6 0a7.1 7.1 0 0 0-2.56 1.06v1.33c0 .18-.07.34-.2.46a.63.63 0 0 1-.45.2H1.06A7.1 7.1 0 0 0 0 5.59l.94.94Zm.7 1.63c.33-.32.49-.75.48-1.17 0-.42-.15-.85-.47-1.17l-.54-.54c.12-.43.3-.85.51-1.23h.77c.46 0 .87-.2 1.17-.5.3-.29.48-.7.48-1.16v-.77c.4-.22.81-.39 1.25-.52l.54.55c.33.32.75.48 1.16.48h.03c.42 0 .84-.16 1.16-.48l.54-.54c.44.12.85.3 1.24.5v.8c0 .45.19.87.49 1.16.3.3.7.5 1.16.5h.78c.2.37.38.78.5 1.2l-.54.55c-.33.32-.49.75-.48 1.17 0 .42.15.85.48 1.17l.55.55c-.13.44-.3.85-.52 1.24h-.77c-.45 0-.87.2-1.16.5-.3.29-.5.7-.5 1.16v.77c-.38.21-.8.39-1.23.51l-.54-.54a1.64 1.64 0 0 0-1.16-.48H7c-.41 0-.83.16-1.16.48l-.54.55a6.1 6.1 0 0 1-1.25-.52v-.76c0-.45-.19-.87-.48-1.16-.3-.3-.71-.5-1.17-.5h-.76a6.1 6.1 0 0 1-.53-1.25l.55-.55Z\"})),nut:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5.59 8.41a2 2 0 1 1 3.27-.68.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 0 0-.36-.94 2 2 0 0 1-2.14-.45Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M6.5.29a1 1 0 0 1 1 0l5.06 2.92c.31.18.5.51.5.87v5.84a1 1 0 0 1-.5.87L7.5 13.7a1 1 0 0 1-1 0L1.44 10.8a1 1 0 0 1-.5-.87V4.08a1 1 0 0 1 .5-.87L6.5.3Zm.5.86 5.06 2.93v5.84L7 12.85 1.94 9.92V4.08L7 1.15Z\"})),wrench:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M10.5 1c.44 0 .56.52.25.83l-.8.81c-.2.2-.2.52 0 .72l.69.7c.2.2.52.2.72 0l.8-.81c.32-.31.84-.2.84.25a2.5 2.5 0 0 1-3.41 2.33L2.7 12.7a1 1 0 0 1-1.42-1.42l6.88-6.88A2.5 2.5 0 0 1 10.5 1ZM2 12.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z\"})),ellipsis:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M4 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM13 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM7 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"})),check:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M13.85 3.35a.5.5 0 0 0-.7-.7L5 10.79.85 6.65a.5.5 0 1 0-.7.7l4.5 4.5c.2.2.5.2.7 0l8.5-8.5Z\"})),form:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6.4a.5.5 0 0 0-1 0V12H2V2h7.5a.5.5 0 0 0 0-1H2Z\"}),React5__default.createElement(\"path\",{d:\"m6.35 9.86 7.5-7.5a.5.5 0 0 0-.7-.71L6 8.8 3.85 6.65a.5.5 0 1 0-.7.7l2.5 2.5c.2.2.5.2.7 0Z\"})),batchdeny:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.646.646a.5.5 0 0 1 0 .708L5.207 7l3.647 3.646a.5.5 0 0 1-.708.708L4.5 7.707.854 11.354a.5.5 0 0 1-.708-.708L3.793 7 .146 3.354a.5.5 0 1 1 .708-.708L4.5 6.293l3.646-3.647a.5.5 0 0 1 .708 0ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z\"})),batchaccept:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.2.6a.5.5 0 0 1 .1.7l-5.995 7.993a.505.505 0 0 1-.37.206.5.5 0 0 1-.395-.152L.146 8.854a.5.5 0 1 1 .708-.708l2.092 2.093L8.6 2.7a.5.5 0 0 1 .7-.1ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z\"})),controls:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M10.5 1c.28 0 .5.22.5.5V2h1.5a.5.5 0 0 1 0 1H11v.5a.5.5 0 0 1-1 0V3H1.5a.5.5 0 0 1 0-1H10v-.5c0-.28.22-.5.5-.5ZM1.5 11a.5.5 0 0 0 0 1H10v.5a.5.5 0 0 0 1 0V12h1.5a.5.5 0 0 0 0-1H11v-.5a.5.5 0 0 0-1 0v.5H1.5ZM1 7c0-.28.22-.5.5-.5H3V6a.5.5 0 0 1 1 0v.5h8.5a.5.5 0 0 1 0 1H4V8a.5.5 0 0 1-1 0v-.5H1.5A.5.5 0 0 1 1 7Z\"})),plus:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.5.5a.5.5 0 0 0-1 0v6h-6a.5.5 0 0 0 0 1h6v6a.5.5 0 0 0 1 0v-6h6a.5.5 0 0 0 0-1h-6v-6Z\"})),closeAlt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2.03.97A.75.75 0 0 0 .97 2.03L5.94 7 .97 11.97a.75.75 0 1 0 1.06 1.06L7 8.06l4.97 4.97a.75.75 0 1 0 1.06-1.06L8.06 7l4.97-4.97A.75.75 0 0 0 11.97.97L7 5.94 2.03.97Z\"})),cross:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1.85 1.15a.5.5 0 1 0-.7.7L6.29 7l-5.14 5.15a.5.5 0 0 0 .7.7L7 7.71l5.15 5.14a.5.5 0 0 0 .7-.7L7.71 7l5.14-5.15a.5.5 0 0 0-.7-.7L7 6.29 1.85 1.15Z\"})),trash:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5.5 4.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM9 5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M4.5.5c0-.28.22-.5.5-.5h4c.28 0 .5.22.5.5V2h3a.5.5 0 0 1 0 1H12v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3h-.5a.5.5 0 0 1 0-1h3V.5ZM3 3v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V3H3Zm2.5-2h3v1h-3V1Z\"})),pinalt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5 5H3.66A4 4 0 0 0 .83 6.17l-.48.48a.5.5 0 0 0 0 .7l2.8 2.8-3 3a.5.5 0 0 0 .7.7l3-3 2.8 2.8c.2.2.5.2.7 0l.48-.48A4 4 0 0 0 9 10.34V9l2-2c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM11 5.59l-3 3v1.75a3 3 0 0 1-.88 2.12L7 12.6 1.41 7l.13-.12A3 3 0 0 1 3.66 6H5.4l3-3-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6Z\"})),unpin:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5.7 4.3l.71.7 2-2-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6l-2 2 .7.7L11 7c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM.83 6.17A4 4 0 0 1 3.59 5l1 1h-.93a3 3 0 0 0-2.12.88L1.4 7 7 12.59l.12-.13A3 3 0 0 0 8 10.34v-.93l1 1a4 4 0 0 1-1.17 2.76l-.48.48a.5.5 0 0 1-.7 0l-2.8-2.8-3 3a.5.5 0 0 1-.7-.7l3-3-2.8-2.8a.5.5 0 0 1 0-.7l.48-.48Zm1.02-5.02a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z\"})),add:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7 3c.28 0 .5.22.5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3c0-.28.22-.5.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z\"})),subtract:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z\"})),close:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M9.85 4.15c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z\"})),delete:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0a6 6 0 0 1-9.87 4.58l8.45-8.45A5.98 5.98 0 0 1 13 7ZM2.42 10.87l8.45-8.45a6 6 0 0 0-8.46 8.46Z\"})),passed:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm3.85-9.35c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z\"})),changed:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z\"})),failed:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm2.85-9.85c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z\"})),clear:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M5 2h7a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-1.41-.59l-3-3a2 2 0 0 1 0-2.82l3-3A2 2 0 0 1 5 2Zm1.15 3.15c.2-.2.5-.2.7 0L8 6.29l1.15-1.14a.5.5 0 1 1 .7.7L8.71 7l1.14 1.15a.5.5 0 0 1-.7.7L8 7.71 6.85 8.85a.5.5 0 1 1-.7-.7L7.29 7 6.15 5.85a.5.5 0 0 1 0-.7Z\"})),comment:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M3.5 5a.5.5 0 1 0 0 1h7a.5.5 0 0 0 0-1h-7ZM3 8.5c0-.27.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M12.5 12H5.7l-1.85 1.86a.5.5 0 0 1-.35.14.5.5 0 0 1-.5-.5V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5ZM2 11V3h10v8H2Z\"})),commentadd:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.5 5a.5.5 0 1 0-1 0v1.5H5a.5.5 0 1 0 0 1h1.5V9a.5.5 0 0 0 1 0V7.5H9a.5.5 0 0 0 0-1H7.5V5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z\"})),requestchange:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M9.85 6.65c.2.2.2.51 0 .7l-2 2a.5.5 0 1 1-.7-.7L8.3 7.5H4.5a.5.5 0 0 1 0-1h3.79L7.15 5.36a.5.5 0 1 1 .7-.71l2 2Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z\"})),comments:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M8.5 7a.5.5 0 0 0 0-1h-5a.5.5 0 1 0 0 1h5ZM9 8.5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1 0-1h5c.28 0 .5.23.5.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M12 11.5V10h1.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v8c0 .28.22.5.5.5H2v1.5a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.14L4.71 12h6.79a.5.5 0 0 0 .5-.5ZM3 3V2h10v7h-1V3.5a.5.5 0 0 0-.5-.5H3Zm-2 8V4h10v7H1Z\"})),lock:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M8 8a1 1 0 0 1-.5.87v1.63a.5.5 0 0 1-1 0V8.87A1 1 0 1 1 8 8Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3 4a4 4 0 1 1 8 0v1h1.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4Zm7 1V4a3 3 0 1 0-6 0v1h6Zm2 1H2v7h10V6Z\"})),unlock:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M6.5 8.87a1 1 0 1 1 1 0v1.63a.5.5 0 0 1-1 0V8.87Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",clipRule:\"evenodd\",d:\"M7 1a3 3 0 0 0-3 3v1h8.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4a4 4 0 0 1 7.76-1.38.5.5 0 0 1-.94.34A3 3 0 0 0 7 1ZM2 6h10v7H2V6Z\"})),key:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M11 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7.5 8.53v.97a.5.5 0 0 1-.5.5H5.5v1.5a.5.5 0 0 1-.5.5H3.5v1.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .15-.36l5.12-5.11a4.5 4.5 0 1 1 2.23 2.5ZM6 4.5a3.5 3.5 0 1 1 1.5 2.87c-.29-.2-1-.37-1 .48V9H5a.5.5 0 0 0-.5.5V11H3a.5.5 0 0 0-.5.5V13H1v-1.3l5.2-5.19c.15-.16.18-.4.1-.6A3.47 3.47 0 0 1 6 4.5Z\"})),outbox:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.35.15a.5.5 0 0 0-.7 0l-2 2a.5.5 0 1 0 .7.7L6.5 1.72v6.8a.5.5 0 0 0 1 0V1.7l1.15 1.15a.5.5 0 1 0 .7-.71l-2-2Z\"}),React5__default.createElement(\"path\",{d:\"M2 7.5a.5.5 0 1 0-1 0v5c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-1 0V12H2V7.5Z\"})),credit:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2.5 8a.5.5 0 1 0 0 1h3a.5.5 0 0 0 0-1h-3Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M0 11.5c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5a.5.5 0 0 0-.5.5v9ZM1 3v1h12V3H1Zm0 8h12V6H1v5Z\"})),button:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1 3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h3.5a.5.5 0 1 0 0-1H1V4h12v5h-1a.5.5 0 0 0 0 1h1a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H1Z\"}),React5__default.createElement(\"path\",{d:\"M6.45 7a.5.5 0 0 1 .3.08l3.48 2.02a.5.5 0 0 1 0 .87l-1.08.62.75 1.3a.75.75 0 0 1-1.3.75l-.75-1.3-1.07.62a.5.5 0 0 1-.67-.13.5.5 0 0 1-.1-.3L6 7.5a.5.5 0 0 1 .45-.5Z\"})),type:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M4 1.5c0-.27.22-.5.5-.5h5a.5.5 0 1 1 0 1h-2v10h2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1h2V2h-2a.5.5 0 0 1-.5-.5Z\"}),React5__default.createElement(\"path\",{d:\"M0 4.5c0-.27.22-.5.5-.5h4a.5.5 0 1 1 0 1H1v4h3.5a.5.5 0 1 1 0 1h-4a.5.5 0 0 1-.5-.5v-5ZM9.5 4a.5.5 0 1 0 0 1H13v4H9.5a.5.5 0 1 0 0 1h4a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-4Z\"})),pointerdefault:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5.94 12.46c.11 0 .2-.06.25-.15l1.58-3.16 2.54 2.54c.04.05.1.07.19.07a.3.3 0 0 0 .2-.07l.8-.8a.27.27 0 0 0 0-.38L8.9 7.9l3.4-1.7c.06-.03.1-.07.12-.11a.22.22 0 0 0 .04-.14.33.33 0 0 0-.06-.16.17.17 0 0 0-.09-.07h-.02L1.91 1.55a.27.27 0 0 0-.35.36l4.15 10.37c.04.09.12.16.23.17Zm-.03 1h-.02a1.28 1.28 0 0 1-1.1-.8L.62 2.29A1.27 1.27 0 0 1 2.3.63l10.35 4.15c.52.18.79.65.81 1.11.04.53-.27.98-.7 1.2l-2.17 1.08L12.2 9.8c.5.5.5 1.3 0 1.8l-.8.8v.01c-.5.46-1.3.48-1.8-.01l-1.56-1.56-.95 1.92c-.23.45-.68.7-1.15.7h-.03Z\"})),pointerhand:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M11.87 6v-.02c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47V5.17a.6.6 0 0 0 0-.05c-.02-.27-.23-.5-.47-.5a.5.5 0 0 0-.52.5v1.65l-.01.1a.49.49 0 0 1-.46.37.48.48 0 0 1-.47-.47V4.62a.6.6 0 0 0 0-.05c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 0 1-.47-.47V1.75c-.02-.27-.22-.5-.47-.5a.5.5 0 0 0-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47v-.26a.78.78 0 0 0-.06-.31.65.65 0 0 0-.16-.22l-.2-.19A6.37 6.37 0 0 0 3.06 7h-.02c-.43-.34-.62-.25-.69-.2-.26.14-.29.5-.13.74l1.73 2.6v.01h-.01l-.04.02.05-.02s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.04-.6.04-1.19.03-1.78V6Zm.97 2.38c-.06 1.29-.26 2.67-1.08 3.72-.88 1.12-2.29 1.65-4.23 1.65a4.64 4.64 0 0 1-3.4-1.62 6.96 6.96 0 0 1-1.05-1.5v-.02L1.4 8.1A1.6 1.6 0 0 1 1.15 7c.05-.38.26-.8.69-1.04.2-.13.48-.23.85-.19.36.05.68.22.98.45.14.1.27.22.4.33v-4.8A1.5 1.5 0 0 1 5.63.25c.93.04 1.43.86 1.43 1.55v1.33c.17-.05.35-.07.53-.06h.02c.5.04.91.33 1.15.71a1.5 1.5 0 0 1 .74-.16c.66.03 1.12.46 1.32.97a1.5 1.5 0 0 1 .64-.1h.02c.85.06 1.39.8 1.39 1.55v.48c0 .6 0 1.24-.03 1.86Z\"})),browser:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5H.5Zm.5-1V4h12v8H1Zm1-9.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z\"})),tablet:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3.5 0C2.67 0 2 .68 2 1.5v11c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-11c0-.82-.67-1.5-1.5-1.5h-7Zm0 1h7c.28 0 .5.23.5.5V11H3V1.5c0-.27.22-.5.5-.5ZM6 12a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1H6Z\"})),mobile:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3 1.5C3 .68 3.67 0 4.5 0h5c.83 0 1.5.68 1.5 1.5v11c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 3 12.5v-11ZM4 12V2h6v10H4Z\"})),watch:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{key:\"watch\",fillRule:\"evenodd\",d:\"M4 .5c0-.27.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5A.5.5 0 0 1 4 .5ZM9.5 3h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Zm-5-1C3.67 2 3 2.68 3 3.5v7c0 .83.67 1.5 1.5 1.5h5c.83 0 1.5-.67 1.5-1.5v-7c0-.82-.67-1.5-1.5-1.5h-5ZM7 4c.28 0 .5.23.5.5v2h1a.5.5 0 1 1 0 1H7a.5.5 0 0 1-.5-.5V4.5c0-.27.22-.5.5-.5Zm-2.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z\"})),sidebar:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2ZM6 2h6v10H6V2Z\"})),sidebaralt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M9.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5ZM10 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1h-1Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h6v10H2ZM9 2h3v10H9V2Z\"})),sidebaralttoggle:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M11.5 4.5A.5.5 0 0 0 11 4h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5ZM11 6a.5.5 0 0 1 0 1h-1a.5.5 0 0 1 0-1h1Zm.5 2.5A.5.5 0 0 0 11 8h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11ZM9 12h3V2H9v10Zm-1 0H2V2h6v4.5H5.2l.66-.65a.5.5 0 1 0-.71-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7l-.64-.65H8V12Z\"})),sidebartoggle:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2Zm4 0V7.5h2.8l-.65.65a.5.5 0 1 0 .7.7l1.5-1.5a.5.5 0 0 0 0-.7l-1.5-1.5a.5.5 0 1 0-.7.7l.64.65H6V2h6v10H6Z\"})),bottombar:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M3 10.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 8V2h10v6H2Zm10 1v3H2V9h10Z\"})),bottombartoggle:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M3.5 10a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1 12.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5Zm1-.5V9h10v3H2Zm4.5-4H2V2h10v6H7.5V5.21l.65.65a.5.5 0 1 0 .7-.71l-1.5-1.5a.5.5 0 0 0-.7 0l-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64v2.8Z\"})),cpu:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M5 5.5c0-.27.22-.5.5-.5h3c.28 0 .5.23.5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3ZM6 8V6h2v2H6Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M5.5 0c.28 0 .5.23.5.5V2h2V.5a.5.5 0 0 1 1 0V2h2.5c.28 0 .5.23.5.5V5h1.5a.5.5 0 0 1 0 1H12v2h1.5a.5.5 0 0 1 0 1H12v2.5a.5.5 0 0 1-.5.5H9v1.5a.5.5 0 0 1-1 0V12H6v1.5a.5.5 0 0 1-1 0V12H2.5a.5.5 0 0 1-.5-.5V9H.5a.5.5 0 0 1 0-1H2V6H.5a.5.5 0 0 1 0-1H2V2.5c0-.27.22-.5.5-.5H5V.5c0-.27.22-.5.5-.5ZM11 3H3v8h8V3Z\"})),database:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M12 3c0-1.1-2.24-2-5-2s-5 .9-5 2v8c0 .43.26.75.54.98.3.23.68.41 1.12.55.88.3 2.06.47 3.34.47 1.28 0 2.46-.17 3.34-.46.44-.15.83-.33 1.12-.56.28-.23.54-.55.54-.98V3Zm-1.03 0a2.45 2.45 0 0 0-.8-.49A8.88 8.88 0 0 0 7 2c-1.29 0-2.4.21-3.16.51a2.45 2.45 0 0 0-.81.49l.05.05c.13.13.37.28.76.44C4.6 3.79 5.7 4 7 4s2.4-.21 3.16-.51a2.45 2.45 0 0 0 .81-.49ZM11 5.75V4.2A8.9 8.9 0 0 1 7 5a8.98 8.98 0 0 1-4-.8v1.55l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 6.75a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03v-.01ZM3 7.01c.2.1.42.2.66.28.88.29 2.06.46 3.34.46 1.28 0 2.46-.17 3.34-.46.24-.08.46-.17.66-.28V8.5l-.02.04a.62.62 0 0 1-.14.15c-.17.13-.44.27-.82.4A10 10 0 0 1 7 9.5a10 10 0 0 1-3.02-.41 2.76 2.76 0 0 1-.82-.4.62.62 0 0 1-.14-.15.15.15 0 0 1-.02-.03V7Zm0 2.75V11l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 12a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03V9.76c-.2.1-.42.2-.66.28-.88.29-2.06.46-3.34.46-1.28 0-2.46-.17-3.34-.46A4.77 4.77 0 0 1 3 9.76Z\"})),memory:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5 3a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0V3Zm2-.5c.28 0 .5.22.5.5v3a.5.5 0 0 1-1 0V3c0-.28.22-.5.5-.5Zm3 2a.5.5 0 1 0-1 0V6a.5.5 0 0 0 1 0V4.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M12 3.54a.5.5 0 0 0-.15-.39l-3-3a.5.5 0 0 0-.38-.14H2.5a.5.5 0 0 0-.5.5v13c0 .27.22.5.5.5h9a.5.5 0 0 0 .5-.5V3.53ZM3 1h5.3L11 3.71v5.3H3V1Zm0 9v3h8v-3H3Z\"})),structure:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M8.16 3.45a1.5 1.5 0 1 0-2.33 0l-4.02 6.58A1.5 1.5 0 1 0 2.91 12h8.18a1.5 1.5 0 1 0 1.1-1.97L8.16 3.45Zm-1.47.52a1.5 1.5 0 0 0 .62 0l4.03 6.58c-.11.14-.2.29-.25.45H2.9a1.5 1.5 0 0 0-.25-.45L6.7 3.97Z\"})),box:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"m7.21.05 6.49 2.99a.5.5 0 0 1 .3.47v6.98a.5.5 0 0 1-.3.47l-6.47 2.98a.5.5 0 0 1-.46 0L.3 10.96a.5.5 0 0 1-.3-.47V3.5a.5.5 0 0 1 .3-.47L6.79.05a.5.5 0 0 1 .43 0ZM1 4.28v5.9l5.5 2.54v-5.9L1 4.28Zm6.5 8.44 5.5-2.54v-5.9L7.5 6.82v5.9Zm4.8-9.22L7 5.95 1.7 3.5 7 1.05l5.3 2.45Z\"})),power:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.5.5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0v-6Z\"}),React5__default.createElement(\"path\",{d:\"M4.27 2.8a.5.5 0 0 0-.54-.83 6 6 0 1 0 6.54 0 .5.5 0 0 0-.54.84 5 5 0 1 1-5.46 0Z\"})),photo:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M6.25 4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M13 1.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5ZM2 9.3V2h10v5.3L9.85 5.15a.5.5 0 0 0-.7 0L6.5 7.8 5.35 6.65a.5.5 0 0 0-.7 0L2 9.3Zm7.5-3.1L12 8.7V12H2v-1.3l3-3 3.15 3.15a.5.5 0 0 0 .7-.71L7.21 8.5 9.5 6.21Z\"})),component:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3.5 1A2.5 2.5 0 0 0 1 3.5v7A2.5 2.5 0 0 0 3.5 13h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 10.5 1h-7ZM12 6.5H7.5V2h3c.83 0 1.5.68 1.5 1.5v3Zm0 1v3c0 .83-.67 1.5-1.5 1.5h-3V7.5H12ZM6.5 12V7.5H2v3c0 .83.67 1.5 1.5 1.5h3ZM2 6.5h4.5V2h-3C2.67 2 2 2.68 2 3.5v3Z\"})),grid:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1 1.5c0-.27.22-.5.5-.5H6c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H1.5A.5.5 0 0 1 1 6V1.5Zm1 4V2h3.5v3.5H2Zm5.5-4c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V1.5Zm1 4V2H12v3.5H8.5Zm-7 2A.5.5 0 0 0 1 8v4.5c0 .28.22.5.5.5H6a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5H1.5Zm.5 1V12h3.5V8.5H2ZM7.5 8c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5v4.5a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V8Zm1 4V8.5H12V12H8.5Z\"})),outline:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2 2v2H1V1.5c0-.27.22-.5.5-.5H4v1H2ZM1 9V5h1v4H1Zm0 1v2.5c0 .28.22.5.5.5H4v-1H2v-2H1Zm9 3h2.5a.5.5 0 0 0 .5-.5V10h-1v2h-2v1Zm2-9h1V1.5a.5.5 0 0 0-.5-.5H10v1h2v2Zm-3 8v1H5v-1h4ZM9 1v1H5V1h4Zm4 8h-1V5h1v4ZM7 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z\"})),photodrag:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M8.25 3.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5V6h1V4h2v6.5c0 .28.22.5.5.5H10v2H8v1h2.5a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V7ZM4 1v5.8l1.65-1.65c.2-.2.5-.2.7 0L7.5 6.3l2.65-2.65c.2-.2.5-.2.7 0L13 5.8V1H4Zm9 6.21-2.5-2.5-2.3 2.3 1.15 1.14a.5.5 0 1 1-.7.7L6 6.22l-2 2v1.8h9V7.2Z\"}),React5__default.createElement(\"path\",{d:\"M0 10V7h1v3H0Zm0 3.5V11h1v2h2v1H.5a.5.5 0 0 1-.5-.5Zm7 .5H4v-1h3v1Z\"})),search:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z\"})),zoom:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M6 3.5c.28 0 .5.22.5.5v1.5H8a.5.5 0 0 1 0 1H6.5V8a.5.5 0 0 1-1 0V6.5H4a.5.5 0 0 1 0-1h1.5V4c0-.28.22-.5.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z\"})),zoomout:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M4 5.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H4Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M6 11.5c1.35 0 2.59-.49 3.54-1.3.03.06.06.11.1.15l3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1A5.5 5.5 0 1 0 6 11.5Zm0-1a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z\"})),zoomreset:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1.5 2.84V1.5a.5.5 0 0 0-1 0V4c0 .28.22.5.5.5h2.5a.5.5 0 0 0 0-1H2.26a4.5 4.5 0 1 1-.5 4.02.5.5 0 1 0-.94.33 5.5 5.5 0 0 0 8.72 2.36l.1.14 3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1 5.5 5.5 0 1 0-8.7-6.7Z\"})),eye:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7 9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"m14 7-.2.3c-.13.16-3.06 4.2-6.8 4.2C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3C.34 6.55 3.27 2.5 7 2.5c3.74 0 6.67 4.04 6.8 4.2l.2.3ZM2.9 5.3A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8 1.52 0 2.96-.83 4.1-1.8A13 13 0 0 0 12.76 7a13 13 0 0 0-1.66-1.7C9.96 4.33 8.52 3.5 7 3.5c-1.52 0-2.96.83-4.1 1.8Z\"})),eyeclose:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11ZM11.1 8.7c-.17.15-.36.3-.55.44l.72.71a13.25 13.25 0 0 0 2.52-2.56L14 7l-.2-.3c-.13-.16-3.06-4.2-6.8-4.2-.89 0-1.73.23-2.5.58l.76.76A4.86 4.86 0 0 1 7 3.5c1.52 0 2.96.83 4.1 1.8A13 13 0 0 1 12.76 7a13 13 0 0 1-1.66 1.7ZM.2 6.7c.08-.09 1.04-1.41 2.53-2.55l.72.71c-.2.14-.38.3-.55.44A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8.6 0 1.18-.13 1.74-.34l.77.76c-.78.35-1.62.58-2.51.58C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3Z\"}),React5__default.createElement(\"path\",{d:\"M4.5 7c0-.32.06-.63.17-.91l3.24 3.24A2.5 2.5 0 0 1 4.5 7Zm4.83.91L6.09 4.67a2.5 2.5 0 0 1 3.24 3.24Z\"})),lightning:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .28.09.5.5 0 0 0 .35-.14L11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L2.52 6.6Zm7.72.63-3.07-.8 1.85-4.14-5.2 4.51 2.94.77-1.27 4.28 4.75-4.62Zm-5.73 6.2.04.02Z\"})),lightningoff:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M10.14 8.72 11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L5.46 4.05l.71.7L9.02 2.3 7.38 5.97l.7.7 2.16.56-.8.79.7.7ZM2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .63-.05l3.84-3.74-.7-.7-2.51 2.43 1.13-3.81-.68-.69L3.8 6.8l.85-.73-.71-.7L2.52 6.6Zm-.67-5.45a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z\"})),contrast:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3 3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h10a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3Zm1 1v2.3L6.3 4H4ZM3 4v6.5a.5.5 0 0 0 .5.5H10v2H1V4h2Zm1-1h6.5a.5.5 0 0 1 .5.5V10h2V1H4v2Zm6 7V7.71l-2.3 2.3H10Zm0-3.7V4.7L4.7 10h1.6L10 6.3ZM9.3 4H7.7L4 7.71V9.3L9.3 4Z\"})),switchalt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3 3V.5c0-.27.22-.5.5-.5h10c.28 0 .5.23.5.5v10a.5.5 0 0 1-.5.5H11v2.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-10c0-.27.22-.5.5-.5H3Zm1 0V1h9v9h-2V3.5a.5.5 0 0 0-.5-.5H4Zm6 8v2H1V4h2v6.5c0 .28.22.5.5.5H10Zm0-1H4V4h6v6Z\"})),mirror:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12h10V2L2 12Z\"})),grow:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1.5 1a.5.5 0 1 0 0 1H12v10.5a.5.5 0 0 0 1 0V2a1 1 0 0 0-1-1H1.5Z\"}),React5__default.createElement(\"path\",{d:\"M1 3.5c0-.27.22-.5.5-.5H10a1 1 0 0 1 1 1v8.5a.5.5 0 0 1-1 0V4H1.5a.5.5 0 0 1-.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1.5 5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h7a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-7ZM2 6v6h6V6H2Z\"})),paintbrush:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M11.8535.1464a.5.5 0 0 0-.7071 0L2.9827 8.3102a2.2396 2.2396 0 0 0-1.0737.599C.6772 10.141.2402 11.903.0852 12.9978 0 13.5998 0 14.0002 0 14.0002s.4004 0 1.0023-.0853c1.095-.155 2.8569-.5919 4.0887-1.8237.307-.307.5067-.6806.5992-1.0743l8.1633-8.1633a.5.5 0 0 0 0-.7071l-2-2Zm-6.253 9.546L6.543 8.75l-1.293-1.2929-.9424.9424a2.242 2.242 0 0 1 .7835.5097c.23.2302.4.4977.5095.7831ZM7.25 8.0428 12.7929 2.5 11.5 1.2071 5.957 6.75 7.25 8.0429ZM4.3839 9.6163c.4881.4882.4881 1.2796 0 1.7678-.7665.7664-1.832 1.1845-2.7791 1.403a8.6972 8.6972 0 0 1-.49.0982 8.7151 8.7151 0 0 1 .0982-.4899c.2186-.9471.6367-2.0126 1.403-2.779.4882-.4882 1.2797-.4882 1.7679 0Z\"})),ruler:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1.5 1c.28 0 .5.23.5.5V2h10v-.5a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0V3H2v.5a.5.5 0 0 1-1 0v-2c0-.27.22-.5.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1.5 6a.5.5 0 0 0-.5.5v6c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-11ZM2 7v5h10V7h-1v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H7.5v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H4v2.5a.5.5 0 0 1-1 0V7H2Z\"})),stop:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M4.5 4a.5.5 0 0 0-.5.5v5c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z\"})),camera:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9 7a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M2.5 1a.5.5 0 0 0-.5.5V2H.5a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H6v-.5a.5.5 0 0 0-.5-.5h-3ZM1 3v8h12V3H1Z\"})),video:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2.5 10a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M0 4c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v.5l3.19-2.4a.5.5 0 0 1 .81.4v9a.5.5 0 0 1-.8.4L10 9.5v.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm9 0v1.5a.5.5 0 0 0 .8.4L13 3.5v7L9.8 8.1a.5.5 0 0 0-.8.4V10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1Z\"})),speaker:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1 4.50004V9.50004C1 9.77618 1.22386 10 1.5 10H4L7.17075 12.7744C7.49404 13.0573 8 12.8277 8 12.3982V1.60192C8 1.17235 7.49404 0.942757 7.17075 1.22564L4 4.00004H1.5C1.22386 4.00004 1 4.2239 1 4.50004ZM4 9.00004V5.00004H2V9.00004H4ZM4.99804 9.54456C4.99934 9.52989 5 9.51505 5 9.50004V4.50004C5 4.48504 4.99934 4.47019 4.99804 4.45552L7 2.70381V11.2963L4.99804 9.54456Z\"}),React5__default.createElement(\"path\",{d:\"M10.1498 1.75202C9.88637 1.66927 9.60572 1.81577 9.52297 2.07922C9.44023 2.34267 9.58672 2.62332 9.85017 2.70607C11.6763 3.27963 13 4.98596 13 7.00014C13 9.01433 11.6763 10.7207 9.85017 11.2942C9.58672 11.377 9.44023 11.6576 9.52297 11.9211C9.60572 12.1845 9.88637 12.331 10.1498 12.2483C12.3808 11.5476 14 9.4636 14 7.00014C14 4.53669 12.3808 2.45272 10.1498 1.75202Z\"}),React5__default.createElement(\"path\",{d:\"M10.2504 3.96861C10.0113 3.83033 9.70547 3.91201 9.5672 4.15105C9.42893 4.39008 9.51061 4.69594 9.74964 4.83421C10.4982 5.26723 11 6.07534 11 7.00006C11 7.92479 10.4982 8.7329 9.74964 9.16591C9.51061 9.30418 9.42893 9.61005 9.5672 9.84908C9.70547 10.0881 10.0113 10.1698 10.2504 10.0315C11.2952 9.42711 12 8.29619 12 7.00006C12 5.70394 11.2952 4.57302 10.2504 3.96861Z\"})),play:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"m12.81 7.43-9.05 5.6A.5.5 0 0 1 3 12.6V1.4c0-.4.43-.63.76-.43l9.05 5.6a.5.5 0 0 1 0 .86Z\"})),playback:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M11.24 12.04 3.7 7.42a.5.5 0 0 1-.2-.23v4.05a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0V6.8a.5.5 0 0 1 .2-.23l7.54-4.6a.5.5 0 0 1 .76.42v9.22a.5.5 0 0 1-.76.43Z\"})),playnext:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"m2.76 12.04 7.54-4.61a.5.5 0 0 0 .2-.23v4.05a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0V6.8a.5.5 0 0 0-.2-.23l-7.54-4.6a.5.5 0 0 0-.76.42v9.22c0 .39.43.63.76.43Z\"})),rewind:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M9 2.42v2.32L13.23 2a.5.5 0 0 1 .77.42v9.16a.5.5 0 0 1-.77.42L9 9.26v2.32a.5.5 0 0 1-.77.42L1.5 7.65v3.6a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0v3.6L8.23 2a.5.5 0 0 1 .77.42Z\"})),fastforward:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5 2.42v2.32L.77 2a.5.5 0 0 0-.77.42v9.16c0 .4.44.64.77.42L5 9.26v2.32c0 .4.44.64.77.42l6.73-4.35v3.6a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0v3.6L5.77 2a.5.5 0 0 0-.77.42Z\"})),stopalt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11Z\"})),sidebyside:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12V2h5v10H2Z\"})),stacked:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M12.5 1c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11ZM2 2h10v5H2V2Z\"})),sun:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.5.5a.5.5 0 0 0-1 0V2a.5.5 0 0 0 1 0V.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0-1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z\"}),React5__default.createElement(\"path\",{d:\"M7 11.5c.28 0 .5.22.5.5v1.5a.5.5 0 0 1-1 0V12c0-.28.22-.5.5-.5ZM11.5 7c0-.28.22-.5.5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5ZM.5 6.5a.5.5 0 0 0 0 1H2a.5.5 0 0 0 0-1H.5ZM3.82 10.18c.2.2.2.51 0 .7l-1.06 1.07a.5.5 0 1 1-.71-.7l1.06-1.07c.2-.2.51-.2.7 0ZM11.95 2.76a.5.5 0 1 0-.7-.71l-1.07 1.06a.5.5 0 1 0 .7.7l1.07-1.05ZM10.18 10.18c.2-.2.51-.2.7 0l1.07 1.06a.5.5 0 1 1-.7.71l-1.07-1.06a.5.5 0 0 1 0-.7ZM2.76 2.05a.5.5 0 1 0-.71.7l1.06 1.07a.5.5 0 0 0 .7-.7L2.77 2.04Z\"})),moon:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7.78.04a7.03 7.03 0 0 0-4.28.9 7 7 0 1 0 9.87 8.96c.1-.21-.14-.41-.36-.32a4.98 4.98 0 0 1-2 .42A5 5 0 0 1 8.53.65c.2-.12.19-.44-.04-.49a7.04 7.04 0 0 0-.72-.12Zm-1.27.98a6 6 0 0 0 4.98 9.96 6 6 0 1 1-4.98-9.96Z\"})),book:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M13 2a2 2 0 0 0-2-2H1.5a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5H11a2 2 0 0 0 2-2V2ZM3 13h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H7v6a.5.5 0 0 1-.86.36L5.5 6.7l-.65.65A.5.5 0 0 1 4 7V1H3v12ZM5 1v4.8l.15-.15a.5.5 0 0 1 .74.04l.11.1V1H5Z\"})),document:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M4 5.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5ZM4.5 7.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM4 10.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1.5 0a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5V3.2a.5.5 0 0 0-.15-.35l-2.7-2.7A.5.5 0 0 0 9.79 0H1.5ZM2 1h7.5v2c0 .28.22.5.5.5h2V13H2V1Z\"})),copy:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M11.75.07A.5.5 0 0 0 11.5 0h-6a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h8a.5.5 0 0 0 .5-.5V11h4.5a.5.5 0 0 0 .5-.5V2.51a.5.5 0 0 0-.15-.36l-2-2a.5.5 0 0 0-.1-.08ZM9 10h4V3h-1.5a.5.5 0 0 1-.5-.5V1H6v2h.5a.5.5 0 0 1 .36.15l1.99 2c.1.09.15.21.15.35v4.51ZM1 4v9h7V6H6.5a.5.5 0 0 1-.5-.5V4H1Z\"})),category:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M3 1.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Zm-1 2c0-.27.22-.5.5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1 5.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7ZM2 12V6h10v6H2Z\"})),folder:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M6.59 3.5 5.09 2H1v9h12V3.5H6.59Zm.41-1L5.8 1.3a1 1 0 0 0-.71-.3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H7Z\"})),print:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M4.5 8a.5.5 0 1 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M2 1.5c0-.27.22-.5.5-.5h8a.5.5 0 0 1 .36.15l.99 1c.1.09.15.21.15.35v1.51h1.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-.5.5H12v2.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10H.5a.5.5 0 0 1-.5-.5v-5c0-.28.22-.5.5-.5H2V1.5ZM13 9h-1V6.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5V9H1V5h12v4Zm-2-6v1H3V2h7v.5c0 .28.22.5.5.5h.5Zm-8 9h8V7H3v5Z\"})),graphline:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5.15 6.15c.2-.2.5-.2.7 0L7 7.3l2.15-2.15c.2-.2.5-.2.7 0l1 1a.5.5 0 0 1-.7.7l-.65-.64-2.15 2.15a.5.5 0 0 1-.7 0L5.5 7.2 3.85 8.86a.5.5 0 1 1-.7-.71l2-2Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1.5 1a.5.5 0 0 0-.5.5v11c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-11ZM2 2v10h10V2H2Z\"})),calendar:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3.5 0c.28 0 .5.22.5.5V1h6V.5a.5.5 0 0 1 1 0V1h1.5c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.28.22-.5.5-.5H3V.5c0-.28.22-.5.5-.5ZM2 4v2.3h3V4H2Zm0 5.2V6.8h3v2.4H2Zm0 .5V12h3V9.7H2Zm3.5 0V12h3V9.7h-3Zm3.5 0V12h3V9.7H9Zm3-.5H9V6.8h3v2.4Zm-3.5 0h-3V6.8h3v2.4ZM9 4v2.3h3V4H9ZM5.5 6.3h3V4h-3v2.3Z\"})),graphbar:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M12 2.5a.5.5 0 0 0-1 0v10a.5.5 0 0 0 1 0v-10Zm-3 2a.5.5 0 0 0-1 0v8a.5.5 0 0 0 1 0v-8ZM5.5 7c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5ZM3 10.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2Z\"})),menu:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M13 2a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h12Zm-3 3a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h9Zm1.5 3.5A.5.5 0 0 0 11 8H1a.5.5 0 0 0 0 1h10a.5.5 0 0 0 .5-.5Zm-4 2.5a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h6.5Z\"})),menualt:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm3 3a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H4ZM2.5 8.5c0-.28.22-.5.5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5Zm4 2.5a.5.5 0 0 0 0 1H13a.5.5 0 0 0 0-1H6.5Z\"})),filter:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm2 3a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1H3Zm1.5 3.5c0-.28.22-.5.5-.5h4a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5Zm2 2.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z\"})),docchart:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1 1.5C1 1.22386 1.22386 1 1.5 1H12.5C12.7761 1 13 1.22386 13 1.5V12.5C13 12.7761 12.7761 13 12.5 13H1.5C1.22386 13 1 12.7761 1 12.5V1.5ZM2 4V6.2998H5V4H2ZM2 9.2002V6.7998H5V9.2002H2ZM2 9.7002V12H5V9.7002H2ZM5.5 9.7002V12H8.5V9.7002H5.5ZM9 9.7002V12H12V9.7002H9ZM12 9.2002H9V6.7998H12V9.2002ZM8.5 9.2002H5.5V6.7998H8.5V9.2002ZM9 6.2998H12V4H9V6.2998ZM5.5 6.2998H8.5V4H5.5V6.2998Z\"})),doclist:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M3.5 6.5c0-.28.22-.5.5-.5h6a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.5-.5ZM4 9a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H4Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M1 1.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 4v8h10V4H2Z\"})),markup:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M8.98 1.63a.5.5 0 0 0-.96-.26l-3 11a.5.5 0 1 0 .96.26l3-11ZM3.32 3.62a.5.5 0 0 1 .06.7L1.15 7l2.23 2.68a.5.5 0 1 1-.76.64l-2.5-3a.5.5 0 0 1 0-.64l2.5-3a.5.5 0 0 1 .7-.06Zm7.36 0a.5.5 0 0 0-.06.7L12.85 7l-2.23 2.68a.5.5 0 0 0 .76.64l2.5-3a.5.5 0 0 0 0-.64l-2.5-3a.5.5 0 0 0-.7-.06Z\"})),bold:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3 2v1.5h1v7H3V12h5a3 3 0 0 0 1.8-5.4A2.74 2.74 0 0 0 8 2H3Zm5 5.5H5.5v3H8a1.5 1.5 0 1 0 0-3Zm-.25-4H5.5V6h2.25a1.25 1.25 0 1 0 0-2.5Z\"})),italic:React5__default.createElement(\"path\",{d:\"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2Z\"}),paperclip:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M10.55 2.27a1.5 1.5 0 0 0-2.12 0L2.78 7.92a2.5 2.5 0 0 0 3.53 3.54l3.54-3.54a.5.5 0 1 1 .7.71l-3.53 3.54a3.5 3.5 0 0 1-4.96-4.94v-.01l5.66-5.66h.01a2.5 2.5 0 0 1 3.53 3.53L5.6 10.76a1.5 1.5 0 0 1-2.12-2.12L7.02 5.1a.5.5 0 1 1 .7.7L4.2 9.34a.5.5 0 0 0 .7.7l5.66-5.65a1.5 1.5 0 0 0 0-2.12Z\"})),listordered:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5 2.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm.5 4a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm-3-9H1v1h1v3h1V2.5a.5.5 0 0 0-.5-.5ZM3 8.5v1a.5.5 0 0 1-1 0V9h-.5a.5.5 0 0 1 0-1h1c.28 0 .5.22.5.5Zm-1 2a.5.5 0 0 0-1 0V12h2v-1H2v-.5Z\"})),listunordered:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2.75 2.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM5.5 2a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm0 9a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7ZM2 12.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm-3 .75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z\"})),paragraph:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M6 7a3 3 0 1 1 0-6h5.5a.5.5 0 0 1 0 1H10v10.5a.5.5 0 0 1-1 0V2H7v10.5a.5.5 0 0 1-1 0V7Z\"})),markdown:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2 4.5h1.5L5 6.38 6.5 4.5H8v5H6.5V7L5 8.88 3.5 7v2.5H2v-5Zm7.75 0h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M.5 2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5ZM1 3v8h12V3H1Z\"})),repository:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M5 2.5C5 2.77614 4.77614 3 4.5 3C4.22386 3 4 2.77614 4 2.5C4 2.22386 4.22386 2 4.5 2C4.77614 2 5 2.22386 5 2.5Z\"}),React5__default.createElement(\"path\",{d:\"M4.5 5C4.77614 5 5 4.77614 5 4.5C5 4.22386 4.77614 4 4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5Z\"}),React5__default.createElement(\"path\",{d:\"M5 6.5C5 6.77614 4.77614 7 4.5 7C4.22386 7 4 6.77614 4 6.5C4 6.22386 4.22386 6 4.5 6C4.77614 6 5 6.22386 5 6.5Z\"}),React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M11 0C12.1046 0 13 0.895431 13 2V12C13 13.1046 12.1046 14 11 14H1.5C1.22386 14 1 13.7761 1 13.5V0.5C1 0.223857 1.22386 0 1.5 0H11ZM11 1H3V13H11C11.5523 13 12 12.5523 12 12V2C12 1.44772 11.5523 1 11 1Z\"})),commit:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M3.03 7.5a4 4 0 0 0 7.94 0h2.53a.5.5 0 0 0 0-1h-2.53a4 4 0 0 0-7.94 0H.5a.5.5 0 0 0 0 1h2.53ZM7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\"})),branch:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M6 2.5c0 .65-.42 1.2-1 1.41v4.06A3.36 3.36 0 0 1 7.5 7a2.7 2.7 0 0 0 1.81-.56c.22-.18.38-.4.48-.62a1.5 1.5 0 1 1 1.03.15c-.16.42-.43.87-.86 1.24-.57.47-1.37.79-2.46.79-1.04 0-1.64.42-2 .92-.26.37-.4.8-.47 1.18A1.5 1.5 0 1 1 4 10.09V3.9a1.5 1.5 0 1 1 2-1.4Zm-2 9a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm1-9a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm6 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z\"})),pullrequest:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M8.35 1.35 7.71 2h.79A2.5 2.5 0 0 1 11 4.5v5.59a1.5 1.5 0 1 1-1 0V4.5C10 3.67 9.33 3 8.5 3h-.8l.65.65a.5.5 0 1 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7ZM11 11.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0ZM4 3.91a1.5 1.5 0 1 0-1 0v6.18a1.5 1.5 0 1 0 1 0V3.9ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm0-8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z\"})),merge:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M4.1 3.87a1.5 1.5 0 1 0-1.1.04v6.18a1.5 1.5 0 1 0 1 0V6.4c.26.4.57.77.93 1.08A6.57 6.57 0 0 0 9.08 9a1.5 1.5 0 1 0 0-1 5.57 5.57 0 0 1-3.5-1.25 4.74 4.74 0 0 1-1.47-2.87ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM4 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm7 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z\"})),apple:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M11.03 8.1a3.05 3.05 0 0 1-.2-1.74 2.7 2.7 0 0 1 1.4-1.94 3.13 3.13 0 0 0-2.35-1.4c-.84-.08-2.01.56-2.65.57h-.02c-.63 0-1.81-.65-2.64-.57-.42.04-1.75.32-2.55 1.6-.28.44-.5 1.01-.58 1.74a6.36 6.36 0 0 0 .02 1.74 7.5 7.5 0 0 0 1.35 3.33c.7 1.01 1.51 1.6 1.97 1.6.93.02 1.74-.6 2.41-.6l.02.01h.04c.67-.02 1.48.61 2.42.6.45-.02 1.26-.6 1.97-1.6a7.95 7.95 0 0 0 .97-1.86 2.6 2.6 0 0 1-1.58-1.48ZM8.86 2.13c.72-.85.7-2.07.63-2.12-.07-.06-1.25.16-1.99.98a2.78 2.78 0 0 0-.62 2.13c.06.05 1.27-.14 1.98-.99Z\"})),linux:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M7 0a3 3 0 0 1 3 3v1.24c.13.13.25.27.36.42l.52.43.2.15c.32.26.7.59 1.09.97A6.28 6.28 0 0 1 14 9.54a.5.5 0 0 1-.35.44c-.31.1-.8.18-1.34.13-.33-.03-.7-.12-1.05-.3-.04.17-.1.34-.17.51a2 2 0 1 1-2.89 2.56 5.5 5.5 0 0 1-2.4 0 2 2 0 1 1-2.9-2.56 5.56 5.56 0 0 1-.16-.51c-.35.18-.72.27-1.05.3a3.4 3.4 0 0 1-1.34-.13.5.5 0 0 1-.35-.44l.01-.14a6.28 6.28 0 0 1 1.82-3.2 13.42 13.42 0 0 1 1.3-1.11c.22-.19.4-.32.5-.43.12-.15.24-.29.37-.42V3a3 3 0 0 1 3-3Zm1 11.9a2 2 0 0 1 2.14-1.9 5.5 5.5 0 0 0 .36-2c0-.51-.1-1.07-.3-1.6l-.03-.02a4.4 4.4 0 0 0-.86-.42 6.71 6.71 0 0 0-1-.31l-.86.64c-.27.2-.63.2-.9 0l-.85-.64a6.72 6.72 0 0 0-1.87.73l-.03.02A4.6 4.6 0 0 0 3.5 8c0 .68.11 1.39.36 2H4a2 2 0 0 1 2 1.9 4.49 4.49 0 0 0 2 0ZM5 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm6 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6.1 4.3a1.5 1.5 0 0 1 1.8 0l.27.2L7 5.38 5.83 4.5l.27-.2ZM8.5 2c.28 0 .5.22.5.5V3a.5.5 0 0 1-1 0v-.5c0-.28.22-.5.5-.5ZM6 2.5a.5.5 0 0 0-1 0V3a.5.5 0 0 0 1 0v-.5Z\"})),ubuntu:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M12.26 2.07c0 1.14-.89 2.06-1.99 2.06s-1.99-.92-1.99-2.06c0-1.14.9-2.07 2-2.07s1.98.93 1.98 2.07ZM3.98 6.6c0 1.14-.9 2.07-2 2.07C.9 8.67 0 7.74 0 6.6c0-1.14.9-2.07 1.99-2.07 1.1 0 1.99.93 1.99 2.07ZM6.47 11.92a4.76 4.76 0 0 1-3.3-2.62c-.53.25-1.12.33-1.7.22a6.72 6.72 0 0 0 1.84 2.63 6.38 6.38 0 0 0 4.24 1.58c-.37-.5-.57-1.1-.59-1.73a4.77 4.77 0 0 1-.49-.08ZM11.81 11.93c0 1.14-.89 2.07-1.99 2.07s-1.98-.93-1.98-2.07c0-1.14.89-2.06 1.98-2.06 1.1 0 2 .92 2 2.06ZM12.6 11.17a6.93 6.93 0 0 0 .32-7.93A2.95 2.95 0 0 1 11.8 4.6a5.23 5.23 0 0 1-.16 5.03c.47.4.8.94.95 1.54ZM1.99 3.63h-.15A6.48 6.48 0 0 1 8 .24a3.07 3.07 0 0 0-.6 1.68 4.7 4.7 0 0 0-3.9 2.17c-.46-.3-.98-.45-1.51-.45Z\"})),windows:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M6.5 1H1v5.5h5.5V1ZM13 1H7.5v5.5H13V1ZM7.5 7.5H13V13H7.5V7.5ZM6.5 7.5H1V13h5.5V7.5Z\"})),storybook:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M2.04.62a.7.7 0 0 0-.66.72l.44 11.56c.01.37.3.66.67.68l9.4.42h.02a.7.7 0 0 0 .7-.7V.66a.7.7 0 0 0-.74-.66l-.77.05.05 1.62a.1.1 0 0 1-.17.08l-.52-.4-.61.46a.1.1 0 0 1-.17-.09L9.75.13l-7.7.49Zm8 4.74c-.24.2-2.09.33-2.09.05.04-1.04-.43-1.09-.69-1.09-.24 0-.66.08-.66.64 0 .57.6.89 1.32 1.27 1.02.53 2.24 1.18 2.24 2.82 0 1.57-1.27 2.43-2.9 2.43-1.67 0-3.14-.68-2.97-3.03.06-.27 2.2-.2 2.2 0-.03.97.19 1.26.75 1.26.43 0 .62-.24.62-.64 0-.6-.63-.95-1.36-1.36-.99-.56-2.15-1.2-2.15-2.7 0-1.5 1.03-2.5 2.86-2.5 1.83 0 2.84.99 2.84 2.85Z\"})),azuredevops:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"m0 5.18 1.31-1.73 4.9-2V.01l4.3 3.15-8.78 1.7v4.8L0 9.16V5.18Zm14-2.6v8.55l-3.36 2.86-5.42-1.79V14L1.73 9.66l8.78 1.05V3.16L14 2.58Z\"})),bitbucket:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M1 1.52A.41.41 0 0 0 .59 2l1.74 10.6c.05.26.28.46.55.46h8.37c.2 0 .38-.14.42-.34l1.01-6.25H8.81l-.46 2.71H5.68L4.95 5.4h7.91L13.4 2a.41.41 0 0 0-.41-.48H1Z\"})),chrome:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M13.02 3.43a.11.11 0 0 1-.1.17H7a3.4 3.4 0 0 0-3.3 2.55.11.11 0 0 1-.21.03L1.52 2.76a.11.11 0 0 1 0-.12 6.97 6.97 0 0 1 9-1.7c1.03.6 1.9 1.47 2.5 2.5ZM7 9.62a2.62 2.62 0 1 1 0-5.24 2.62 2.62 0 0 1 0 5.24Zm1.03.7a.11.11 0 0 0-.12-.04 3.4 3.4 0 0 1-4-1.84L1.1 3.57a.11.11 0 0 0-.2 0 7 7 0 0 0 5.07 10.35c.04 0 .08-.02.1-.05l1.97-3.42a.11.11 0 0 0 0-.13Zm1.43-5.95h3.95c.05 0 .1.03.1.07a6.97 6.97 0 0 1-1.53 7.48A6.96 6.96 0 0 1 7.08 14a.11.11 0 0 1-.1-.17l2.81-4.88h.01a3.38 3.38 0 0 0-.42-4.38.11.11 0 0 1 .08-.2Z\"})),chromatic:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M0 7a7 7 0 1 0 14 0A7 7 0 0 0 0 7Zm5.22-3.87a1.97 1.97 0 0 1 3.75.83v1.29L5.61 3.32a2.49 2.49 0 0 0-.4-.19ZM8.7 5.71 5.35 3.78a1.97 1.97 0 0 0-2.6 2.83c.12-.1.24-.18.37-.26l1.51-.87a.27.27 0 0 1 .27 0L7 6.69l1.7-.98Zm-.32 4.97-1.52-.87a.27.27 0 0 1-.13-.23V7.15l-1.7-.97v3.86a1.97 1.97 0 0 0 3.75.83 2.5 2.5 0 0 1-.4-.19Zm.26-.46a1.97 1.97 0 0 0 2.6-2.83c-.11.1-.23.18-.36.26L7.53 9.58l1.11.64Zm-4.1.26h-.17a1.97 1.97 0 0 1-1.9-2.47 2 2 0 0 1 .92-1.2l1.11-.63v3.86c0 .14.01.29.04.44Zm6.79-5.98a1.97 1.97 0 0 0-1.87-.97c.03.14.04.29.04.43v1.75c0 .1-.05.19-.14.23l-2.1 1.22V9.1l3.35-1.93a1.97 1.97 0 0 0 .72-2.68Z\"})),componentdriven:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M10.85 2.18 8.87.2a.69.69 0 0 0-.97 0L3.09 5.01a.69.69 0 0 0 0 .97l2.46 2.46-2.4 2.4a.69.69 0 0 0 0 .98l1.98 1.98c.27.27.7.27.97 0l4.8-4.81a.69.69 0 0 0 0-.97L8.45 5.56l2.4-2.4a.69.69 0 0 0 0-.98Z\"})),discord:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M11.85 2.88C10.95 2.48 10 2.18 9 2a7.05 7.05 0 0 0-.4.75 10.66 10.66 0 0 0-3.2 0c-.1-.23-.24-.5-.36-.73A.04.04 0 0 0 4.99 2a11.51 11.51 0 0 0-2.86.9 11.82 11.82 0 0 0-2.05 8 11.6 11.6 0 0 0 3.5 1.77c.01 0 .03 0 .04-.02.27-.36.51-.75.72-1.16a.04.04 0 0 0-.03-.06 7.66 7.66 0 0 1-1.09-.52.04.04 0 0 1 0-.08 5.96 5.96 0 0 0 .26-.17 8.28 8.28 0 0 0 7.08 0l.22.17c.02.02.02.06 0 .08-.36.2-.72.37-1.1.52a.04.04 0 0 0-.02.06c.2.4.45.8.71 1.16.01.02.03.02.05.02a11.57 11.57 0 0 0 3.52-1.8 11.74 11.74 0 0 0-2.09-7.99Zm-7.17 6.4c-.7 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.56 1.42-1.26 1.42Zm4.65 0c-.69 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.55 1.42-1.26 1.42Z\"})),facebook:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.4 14H5.06V7H3.5V4.59h1.56V3.17C5.06 1.2 5.53 0 7.6 0h1.72v2.41H8.25c-.8 0-.85.34-.85.97v1.2h1.93L9.11 7H7.4l-.01 7Z\"})),figma:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M9.2 0H4.8a2.6 2.6 0 0 0-1.4 4.8 2.6 2.6 0 0 0 0 4.4 2.6 2.6 0 1 0 4 2.2V8.89a2.6 2.6 0 1 0 3.2-4.09A2.6 2.6 0 0 0 9.2 0ZM7.4 7A1.8 1.8 0 1 0 11 7a1.8 1.8 0 0 0-3.6 0Zm-.8 2.6H4.8a1.8 1.8 0 1 0 1.8 1.8V9.6ZM4.8 4.4h1.8V.8H4.8a1.8 1.8 0 0 0 0 3.59Zm0 .8a1.8 1.8 0 0 0 0 3.6h1.8V5.2H4.8Zm4.4-.8H7.4V.8h1.8a1.8 1.8 0 1 1 0 3.59Z\"})),gdrive:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M6.37 8.77 4.33 12.3h6.75l2.04-3.54H6.38Zm6.18-1-3.5-6.08h-4.1l3.51 6.08h4.09ZM4.38 2.7.88 8.77l2.04 3.54 3.5-6.07L4.38 2.7Z\"})),github:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7 0a7 7 0 0 0-2.21 13.64c.35.06.48-.15.48-.33L5.26 12c-1.76.32-2.21-.43-2.35-.83-.08-.2-.43-.82-.72-.99-.25-.13-.6-.45-.01-.46.55 0 .94.5 1.07.72.63 1.06 1.64.76 2.04.58.07-.46.25-.77.45-.94-1.56-.18-3.19-.78-3.19-3.46 0-.76.28-1.39.72-1.88-.07-.17-.31-.9.07-1.85 0 0 .59-.19 1.93.71a6.5 6.5 0 0 1 3.5 0c1.34-.9 1.92-.71 1.92-.71.39.96.14 1.68.07 1.85.45.5.72 1.11.72 1.88 0 2.69-1.64 3.28-3.2 3.46.26.22.48.64.48 1.3l-.01 1.92c0 .18.13.4.48.33A7.01 7.01 0 0 0 7 0Z\"})),gitlab:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M4.53 5.58H1.07l1.49-4.55a.26.26 0 0 1 .48 0l1.49 4.55ZM7 13.15 1.07 5.58l-.75 2.3a.5.5 0 0 0 .18.57l6.5 4.7Zm0 0 6.5-4.7a.5.5 0 0 0 .18-.57l-.75-2.3L7 13.15l2.47-7.57H4.53L7 13.15Zm2.47-7.57h3.46l-1.49-4.55a.26.26 0 0 0-.48 0L9.47 5.58Z\"})),google:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M10.92 1.1H7.26c-1.64 0-3.19 1.24-3.19 2.68 0 1.47 1.12 2.66 2.8 2.66l.33-.01c-.1.2-.18.44-.18.68 0 .41.22.75.5 1.02h-.64c-2.03 0-3.6 1.3-3.6 2.64 0 1.32 1.72 2.15 3.75 2.15 2.32 0 3.6-1.31 3.6-2.64 0-1.06-.31-1.7-1.28-2.38-.33-.23-.96-.8-.96-1.14 0-.39.1-.58.7-1.04a2.46 2.46 0 0 0 1.03-1.92c0-.92-.4-1.82-1.18-2.11h1.17l.81-.6ZM9.6 10.04c.03.13.05.25.05.38 0 1.07-.7 1.9-2.67 1.9-1.4 0-2.42-.88-2.42-1.95 0-1.05 1.26-1.92 2.66-1.9a3 3 0 0 1 .92.14c.76.53 1.3.83 1.46 1.43ZM7.34 6.07c-.94-.03-1.84-1.06-2-2.3-.17-1.24.47-2.19 1.41-2.16.94.03 1.84 1.03 2 2.26.17 1.24-.47 2.23-1.41 2.2Z\"})),graphql:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M7.87 11.6a1.17 1.17 0 0 0-1.7-.02l-2.71-1.56.01-.04h7.07l.02.07-2.69 1.56Zm-1.7-9.18.03.03-3.54 6.12h-.04V5.43a1.17 1.17 0 0 0 .84-1.46l2.7-1.56Zm4.38 1.56a1.17 1.17 0 0 0 .84 1.46v3.12l-.04.01-3.54-6.12c.02 0 .03-.02.04-.03l2.7 1.56ZM3.47 9.42a1.17 1.17 0 0 0-.32-.57l3.53-6.12a1.17 1.17 0 0 0 .65 0l3.54 6.12a1.17 1.17 0 0 0-.33.57H3.47Zm8.8-.74c-.1-.05-.21-.1-.32-.12V5.44a1.17 1.17 0 1 0-1.12-1.94l-2.7-1.56a1.17 1.17 0 1 0-2.24 0L3.19 3.5a1.17 1.17 0 1 0-1.13 1.94v3.12a1.17 1.17 0 1 0 1.12 1.94l2.7 1.56a1.17 1.17 0 1 0 2.24-.03l2.69-1.55a1.17 1.17 0 1 0 1.45-1.8Z\"})),medium:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M0 0v14h14V0H0Zm11.63 3.32-.75.72a.22.22 0 0 0-.08.2v5.33c0 .07.03.14.08.18l.73.72v.16H7.92v-.16l.76-.74c.08-.07.08-.1.08-.21V5.24l-2.11 5.37h-.29L3.9 5.24v3.67c0 .13.05.25.14.34l.99 1.2v.16h-2.8v-.16l.98-1.2a.48.48 0 0 0 .13-.41V4.65c0-.11-.04-.2-.12-.27l-.88-1.06v-.16h2.73l2.1 4.62 1.86-4.62h2.6v.16Z\"})),redux:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M4.06 9.69c.02.49.42.88.91.88H5a.91.91 0 0 0-.03-1.83h-.03c-.03 0-.08 0-.11.02a5.97 5.97 0 0 1-.85-3.62c.06-.98.39-1.82.96-2.52.47-.6 1.39-.9 2-.92 1.73-.03 2.47 2.12 2.51 2.99.22.04.57.16.82.24-.2-2.64-1.83-4-3.4-4-1.46 0-2.81 1.05-3.35 2.61a6.67 6.67 0 0 0 .65 5.68.74.74 0 0 0-.11.47Zm8.28-2.3a6.62 6.62 0 0 0-5.15-2.25h-.26a.9.9 0 0 0-.8-.49H6.1a.91.91 0 0 0 .03 1.83h.03a.92.92 0 0 0 .8-.56h.3c1.23 0 2.4.36 3.47 1.06.81.54 1.4 1.24 1.72 2.09.28.68.26 1.35-.03 1.92a2.4 2.4 0 0 1-2.23 1.34c-.65 0-1.27-.2-1.6-.34-.18.16-.5.42-.73.58.7.33 1.41.5 2.1.5 1.56 0 2.72-.85 3.16-1.72.47-.94.44-2.57-.78-3.96ZM4.9 12.9a4 4 0 0 1-.98.11c-1.2 0-2.3-.5-2.84-1.32C.38 10.6.13 8.3 2.5 6.58c.05.26.15.62.22.83-.31.23-.8.68-1.11 1.3a2.4 2.4 0 0 0 .13 2.53c.36.54.93.86 1.66.96.9.11 1.8-.05 2.66-.5a5.83 5.83 0 0 0 2.67-2.56.91.91 0 0 1 .62-1.55h.03a.92.92 0 0 1 .1 1.82 6.26 6.26 0 0 1-4.56 3.49Z\"})),twitter:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M14 2.55c-.51.23-1.07.39-1.65.46.6-.36 1.05-.94 1.26-1.63-.55.34-1.17.58-1.82.72a2.84 2.84 0 0 0-2.1-.93 2.9 2.9 0 0 0-2.8 3.61 8.09 8.09 0 0 1-5.9-3.07 2.99 2.99 0 0 0 .88 3.93 2.8 2.8 0 0 1-1.3-.37v.04c0 1.42 1 2.61 2.3 2.89a2.82 2.82 0 0 1-1.3.05 2.89 2.89 0 0 0 2.7 2.04A5.67 5.67 0 0 1 0 11.51a7.98 7.98 0 0 0 4.4 1.32c5.29 0 8.17-4.48 8.17-8.38v-.38A5.93 5.93 0 0 0 14 2.55Z\"})),youtube:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M13.99 8.17V5.83a14.95 14.95 0 0 0-.23-2.22c-.09-.38-.27-.7-.55-.96s-.6-.41-.97-.45A51.3 51.3 0 0 0 7 2c-2.34 0-4.09.07-5.24.2A1.78 1.78 0 0 0 .25 3.61 15.26 15.26 0 0 0 0 7v1.16a15.24 15.24 0 0 0 .24 2.22c.09.38.27.7.55.96.27.26.6.41.97.45 1.15.13 2.9.2 5.24.2 2.34 0 4.08-.06 5.24-.2.37-.04.7-.19.97-.45s.45-.58.54-.96a15.26 15.26 0 0 0 .24-2.22Zm-4.23-1.6c.16.1.24.24.24.43 0 .2-.08.33-.24.42l-4 2.5a.44.44 0 0 1-.26.08.54.54 0 0 1-.24-.06A.46.46 0 0 1 5 9.5v-5c0-.2.08-.34.26-.44.17-.1.34-.09.5.02l4 2.5Z\"})),vscode:React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(\"path\",{d:\"M10.24.04c.13 0 .26.03.38.09L13.5 1.5a.87.87 0 0 1 .5.8v.03-.01 9.39c0 .33-.2.63-.5.78l-2.88 1.38a.87.87 0 0 1-1-.17l-5.5-5.03-2.4 1.83a.58.58 0 0 1-.75-.04l-.77-.7a.58.58 0 0 1 0-.86L2.27 7 .2 5.1a.58.58 0 0 1 0-.86l.77-.7c.21-.2.52-.2.75-.04l2.4 1.83L9.63.3a.87.87 0 0 1 .61-.26Zm.26 3.78L6.32 7l4.18 3.18V3.82Z\"}))};var Svg=styled.svg`\n display: inline-block;\n shape-rendering: inherit;\n vertical-align: middle;\n fill: currentColor;\n\n path {\n fill: currentColor;\n }\n`,Icons=({icon,useSymbol,...props})=>React5__default.createElement(Svg,{viewBox:\"0 0 14 14\",width:\"14px\",height:\"14px\",...props},useSymbol?React5__default.createElement(\"use\",{xlinkHref:`#icon--${icon}`}):icons[icon]),Symbols=memo(function({icons:keys=Object.keys(icons)}){return React5__default.createElement(Svg,{viewBox:\"0 0 14 14\",style:{position:\"absolute\",width:0,height:0},\"data-chromatic\":\"ignore\"},keys.map(key=>React5__default.createElement(\"symbol\",{id:`icon--${key}`,key},icons[key])))});var LEFT_BUTTON=0,isPlainLeftClick=e=>e.button===LEFT_BUTTON&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,cancelled=(e,cb)=>{isPlainLeftClick(e)&&(e.preventDefault(),cb(e));},LinkInner=styled.span(({withArrow})=>withArrow?{\"> svg:last-of-type\":{height:\"0.7em\",width:\"0.7em\",marginRight:0,marginLeft:\"0.25em\",bottom:\"auto\",verticalAlign:\"inherit\"}}:{},({containsIcon})=>containsIcon?{svg:{height:\"1em\",width:\"1em\",verticalAlign:\"middle\",position:\"relative\",bottom:0,marginRight:0}}:{}),A2=styled.a(({theme})=>({display:\"inline-block\",transition:\"all 150ms ease-out\",textDecoration:\"none\",color:theme.color.secondary,\"&:hover, &:focus\":{cursor:\"pointer\",color:curriedDarken$1(.07,theme.color.secondary),\"svg path\":{fill:curriedDarken$1(.07,theme.color.secondary)}},\"&:active\":{color:curriedDarken$1(.1,theme.color.secondary),\"svg path\":{fill:curriedDarken$1(.1,theme.color.secondary)}},svg:{display:\"inline-block\",height:\"1em\",width:\"1em\",verticalAlign:\"text-top\",position:\"relative\",bottom:\"-0.125em\",marginRight:\"0.4em\",\"& path\":{fill:theme.color.secondary}}}),({theme,secondary,tertiary})=>{let colors;return secondary&&(colors=[theme.textMutedColor,theme.color.dark,theme.color.darker]),tertiary&&(colors=[theme.color.dark,theme.color.darkest,theme.textMutedColor]),colors?{color:colors[0],\"svg path\":{fill:colors[0]},\"&:hover\":{color:colors[1],\"svg path\":{fill:colors[1]}},\"&:active\":{color:colors[2],\"svg path\":{fill:colors[2]}}}:{}},({nochrome})=>nochrome?{color:\"inherit\",\"&:hover, &:active\":{color:\"inherit\",textDecoration:\"underline\"}}:{},({theme,inverse})=>inverse?{color:theme.color.lightest,\"svg path\":{fill:theme.color.lightest},\"&:hover\":{color:theme.color.lighter,\"svg path\":{fill:theme.color.lighter}},\"&:active\":{color:theme.color.light,\"svg path\":{fill:theme.color.light}}}:{},({isButton})=>isButton?{border:0,borderRadius:0,background:\"none\",padding:0,fontSize:\"inherit\"}:{}),Link2=({cancel,children,onClick,withArrow,containsIcon,className,...rest})=>React5__default.createElement(A2,{...rest,onClick:onClick&&cancel?e=>cancelled(e,onClick):onClick,className},React5__default.createElement(LinkInner,{withArrow,containsIcon},children,withArrow&&React5__default.createElement(Icons,{icon:\"arrowright\"})));Link2.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var DocumentWrapper=styled.div(({theme})=>({fontSize:`${theme.typography.size.s2}px`,lineHeight:\"1.6\",h1:{fontSize:`${theme.typography.size.l1}px`,fontWeight:theme.typography.weight.bold},h2:{fontSize:`${theme.typography.size.m2}px`,borderBottom:`1px solid ${theme.appBorderColor}`},h3:{fontSize:`${theme.typography.size.m1}px`},h4:{fontSize:`${theme.typography.size.s3}px`},h5:{fontSize:`${theme.typography.size.s2}px`},h6:{fontSize:`${theme.typography.size.s2}px`,color:theme.color.dark},\"pre:not(.prismjs)\":{background:\"transparent\",border:\"none\",borderRadius:0,padding:0,margin:0},\"pre pre, pre.prismjs\":{padding:15,margin:0,whiteSpace:\"pre-wrap\",color:\"inherit\",fontSize:\"13px\",lineHeight:\"19px\"},\"pre pre code, pre.prismjs code\":{color:\"inherit\",fontSize:\"inherit\"},\"pre code\":{margin:0,padding:0,whiteSpace:\"pre\",border:\"none\",background:\"transparent\"},\"pre code, pre tt\":{backgroundColor:\"transparent\",border:\"none\"},\"body > *:first-of-type\":{marginTop:\"0 !important\"},\"body > *:last-child\":{marginBottom:\"0 !important\"},a:{color:theme.color.secondary,textDecoration:\"none\"},\"a.absent\":{color:\"#cc0000\"},\"a.anchor\":{display:\"block\",paddingLeft:30,marginLeft:-30,cursor:\"pointer\",position:\"absolute\",top:0,left:0,bottom:0},\"h1, h2, h3, h4, h5, h6\":{margin:\"20px 0 10px\",padding:0,cursor:\"text\",position:\"relative\",\"&:first-of-type\":{marginTop:0,paddingTop:0},\"&:hover a.anchor\":{textDecoration:\"none\"},\"& tt, & code\":{fontSize:\"inherit\"}},\"h1:first-of-type + h2\":{marginTop:0,paddingTop:0},\"p, blockquote, ul, ol, dl, li, table, pre\":{margin:\"15px 0\"},hr:{border:\"0 none\",borderTop:`1px solid ${theme.appBorderColor}`,height:4,padding:0},\"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type\":{marginTop:0,paddingTop:0},\"body > h1:first-of-type + h2\":{marginTop:0,paddingTop:0},\"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6\":{marginTop:0,paddingTop:0},\"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p\":{marginTop:0},\"li p.first\":{display:\"inline-block\"},\"ul, ol\":{paddingLeft:30,\"& :first-of-type\":{marginTop:0},\"& :last-child\":{marginBottom:0}},dl:{padding:0},\"dl dt\":{fontSize:\"14px\",fontWeight:\"bold\",fontStyle:\"italic\",margin:\"0 0 15px\",padding:\"0 15px\",\"&:first-of-type\":{padding:0},\"& > :first-of-type\":{marginTop:0},\"& > :last-child\":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${theme.color.medium}`,padding:\"0 15px\",color:theme.color.dark,\"& > :first-of-type\":{marginTop:0},\"& > :last-child\":{marginBottom:0}},table:{padding:0,borderCollapse:\"collapse\",\"& tr\":{borderTop:`1px solid ${theme.appBorderColor}`,backgroundColor:\"white\",margin:0,padding:0,\"& th\":{fontWeight:\"bold\",border:`1px solid ${theme.appBorderColor}`,textAlign:\"left\",margin:0,padding:\"6px 13px\"},\"& td\":{border:`1px solid ${theme.appBorderColor}`,textAlign:\"left\",margin:0,padding:\"6px 13px\"},\"&:nth-of-type(2n)\":{backgroundColor:theme.color.lighter},\"& th :first-of-type, & td :first-of-type\":{marginTop:0},\"& th :last-child, & td :last-child\":{marginBottom:0}}},img:{maxWidth:\"100%\"},\"span.frame\":{display:\"block\",overflow:\"hidden\",\"& > span\":{border:`1px solid ${theme.color.medium}`,display:\"block\",float:\"left\",overflow:\"hidden\",margin:\"13px 0 0\",padding:7,width:\"auto\"},\"& span img\":{display:\"block\",float:\"left\"},\"& span span\":{clear:\"both\",color:theme.color.darkest,display:\"block\",padding:\"5px 0 0\"}},\"span.align-center\":{display:\"block\",overflow:\"hidden\",clear:\"both\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px auto 0\",textAlign:\"center\"},\"& span img\":{margin:\"0 auto\",textAlign:\"center\"}},\"span.align-right\":{display:\"block\",overflow:\"hidden\",clear:\"both\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px 0 0\",textAlign:\"right\"},\"& span img\":{margin:0,textAlign:\"right\"}},\"span.float-left\":{display:\"block\",marginRight:13,overflow:\"hidden\",float:\"left\",\"& span\":{margin:\"13px 0 0\"}},\"span.float-right\":{display:\"block\",marginLeft:13,overflow:\"hidden\",float:\"right\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px auto 0\",textAlign:\"right\"}},\"code, tt\":{margin:\"0 2px\",padding:\"0 5px\",whiteSpace:\"nowrap\",border:`1px solid ${theme.color.mediumlight}`,backgroundColor:theme.color.lighter,borderRadius:3,color:theme.base===\"dark\"&&theme.color.darkest}}));var LazySyntaxHighlighter=lazy(()=>import('./syntaxhighlighter-QTQ2UBB4.mjs')),LazySyntaxHighlighterWithFormatter=lazy(async()=>{let[{SyntaxHighlighter:SyntaxHighlighter3},{formatter}]=await Promise.all([import('./syntaxhighlighter-QTQ2UBB4.mjs'),import('./formatter-S4K5WUZV.mjs')]);return {default:props=>React5__default.createElement(SyntaxHighlighter3,{...props,formatter})}}),SyntaxHighlighter2=props=>React5__default.createElement(Suspense,{fallback:React5__default.createElement(\"div\",null)},props.format!==!1?React5__default.createElement(LazySyntaxHighlighterWithFormatter,{...props}):React5__default.createElement(LazySyntaxHighlighter,{...props}));var toNumber=input=>typeof input==\"number\"?input:Number(input),Container=styled.div(({theme,col,row=1})=>col?{display:\"inline-block\",verticalAlign:\"inherit\",\"& > *\":{marginLeft:col*theme.layoutMargin,verticalAlign:\"inherit\"},[`& > *:first-child${ignoreSsrWarning}`]:{marginLeft:0}}:{\"& > *\":{marginTop:row*theme.layoutMargin},[`& > *:first-child${ignoreSsrWarning}`]:{marginTop:0}},({theme,outer,col,row})=>{switch(!0){case!!(outer&&col):return {marginLeft:outer*theme.layoutMargin,marginRight:outer*theme.layoutMargin};case!!(outer&&row):return {marginTop:outer*theme.layoutMargin,marginBottom:outer*theme.layoutMargin};default:return {}}}),Spaced=({col,row,outer,children,...rest})=>{let outerAmount=toNumber(typeof outer==\"number\"||!outer?outer:col||row);return React5__default.createElement(Container,{col,row,outer:outerAmount,...rest},children)};var Title=styled.div(({theme})=>({fontWeight:theme.typography.weight.bold})),Desc=styled.div(),Message=styled.div(({theme})=>({padding:30,textAlign:\"center\",color:theme.color.defaultText,fontSize:theme.typography.size.s2-1})),Placeholder=({children,...props})=>{let[title,desc]=Children.toArray(children);return React5__default.createElement(Message,{...props},React5__default.createElement(Title,null,title),desc&&React5__default.createElement(Desc,null,desc))};function browserSupportsCssZoom(){try{return /^((?!chrome|android).)*safari/i.test(navigator.userAgent)?!1:global.CSS?.supports(\"zoom: 1\")}catch{return !1}}var hasBrowserSupportForCssZoom=browserSupportsCssZoom(),ZoomElementWrapper=styled.div(({scale=1,elementHeight})=>hasBrowserSupportForCssZoom?{\"> *\":{zoom:1/scale}}:{height:elementHeight||\"auto\",transformOrigin:\"top left\",transform:`scale(${1/scale})`});function ZoomElement({scale,children}){let componentWrapperRef=useRef(null),[elementHeight,setElementHeight]=useState(0),onResize=useCallback(({height})=>{height&&setElementHeight(height/scale);},[scale]);return useEffect(()=>{componentWrapperRef.current&&setElementHeight(componentWrapperRef.current.getBoundingClientRect().height);},[scale]),useResizeObserver({ref:componentWrapperRef,onResize}),React5__default.createElement(ZoomElementWrapper,{scale,elementHeight},React5__default.createElement(\"div\",{ref:hasBrowserSupportForCssZoom?null:componentWrapperRef,className:\"innerZoomElementWrapper\"},children))}var ZoomIFrame=class extends Component{constructor(){super(...arguments);this.iframe=null;}componentDidMount(){let{iFrameRef}=this.props;this.iframe=iFrameRef.current;}shouldComponentUpdate(nextProps){let{scale,active}=this.props;return scale!==nextProps.scale&&this.setIframeInnerZoom(nextProps.scale),active!==nextProps.active&&this.iframe.setAttribute(\"data-is-storybook\",nextProps.active?\"true\":\"false\"),nextProps.children.props.src!==this.props.children.props.src}setIframeInnerZoom(scale){try{browserSupportsCssZoom()?Object.assign(this.iframe.contentDocument.body.style,{zoom:1/scale,minHeight:`calc(100vh / ${1/scale})`}):Object.assign(this.iframe.contentDocument.body.style,{width:`${scale*100}%`,height:`${scale*100}%`,transform:`scale(${1/scale})`,transformOrigin:\"top left\"});}catch{this.setIframeZoom(scale);}}setIframeZoom(scale){Object.assign(this.iframe.style,{width:`${scale*100}%`,height:`${scale*100}%`,transform:`scale(${1/scale})`,transformOrigin:\"top left\"});}render(){let{children}=this.props;return children}};var Zoom={Element:ZoomElement,IFrame:ZoomIFrame};var {document:document2}=global$1,ErrorName=styled.strong(({theme})=>({color:theme.color.orange})),ErrorImportant=styled.strong(({theme})=>({color:theme.color.ancillary,textDecoration:\"underline\"})),ErrorDetail=styled.em(({theme})=>({color:theme.textMutedColor})),firstLineRegex=/(Error): (.*)\\n/,linesRegexChromium=/at (?:(.*) )?\\(?(.+)\\)?/,linesRegexFirefox=/([^@]+)?(?:\\/<)?@(.+)?/,linesRegexSafari=/([^@]+)?@(.+)?/,ErrorFormatter=({error})=>{if(!error)return React5__default.createElement(Fragment,null,\"This error has no stack or message\");if(!error.stack)return React5__default.createElement(Fragment,null,error.message||\"This error has no stack or message\");let input=error.stack.toString();input&&error.message&&!input.includes(error.message)&&(input=`Error: ${error.message}\n\n${input}`);let match=input.match(firstLineRegex);if(!match)return React5__default.createElement(Fragment,null,input);let[,type,name]=match,rawLines=input.split(/\\n/).slice(1),[,...lines]=rawLines.map(line=>{let result=line.match(linesRegexChromium)||line.match(linesRegexFirefox)||line.match(linesRegexSafari);return result?{name:(result[1]||\"\").replace(\"/<\",\"\"),location:result[2].replace(document2.location.origin,\"\")}:null}).filter(Boolean);return React5__default.createElement(Fragment,null,React5__default.createElement(\"span\",null,type),\": \",React5__default.createElement(ErrorName,null,name),React5__default.createElement(\"br\",null),lines.map((l,i)=>l.name?React5__default.createElement(Fragment,{key:i},\" \",\"at \",React5__default.createElement(ErrorImportant,null,l.name),\" (\",React5__default.createElement(ErrorDetail,null,l.location),\")\",React5__default.createElement(\"br\",null)):React5__default.createElement(Fragment,{key:i},\" \",\"at \",React5__default.createElement(ErrorDetail,null,l.location),React5__default.createElement(\"br\",null))))};var ButtonWrapper=styled.button(({small,theme})=>({border:0,borderRadius:\"3em\",cursor:\"pointer\",display:\"inline-block\",overflow:\"hidden\",padding:small?\"8px 16px\":\"13px 20px\",position:\"relative\",textAlign:\"center\",textDecoration:\"none\",transitionProperty:\"background, box-shadow\",transitionDuration:\"150ms\",transitionTimingFunction:\"ease-out\",verticalAlign:\"top\",whiteSpace:\"nowrap\",userSelect:\"none\",opacity:1,margin:0,background:\"transparent\",fontSize:`${small?theme.typography.size.s1:theme.typography.size.s2-1}px`,fontWeight:theme.typography.weight.bold,lineHeight:\"1\",svg:{display:\"inline-block\",height:small?12:14,width:small?12:14,verticalAlign:\"top\",marginRight:small?4:6,marginTop:small?0:-1,marginBottom:small?0:-1,pointerEvents:\"none\",path:{fill:\"currentColor\"}}}),({disabled})=>disabled?{cursor:\"not-allowed !important\",opacity:.5,\"&:hover\":{transform:\"none\"}}:{},({containsIcon,small})=>containsIcon?{svg:{display:\"block\",margin:0},...small?{padding:10}:{padding:13}}:{},({theme,primary,secondary,gray})=>{let color;return gray?color=theme.color.mediumlight:secondary?color=theme.color.secondary:primary&&(color=theme.color.primary),color?{background:color,color:gray?theme.color.darkest:theme.color.lightest,\"&:hover\":{background:curriedDarken$1(.05,color)},\"&:active\":{boxShadow:\"rgba(0, 0, 0, 0.1) 0 0 0 3em inset\"},\"&:focus\":{boxShadow:`${rgba(color,1)} 0 1px 9px 2px`,outline:\"none\"},\"&:focus:hover\":{boxShadow:`${rgba(color,.2)} 0 8px 18px 0px`}}:{}},({theme,tertiary,inForm,small})=>tertiary?{background:theme.button.background,color:theme.input.color,boxShadow:`${theme.button.border} 0 0 0 1px inset`,borderRadius:theme.input.borderRadius,...inForm&&small?{padding:\"10px 16px\"}:{},\"&:hover\":{background:theme.base===\"light\"?curriedDarken$1(.02,theme.button.background):curriedLighten$1(.03,theme.button.background),...inForm?{}:{boxShadow:\"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset\"}},\"&:active\":{background:theme.button.background},\"&:focus\":{boxShadow:`${rgba(theme.color.secondary,1)} 0 0 0 1px inset`,outline:\"none\"}}:{},({theme,outline})=>outline?{boxShadow:`${curriedTransparentize$1(.8,theme.color.defaultText)} 0 0 0 1px inset`,color:curriedTransparentize$1(.3,theme.color.defaultText),background:\"transparent\",\"&:hover, &:focus\":{boxShadow:`${curriedTransparentize$1(.5,theme.color.defaultText)} 0 0 0 1px inset`,outline:\"none\"},\"&:active\":{boxShadow:`${curriedTransparentize$1(.5,theme.color.defaultText)} 0 0 0 2px inset`,color:curriedTransparentize$1(0,theme.color.defaultText)}}:{},({theme,outline,primary})=>{let color=theme.color.primary;return outline&&primary?{boxShadow:`${color} 0 0 0 1px inset`,color,\"svg path\":{fill:color},\"&:hover\":{boxShadow:`${color} 0 0 0 1px inset`,background:\"transparent\"},\"&:active\":{background:color,boxShadow:`${color} 0 0 0 1px inset`,color:theme.color.tertiary},\"&:focus\":{boxShadow:`${color} 0 0 0 1px inset, ${rgba(color,.4)} 0 1px 9px 2px`,outline:\"none\"},\"&:focus:hover\":{boxShadow:`${color} 0 0 0 1px inset, ${rgba(color,.2)} 0 8px 18px 0px`}}:{}},({theme,outline,primary,secondary})=>{let color;return secondary?color=theme.color.secondary:primary&&(color=theme.color.primary),outline&&color?{boxShadow:`${color} 0 0 0 1px inset`,color,\"svg path\":{fill:color},\"&:hover\":{boxShadow:`${color} 0 0 0 1px inset`,background:\"transparent\"},\"&:active\":{background:color,boxShadow:`${color} 0 0 0 1px inset`,color:theme.color.tertiary},\"&:focus\":{boxShadow:`${color} 0 0 0 1px inset, ${rgba(color,.4)} 0 1px 9px 2px`,outline:\"none\"},\"&:focus:hover\":{boxShadow:`${color} 0 0 0 1px inset, ${rgba(color,.2)} 0 8px 18px 0px`}}:{}}),ButtonLink=ButtonWrapper.withComponent(\"a\"),Button=Object.assign(forwardRef(function({isLink,children,...props},ref){return isLink?React5__default.createElement(ButtonLink,{...props,ref},children):React5__default.createElement(ButtonWrapper,{...props,ref},children)}),{defaultProps:{isLink:!1}});var Wrapper=styled.label(({theme})=>({display:\"flex\",borderBottom:`1px solid ${theme.appBorderColor}`,margin:\"0 15px\",padding:\"8px 0\",\"&:last-child\":{marginBottom:\"3rem\"}})),Label=styled.span(({theme})=>({minWidth:100,fontWeight:theme.typography.weight.bold,marginRight:15,display:\"flex\",justifyContent:\"flex-start\",alignItems:\"center\",lineHeight:\"16px\"})),Field=({label,children,...props})=>React5__default.createElement(Wrapper,{...props},label?React5__default.createElement(Label,null,React5__default.createElement(\"span\",null,label)):null,children);Field.defaultProps={label:void 0};var index=typeof document<\"u\"?useLayoutEffect:useEffect,use_isomorphic_layout_effect_esm_default=index;var useLatest=function(value){var ref=React5.useRef(value);return use_isomorphic_layout_effect_esm_default(function(){ref.current=value;}),ref};var updateRef=function(ref,value){if(typeof ref==\"function\"){ref(value);return}ref.current=value;},useComposedRef=function(libRef,userRef){var prevUserRef=useRef();return useCallback(function(instance){libRef.current=instance,prevUserRef.current&&updateRef(prevUserRef.current,null),prevUserRef.current=userRef,userRef&&updateRef(userRef,instance);},[userRef])},use_composed_ref_esm_default=useComposedRef;var HIDDEN_TEXTAREA_STYLE={\"min-height\":\"0\",\"max-height\":\"none\",height:\"0\",visibility:\"hidden\",overflow:\"hidden\",position:\"absolute\",\"z-index\":\"-1000\",top:\"0\",right:\"0\"},forceHiddenStyles=function(node){Object.keys(HIDDEN_TEXTAREA_STYLE).forEach(function(key){node.style.setProperty(key,HIDDEN_TEXTAREA_STYLE[key],\"important\");});},hiddenTextarea=null,getHeight=function(node,sizingData){var height=node.scrollHeight;return sizingData.sizingStyle.boxSizing===\"border-box\"?height+sizingData.borderSize:height-sizingData.paddingSize};function calculateNodeHeight(sizingData,value,minRows,maxRows){minRows===void 0&&(minRows=1),maxRows===void 0&&(maxRows=1/0),hiddenTextarea||(hiddenTextarea=document.createElement(\"textarea\"),hiddenTextarea.setAttribute(\"tabindex\",\"-1\"),hiddenTextarea.setAttribute(\"aria-hidden\",\"true\"),forceHiddenStyles(hiddenTextarea)),hiddenTextarea.parentNode===null&&document.body.appendChild(hiddenTextarea);var paddingSize=sizingData.paddingSize,borderSize=sizingData.borderSize,sizingStyle=sizingData.sizingStyle,boxSizing=sizingStyle.boxSizing;Object.keys(sizingStyle).forEach(function(_key){var key=_key;hiddenTextarea.style[key]=sizingStyle[key];}),forceHiddenStyles(hiddenTextarea),hiddenTextarea.value=value;var height=getHeight(hiddenTextarea,sizingData);hiddenTextarea.value=value,height=getHeight(hiddenTextarea,sizingData),hiddenTextarea.value=\"x\";var rowHeight=hiddenTextarea.scrollHeight-paddingSize,minHeight=rowHeight*minRows;boxSizing===\"border-box\"&&(minHeight=minHeight+paddingSize+borderSize),height=Math.max(minHeight,height);var maxHeight=rowHeight*maxRows;return boxSizing===\"border-box\"&&(maxHeight=maxHeight+paddingSize+borderSize),height=Math.min(maxHeight,height),[height,rowHeight]}var noop=function(){},pick=function(props,obj){return props.reduce(function(acc,prop){return acc[prop]=obj[prop],acc},{})},SIZING_STYLE=[\"borderBottomWidth\",\"borderLeftWidth\",\"borderRightWidth\",\"borderTopWidth\",\"boxSizing\",\"fontFamily\",\"fontSize\",\"fontStyle\",\"fontWeight\",\"letterSpacing\",\"lineHeight\",\"paddingBottom\",\"paddingLeft\",\"paddingRight\",\"paddingTop\",\"tabSize\",\"textIndent\",\"textRendering\",\"textTransform\",\"width\",\"wordBreak\"],isIE=typeof document<\"u\"?!!document.documentElement.currentStyle:!1,getSizingData=function(node){var style=window.getComputedStyle(node);if(style===null)return null;var sizingStyle=pick(SIZING_STYLE,style),boxSizing=sizingStyle.boxSizing;if(boxSizing===\"\")return null;isIE&&boxSizing===\"border-box\"&&(sizingStyle.width=parseFloat(sizingStyle.width)+parseFloat(sizingStyle.borderRightWidth)+parseFloat(sizingStyle.borderLeftWidth)+parseFloat(sizingStyle.paddingRight)+parseFloat(sizingStyle.paddingLeft)+\"px\");var paddingSize=parseFloat(sizingStyle.paddingBottom)+parseFloat(sizingStyle.paddingTop),borderSize=parseFloat(sizingStyle.borderBottomWidth)+parseFloat(sizingStyle.borderTopWidth);return {sizingStyle,paddingSize,borderSize}};function useListener(target,type,listener){var latestListener=useLatest(listener);useLayoutEffect(function(){var handler=function(ev){return latestListener.current(ev)};return target.addEventListener(type,handler),function(){return target.removeEventListener(type,handler)}},[]);}var useWindowResizeListener=function(listener){useListener(window,\"resize\",listener);},useFontsLoadedListener=function(listener){useListener(document.fonts,\"loadingdone\",listener);},_excluded=[\"cacheMeasurements\",\"maxRows\",\"minRows\",\"onChange\",\"onHeightChange\"],TextareaAutosize=function(_ref,userRef){var cacheMeasurements=_ref.cacheMeasurements,maxRows=_ref.maxRows,minRows=_ref.minRows,_ref$onChange=_ref.onChange,onChange=_ref$onChange===void 0?noop:_ref$onChange,_ref$onHeightChange=_ref.onHeightChange,onHeightChange=_ref$onHeightChange===void 0?noop:_ref$onHeightChange,props=_objectWithoutPropertiesLoose(_ref,_excluded);if(process.env.NODE_ENV!==\"production\"&&props.style){if(\"maxHeight\"in props.style)throw new Error(\"Using `style.maxHeight` for is not supported. Please use `maxRows`.\");if(\"minHeight\"in props.style)throw new Error(\"Using `style.minHeight` for is not supported. Please use `minRows`.\")}var isControlled=props.value!==void 0,libRef=useRef(null),ref=use_composed_ref_esm_default(libRef,userRef),heightRef=useRef(0),measurementsCacheRef=useRef(),resizeTextarea=function(){var node=libRef.current,nodeSizingData=cacheMeasurements&&measurementsCacheRef.current?measurementsCacheRef.current:getSizingData(node);if(nodeSizingData){measurementsCacheRef.current=nodeSizingData;var _calculateNodeHeight=calculateNodeHeight(nodeSizingData,node.value||node.placeholder||\"x\",minRows,maxRows),height=_calculateNodeHeight[0],rowHeight=_calculateNodeHeight[1];heightRef.current!==height&&(heightRef.current=height,node.style.setProperty(\"height\",height+\"px\",\"important\"),onHeightChange(height,{rowHeight}));}},handleChange=function(event){isControlled||resizeTextarea(),onChange(event);};return typeof document<\"u\"&&(useLayoutEffect(resizeTextarea),useWindowResizeListener(resizeTextarea),useFontsLoadedListener(resizeTextarea)),createElement(\"textarea\",_extends({},props,{onChange:handleChange,ref}))},index2=forwardRef(TextareaAutosize),react_textarea_autosize_esm_default=index2;var styleResets={appearance:\"none\",border:\"0 none\",boxSizing:\"inherit\",display:\" block\",margin:\" 0\",background:\"transparent\",padding:0,fontSize:\"inherit\",position:\"relative\"},styles=({theme})=>({...styleResets,transition:\"box-shadow 200ms ease-out, opacity 200ms ease-out\",color:theme.input.color||\"inherit\",background:theme.input.background,boxShadow:`${theme.input.border} 0 0 0 1px inset`,borderRadius:theme.input.borderRadius,fontSize:theme.typography.size.s2-1,lineHeight:\"20px\",padding:\"6px 10px\",\"&:focus\":{boxShadow:`${theme.color.secondary} 0 0 0 1px inset`,outline:\"none\"},\"&[disabled]\":{cursor:\"not-allowed\",opacity:.5},\"&:-webkit-autofill\":{WebkitBoxShadow:`0 0 0 3em ${theme.color.lightest} inset`},\"&::placeholder\":{color:theme.textMutedColor,opacity:1}}),sizes=({size})=>{switch(size){case\"100%\":return {width:\"100%\"};case\"flex\":return {flex:1};case\"auto\":default:return {display:\"inline\"}}},alignment=({align})=>{switch(align){case\"end\":return {textAlign:\"right\"};case\"center\":return {textAlign:\"center\"};case\"start\":default:return {textAlign:\"left\"}}},validation=({valid,theme})=>{switch(valid){case\"valid\":return {boxShadow:`${theme.color.positive} 0 0 0 1px inset !important`};case\"error\":return {boxShadow:`${theme.color.negative} 0 0 0 1px inset !important`};case\"warn\":return {boxShadow:`${theme.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return {}}},Input=Object.assign(styled(forwardRef(function({size,valid,align,...props},ref){return React5__default.createElement(\"input\",{...props,ref})}))(styles,sizes,alignment,validation,{minHeight:32}),{displayName:\"Input\"}),Select=Object.assign(styled(forwardRef(function({size,valid,align,...props},ref){return React5__default.createElement(\"select\",{...props,ref})}))(styles,sizes,validation,{height:32,userSelect:\"none\",paddingRight:20,appearance:\"menulist\"}),{displayName:\"Select\"}),Textarea=Object.assign(styled(forwardRef(function({size,valid,align,...props},ref){return React5__default.createElement(react_textarea_autosize_esm_default,{...props,ref})}))(styles,sizes,alignment,validation,({height=400})=>({overflow:\"visible\",maxHeight:height})),{displayName:\"Textarea\"}),ButtonStyled=styled(forwardRef(function({size,valid,align,...props},ref){return React5__default.createElement(Button,{...props,ref})}))(sizes,validation,{userSelect:\"none\",overflow:\"visible\",zIndex:2,\"&:hover\":{transform:\"none\"}}),Button3=Object.assign(forwardRef(function(props,ref){return React5__default.createElement(ButtonStyled,{...props,tertiary:!0,small:!0,inForm:!0,ref})}),{displayName:\"Button\"});var Form=Object.assign(styled.form({boxSizing:\"border-box\",width:\"100%\"}),{Field,Input,Select,Textarea,Button:Button3});var LazyWithTooltip=lazy(()=>import('./WithTooltip-FBT32F6Q.mjs').then(mod=>({default:mod.WithTooltip}))),WithTooltip=props=>React5__default.createElement(Suspense,{fallback:React5__default.createElement(\"div\",null)},React5__default.createElement(LazyWithTooltip,{...props})),LazyWithTooltipPure=lazy(()=>import('./WithTooltip-FBT32F6Q.mjs').then(mod=>({default:mod.WithTooltipPure}))),WithTooltipPure=props=>React5__default.createElement(Suspense,{fallback:React5__default.createElement(\"div\",null)},React5__default.createElement(LazyWithTooltipPure,{...props}));var Title2=styled.div(({theme})=>({fontWeight:theme.typography.weight.bold})),Desc2=styled.span(),Links=styled.div(({theme})=>({marginTop:8,textAlign:\"center\",\"> *\":{margin:\"0 8px\",fontWeight:theme.typography.weight.bold}})),Message2=styled.div(({theme})=>({color:theme.color.defaultText,lineHeight:\"18px\"})),MessageWrapper=styled.div({padding:15,width:280,boxSizing:\"border-box\"}),TooltipMessage=({title,desc,links})=>React5__default.createElement(MessageWrapper,null,React5__default.createElement(Message2,null,title&&React5__default.createElement(Title2,null,title),desc&&React5__default.createElement(Desc2,null,desc)),links&&React5__default.createElement(Links,null,links.map(({title:linkTitle,...other})=>React5__default.createElement(Link2,{...other,key:linkTitle},linkTitle))));TooltipMessage.defaultProps={title:null,desc:null,links:null};var Note=styled.div(({theme})=>({padding:\"2px 6px\",lineHeight:\"16px\",fontSize:10,fontWeight:theme.typography.weight.bold,color:theme.color.lightest,boxShadow:\"0 0 5px 0 rgba(0, 0, 0, 0.3)\",borderRadius:4,whiteSpace:\"nowrap\",pointerEvents:\"none\",zIndex:-1,background:theme.base===\"light\"?\"rgba(60, 60, 60, 0.9)\":\"rgba(0, 0, 0, 0.95)\",margin:6})),TooltipNote=({note,...props})=>React5__default.createElement(Note,{...props},note);var Title3=styled(({active,loading,disabled,...rest})=>React5__default.createElement(\"span\",{...rest}))(({theme})=>({color:theme.color.defaultText,fontWeight:theme.typography.weight.regular}),({active,theme})=>active?{color:theme.color.secondary,fontWeight:theme.typography.weight.bold}:{},({loading,theme})=>loading?{display:\"inline-block\",flex:\"none\",...theme.animation.inlineGlow}:{},({disabled,theme})=>disabled?{color:curriedTransparentize$1(.7,theme.color.defaultText)}:{}),Right=styled.span({display:\"flex\",\"& svg\":{height:12,width:12,margin:\"3px 0\",verticalAlign:\"top\"},\"& path\":{fill:\"inherit\"}}),Center=styled.span({flex:1,textAlign:\"left\",display:\"flex\",flexDirection:\"column\"},({isIndented})=>isIndented?{marginLeft:24}:{}),CenterText=styled.span(({theme})=>({fontSize:\"11px\",lineHeight:\"14px\"}),({active,theme})=>active?{color:theme.color.secondary}:{},({theme,disabled})=>disabled?{color:theme.textMutedColor}:{}),Left=styled.span(({active,theme})=>active?{\"& svg\":{opacity:1},\"& svg path\":{fill:theme.color.secondary}}:{},()=>({display:\"flex\",maxWidth:14})),Item=styled.a(({theme})=>({fontSize:theme.typography.size.s1,transition:\"all 150ms ease-out\",color:theme.color.dark,textDecoration:\"none\",cursor:\"pointer\",justifyContent:\"space-between\",lineHeight:\"18px\",padding:\"7px 10px\",display:\"flex\",alignItems:\"center\",\"& > * + *\":{paddingLeft:10},\"&:hover\":{background:theme.background.hoverable},\"&:hover svg\":{opacity:1}}),({disabled})=>disabled?{cursor:\"not-allowed\"}:{}),getItemProps=memoize(100)((onClick,href,LinkWrapper)=>{let result={};return onClick&&Object.assign(result,{onClick}),href&&Object.assign(result,{href}),LinkWrapper&&href&&Object.assign(result,{to:href,as:LinkWrapper}),result}),ListItem=({loading,left,title,center,right,icon,active,disabled,isIndented,href,onClick,LinkWrapper,...rest})=>{let itemProps=getItemProps(onClick,href,LinkWrapper),commonProps={active,disabled},isStorybookIcon=typeof icon==\"string\"&&icons[icon];return React5__default.createElement(Item,{...commonProps,...rest,...itemProps},icon?React5__default.createElement(Left,{...commonProps},isStorybookIcon?React5__default.createElement(Icons,{icon}):icon):left&&React5__default.createElement(Left,{...commonProps},left),title||center?React5__default.createElement(Center,{isIndented:!left&&!icon&&isIndented},title&&React5__default.createElement(Title3,{...commonProps,loading},title),center&&React5__default.createElement(CenterText,{...commonProps},center)):null,right&&React5__default.createElement(Right,{...commonProps},right))};ListItem.defaultProps={loading:!1,left:null,title:React5__default.createElement(\"span\",null,\"Loading state\"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var ListItem_default=ListItem;var List=styled.div({minWidth:180,overflow:\"hidden\",overflowY:\"auto\",maxHeight:15.5*32},({theme})=>({borderRadius:theme.appBorderRadius})),Item2=props=>{let{LinkWrapper,onClick:onClickFromProps,id,isIndented,...rest}=props,{title,href,active}=rest,onClick=useCallback(event=>{onClickFromProps(event,rest);},[onClickFromProps]),hasOnClick=!!onClickFromProps;return React5__default.createElement(ListItem_default,{title,active,href,id:`list-item-${id}`,LinkWrapper,isIndented,...rest,...hasOnClick?{onClick}:{}})},TooltipLinkList=({links,LinkWrapper})=>{let hasOneLeftElement=links.some(link=>link.left||link.icon);return React5__default.createElement(List,null,links.map(({isGatsby,...p})=>React5__default.createElement(Item2,{key:p.id,LinkWrapper:isGatsby?LinkWrapper:null,isIndented:hasOneLeftElement,...p})))};TooltipLinkList.defaultProps={LinkWrapper:ListItem_default.defaultProps.LinkWrapper};var ButtonOrLink=React5__default.forwardRef(({children,...restProps},ref)=>restProps.href!=null?React5__default.createElement(\"a\",{ref,...restProps},children):React5__default.createElement(\"button\",{ref,type:\"button\",...restProps},children));ButtonOrLink.displayName=\"ButtonOrLink\";var TabButton=styled(ButtonOrLink,{shouldForwardProp:isPropValid})({whiteSpace:\"normal\",display:\"inline-flex\",overflow:\"hidden\",verticalAlign:\"top\",justifyContent:\"center\",alignItems:\"center\",textAlign:\"center\",textDecoration:\"none\",\"&:empty\":{display:\"none\"}},({theme})=>({padding:\"0 15px\",transition:\"color 0.2s linear, border-bottom-color 0.2s linear\",height:40,lineHeight:\"12px\",cursor:\"pointer\",background:\"transparent\",border:\"0 solid transparent\",borderTop:\"3px solid transparent\",borderBottom:\"3px solid transparent\",fontWeight:\"bold\",fontSize:13,\"&:focus\":{outline:\"0 none\",borderBottomColor:theme.color.secondary}}),({active,textColor,theme})=>active?{color:textColor||theme.barSelectedColor,borderBottomColor:theme.barSelectedColor}:{color:textColor||theme.barTextColor,borderBottomColor:\"transparent\"});TabButton.displayName=\"TabButton\";var IconButton=styled(ButtonOrLink,{shouldForwardProp:isPropValid})(()=>({alignItems:\"center\",background:\"transparent\",border:\"none\",borderRadius:4,color:\"inherit\",cursor:\"pointer\",display:\"inline-flex\",fontSize:13,fontWeight:\"bold\",height:28,justifyContent:\"center\",marginTop:6,padding:\"8px 7px\",\"& > svg\":{width:14}}),({active,theme})=>active?{backgroundColor:theme.background.hoverable,color:theme.color.secondary}:{},({disabled,theme})=>disabled?{opacity:.5,cursor:\"not-allowed\"}:{\"&:hover, &:focus-visible\":{background:curriedTransparentize$1(.88,theme.color.secondary),color:theme.color.secondary},\"&:focus-visible\":{outline:auto},\"&:focus:not(:focus-visible)\":{outline:\"none\"}});IconButton.displayName=\"IconButton\";var IconPlaceholder=styled.div(({theme})=>({width:14,height:14,backgroundColor:theme.appBorderColor,animation:`${theme.animation.glow} 1.5s ease-in-out infinite`})),IconButtonSkeletonWrapper=styled.div(()=>({marginTop:6,padding:7,height:28})),IconButtonSkeleton=()=>React5__default.createElement(IconButtonSkeletonWrapper,null,React5__default.createElement(IconPlaceholder,null));var Side=styled.div({display:\"flex\",whiteSpace:\"nowrap\",flexBasis:\"auto\",marginLeft:3,marginRight:3},({scrollable})=>scrollable?{flexShrink:0}:{},({left})=>left?{\"& > *\":{marginLeft:4}}:{},({right})=>right?{marginLeft:30,\"& > *\":{marginRight:4}}:{});Side.displayName=\"Side\";var UnstyledBar=({children,className,scrollable})=>scrollable?React5__default.createElement(ScrollArea,{vertical:!1,className},children):React5__default.createElement(\"div\",{className},children),Bar=styled(UnstyledBar)(({theme,scrollable=!0})=>({color:theme.barTextColor,width:\"100%\",height:40,flexShrink:0,overflow:scrollable?\"auto\":\"hidden\",overflowY:\"hidden\"}),({theme,border=!1})=>border?{boxShadow:`${theme.appBorderColor} 0 -1px 0 0 inset`,background:theme.barBg}:{});Bar.displayName=\"Bar\";var BarInner=styled.div(({bgColor})=>({display:\"flex\",justifyContent:\"space-between\",position:\"relative\",flexWrap:\"nowrap\",flexShrink:0,height:40,backgroundColor:bgColor||\"\"})),FlexBar=({children,backgroundColor,...rest})=>{let[left,right]=Children.toArray(children);return React5__default.createElement(Bar,{...rest},React5__default.createElement(BarInner,{bgColor:backgroundColor},React5__default.createElement(Side,{scrollable:rest.scrollable,left:!0},left),right?React5__default.createElement(Side,{right:!0},right):null))};FlexBar.displayName=\"FlexBar\";var VisuallyHidden=styled.div(({active})=>active?{display:\"block\"}:{display:\"none\"}),childrenToList=(children,selected)=>Children.toArray(children).map(({props:{title,id,color,children:childrenOfChild}},index3)=>{let content=Array.isArray(childrenOfChild)?childrenOfChild[0]:childrenOfChild;return {active:selected?id===selected:index3===0,title,id,color,render:typeof content==\"function\"?content:({active,key})=>React5__default.createElement(VisuallyHidden,{key,active,role:\"tabpanel\"},content)}});var CollapseIcon=styled.span(({theme,isActive})=>({display:\"inline-block\",width:0,height:0,marginLeft:8,color:isActive?theme.color.secondary:theme.color.mediumdark,borderRight:\"3px solid transparent\",borderLeft:\"3px solid transparent\",borderTop:\"3px solid\",transition:\"transform .1s ease-out\"})),AddonButton=styled(TabButton)(({active,theme,preActive})=>`\n color: ${preActive||active?theme.color.secondary:theme.color.mediumdark};\n &:hover {\n color: ${theme.color.secondary};\n .addon-collapsible-icon {\n color: ${theme.color.secondary};\n }\n }\n `);function useList(list){let tabBarRef=useRef(),addonsRef=useRef(),tabRefs=useRef(new Map),{width:tabBarWidth=1}=useResizeObserver({ref:tabBarRef}),[visibleList,setVisibleList]=useState(list),[invisibleList,setInvisibleList]=useState([]),previousList=useRef(list),AddonTab=useCallback(({menuName,actions})=>{let isAddonsActive=invisibleList.some(({active})=>active),[isTooltipVisible,setTooltipVisible]=useState(!1);return React5__default.createElement(React5__default.Fragment,null,React5__default.createElement(WithToolTipState,{interactive:!0,visible:isTooltipVisible,onVisibleChange:setTooltipVisible,placement:\"bottom\",delayHide:100,tooltip:React5__default.createElement(TooltipLinkList,{links:invisibleList.map(({title,id,color,active})=>({id,title,color,active,onClick:e=>{e.preventDefault(),actions.onSelect(id);}}))})},React5__default.createElement(AddonButton,{ref:addonsRef,active:isAddonsActive,preActive:isTooltipVisible,style:{visibility:invisibleList.length?\"visible\":\"hidden\"},\"aria-hidden\":!invisibleList.length,className:\"tabbutton\",type:\"button\",role:\"tab\"},menuName,React5__default.createElement(CollapseIcon,{className:\"addon-collapsible-icon\",isActive:isAddonsActive||isTooltipVisible}))),invisibleList.map(({title,id,color},index3)=>{let indexId=`index-${index3}`;return React5__default.createElement(TabButton,{id:`tabbutton-${sanitize(id)??indexId}`,style:{visibility:\"hidden\"},\"aria-hidden\":!0,tabIndex:-1,ref:ref=>{tabRefs.current.set(id,ref);},className:\"tabbutton\",type:\"button\",key:id,textColor:color,role:\"tab\"},title)}))},[invisibleList]),setTabLists=useCallback(()=>{if(!tabBarRef.current||!addonsRef.current)return;let{x,width}=tabBarRef.current.getBoundingClientRect(),{width:widthAddonsTab}=addonsRef.current.getBoundingClientRect(),rightBorder=invisibleList.length?x+width-widthAddonsTab:x+width,newVisibleList=[],widthSum=0,newInvisibleList=list.filter(item=>{let{id}=item,tabButton=tabRefs.current.get(id),{width:tabWidth=0}=tabButton?.getBoundingClientRect()||{},crossBorder=x+widthSum+tabWidth>rightBorder;return (!crossBorder||!tabButton)&&newVisibleList.push(item),widthSum+=tabWidth,crossBorder});(newVisibleList.length!==visibleList.length||previousList.current!==list)&&(setVisibleList(newVisibleList),setInvisibleList(newInvisibleList),previousList.current=list);},[invisibleList.length,list,visibleList]);return useLayoutEffect(setTabLists,[setTabLists,tabBarWidth]),{tabRefs,addonsRef,tabBarRef,visibleList,invisibleList,AddonTab}}var ignoreSsrWarning2=\"/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */\",Wrapper2=styled.div(({theme,bordered})=>bordered?{backgroundClip:\"padding-box\",border:`1px solid ${theme.appBorderColor}`,borderRadius:theme.appBorderRadius,overflow:\"hidden\",boxSizing:\"border-box\"}:{},({absolute})=>absolute?{width:\"100%\",height:\"100%\",boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\"}:{display:\"block\"}),TabBar=styled.div({overflow:\"hidden\",\"&:first-of-type\":{marginLeft:-3},whiteSpace:\"nowrap\",flexGrow:1});TabBar.displayName=\"TabBar\";var Content=styled.div({display:\"block\",position:\"relative\"},({theme})=>({fontSize:theme.typography.size.s2-1,background:theme.background.content}),({bordered,theme})=>bordered?{borderRadius:`0 0 ${theme.appBorderRadius-1}px ${theme.appBorderRadius-1}px`}:{},({absolute,bordered})=>absolute?{height:`calc(100% - ${bordered?42:40}px)`,position:\"absolute\",left:0+(bordered?1:0),right:0+(bordered?1:0),bottom:0+(bordered?1:0),top:40+(bordered?1:0),overflow:\"auto\",[`& > *:first-child${ignoreSsrWarning2}`]:{position:\"absolute\",left:0+(bordered?1:0),right:0+(bordered?1:0),bottom:0+(bordered?1:0),top:0+(bordered?1:0),height:`calc(100% - ${bordered?2:0}px)`,overflow:\"auto\"}}:{}),TabWrapper=({active,render,children})=>React5__default.createElement(VisuallyHidden,{active},render?render():children);var Tabs=memo(({children,selected,actions,absolute,bordered,tools,backgroundColor,id:htmlId,menuName})=>{let list=useMemo(()=>childrenToList(children,selected),[children,selected]),{visibleList,tabBarRef,tabRefs,AddonTab}=useList(list);return list.length?React5__default.createElement(Wrapper2,{absolute,bordered,id:htmlId},React5__default.createElement(FlexBar,{scrollable:!1,border:!0,backgroundColor},React5__default.createElement(TabBar,{style:{whiteSpace:\"normal\"},ref:tabBarRef,role:\"tablist\"},visibleList.map(({title,id,active,color},index3)=>{let indexId=`index-${index3}`;return React5__default.createElement(TabButton,{id:`tabbutton-${sanitize(id)??indexId}`,ref:ref=>{tabRefs.current.set(id,ref);},className:`tabbutton ${active?\"tabbutton-active\":\"\"}`,type:\"button\",key:id,active,textColor:color,onClick:e=>{e.preventDefault(),actions.onSelect(id);},role:\"tab\"},title)}),React5__default.createElement(AddonTab,{menuName,actions})),tools),React5__default.createElement(Content,{id:\"panel-tab-content\",bordered,absolute},list.map(({id,active,render})=>render({key:id,active})))):React5__default.createElement(Placeholder,null,React5__default.createElement(Fragment,{key:\"title\"},\"Nothing found\"))});Tabs.displayName=\"Tabs\";Tabs.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1,menuName:\"Tabs\"};var TabsState=class extends Component{constructor(props){super(props);this.handlers={onSelect:id=>this.setState({selected:id})};this.state={selected:props.initial};}render(){let{bordered=!1,absolute=!1,children,backgroundColor,menuName}=this.props,{selected}=this.state;return React5__default.createElement(Tabs,{bordered,absolute,selected,backgroundColor,menuName,actions:this.handlers},children)}};TabsState.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:\"\",menuName:void 0};var Separator=styled.span(({theme})=>({width:1,height:20,background:theme.appBorderColor,marginTop:10,marginLeft:6,marginRight:2}),({force})=>force?{}:{\"& + &\":{display:\"none\"}});Separator.displayName=\"Separator\";var interleaveSeparators=list=>list.reduce((acc,item,index3)=>item?React5__default.createElement(Fragment,{key:item.id||item.key||`f-${index3}`},acc,index3>0?React5__default.createElement(Separator,{key:`s-${index3}`}):null,item.render()||item):acc,null);var usePrevious=value=>{let ref=useRef();return useEffect(()=>{ref.current=value;},[value]),ref.current},useUpdate=(update,value)=>{let previousValue=usePrevious(value);return update?value:previousValue},AddonPanel=({active,children})=>React5__default.createElement(\"div\",{hidden:!active},useUpdate(active,children));var StorybookLogo=({alt,...props})=>React5__default.createElement(\"svg\",{width:\"200px\",height:\"40px\",viewBox:\"0 0 200 40\",...props,role:\"img\"},alt?React5__default.createElement(\"title\",null,alt):null,React5__default.createElement(\"defs\",null,React5__default.createElement(\"path\",{d:\"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z\",id:\"a\"})),React5__default.createElement(\"g\",{fill:\"none\",fillRule:\"evenodd\"},React5__default.createElement(\"path\",{d:\"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z\",fill:\"currentColor\"}),React5__default.createElement(\"mask\",{id:\"b\",fill:\"#fff\"},React5__default.createElement(\"use\",{xlinkHref:\"#a\"})),React5__default.createElement(\"use\",{fill:\"#FF4785\",fillRule:\"nonzero\",xlinkHref:\"#a\"}),React5__default.createElement(\"path\",{d:\"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z\",fill:\"#FFF\",fillRule:\"nonzero\",mask:\"url(#b)\"})));var StorybookIcon=({...props})=>React5__default.createElement(\"svg\",{viewBox:\"0 0 64 64\",...props},React5__default.createElement(\"title\",null,\"Storybook icon\"),React5__default.createElement(\"g\",{id:\"Artboard\",stroke:\"none\",strokeWidth:\"1\",fill:\"none\",fillRule:\"evenodd\"},React5__default.createElement(\"path\",{d:\"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z\",id:\"path-1\",fill:\"#FF4785\",fillRule:\"nonzero\"}),React5__default.createElement(\"path\",{d:\"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z\",id:\"path9_fill-path\",fill:\"#FFFFFF\",fillRule:\"nonzero\"}),React5__default.createElement(\"path\",{d:\"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z\",id:\"Path\",fill:\"#FFFFFF\"})));var rotate360=keyframes`\n\tfrom {\n\t\ttransform: rotate(0deg);\n\t}\n\tto {\n\t\ttransform: rotate(360deg);\n\t}\n`;var LoaderWrapper=styled.div(({size=32})=>({borderRadius:\"50%\",cursor:\"progress\",display:\"inline-block\",overflow:\"hidden\",position:\"absolute\",transition:\"all 200ms ease-out\",verticalAlign:\"top\",top:\"50%\",left:\"50%\",marginTop:-(size/2),marginLeft:-(size/2),height:size,width:size,zIndex:4,borderWidth:2,borderStyle:\"solid\",borderColor:\"rgba(97, 97, 97, 0.29)\",borderTopColor:\"rgb(100,100,100)\",animation:`${rotate360} 0.7s linear infinite`,mixBlendMode:\"difference\"})),ProgressWrapper=styled.div({position:\"absolute\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\",height:\"100%\"}),ProgressTrack=styled.div(({theme})=>({position:\"relative\",width:\"80%\",marginBottom:\"0.75rem\",maxWidth:300,height:5,borderRadius:5,background:curriedTransparentize$1(.8,theme.color.secondary),overflow:\"hidden\",cursor:\"progress\"})),ProgressBar=styled.div(({theme})=>({position:\"absolute\",top:0,left:0,height:\"100%\",background:theme.color.secondary})),ProgressMessage=styled.div(({theme})=>({minHeight:\"2em\",fontSize:`${theme.typography.size.s1}px`,color:theme.barTextColor})),ErrorIcon=styled(Icons)(({theme})=>({width:20,height:20,marginBottom:\"0.5rem\",color:theme.textMutedColor})),ellipsis=keyframes`\n from { content: \"...\" }\n 33% { content: \".\" }\n 66% { content: \"..\" }\n to { content: \"...\" }\n`,Ellipsis=styled.span({\"&::after\":{content:\"'...'\",animation:`${ellipsis} 1s linear infinite`,animationDelay:\"1s\",display:\"inline-block\",width:\"1em\",height:\"auto\"}}),Loader=({progress,error,size,...props})=>{if(error)return React5__default.createElement(ProgressWrapper,{\"aria-label\":error.toString(),\"aria-live\":\"polite\",role:\"status\",...props},React5__default.createElement(ErrorIcon,{icon:\"lightningoff\"}),React5__default.createElement(ProgressMessage,null,error.message));if(progress){let{value,modules}=progress,{message}=progress;return modules&&(message+=` ${modules.complete} / ${modules.total} modules`),React5__default.createElement(ProgressWrapper,{\"aria-label\":\"Content is loading...\",\"aria-live\":\"polite\",\"aria-valuemin\":0,\"aria-valuemax\":100,\"aria-valuenow\":value*100,\"aria-valuetext\":message,role:\"progressbar\",...props},React5__default.createElement(ProgressTrack,null,React5__default.createElement(ProgressBar,{style:{width:`${value*100}%`}})),React5__default.createElement(ProgressMessage,null,message,value<1&&React5__default.createElement(Ellipsis,{key:message})))}return React5__default.createElement(LoaderWrapper,{\"aria-label\":\"Content is loading...\",\"aria-live\":\"polite\",role:\"status\",size,...props})};function parseQuery(queryString){let query={},pairs=queryString.split(\"&\");for(let i=0;i{let[url,paramsStr]=baseUrl.split(\"?\"),params=paramsStr?{...parseQuery(paramsStr),...additionalParams,id:storyId}:{...additionalParams,id:storyId};return `${url}?${Object.entries(params).map(item=>`${item[0]}=${item[1]}`).join(\"&\")}`};var components2=components,resetComponents={};Object.keys(components).forEach(key=>{resetComponents[key]=forwardRef((props,ref)=>createElement(key,{...props,ref}));});\n\nexport { A, AddonPanel, Badge, Bar, Blockquote, Button, Code, DL, Div, DocumentWrapper, ErrorFormatter, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, IconButtonSkeleton, Icons, Img, LI, Link2 as Link, ListItem_default as ListItem, Loader, OL, P, Placeholder, Pre, ResetWrapper, Separator, Spaced, Span, StorybookIcon, StorybookLogo, Symbols, SyntaxHighlighter2 as SyntaxHighlighter, TT, TabBar, TabButton, TabWrapper, Table, Tabs, TabsState, TooltipLinkList, TooltipMessage, TooltipNote, UL, WithTooltip, WithTooltipPure, Zoom, codeCommon, components2 as components, getStoryHref, icons, interleaveSeparators, nameSpaceClassNames, resetComponents, withReset };\n","import { __commonJS, __toESM, background, typography, curriedOpacify$1, themes, getPreferredColorScheme, light_default, _extends, color, mkColor } from './chunk-4NMOSTKD.mjs';\nexport { background, color, create, darkenColor as darken, lightenColor as lighten, themes, typography } from './chunk-4NMOSTKD.mjs';\nimport { createContext, forwardRef, useContext, createElement, Fragment, useRef } from 'react';\nimport { useInsertionEffectWithLayoutFallback, useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nimport memoize2 from 'memoizerific';\nimport { logger } from '@storybook/client-logger';\n\nvar require_react_is_development=__commonJS({\"../../node_modules/react-is/cjs/react-is.development.js\"(exports){(function(){var hasSymbol=typeof Symbol==\"function\"&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for(\"react.element\"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for(\"react.portal\"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for(\"react.fragment\"):60107,REACT_STRICT_MODE_TYPE=hasSymbol?Symbol.for(\"react.strict_mode\"):60108,REACT_PROFILER_TYPE=hasSymbol?Symbol.for(\"react.profiler\"):60114,REACT_PROVIDER_TYPE=hasSymbol?Symbol.for(\"react.provider\"):60109,REACT_CONTEXT_TYPE=hasSymbol?Symbol.for(\"react.context\"):60110,REACT_ASYNC_MODE_TYPE=hasSymbol?Symbol.for(\"react.async_mode\"):60111,REACT_CONCURRENT_MODE_TYPE=hasSymbol?Symbol.for(\"react.concurrent_mode\"):60111,REACT_FORWARD_REF_TYPE=hasSymbol?Symbol.for(\"react.forward_ref\"):60112,REACT_SUSPENSE_TYPE=hasSymbol?Symbol.for(\"react.suspense\"):60113,REACT_SUSPENSE_LIST_TYPE=hasSymbol?Symbol.for(\"react.suspense_list\"):60120,REACT_MEMO_TYPE=hasSymbol?Symbol.for(\"react.memo\"):60115,REACT_LAZY_TYPE=hasSymbol?Symbol.for(\"react.lazy\"):60116,REACT_BLOCK_TYPE=hasSymbol?Symbol.for(\"react.block\"):60121,REACT_FUNDAMENTAL_TYPE=hasSymbol?Symbol.for(\"react.fundamental\"):60117,REACT_RESPONDER_TYPE=hasSymbol?Symbol.for(\"react.responder\"):60118,REACT_SCOPE_TYPE=hasSymbol?Symbol.for(\"react.scope\"):60119;function isValidElementType(type){return typeof type==\"string\"||typeof type==\"function\"||type===REACT_FRAGMENT_TYPE||type===REACT_CONCURRENT_MODE_TYPE||type===REACT_PROFILER_TYPE||type===REACT_STRICT_MODE_TYPE||type===REACT_SUSPENSE_TYPE||type===REACT_SUSPENSE_LIST_TYPE||typeof type==\"object\"&&type!==null&&(type.$$typeof===REACT_LAZY_TYPE||type.$$typeof===REACT_MEMO_TYPE||type.$$typeof===REACT_PROVIDER_TYPE||type.$$typeof===REACT_CONTEXT_TYPE||type.$$typeof===REACT_FORWARD_REF_TYPE||type.$$typeof===REACT_FUNDAMENTAL_TYPE||type.$$typeof===REACT_RESPONDER_TYPE||type.$$typeof===REACT_SCOPE_TYPE||type.$$typeof===REACT_BLOCK_TYPE)}function typeOf(object){if(typeof object==\"object\"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type=object.type;switch(type){case REACT_ASYNC_MODE_TYPE:case REACT_CONCURRENT_MODE_TYPE:case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:return type;default:var $$typeofType=type&&type.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var AsyncMode=REACT_ASYNC_MODE_TYPE,ConcurrentMode=REACT_CONCURRENT_MODE_TYPE,ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment4=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn(\"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.\")),isConcurrentMode(object)||typeOf(object)===REACT_ASYNC_MODE_TYPE}function isConcurrentMode(object){return typeOf(object)===REACT_CONCURRENT_MODE_TYPE}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement(object){return typeof object==\"object\"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}exports.AsyncMode=AsyncMode,exports.ConcurrentMode=ConcurrentMode,exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment4,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement,exports.isForwardRef=isForwardRef,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf;})();}});var require_react_is=__commonJS({\"../../node_modules/react-is/index.js\"(exports,module){module.exports=require_react_is_development();}});var require_hoist_non_react_statics_cjs=__commonJS({\"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js\"(exports,module){var reactIs=require_react_is(),REACT_STATICS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KNOWN_STATICS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},FORWARD_REF_STATICS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},MEMO_STATICS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},TYPE_STATICS={};TYPE_STATICS[reactIs.ForwardRef]=FORWARD_REF_STATICS;TYPE_STATICS[reactIs.Memo]=MEMO_STATICS;function getStatics(component){return reactIs.isMemo(component)?MEMO_STATICS:TYPE_STATICS[component.$$typeof]||REACT_STATICS}var defineProperty=Object.defineProperty,getOwnPropertyNames=Object.getOwnPropertyNames,getOwnPropertySymbols=Object.getOwnPropertySymbols,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,getPrototypeOf=Object.getPrototypeOf,objectPrototype=Object.prototype;function hoistNonReactStatics2(targetComponent,sourceComponent,blacklist){if(typeof sourceComponent!=\"string\"){if(objectPrototype){var inheritedComponent=getPrototypeOf(sourceComponent);inheritedComponent&&inheritedComponent!==objectPrototype&&hoistNonReactStatics2(targetComponent,inheritedComponent,blacklist);}var keys=getOwnPropertyNames(sourceComponent);getOwnPropertySymbols&&(keys=keys.concat(getOwnPropertySymbols(sourceComponent)));for(var targetStatics=getStatics(targetComponent),sourceStatics=getStatics(sourceComponent),i=0;i0?charat(characters,--position):0,column--,character===10&&(column=1,line--),character}function next(){return character=position2||token(character)>3?\"\":\" \"}function escaping(index,count){for(;--count&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(index,caret()+(count<6&&peek()==32&&next()==32))}function delimiter(type){for(;next();)switch(character){case type:return position;case 34:case 39:type!==34&&type!==39&&delimiter(character);break;case 40:type===41&&delimiter(type);break;case 92:next();break}return position}function commenter(type,index){for(;next()&&type+character!==47+10;)if(type+character===42+42&&peek()===47)break;return \"/*\"+slice(index,position-1)+\"*\"+from(type===47?type:next())}function identifier(index){for(;!token(peek());)next();return slice(index,position)}function compile(value){return dealloc(parse(\"\",null,null,null,[\"\"],value=alloc(value),0,[0],value))}function parse(value,root,parent,rule,rules,rulesets,pseudo,points,declarations){for(var index=0,offset=0,length2=pseudo,atrule=0,property=0,previous=0,variable=1,scanning=1,ampersand=1,character2=0,type=\"\",props=rules,children=rulesets,reference=rule,characters2=type;scanning;)switch(previous=character2,character2=next()){case 40:if(previous!=108&&charat(characters2,length2-1)==58){indexof(characters2+=replace(delimit(character2),\"&\",\"&\\f\"),\"&\\f\")!=-1&&(ampersand=-1);break}case 34:case 39:case 91:characters2+=delimit(character2);break;case 9:case 10:case 13:case 32:characters2+=whitespace(previous);break;case 92:characters2+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),root,parent),declarations);break;default:characters2+=\"/\";}break;case 123*variable:points[index++]=strlen(characters2)*ampersand;case 125*variable:case 59:case 0:switch(character2){case 0:case 125:scanning=0;case 59+offset:property>0&&strlen(characters2)-length2&&append(property>32?declaration(characters2+\";\",rule,parent,length2-1):declaration(replace(characters2,\" \",\"\")+\";\",rule,parent,length2-2),declarations);break;case 59:characters2+=\";\";default:if(append(reference=ruleset(characters2,root,parent,index,offset,rules,points,type,props=[],children=[],length2),rulesets),character2===123)if(offset===0)parse(characters2,root,reference,reference,props,rulesets,length2,points,children);else switch(atrule===99&&charat(characters2,3)===110?100:atrule){case 100:case 109:case 115:parse(value,reference,reference,rule&&append(ruleset(value,reference,reference,0,0,rules,points,type,rules,props=[],length2),children),rules,children,length2,points,rule?props:children);break;default:parse(characters2,reference,reference,reference,[\"\"],children,0,points,children);}}index=offset=property=0,variable=ampersand=1,type=characters2=\"\",length2=pseudo;break;case 58:length2=1+strlen(characters2),property=previous;default:if(variable<1){if(character2==123)--variable;else if(character2==125&&variable++==0&&prev()==125)continue}switch(characters2+=from(character2),character2*variable){case 38:ampersand=offset>0?1:(characters2+=\"\\f\",-1);break;case 44:points[index++]=(strlen(characters2)-1)*ampersand,ampersand=1;break;case 64:peek()===45&&(characters2+=delimit(next())),atrule=peek(),offset=length2=strlen(type=characters2+=identifier(caret())),character2++;break;case 45:previous===45&&strlen(characters2)==2&&(variable=0);}}return rulesets}function ruleset(value,root,parent,index,offset,rules,points,type,props,children,length2){for(var post=offset-1,rule=offset===0?rules:[\"\"],size=sizeof(rule),i=0,j=0,k=0;i0?rule[x]+\" \"+y:replace(y,/&\\f/g,rule[x])))&&(props[k++]=z);return node(value,root,parent,offset===0?RULESET:type,props,children,length2)}function comment(value,root,parent){return node(value,root,parent,COMMENT,from(char()),substr(value,2,-2),0)}function declaration(value,root,parent,length2){return node(value,root,parent,DECLARATION,substr(value,0,length2),substr(value,length2+1,-1),length2)}function serialize(children,callback){for(var output=\"\",length2=sizeof(children),i=0;i-1},createUnsafeSelectorsAlarm=function(cache){return function(element,index,children){if(!(element.type!==\"rule\"||cache.compat)){var unsafePseudoClasses=element.value.match(/(:first|:nth|:nth-last)-child/g);if(unsafePseudoClasses){for(var isNested=!!element.parent,commentContainer=isNested?element.parent.children:children,i=commentContainer.length-1;i>=0;i--){var node2=commentContainer[i];if(node2.line=0;i--)if(!isImportRule(children[i]))return !0;return !1},nullifyElement=function(element){element.type=\"\",element.value=\"\",element.return=\"\",element.children=\"\",element.props=\"\";},incorrectImportAlarm=function(element,index,children){isImportRule(element)&&(element.parent?(console.error(\"`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.\"),nullifyElement(element)):isPrependedWithRegularRules(index,children)&&(console.error(\"`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.\"),nullifyElement(element)));};function prefix(value,length2){switch(hash(value,length2)){case 5103:return WEBKIT+\"print-\"+value+value;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return WEBKIT+value+value;case 5349:case 4246:case 4810:case 6968:case 2756:return WEBKIT+value+MOZ+value+MS+value+value;case 6828:case 4268:return WEBKIT+value+MS+value+value;case 6165:return WEBKIT+value+MS+\"flex-\"+value+value;case 5187:return WEBKIT+value+replace(value,/(\\w+).+(:[^]+)/,WEBKIT+\"box-$1$2\"+MS+\"flex-$1$2\")+value;case 5443:return WEBKIT+value+MS+\"flex-item-\"+replace(value,/flex-|-self/,\"\")+value;case 4675:return WEBKIT+value+MS+\"flex-line-pack\"+replace(value,/align-content|flex-|-self/,\"\")+value;case 5548:return WEBKIT+value+MS+replace(value,\"shrink\",\"negative\")+value;case 5292:return WEBKIT+value+MS+replace(value,\"basis\",\"preferred-size\")+value;case 6060:return WEBKIT+\"box-\"+replace(value,\"-grow\",\"\")+WEBKIT+value+MS+replace(value,\"grow\",\"positive\")+value;case 4554:return WEBKIT+replace(value,/([^-])(transform)/g,\"$1\"+WEBKIT+\"$2\")+value;case 6187:return replace(replace(replace(value,/(zoom-|grab)/,WEBKIT+\"$1\"),/(image-set)/,WEBKIT+\"$1\"),value,\"\")+value;case 5495:case 3959:return replace(value,/(image-set\\([^]*)/,WEBKIT+\"$1$`$1\");case 4968:return replace(replace(value,/(.+:)(flex-)?(.*)/,WEBKIT+\"box-pack:$3\"+MS+\"flex-pack:$3\"),/s.+-b[^;]+/,\"justify\")+WEBKIT+value+value;case 4095:case 3583:case 4068:case 2532:return replace(value,/(.+)-inline(.+)/,WEBKIT+\"$1$2\")+value;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(strlen(value)-1-length2>6)switch(charat(value,length2+1)){case 109:if(charat(value,length2+4)!==45)break;case 102:return replace(value,/(.+:)(.+)-([^]+)/,\"$1\"+WEBKIT+\"$2-$3$1\"+MOZ+(charat(value,length2+3)==108?\"$3\":\"$2-$3\"))+value;case 115:return ~indexof(value,\"stretch\")?prefix(replace(value,\"stretch\",\"fill-available\"),length2)+value:value}break;case 4949:if(charat(value,length2+1)!==115)break;case 6444:switch(charat(value,strlen(value)-3-(~indexof(value,\"!important\")&&10))){case 107:return replace(value,\":\",\":\"+WEBKIT)+value;case 101:return replace(value,/(.+:)([^;!]+)(;|!.+)?/,\"$1\"+WEBKIT+(charat(value,14)===45?\"inline-\":\"\")+\"box$3$1\"+WEBKIT+\"$2$3$1\"+MS+\"$2box$3\")+value}break;case 5936:switch(charat(value,length2+11)){case 114:return WEBKIT+value+MS+replace(value,/[svh]\\w+-[tblr]{2}/,\"tb\")+value;case 108:return WEBKIT+value+MS+replace(value,/[svh]\\w+-[tblr]{2}/,\"tb-rl\")+value;case 45:return WEBKIT+value+MS+replace(value,/[svh]\\w+-[tblr]{2}/,\"lr\")+value}return WEBKIT+value+MS+value+value}return value}var prefixer=function(element,index,children,callback){if(element.length>-1&&!element.return)switch(element.type){case DECLARATION:element.return=prefix(element.value,element.length);break;case KEYFRAMES:return serialize([copy(element,{value:replace(element.value,\"@\",\"@\"+WEBKIT)})],callback);case RULESET:if(element.length)return combine(element.props,function(value){switch(match(value,/(::plac\\w+|:read-\\w+)/)){case\":read-only\":case\":read-write\":return serialize([copy(element,{props:[replace(value,/:(read-\\w+)/,\":\"+MOZ+\"$1\")]})],callback);case\"::placeholder\":return serialize([copy(element,{props:[replace(value,/:(plac\\w+)/,\":\"+WEBKIT+\"input-$1\")]}),copy(element,{props:[replace(value,/:(plac\\w+)/,\":\"+MOZ+\"$1\")]}),copy(element,{props:[replace(value,/:(plac\\w+)/,MS+\"input-$1\")]})],callback)}return \"\"})}},defaultStylisPlugins=[prefixer],createCache=function(options){var key=options.key;if(!key)throw new Error(`You have to configure \\`key\\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.`);if(key===\"css\"){var ssrStyles=document.querySelectorAll(\"style[data-emotion]:not([data-s])\");Array.prototype.forEach.call(ssrStyles,function(node2){var dataEmotionAttribute=node2.getAttribute(\"data-emotion\");dataEmotionAttribute.indexOf(\" \")!==-1&&(document.head.appendChild(node2),node2.setAttribute(\"data-s\",\"\"));});}var stylisPlugins=options.stylisPlugins||defaultStylisPlugins;if(/[^a-z-]/.test(key))throw new Error('Emotion key must only contain lower case alphabetical characters and - but \"'+key+'\" was passed');var inserted={},container,nodesToHydrate=[];container=options.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^=\"'+key+' \"]'),function(node2){for(var attrib=node2.getAttribute(\"data-emotion\").split(\" \"),i=1;i=4;++i,len-=4)k=str.charCodeAt(i)&255|(str.charCodeAt(++i)&255)<<8|(str.charCodeAt(++i)&255)<<16|(str.charCodeAt(++i)&255)<<24,k=(k&65535)*1540483477+((k>>>16)*59797<<16),k^=k>>>24,h=(k&65535)*1540483477+((k>>>16)*59797<<16)^(h&65535)*1540483477+((h>>>16)*59797<<16);switch(len){case 3:h^=(str.charCodeAt(i+2)&255)<<16;case 2:h^=(str.charCodeAt(i+1)&255)<<8;case 1:h^=str.charCodeAt(i)&255,h=(h&65535)*1540483477+((h>>>16)*59797<<16);}return h^=h>>>13,h=(h&65535)*1540483477+((h>>>16)*59797<<16),((h^h>>>15)>>>0).toString(36)}var emotion_hash_esm_default=murmur2;var unitlessKeys={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},emotion_unitless_esm_default=unitlessKeys;var ILLEGAL_ESCAPE_SEQUENCE_ERROR=`You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\\\00d7';\" should become \"content: '\\\\\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,UNDEFINED_AS_OBJECT_KEY_ERROR=\"You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).\",hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function(property){return property.charCodeAt(1)===45},isProcessableValue=function(value){return value!=null&&typeof value!=\"boolean\"},processStyleName=emotion_memoize_esm_default(function(styleName){return isCustomProperty(styleName)?styleName:styleName.replace(hyphenateRegex,\"-$&\").toLowerCase()}),processStyleValue=function(key,value){switch(key){case\"animation\":case\"animationName\":if(typeof value==\"string\")return value.replace(animationRegex,function(match2,p1,p2){return cursor={name:p1,styles:p2,next:cursor},p1})}return emotion_unitless_esm_default[key]!==1&&!isCustomProperty(key)&&typeof value==\"number\"&&value!==0?value+\"px\":value};contentValuePattern=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/,contentValues=[\"normal\",\"none\",\"initial\",\"inherit\",\"unset\"],oldProcessStyleValue=processStyleValue,msPattern=/^-ms-/,hyphenPattern=/-(.)/g,hyphenatedCache={},processStyleValue=function(key,value){if(key===\"content\"&&(typeof value!=\"string\"||contentValues.indexOf(value)===-1&&!contentValuePattern.test(value)&&(value.charAt(0)!==value.charAt(value.length-1)||value.charAt(0)!=='\"'&&value.charAt(0)!==\"'\")))throw new Error(\"You seem to be using a value for 'content' without quotes, try replacing it with `content: '\\\"\"+value+\"\\\"'`\");var processed=oldProcessStyleValue(key,value);return processed!==\"\"&&!isCustomProperty(key)&&key.indexOf(\"-\")!==-1&&hyphenatedCache[key]===void 0&&(hyphenatedCache[key]=!0,console.error(\"Using kebab-case for css properties in objects is not supported. Did you mean \"+key.replace(msPattern,\"ms-\").replace(hyphenPattern,function(str,_char){return _char.toUpperCase()})+\"?\")),processed};var contentValuePattern,contentValues,oldProcessStyleValue,msPattern,hyphenPattern,hyphenatedCache,noComponentSelectorMessage=\"Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.\";function handleInterpolation(mergedProps,registered,interpolation){if(interpolation==null)return \"\";if(interpolation.__emotion_styles!==void 0){if(interpolation.toString()===\"NO_COMPONENT_SELECTOR\")throw new Error(noComponentSelectorMessage);return interpolation}switch(typeof interpolation){case\"boolean\":return \"\";case\"object\":{if(interpolation.anim===1)return cursor={name:interpolation.name,styles:interpolation.styles,next:cursor},interpolation.name;if(interpolation.styles!==void 0){var next2=interpolation.next;if(next2!==void 0)for(;next2!==void 0;)cursor={name:next2.name,styles:next2.styles,next:cursor},next2=next2.next;var styles=interpolation.styles+\";\";return interpolation.map!==void 0&&(styles+=interpolation.map),styles}return createStringFromObject(mergedProps,registered,interpolation)}case\"function\":{if(mergedProps!==void 0){var previousCursor=cursor,result=interpolation(mergedProps);return cursor=previousCursor,handleInterpolation(mergedProps,registered,result)}else console.error(\"Functions that are interpolated in css calls will be stringified.\\nIf you want to have a css call based on props, create a function that returns a css call like this\\nlet dynamicStyle = (props) => css`color: ${props.color}`\\nIt can be called directly with props or interpolated in a styled call like this\\nlet SomeComponent = styled('div')`${dynamicStyle}`\");break}case\"string\":var matched=[],replaced=interpolation.replace(animationRegex,function(match2,p1,p2){var fakeVarName=\"animation\"+matched.length;return matched.push(\"const \"+fakeVarName+\" = keyframes`\"+p2.replace(/^@keyframes animation-\\w+/,\"\")+\"`\"),\"${\"+fakeVarName+\"}\"});matched.length&&console.error(\"`keyframes` output got interpolated into plain string, please wrap it with `css`.\\n\\nInstead of doing this:\\n\\n\"+[].concat(matched,[\"`\"+replaced+\"`\"]).join(`\n`)+`\n\nYou should wrap it with \\`css\\` like this:\n\n`+(\"css`\"+replaced+\"`\"));break}if(registered==null)return interpolation;var cached=registered[interpolation];return cached!==void 0?cached:interpolation}function createStringFromObject(mergedProps,registered,obj){var string=\"\";if(Array.isArray(obj))for(var i=0;i ({})}!\");return mergedTheme}if(theme==null||typeof theme!=\"object\"||Array.isArray(theme))throw new Error(\"[ThemeProvider] Please make your theme prop a plain object\");return _extends({},outerTheme,theme)},createCacheWithTheme=emotion_weak_memoize_esm_default(function(outerTheme){return emotion_weak_memoize_esm_default(function(theme){return getTheme(outerTheme,theme)})}),ThemeProvider=function(props){var theme=useContext(ThemeContext);return props.theme!==theme&&(theme=createCacheWithTheme(theme)(props.theme)),createElement(ThemeContext.Provider,{value:theme},props.children)};function withTheme(Component){var componentName=Component.displayName||Component.name||\"Component\",render=function(props,ref){var theme=useContext(ThemeContext);return createElement(Component,_extends({theme,ref},props))},WithTheme=forwardRef(render);return WithTheme.displayName=\"WithTheme(\"+componentName+\")\",emotion_react_isolated_hnrs_browser_esm_default(WithTheme,Component)}var getLastPart=function(functionName){var parts=functionName.split(\".\");return parts[parts.length-1]},getFunctionNameFromStackTraceLine=function(line2){var match2=/^\\s+at\\s+([A-Za-z0-9$.]+)\\s/.exec(line2);if(match2||(match2=/^([A-Za-z0-9$.]+)@/.exec(line2),match2))return getLastPart(match2[1])},internalReactFunctionNames=new Set([\"renderWithHooks\",\"processChild\",\"finishClassComponent\",\"renderToString\"]),sanitizeIdentifier=function(identifier2){return identifier2.replace(/\\$/g,\"-\")},getLabelFromStackTrace=function(stackTrace){if(stackTrace)for(var lines=stackTrace.split(`\n`),i=0;i=16.8.0\"},peerDependenciesMeta:{\"@types/react\":{optional:!0}},devDependencies:{\"@definitelytyped/dtslint\":\"0.0.112\",\"@emotion/css\":\"11.10.6\",\"@emotion/css-prettifier\":\"1.1.1\",\"@emotion/server\":\"11.10.0\",\"@emotion/styled\":\"11.10.6\",\"html-tag-names\":\"^1.1.2\",react:\"16.14.0\",\"svg-tag-names\":\"^1.1.1\",typescript:\"^4.5.5\"},repository:\"https://github.com/emotion-js/emotion/tree/main/packages/react\",publishConfig:{access:\"public\"},\"umd:main\":\"dist/emotion-react.umd.min.js\",preconstruct:{entrypoints:[\"./index.js\",\"./jsx-runtime.js\",\"./jsx-dev-runtime.js\",\"./_isolated-hnrs.js\"],umdName:\"emotionReact\",exports:{envConditions:[\"browser\",\"worker\"],extra:{\"./types/css-prop\":\"./types/css-prop.d.ts\",\"./macro\":\"./macro.js\"}}}},jsx=function(type,props){var args=arguments;if(props==null||!hasOwnProperty.call(props,\"css\"))return createElement.apply(void 0,args);var argsLength=args.length,createElementArgArray=new Array(argsLength);createElementArgArray[0]=Emotion,createElementArgArray[1]=createEmotionProps(type,props);for(var i=2;i component.\"),toAdd=\"\";for(var k in arg)arg[k]&&k&&(toAdd&&(toAdd+=\" \"),toAdd+=k);}break}default:toAdd=arg;}toAdd&&(cls&&(cls+=\" \"),cls+=toAdd);}}return cls};function merge(registered,css2,className){var registeredStyles=[],rawClassName=getRegisteredStyles(registered,registeredStyles,className);return registeredStyles.length<2?className:rawClassName+css2(registeredStyles)}var Insertion3=function(_ref){var cache=_ref.cache,serializedArr=_ref.serializedArr;useInsertionEffectAlwaysWithSyncFallback(function(){for(var i=0;i96?testOmitPropsOnStringTag:testOmitPropsOnComponent},composeShouldForwardProps=function(tag,options,isReal){var shouldForwardProp;if(options){var optionsShouldForwardProp=options.shouldForwardProp;shouldForwardProp=tag.__emotion_forwardProp&&optionsShouldForwardProp?function(propName){return tag.__emotion_forwardProp(propName)&&optionsShouldForwardProp(propName)}:optionsShouldForwardProp;}return typeof shouldForwardProp!=\"function\"&&isReal&&(shouldForwardProp=tag.__emotion_forwardProp),shouldForwardProp},ILLEGAL_ESCAPE_SEQUENCE_ERROR2=`You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\\\00d7';\" should become \"content: '\\\\\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Insertion5=function(_ref){var cache=_ref.cache,serialized=_ref.serialized,isStringTag=_ref.isStringTag;registerStyles(cache,serialized,isStringTag);useInsertionEffectAlwaysWithSyncFallback(function(){return insertStyles(cache,serialized,isStringTag)});return null},createStyled=function createStyled2(tag,options){if(tag===void 0)throw new Error(`You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.`);var isReal=tag.__emotion_real===tag,baseTag=isReal&&tag.__emotion_base||tag,identifierName,targetClassName;options!==void 0&&(identifierName=options.label,targetClassName=options.target);var shouldForwardProp=composeShouldForwardProps(tag,options,isReal),defaultShouldForwardProp=shouldForwardProp||getDefaultShouldForwardProp(baseTag),shouldUseAs=!defaultShouldForwardProp(\"as\");return function(){var args=arguments,styles=isReal&&tag.__emotion_styles!==void 0?tag.__emotion_styles.slice(0):[];if(identifierName!==void 0&&styles.push(\"label:\"+identifierName+\";\"),args[0]==null||args[0].raw===void 0)styles.push.apply(styles,args);else {args[0][0]===void 0&&console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR2),styles.push(args[0][0]);for(var len=args.length,i=1;i({body:{fontFamily:typography2.fonts.base,fontSize:typography2.size.s3,margin:0,WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",WebkitTapHighlightColor:\"rgba(0, 0, 0, 0)\",WebkitOverflowScrolling:\"touch\"},\"*\":{boxSizing:\"border-box\"},\"h1, h2, h3, h4, h5, h6\":{fontWeight:typography2.weight.regular,margin:0,padding:0},\"button, input, textarea, select\":{fontFamily:\"inherit\",fontSize:\"inherit\",boxSizing:\"border-box\"},sub:{fontSize:\"0.8em\",bottom:\"-0.2em\"},sup:{fontSize:\"0.8em\",top:\"-0.2em\"},\"b, strong\":{fontWeight:typography2.weight.bold},hr:{border:\"none\",borderTop:\"1px solid silver\",clear:\"both\",marginBottom:\"1.25rem\"},code:{fontFamily:typography2.fonts.mono,WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",display:\"inline-block\",paddingLeft:2,paddingRight:2,verticalAlign:\"baseline\",color:\"inherit\"},pre:{fontFamily:typography2.fonts.mono,WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",lineHeight:\"18px\",padding:\"11px 1rem\",whiteSpace:\"pre-wrap\",color:\"inherit\",borderRadius:3,margin:\"1rem 0\"}})),createGlobal=memoize2(1)(({color:color2,background:background2,typography:typography2})=>{let resetStyles=createReset({typography:typography2});return {...resetStyles,body:{...resetStyles.body,color:color2.defaultText,background:background2.app,overflow:\"hidden\"},hr:{...resetStyles.hr,borderTop:`1px solid ${color2.border}`}}});var easing={rubber:\"cubic-bezier(0.175, 0.885, 0.335, 1.05)\"},rotate360=keyframes`\n\tfrom {\n\t\ttransform: rotate(0deg);\n\t}\n\tto {\n\t\ttransform: rotate(360deg);\n\t}\n`,glow=keyframes`\n 0%, 100% { opacity: 1; }\n 50% { opacity: .4; }\n`,float=keyframes`\n 0% { transform: translateY(1px); }\n 25% { transform: translateY(0px); }\n 50% { transform: translateY(-3px); }\n 100% { transform: translateY(1px); }\n`,jiggle=keyframes`\n 0%, 100% { transform:translate3d(0,0,0); }\n 12.5%, 62.5% { transform:translate3d(-4px,0,0); }\n 37.5%, 87.5% { transform: translate3d(4px,0,0); }\n`,inlineGlow=css`\n animation: ${glow} 1.5s ease-in-out infinite;\n color: transparent;\n cursor: progress;\n`,hoverable=css`\n transition: all 150ms ease-out;\n transform: translate3d(0, 0, 0);\n\n &:hover {\n transform: translate3d(0, -2px, 0);\n }\n\n &:active {\n transform: translate3d(0, 0, 0);\n }\n`,animation={rotate360,glow,float,jiggle,inlineGlow,hoverable};var chromeDark={BASE_FONT_FAMILY:\"Menlo, monospace\",BASE_FONT_SIZE:\"11px\",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:\"rgb(36, 36, 36)\",BASE_COLOR:\"rgb(213, 213, 213)\",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:\"rgb(227, 110, 236)\",OBJECT_VALUE_NULL_COLOR:\"rgb(127, 127, 127)\",OBJECT_VALUE_UNDEFINED_COLOR:\"rgb(127, 127, 127)\",OBJECT_VALUE_REGEXP_COLOR:\"rgb(233, 63, 59)\",OBJECT_VALUE_STRING_COLOR:\"rgb(233, 63, 59)\",OBJECT_VALUE_SYMBOL_COLOR:\"rgb(233, 63, 59)\",OBJECT_VALUE_NUMBER_COLOR:\"hsl(252, 100%, 75%)\",OBJECT_VALUE_BOOLEAN_COLOR:\"hsl(252, 100%, 75%)\",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:\"rgb(85, 106, 242)\",HTML_TAG_COLOR:\"rgb(93, 176, 215)\",HTML_TAGNAME_COLOR:\"rgb(93, 176, 215)\",HTML_TAGNAME_TEXT_TRANSFORM:\"lowercase\",HTML_ATTRIBUTE_NAME_COLOR:\"rgb(155, 187, 220)\",HTML_ATTRIBUTE_VALUE_COLOR:\"rgb(242, 151, 102)\",HTML_COMMENT_COLOR:\"rgb(137, 137, 137)\",HTML_DOCTYPE_COLOR:\"rgb(192, 192, 192)\",ARROW_COLOR:\"rgb(145, 145, 145)\",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:\"0\",TREENODE_FONT_FAMILY:\"Menlo, monospace\",TREENODE_FONT_SIZE:\"11px\",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:\"rgb(85, 85, 85)\",TABLE_TH_BACKGROUND_COLOR:\"rgb(44, 44, 44)\",TABLE_TH_HOVER_COLOR:\"rgb(48, 48, 48)\",TABLE_SORT_ICON_COLOR:\"black\",TABLE_DATA_BACKGROUND_IMAGE:\"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))\",TABLE_DATA_BACKGROUND_SIZE:\"128px 32px\"},chromeLight={BASE_FONT_FAMILY:\"Menlo, monospace\",BASE_FONT_SIZE:\"11px\",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:\"white\",BASE_COLOR:\"black\",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:\"rgb(136, 19, 145)\",OBJECT_VALUE_NULL_COLOR:\"rgb(128, 128, 128)\",OBJECT_VALUE_UNDEFINED_COLOR:\"rgb(128, 128, 128)\",OBJECT_VALUE_REGEXP_COLOR:\"rgb(196, 26, 22)\",OBJECT_VALUE_STRING_COLOR:\"rgb(196, 26, 22)\",OBJECT_VALUE_SYMBOL_COLOR:\"rgb(196, 26, 22)\",OBJECT_VALUE_NUMBER_COLOR:\"rgb(28, 0, 207)\",OBJECT_VALUE_BOOLEAN_COLOR:\"rgb(28, 0, 207)\",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:\"rgb(13, 34, 170)\",HTML_TAG_COLOR:\"rgb(168, 148, 166)\",HTML_TAGNAME_COLOR:\"rgb(136, 18, 128)\",HTML_TAGNAME_TEXT_TRANSFORM:\"lowercase\",HTML_ATTRIBUTE_NAME_COLOR:\"rgb(153, 69, 0)\",HTML_ATTRIBUTE_VALUE_COLOR:\"rgb(26, 26, 166)\",HTML_COMMENT_COLOR:\"rgb(35, 110, 37)\",HTML_DOCTYPE_COLOR:\"rgb(192, 192, 192)\",ARROW_COLOR:\"#6e6e6e\",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:\"0\",TREENODE_FONT_FAMILY:\"Menlo, monospace\",TREENODE_FONT_SIZE:\"11px\",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:\"#aaa\",TABLE_TH_BACKGROUND_COLOR:\"#eee\",TABLE_TH_HOVER_COLOR:\"hsla(0, 0%, 90%, 1)\",TABLE_SORT_ICON_COLOR:\"#6e6e6e\",TABLE_DATA_BACKGROUND_IMAGE:\"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))\",TABLE_DATA_BACKGROUND_SIZE:\"128px 32px\"},convertColors=colors=>Object.entries(colors).reduce((acc,[k,v])=>({...acc,[k]:mkColor(v)}),{}),create2=({colors,mono})=>{let colorsObjs=convertColors(colors);return {token:{fontFamily:mono,WebkitFontSmoothing:\"antialiased\",\"&.tag\":colorsObjs.red3,\"&.comment\":{...colorsObjs.green1,fontStyle:\"italic\"},\"&.prolog\":{...colorsObjs.green1,fontStyle:\"italic\"},\"&.doctype\":{...colorsObjs.green1,fontStyle:\"italic\"},\"&.cdata\":{...colorsObjs.green1,fontStyle:\"italic\"},\"&.string\":colorsObjs.red1,\"&.url\":colorsObjs.cyan1,\"&.symbol\":colorsObjs.cyan1,\"&.number\":colorsObjs.cyan1,\"&.boolean\":colorsObjs.cyan1,\"&.variable\":colorsObjs.cyan1,\"&.constant\":colorsObjs.cyan1,\"&.inserted\":colorsObjs.cyan1,\"&.atrule\":colorsObjs.blue1,\"&.keyword\":colorsObjs.blue1,\"&.attr-value\":colorsObjs.blue1,\"&.punctuation\":colorsObjs.gray1,\"&.operator\":colorsObjs.gray1,\"&.function\":colorsObjs.gray1,\"&.deleted\":colorsObjs.red2,\"&.important\":{fontWeight:\"bold\"},\"&.bold\":{fontWeight:\"bold\"},\"&.italic\":{fontStyle:\"italic\"},\"&.class-name\":colorsObjs.cyan2,\"&.selector\":colorsObjs.red3,\"&.attr-name\":colorsObjs.red4,\"&.property\":colorsObjs.red4,\"&.regex\":colorsObjs.red4,\"&.entity\":colorsObjs.red4,\"&.directive.tag .tag\":{background:\"#ffff00\",...colorsObjs.gray1}},\"language-json .token.boolean\":colorsObjs.blue1,\"language-json .token.number\":colorsObjs.blue1,\"language-json .token.property\":colorsObjs.cyan2,namespace:{opacity:.7}}};var lightSyntaxColors={green1:\"#008000\",red1:\"#A31515\",red2:\"#9a050f\",red3:\"#800000\",red4:\"#ff0000\",gray1:\"#393A34\",cyan1:\"#36acaa\",cyan2:\"#2B91AF\",blue1:\"#0000ff\",blue2:\"#00009f\"},darkSyntaxColors={green1:\"#7C7C7C\",red1:\"#92C379\",red2:\"#9a050f\",red3:\"#A8FF60\",red4:\"#96CBFE\",gray1:\"#EDEDED\",cyan1:\"#C6C5FE\",cyan2:\"#FFFFB6\",blue1:\"#B474DD\",blue2:\"#00009f\"},createColors=vars=>({primary:vars.colorPrimary,secondary:vars.colorSecondary,tertiary:color.tertiary,ancillary:color.ancillary,orange:color.orange,gold:color.gold,green:color.green,seafoam:color.seafoam,purple:color.purple,ultraviolet:color.ultraviolet,lightest:color.lightest,lighter:color.lighter,light:color.light,mediumlight:color.mediumlight,medium:color.medium,mediumdark:color.mediumdark,dark:color.dark,darker:color.darker,darkest:color.darkest,border:color.border,positive:color.positive,negative:color.negative,warning:color.warning,critical:color.critical,defaultText:vars.textColor||color.darkest,inverseText:vars.textInverseColor||color.lightest,positiveText:color.positiveText,negativeText:color.negativeText,warningText:color.warningText}),convert=(inherit=themes[getPreferredColorScheme()])=>{let{base,colorPrimary,colorSecondary,appBg,appContentBg,appBorderColor,appBorderRadius,fontBase,fontCode,textColor,textInverseColor,barTextColor,barSelectedColor,barBg,buttonBg,buttonBorder,booleanBg,booleanSelectedBg,inputBg,inputBorder,inputTextColor,inputBorderRadius,brandTitle,brandUrl,brandImage,brandTarget,gridCellSize,...rest}=inherit;return {...rest,base,color:createColors(inherit),background:{app:appBg,bar:barBg,content:appContentBg,gridCellSize:gridCellSize||background.gridCellSize,hoverable:background.hoverable,positive:background.positive,negative:background.negative,warning:background.warning,critical:background.critical},typography:{fonts:{base:fontBase,mono:fontCode},weight:typography.weight,size:typography.size},animation,easing,input:{background:inputBg,border:inputBorder,borderRadius:inputBorderRadius,color:inputTextColor},button:{background:buttonBg||inputBg,border:buttonBorder||inputBorder},boolean:{background:booleanBg||inputBorder,selectedBackground:booleanSelectedBg||inputBg},layoutMargin:10,appBorderColor,appBorderRadius,barTextColor,barSelectedColor:barSelectedColor||colorSecondary,barBg,brand:{title:brandTitle,url:brandUrl,image:brandImage||(brandTitle?null:void 0),target:brandTarget},code:create2({colors:base===\"light\"?lightSyntaxColors:darkSyntaxColors,mono:fontCode}),addonActionsTheme:{...base===\"light\"?chromeLight:chromeDark,BASE_FONT_FAMILY:fontCode,BASE_FONT_SIZE:typography.size.s2-1,BASE_LINE_HEIGHT:\"18px\",BASE_BACKGROUND_COLOR:\"transparent\",BASE_COLOR:textColor,ARROW_COLOR:curriedOpacify$1(.2,appBorderColor),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:fontCode,TREENODE_FONT_SIZE:typography.size.s2-1,TREENODE_LINE_HEIGHT:\"18px\",TREENODE_PADDING_LEFT:12}}};var isEmpty=o=>Object.keys(o).length===0,isObject=o=>o!=null&&typeof o==\"object\",hasOwnProperty2=(o,...args)=>Object.prototype.hasOwnProperty.call(o,...args);var makeObjectWithoutPrototype=()=>Object.create(null);var deletedDiff=(lhs,rhs)=>lhs===rhs||!isObject(lhs)||!isObject(rhs)?{}:Object.keys(lhs).reduce((acc,key)=>{if(hasOwnProperty2(rhs,key)){let difference=deletedDiff(lhs[key],rhs[key]);return isObject(difference)&&isEmpty(difference)||(acc[key]=difference),acc}return acc[key]=void 0,acc},makeObjectWithoutPrototype()),deleted_default=deletedDiff;function dedent(templ){for(var values=[],_i=1;_i{if(!input)return convert(light_default);let missing=deleted_default(light_default,input);return Object.keys(missing).length&&logger.warn(dedent`\n Your theme is missing properties, you should update your theme!\n\n theme-data missing:\n `,missing),convert(input)};var ignoreSsrWarning=\"/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */\";\n\nexport { CacheProvider, ClassNames, Global, ThemeProvider, convert, emotion_cache_browser_esm_default as createCache, createGlobal, createReset, css, ensure, ignoreSsrWarning, emotion_is_prop_valid_esm_default as isPropValid, jsx, keyframes, emotion_styled_browser_esm_default as styled, useTheme, withTheme };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/4961.9e817cf2.iframe.bundle.js b/4961.9e817cf2.iframe.bundle.js new file mode 100644 index 000000000..654e1fd8a --- /dev/null +++ b/4961.9e817cf2.iframe.bundle.js @@ -0,0 +1,64 @@ +"use strict";(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[4961],{"./src/components/ui/VideoGrid/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{P2:()=>VideoGrid,ZP:()=>ui_VideoGrid,cW:()=>useGridData});var react=__webpack_require__("./node_modules/react/index.js"),useElementAspectRatio=__webpack_require__("./src/hooks/useElementAspectRatio/index.tsx"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js");const sortedRatios=["slim","r1by2","r2by3","r1by1","r4by3","r3by2","r16by9"],ratioStyles={1:"grid-template: 1fr / 1fr;","1.slim":"grid-template: repeat(2, 1fr) / 1fr;","1.r2by3":"grid-template: 1fr / 1fr;","1.featured":'grid-template: "ft" 1fr / 1fr;',2:"grid-template: 1fr / repeat(2,1fr);","2.slim":"grid-template: repeat(3,1fr) / 1fr;","2.r1by2":"grid-template: repeat(2,1fr) / 1fr;","2.r2by3":"grid-template: repeat(2,1fr) / 1fr;","2.r4by3":"grid-template: repeat(2,1fr) / repeat(2,1fr);","2.r16by9":"grid-template: 1fr / repeat(2,1fr);","2.featured":"grid-template: repeat(3,1fr) / repeat(2,1fr);\n grid-template-areas: 'ft ft' 'ft ft';","2.r16by9.featured":"grid-template: repeat(2,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft v' 'ft ft v' 'ft ft v';",3:"grid-template: repeat(3,1fr) / 1fr;","3.r2by3":"grid-template: repeat(3,1fr) / repeat(1,1fr);","3.r1by1":"grid-template: repeat(2,1fr) / repeat(2,1fr);","3.featured":"grid-template: repeat(3,1fr) / repeat(2,1fr);\n grid-template-areas: 'ft ft' 'ft ft';\n ","3.r16by9.featured":"grid-template: repeat(2,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft v' 'ft ft v';",4:"grid-template: repeat(2,1fr) / repeat(2,1fr);","4.slim":"grid-template: repeat(4,1fr) / 1fr;","4.r2by3":"grid-template: repeat(2,1fr) / repeat(2,1fr);","4.featured":"grid-template: repeat(3,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft ft' 'ft ft ft';","4.r16by9.featured":"grid-template-areas: 'ft ft v' 'ft ft v' 'ft ft v';",5:"grid-template: repeat(2,1fr) / repeat(3,1fr);","5.slim":"grid-template: repeat(5,1fr) / 1fr;","5.r1by2":"grid-template: repeat(3,1fr) / repeat(2,1fr);","5.r2by3":"grid-template: repeat(3,1fr) / repeat(2,1fr);","5.r3by2":"grid-template: repeat(2,1fr) / repeat(3,1fr);","5.r16by9":"grid-template: repeat(2,1fr) / repeat(3,1fr);","5.featured":"grid-template: repeat(4,1fr) / repeat(2,1fr);\n grid-template-areas: 'ft ft' 'ft ft';","5.r1by1.featured":"grid-template: repeat(3,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft v' 'ft ft v';",6:"grid-template: repeat(3,1fr) / repeat(3,1fr);","6.slim":"grid-template: repeat(4,1fr) / repeat(2,1fr);","6.r1by2":"grid-template: repeat(3,1fr) / repeat(2,1fr);","6.r1by1":"grid-template: repeat(3,1fr) / repeat(2,1fr);","6.r2by3":"grid-template: repeat(3,1fr) / repeat(2,1fr);","6.r3by2":"grid-template: repeat(2,1fr) / repeat(3,1fr);","6.r16by9":"grid-template: repeat(2,1fr) / repeat(3,1fr);","6.featured":"grid-template: repeat(4,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft ft' 'ft ft ft';","6.r1by1.featured":"grid-template: repeat(3,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft v' 'ft ft v';",7:"grid-template: repeat(3,1fr) / repeat(3,1fr);","7.slim":"grid-template: repeat(4,1fr) / repeat(2,1fr);","7.r4by3":"grid-template: repeat(3,1fr) / repeat(3,1fr);","7.r16by9":"grid-template: repeat(2,1fr) / repeat(4,1fr);","7.featured":"grid-template: repeat(4,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft ft' 'ft ft ft';","7.r1by1.featured":"grid-template: repeat(4,1fr) / repeat(4,1fr);\n grid-template-areas: 'ft ft ft v' 'ft ft ft v' 'ft ft ft v';",8:"grid-template: repeat(3,1fr) / repeat(3,1fr);","8.slim":"grid-template: repeat(4,1fr) / repeat(2,1fr);","8.r4by3":"grid-template: repeat(3,1fr) / repeat(3,1fr);","8.r16by9":"grid-template: repeat(2,1fr) / repeat(4,1fr);","8.featured":"grid-template: repeat(5,1fr) / repeat(4,1fr);\n grid-template-areas: 'ft ft ft ft ft' 'ft ft ft ft ft' 'ft ft ft ft ft';","8.r1by1.featured":"grid-template: repeat(4,1fr) / repeat(4,1fr);\n grid-template-areas: 'ft ft ft v' 'ft ft ft v' 'ft ft ft x';","8.r16by9.featured":"grid-template-areas: 'ft ft ft v' 'ft ft ft v' 'ft ft ft x';",9:"grid-template: repeat(3,1fr) / repeat(3,1fr);","9.slim":"grid-template: repeat(5,1fr) / repeat(2,1fr);","9.r1by1":"grid-template: repeat(3,1fr) / repeat(3,1fr);","9.r16by9":"grid-template: repeat(3,1fr) / repeat(4,1fr);","9.featured":"grid-template: repeat(5,1fr) / repeat(4,1fr);\n grid-template-areas: 'ft ft ft ft ft' 'ft ft ft ft ft' 'ft ft ft ft ft';","9.r1by1.featured":"grid-template: repeat(5,1fr) / repeat(5,1fr);\n grid-template-areas: 'ft ft ft ft v' 'ft ft ft ft v' 'ft ft ft ft v' 'ft ft ft ft v';",10:"grid-template: repeat(4,1fr) / repeat(3,1fr);","10.slim":"grid-template: repeat(5,1fr) / repeat(2,1fr);","10.r1by1":"grid-template: repeat(4,1fr) / repeat(3,1fr);","10.r3by2":"grid-template: repeat(3,1fr) / repeat(4,1fr);","10.featured":"grid-template: repeat(5,1fr) / repeat(4,1fr);\n grid-template-areas: 'ft ft ft ft ft' 'ft ft ft ft ft' 'ft ft ft ft ft';","10.r1by1.featured":"grid-template: repeat(5,1fr) / repeat(5,1fr);\n grid-template-areas: 'ft ft ft ft v' 'ft ft ft ft v' 'ft ft ft ft v' 'ft ft ft ft v';",11:"grid-template: repeat(4,1fr) / repeat(3,1fr);","11.slim":"grid-template: repeat(6,1fr) / repeat(2,1fr);","11.r1by1":"grid-template: repeat(4,1fr) / repeat(3,1fr);","11.r3by2":"grid-template: repeat(3,1fr) / repeat(4,1fr);","11.r16by9":"grid-template: repeat(3,1fr) / repeat(4,1fr);","11.featured":"grid-template: repeat(6,1fr) / repeat(6,1fr);\n grid-template-areas: 'ft ft ft ft ft ft' 'ft ft ft ft ft ft' 'ft ft ft ft ft ft' 'ft ft ft ft ft ft';","11.r1by1.featured":"grid-template-areas:\n 'ft ft ft ft ft v' 'ft ft ft ft ft v' 'ft ft ft ft ft v'\n 'ft ft ft ft ft v' 'ft ft ft ft ft x';",12:"grid-template: repeat(4,1fr) / repeat(3,1fr);","12.slim":"grid-template: repeat(6,1fr) / repeat(2,1fr);","12.r2by3":"grid-template: repeat(4,1fr) / repeat(3,1fr);","12.r3by2":"grid-template: repeat(3,1fr) / repeat(4,1fr);","12.featured":"grid-template: repeat(6,1fr) / repeat(6,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft' 'ft ft ft ft ft ft' 'ft ft ft ft ft ft'\n 'ft ft ft ft ft ft';","12.r1by1.featured":"grid-template-areas:\n 'ft ft ft ft ft v' 'ft ft ft ft ft v' 'ft ft ft ft ft v'\n 'ft ft ft ft ft v' 'ft ft ft ft ft x';",13:"grid-template: repeat(4,1fr) / repeat(4,1fr);","13.slim":"grid-template: repeat(7,1fr) / repeat(2,1fr);","13.r2by3":"grid-template: repeat(5,1fr) / repeat(3,1fr);","13.r1by1":"grid-template: repeat(4,1fr) / repeat(4,1fr);","13.r3by2":"grid-template: repeat(4,1fr) / repeat(4,1fr);","13.r16by9":"grid-template: repeat(3,1fr) / repeat(5,1fr);","13.featured":"grid-template: repeat(7,1fr) / repeat(6,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft' 'ft ft ft ft ft ft' 'ft ft ft ft ft ft' 'ft ft ft ft ft ft'\n 'ft ft ft ft ft ft';","13.r1by1.featured":"grid-template-areas:\n 'ft ft ft ft ft v' 'ft ft ft ft ft v' 'ft ft ft ft ft v' 'ft ft ft ft ft v'\n 'ft ft ft ft ft v' 'ft ft ft ft ft x';",14:"grid-template: repeat(4,1fr) / repeat(4,1fr);","14.slim":"grid-template: repeat(7,1fr) / repeat(2,1fr);","14.r2by3":"grid-template: repeat(5,1fr) / repeat(3,1fr);","14.r3by2":"grid-template: repeat(4,1fr) / repeat(4,1fr);","14.r16by9":"grid-template: repeat(3,1fr) / repeat(5,1fr);","14.featured":"grid-template: repeat(7,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft';","14.r1by1.featured":"grid-template-areas:\n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v'\n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft x';",15:"grid-template: repeat(5,1fr) / repeat(3,1fr);","15.slim":"grid-template: repeat(8,1fr) / repeat(2,1fr);","15.r1by2":"grid-template: repeat(5,1fr) / repeat(3,1fr);","15.r3by2":"grid-template: repeat(4,1fr) / repeat(4,1fr);","15.r16by9":"grid-template: repeat(3,1fr) / repeat(5,1fr);","15.featured":"grid-template: repeat(8,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft';","15.r1by1.featured":"grid-template-areas:\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v'\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft x';",16:"grid-template: repeat(4,1fr) / repeat(4,1fr);","16.slim":"grid-template: repeat(8,1fr) / repeat(2,1fr);","16.r1by2":"grid-template: repeat(6,1fr) / repeat(3,1fr);","16.r1by1":"grid-template: repeat(4,1fr) / repeat(4,1fr);","16.featured":"grid-template: repeat(8,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft';","16.r1by1.featured":"grid-template-areas:\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v'\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft x';",17:"grid-template: repeat(5,1fr) / repeat(4,1fr);","17.slim":"grid-template: repeat(8,1fr) / repeat(3,1fr);","17.r1by2":"grid-template: repeat(6,1fr) / repeat(4,1fr);","17.r1by1":"grid-template: repeat(4,1fr) / repeat(5,1fr);","17.featured":"grid-template: repeat(8,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft';","17.r1by1.featured":"grid-template-areas:\n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v'\n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft x';",18:"grid-template: repeat(5,1fr) / repeat(4,1fr);","18.slim":"grid-template: repeat(8,1fr) / repeat(3,1fr);","18.r1by2":"grid-template: repeat(6,1fr) / repeat(4,1fr);","18.r1by1":"grid-template: repeat(4,1fr) / repeat(5,1fr);","18.featured":"grid-template: repeat(8,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft';","18.r1by1.featured":"grid-template: repeat(9,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v'\n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft x';",19:"grid-template: repeat(5,1fr) / repeat(4,1fr);","19.slim":"grid-template: repeat(8,1fr) / repeat(3,1fr);","19.r1by2":"grid-template: repeat(6,1fr) / repeat(4,1fr);","19.r1by1":"grid-template: repeat(4,1fr) / repeat(5,1fr);","19.featured":"grid-template: repeat(8,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft';","19.r1by1.featured":"grid-template: repeat(9,1fr) / repeat(10,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft x';",20:"grid-template: repeat(5,1fr) / repeat(4,1fr);","20.slim":"grid-template: repeat(8,1fr) / repeat(3,1fr);","20.r1by2":"grid-template: repeat(6,1fr) / repeat(4,1fr);","20.r1by1":"grid-template: repeat(4,1fr) / repeat(5,1fr);","20.featured":"grid-template: repeat(11,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft';","20.r1by1.featured":"grid-template: repeat(10,1fr) / repeat(10,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft x';",21:"grid-template: repeat(5,1fr) / repeat(5,1fr);","21.slim":"grid-template: repeat(8,1fr) / repeat(3,1fr);","21.r1by2":"grid-template: repeat(6,1fr) / repeat(4,1fr);","21.r1by1":"grid-template: repeat(5,1fr) / repeat(5,1fr);","21.featured":"grid-template: repeat(11,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft';","21.r1by1.featured":"grid-template: repeat(8,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft x';",22:"grid-template: repeat(5,1fr) / repeat(5,1fr);","22.slim":"grid-template: repeat(8,1fr) / repeat(3,1fr);","22.r1by2":"grid-template: repeat(6,1fr) / repeat(4,1fr);","22.r1by1":"grid-template: repeat(5,1fr) / repeat(5,1fr);","22.featured":"grid-template: repeat(11,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft';","22.r1by1.featured":"grid-template: repeat(9,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft x';",23:"grid-template: repeat(5,1fr) / repeat(5,1fr);","23.slim":"grid-template: repeat(8,1fr) / repeat(3,1fr);","23.r1by2":"grid-template: repeat(6,1fr) / repeat(4,1fr);","23.r1by1":"grid-template: repeat(5,1fr) / repeat(5,1fr);","23.featured":"grid-template: repeat(11,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft';","23.r1by1.featured":"grid-template: repeat(8,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft x';",24:"grid-template: repeat(5,1fr) / repeat(5,1fr);","24.slim":"grid-template: repeat(8,1fr) / repeat(3,1fr);","24.r1by2":"grid-template: repeat(6,1fr) / repeat(4,1fr);","24.r1by1":"grid-template: repeat(5,1fr) / repeat(5,1fr);","24.featured":"grid-template: repeat(11,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft';","24.r1by1.featured":"grid-template: repeat(9,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft x';",25:"grid-template: repeat(5,1fr) / repeat(5,1fr);","25.slim":"grid-template: repeat(9,1fr) / repeat(3,1fr);","25.r1by2":"grid-template: repeat(7,1fr) / repeat(4,1fr);","25.r1by1":"grid-template: repeat(5,1fr) / repeat(5,1fr);","25.featured":"grid-template: repeat(11,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft';","25.r1by1.featured":"grid-template: repeat(10,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft x';",26:"grid-template: repeat(6,1fr) / repeat(5,1fr);","26.slim":"grid-template: repeat(9,1fr) / repeat(3,1fr);","26.r1by2":"grid-template: repeat(7,1fr) / repeat(4,1fr);","26.r1by1":"grid-template: repeat(6,1fr) / repeat(5,1fr);","26.featured":"grid-template: repeat(11,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft';","26.r1by1.featured":"grid-template: repeat(9,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft x';"},responsiveStyles={"2.featured":"\n @media (max-width: 600px) {\n grid-template-columns: 1fr;\n grid-template-rows: calc(100% / 3);\n grid-auto-rows: calc(100% / 3);\n }\n ","3.r16by9":"\n @media (max-height: 600px) {\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: 50%;\n grid-auto-columns: 50%;\n grid-auto-flow: column;\n }\n ","3.featured":"\n @media (max-width: 600px) {\n grid-template-areas: 'ft' 'ft';\n grid-template-columns: 1fr;\n grid-template-rows: 25%;\n grid-auto-rows: 25%;\n }\n ","4.r16by9":"\n @media (max-height: 600px) {\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: 50%;\n grid-auto-columns: 50%;\n grid-auto-flow: column;\n }\n ","5.r16by9":"grid-template: repeat(2,1fr) / repeat(3,1fr);\n @media (max-height: 600px) {\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: calc(100% / 3);\n grid-auto-columns: calc(100% / 3);\n grid-auto-flow: column;\n }\n ","6.r16by9":"grid-template: repeat(2,1fr) / repeat(3,1fr);\n @media (max-height: 600px) {\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: calc(100% / 3);\n grid-auto-columns: calc(100% / 3);\n grid-auto-flow: column;\n }\n ","7.r16by9":"\n @media (max-height: 600px) {\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: 25%;\n grid-auto-columns: 25%;\n grid-auto-flow: column;\n }\n "},StyledGrid=styled_components_browser_esm.ZP.div` + position: relative; + display: grid; + height: 100%; + width: 100%; + overflow: auto; + background-color: ${props=>props.theme.videoGrid.bgd}; + + ${({size,featured})=>ratioStyles[`${size}${featured?".featured":""}`]||""} + ${({size,featured,ratio})=>{if(!ratio)return;let styles="";const index=sortedRatios.indexOf(ratio);for(let i=0;i<=index;i++){const currentRatio=sortedRatios[i];styles+=ratioStyles[`${size}.${currentRatio}${featured?".featured":""}`]||""}const mobileStyles=responsiveStyles[`${size}.${ratio}${featured?".featured":""}`]||responsiveStyles[`${size}${featured?".featured":""}`];return mobileStyles?styles+=mobileStyles:"r16by9"===ratio&&(size>7||featured)?styles+="\n @media (max-height: 600px) {\n grid-template-areas: 'ft ft' 'ft ft';\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: 25%;\n grid-auto-columns: 25%;\n grid-auto-flow: column;\n }\n":(size>7||featured)&&(styles+="\n @media (max-width: 600px) {\n grid-template-areas: 'ft ft' 'ft ft';\n grid-template-columns: repeat(2,1fr);\n grid-template-rows: 25%;\n grid-auto-rows: 25%;\n }\n"),styles}}; +`;try{StyledGrid.displayName="StyledGrid",StyledGrid.__docgenInfo={description:"",displayName:"StyledGrid",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},featured:{defaultValue:null,description:"",name:"featured",required:!0,type:{name:"boolean"}},size:{defaultValue:null,description:"The number of tiles to lay out.",name:"size",required:!0,type:{name:"number"}},layout:{defaultValue:null,description:"The layout of the grid.",name:"layout",required:!1,type:{name:"Layout | undefined"}},ratio:{defaultValue:null,description:"",name:"ratio",required:!1,type:{name:"AspectRatio | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/VideoGrid/Styled.tsx#StyledGrid"]={docgenInfo:StyledGrid.__docgenInfo,name:"StyledGrid",path:"src/components/ui/VideoGrid/Styled.tsx#StyledGrid"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const gridData={usingGrid:!0},GridContext=(0,react.createContext)(null),VideoGrid=({size,children,layout="standard",...rest})=>{const gridEl=(0,react.createRef)(),ratio=(0,useElementAspectRatio.Z)(gridEl),gridSize="number"==typeof size?size:react.Children.count(children);return(0,jsx_runtime.jsx)(GridContext.Provider,{value:gridData,children:(0,jsx_runtime.jsx)(StyledGrid,{ref:gridEl,...rest,size:gridSize,ratio,featured:"featured"===layout,"data-testid":"video-grid",children})})};VideoGrid.displayName="VideoGrid";const useGridData=()=>(0,react.useContext)(GridContext),ui_VideoGrid=VideoGrid;try{VideoGrid.displayName="VideoGrid",VideoGrid.__docgenInfo={description:"",displayName:"VideoGrid",props:{size:{defaultValue:null,description:"The number of tiles to lay out.",name:"size",required:!1,type:{name:"number | undefined"}},layout:{defaultValue:{value:"standard"},description:"The layout of the grid.",name:"layout",required:!1,type:{name:"Layout | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/VideoGrid/index.tsx#VideoGrid"]={docgenInfo:VideoGrid.__docgenInfo,name:"VideoGrid",path:"src/components/ui/VideoGrid/index.tsx#VideoGrid"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/VideoTile/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{y:()=>VideoTile,Z:()=>ui_VideoTile});var react=__webpack_require__("./node_modules/react/index.js"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),style=__webpack_require__("./src/utils/style.ts"),Base=__webpack_require__("./src/components/ui/Base/index.ts");const StyledVideoTile=styled_components_browser_esm.ZP.div` + height: 100%; + width: 100%; + position: relative; + background: ${props=>props.theme.colors.greys.grey100}; + + video { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + width: 100%; + height: 100%; + object-fit: ${props=>props.objectFit||"cover"}}; + } + + .ch-icon { + width: 1.5rem; + height: 1.5rem; + display: inline-block; + background-color: papayawhip; /* TODO: figure out what this is supposed to be */ + margin-right: 0.5rem; + flex: 0 0 1.5rem; + } + + .ch-nameplate { + backdrop-filter: blur(20px); + background-color: rgba(46, 47, 52, 0.85); + border-radius: 0.25rem; + bottom: 0.5rem; + color: ${props=>props.theme.colors.greys.white}; + left: 0.5rem; + max-width: calc(100% - 2rem); + padding: 0.5rem; + position: absolute; + + div { + ${style.LH}; + display: flex; + align-items: center; + } + + .ch-text { + font-size: ${props=>props.theme.fontSizes.text.fontSize}; + ${style.LH}; + margin: 0; + } + } + + ${Base.K} + ${Base.T} +`;try{StyledVideoTile.displayName="StyledVideoTile",StyledVideoTile.__docgenInfo={description:"",displayName:"StyledVideoTile",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},nameplate:{defaultValue:null,description:"The name to show on the video tile",name:"nameplate",required:!1,type:{name:"string | undefined"}},objectFit:{defaultValue:null,description:"Specifies which CSS object-fit value to apply to the VideoTile so that it resizes to fit its container",name:"objectFit",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"fill"'},{value:'"none"'},{value:'"contain"'},{value:'"cover"'},{value:'"scale-down"'}]}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/VideoTile/Styled.tsx#StyledVideoTile"]={docgenInfo:StyledVideoTile.__docgenInfo,name:"StyledVideoTile",path:"src/components/ui/VideoTile/Styled.tsx#StyledVideoTile"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const VideoTile=(0,react.forwardRef)(((props,ref)=>{const{tag,className,nameplate,...rest}=props;return(0,jsx_runtime.jsxs)(StyledVideoTile,{as:tag,className:className||"","data-testid":"video-tile",...rest,children:[(0,jsx_runtime.jsx)("video",{ref,className:"ch-video"}),nameplate&&(0,jsx_runtime.jsx)("header",{className:"ch-nameplate",children:(0,jsx_runtime.jsx)("p",{className:"ch-text",children:nameplate})})]})})),ui_VideoTile=VideoTile;try{VideoTile.displayName="VideoTile",VideoTile.__docgenInfo={description:"",displayName:"VideoTile",props:{nameplate:{defaultValue:null,description:"The name to show on the video tile",name:"nameplate",required:!1,type:{name:"string | undefined"}},objectFit:{defaultValue:null,description:"Specifies which CSS object-fit value to apply to the VideoTile so that it resizes to fit its container",name:"objectFit",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"fill"'},{value:'"none"'},{value:'"contain"'},{value:'"cover"'},{value:'"scale-down"'}]}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/VideoTile/index.tsx#VideoTile"]={docgenInfo:VideoTile.__docgenInfo,name:"VideoTile",path:"src/components/ui/VideoTile/index.tsx#VideoTile"})}catch(__react_docgen_typescript_loader_error){}},"./src/hooks/useElementAspectRatio/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js"),throttle_debounce__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/throttle-debounce/index.umd.js");function getAspectRatio(height,width){const aspectRatio=width/height;return aspectRatio>1.6?"r16by9":aspectRatio>1.4?"r3by2":aspectRatio>1.25?"r4by3":aspectRatio>.9?"r1by1":aspectRatio>.7?"r2by3":aspectRatio>.4?"r1by2":"slim"}const useElementAspectRatio=ref=>{const[ratio,setRatio]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)((()=>{if(!ref.current)return;const{height,width}=ref.current.getBoundingClientRect();setRatio(getAspectRatio(height,width))}),[]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(!ref.current)return;const handleResize=(0,throttle_debounce__WEBPACK_IMPORTED_MODULE_2__.debounce)(50,(entries=>{const{height,width}=entries[0].contentRect;setRatio(getAspectRatio(height,width))})),resizeObserver=new resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_1__.Z(handleResize);return resizeObserver.observe(ref.current),()=>resizeObserver.disconnect()}),[]),ratio},__WEBPACK_DEFAULT_EXPORT__=useElementAspectRatio;try{useElementAspectRatio.displayName="useElementAspectRatio",useElementAspectRatio.__docgenInfo={description:"",displayName:"useElementAspectRatio",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/useElementAspectRatio/index.tsx#useElementAspectRatio"]={docgenInfo:useElementAspectRatio.__docgenInfo,name:"useElementAspectRatio",path:"src/hooks/useElementAspectRatio/index.tsx#useElementAspectRatio"})}catch(__react_docgen_typescript_loader_error){}}}]); +//# sourceMappingURL=4961.9e817cf2.iframe.bundle.js.map \ No newline at end of file diff --git a/4961.9e817cf2.iframe.bundle.js.map b/4961.9e817cf2.iframe.bundle.js.map new file mode 100644 index 000000000..9792b9cbf --- /dev/null +++ b/4961.9e817cf2.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4961.9e817cf2.iframe.bundle.js","mappings":";;;;;;AAubA;;AAEA;AAEA;;;;;AC9aA;;;;;;;;;;AAUA;;;;;;;;;;;;;;;;;AAiBA;;;;;;;AAOA;;;;;;AAMA;AACA;;;;;AAKA;AACA","sources":["webpack://amazon-chime-sdk-component-library-react/./src/components/ui/VideoGrid/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/VideoTile/Styled.tsx"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { AspectRatio } from '../../../hooks/useElementAspectRatio';\nimport { VideoGridProps } from './';\n\ninterface StyledGridProps extends VideoGridProps {\n ratio?: AspectRatio | null;\n size: number;\n featured: boolean;\n}\n\nconst sortedRatios: AspectRatio[] = [\n 'slim',\n 'r1by2',\n 'r2by3',\n 'r1by1',\n 'r4by3',\n 'r3by2',\n 'r16by9',\n];\n\nconst ratioStyles = {\n '1': 'grid-template: 1fr / 1fr;',\n '1.slim': 'grid-template: repeat(2, 1fr) / 1fr;',\n '1.r2by3': 'grid-template: 1fr / 1fr;',\n\n '1.featured': `grid-template: \"ft\" 1fr / 1fr;`,\n\n '2': 'grid-template: 1fr / repeat(2,1fr);',\n '2.slim': `grid-template: repeat(3,1fr) / 1fr;`,\n '2.r1by2': 'grid-template: repeat(2,1fr) / 1fr;',\n '2.r2by3': 'grid-template: repeat(2,1fr) / 1fr;',\n '2.r4by3': 'grid-template: repeat(2,1fr) / repeat(2,1fr);',\n '2.r16by9': `grid-template: 1fr / repeat(2,1fr);`,\n\n '2.featured': `grid-template: repeat(3,1fr) / repeat(2,1fr);\n grid-template-areas: 'ft ft' 'ft ft';`,\n '2.r16by9.featured': `grid-template: repeat(2,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft v' 'ft ft v' 'ft ft v';`,\n\n '3': 'grid-template: repeat(3,1fr) / 1fr;',\n '3.r2by3': 'grid-template: repeat(3,1fr) / repeat(1,1fr);',\n '3.r1by1': 'grid-template: repeat(2,1fr) / repeat(2,1fr);',\n\n '3.featured': `grid-template: repeat(3,1fr) / repeat(2,1fr);\n grid-template-areas: 'ft ft' 'ft ft';\n `,\n '3.r16by9.featured': `grid-template: repeat(2,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft v' 'ft ft v';`,\n\n '4': 'grid-template: repeat(2,1fr) / repeat(2,1fr);',\n '4.slim': 'grid-template: repeat(4,1fr) / 1fr;',\n '4.r2by3': 'grid-template: repeat(2,1fr) / repeat(2,1fr);',\n\n '4.featured': `grid-template: repeat(3,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft ft' 'ft ft ft';`,\n '4.r16by9.featured': `grid-template-areas: 'ft ft v' 'ft ft v' 'ft ft v';`,\n\n '5': 'grid-template: repeat(2,1fr) / repeat(3,1fr);',\n '5.slim': 'grid-template: repeat(5,1fr) / 1fr;',\n '5.r1by2': 'grid-template: repeat(3,1fr) / repeat(2,1fr);',\n '5.r2by3': 'grid-template: repeat(3,1fr) / repeat(2,1fr);',\n '5.r3by2': 'grid-template: repeat(2,1fr) / repeat(3,1fr);',\n '5.r16by9': `grid-template: repeat(2,1fr) / repeat(3,1fr);`,\n\n '5.featured': `grid-template: repeat(4,1fr) / repeat(2,1fr);\n grid-template-areas: 'ft ft' 'ft ft';`,\n '5.r1by1.featured': `grid-template: repeat(3,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft v' 'ft ft v';`,\n\n '6': 'grid-template: repeat(3,1fr) / repeat(3,1fr);',\n '6.slim': 'grid-template: repeat(4,1fr) / repeat(2,1fr);',\n '6.r1by2': 'grid-template: repeat(3,1fr) / repeat(2,1fr);',\n '6.r1by1': 'grid-template: repeat(3,1fr) / repeat(2,1fr);',\n '6.r2by3': 'grid-template: repeat(3,1fr) / repeat(2,1fr);',\n '6.r3by2': 'grid-template: repeat(2,1fr) / repeat(3,1fr);',\n '6.r16by9': `grid-template: repeat(2,1fr) / repeat(3,1fr);`,\n\n '6.featured': `grid-template: repeat(4,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft ft' 'ft ft ft';`,\n '6.r1by1.featured': `grid-template: repeat(3,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft v' 'ft ft v';`,\n\n '7': 'grid-template: repeat(3,1fr) / repeat(3,1fr);',\n '7.slim': 'grid-template: repeat(4,1fr) / repeat(2,1fr);',\n '7.r4by3': 'grid-template: repeat(3,1fr) / repeat(3,1fr);',\n '7.r16by9': `grid-template: repeat(2,1fr) / repeat(4,1fr);`,\n\n '7.featured': `grid-template: repeat(4,1fr) / repeat(3,1fr);\n grid-template-areas: 'ft ft ft' 'ft ft ft';`,\n '7.r1by1.featured': `grid-template: repeat(4,1fr) / repeat(4,1fr);\n grid-template-areas: 'ft ft ft v' 'ft ft ft v' 'ft ft ft v';`,\n\n '8': 'grid-template: repeat(3,1fr) / repeat(3,1fr);',\n '8.slim': 'grid-template: repeat(4,1fr) / repeat(2,1fr);',\n '8.r4by3': 'grid-template: repeat(3,1fr) / repeat(3,1fr);',\n '8.r16by9': 'grid-template: repeat(2,1fr) / repeat(4,1fr);',\n\n '8.featured': `grid-template: repeat(5,1fr) / repeat(4,1fr);\n grid-template-areas: 'ft ft ft ft ft' 'ft ft ft ft ft' 'ft ft ft ft ft';`,\n '8.r1by1.featured': `grid-template: repeat(4,1fr) / repeat(4,1fr);\n grid-template-areas: 'ft ft ft v' 'ft ft ft v' 'ft ft ft x';`,\n '8.r16by9.featured': `grid-template-areas: 'ft ft ft v' 'ft ft ft v' 'ft ft ft x';`,\n\n '9': 'grid-template: repeat(3,1fr) / repeat(3,1fr);',\n '9.slim': `grid-template: repeat(5,1fr) / repeat(2,1fr);`,\n '9.r1by1': 'grid-template: repeat(3,1fr) / repeat(3,1fr);',\n '9.r16by9': `grid-template: repeat(3,1fr) / repeat(4,1fr);`,\n\n '9.featured': `grid-template: repeat(5,1fr) / repeat(4,1fr);\n grid-template-areas: 'ft ft ft ft ft' 'ft ft ft ft ft' 'ft ft ft ft ft';`,\n '9.r1by1.featured': `grid-template: repeat(5,1fr) / repeat(5,1fr);\n grid-template-areas: 'ft ft ft ft v' 'ft ft ft ft v' 'ft ft ft ft v' 'ft ft ft ft v';`,\n\n '10': 'grid-template: repeat(4,1fr) / repeat(3,1fr);',\n '10.slim': `grid-template: repeat(5,1fr) / repeat(2,1fr);`,\n '10.r1by1': 'grid-template: repeat(4,1fr) / repeat(3,1fr);',\n '10.r3by2': 'grid-template: repeat(3,1fr) / repeat(4,1fr);',\n\n '10.featured': `grid-template: repeat(5,1fr) / repeat(4,1fr);\n grid-template-areas: 'ft ft ft ft ft' 'ft ft ft ft ft' 'ft ft ft ft ft';`,\n '10.r1by1.featured': `grid-template: repeat(5,1fr) / repeat(5,1fr);\n grid-template-areas: 'ft ft ft ft v' 'ft ft ft ft v' 'ft ft ft ft v' 'ft ft ft ft v';`,\n\n '11': 'grid-template: repeat(4,1fr) / repeat(3,1fr);',\n '11.slim': 'grid-template: repeat(6,1fr) / repeat(2,1fr);',\n '11.r1by1': 'grid-template: repeat(4,1fr) / repeat(3,1fr);',\n '11.r3by2': 'grid-template: repeat(3,1fr) / repeat(4,1fr);',\n '11.r16by9': `grid-template: repeat(3,1fr) / repeat(4,1fr);`,\n\n '11.featured': `grid-template: repeat(6,1fr) / repeat(6,1fr);\n grid-template-areas: 'ft ft ft ft ft ft' 'ft ft ft ft ft ft' 'ft ft ft ft ft ft' 'ft ft ft ft ft ft';`,\n '11.r1by1.featured': `grid-template-areas:\n 'ft ft ft ft ft v' 'ft ft ft ft ft v' 'ft ft ft ft ft v'\n 'ft ft ft ft ft v' 'ft ft ft ft ft x';`,\n\n '12': 'grid-template: repeat(4,1fr) / repeat(3,1fr);',\n '12.slim': 'grid-template: repeat(6,1fr) / repeat(2,1fr);',\n '12.r2by3': 'grid-template: repeat(4,1fr) / repeat(3,1fr);',\n '12.r3by2': 'grid-template: repeat(3,1fr) / repeat(4,1fr);',\n\n '12.featured': `grid-template: repeat(6,1fr) / repeat(6,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft' 'ft ft ft ft ft ft' 'ft ft ft ft ft ft'\n 'ft ft ft ft ft ft';`,\n '12.r1by1.featured': `grid-template-areas:\n 'ft ft ft ft ft v' 'ft ft ft ft ft v' 'ft ft ft ft ft v'\n 'ft ft ft ft ft v' 'ft ft ft ft ft x';`,\n\n '13': 'grid-template: repeat(4,1fr) / repeat(4,1fr);',\n '13.slim': 'grid-template: repeat(7,1fr) / repeat(2,1fr);',\n '13.r2by3': 'grid-template: repeat(5,1fr) / repeat(3,1fr);',\n '13.r1by1': 'grid-template: repeat(4,1fr) / repeat(4,1fr);',\n '13.r3by2': 'grid-template: repeat(4,1fr) / repeat(4,1fr);',\n '13.r16by9': `grid-template: repeat(3,1fr) / repeat(5,1fr);`,\n\n '13.featured': `grid-template: repeat(7,1fr) / repeat(6,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft' 'ft ft ft ft ft ft' 'ft ft ft ft ft ft' 'ft ft ft ft ft ft'\n 'ft ft ft ft ft ft';`,\n '13.r1by1.featured': `grid-template-areas:\n 'ft ft ft ft ft v' 'ft ft ft ft ft v' 'ft ft ft ft ft v' 'ft ft ft ft ft v'\n 'ft ft ft ft ft v' 'ft ft ft ft ft x';`,\n\n '14': 'grid-template: repeat(4,1fr) / repeat(4,1fr);',\n '14.slim': 'grid-template: repeat(7,1fr) / repeat(2,1fr);',\n '14.r2by3': 'grid-template: repeat(5,1fr) / repeat(3,1fr);',\n '14.r3by2': 'grid-template: repeat(4,1fr) / repeat(4,1fr);',\n '14.r16by9': `grid-template: repeat(3,1fr) / repeat(5,1fr);`,\n\n '14.featured': `grid-template: repeat(7,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft';`,\n '14.r1by1.featured': `grid-template-areas:\n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v'\n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft x';`,\n\n '15': 'grid-template: repeat(5,1fr) / repeat(3,1fr);',\n '15.slim': 'grid-template: repeat(8,1fr) / repeat(2,1fr);',\n '15.r1by2': 'grid-template: repeat(5,1fr) / repeat(3,1fr);',\n '15.r3by2': 'grid-template: repeat(4,1fr) / repeat(4,1fr);',\n '15.r16by9': `grid-template: repeat(3,1fr) / repeat(5,1fr);`,\n\n '15.featured': `grid-template: repeat(8,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft';`,\n '15.r1by1.featured': `grid-template-areas:\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v'\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft x';`,\n\n '16': 'grid-template: repeat(4,1fr) / repeat(4,1fr);',\n '16.slim': 'grid-template: repeat(8,1fr) / repeat(2,1fr);',\n '16.r1by2': 'grid-template: repeat(6,1fr) / repeat(3,1fr);',\n '16.r1by1': 'grid-template: repeat(4,1fr) / repeat(4,1fr);',\n\n '16.featured': `grid-template: repeat(8,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft';`,\n '16.r1by1.featured': `grid-template-areas:\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v'\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft x';`,\n\n '17': 'grid-template: repeat(5,1fr) / repeat(4,1fr);',\n '17.slim': 'grid-template: repeat(8,1fr) / repeat(3,1fr);',\n '17.r1by2': 'grid-template: repeat(6,1fr) / repeat(4,1fr);',\n '17.r1by1': 'grid-template: repeat(4,1fr) / repeat(5,1fr);',\n\n '17.featured': `grid-template: repeat(8,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft';`,\n '17.r1by1.featured': `grid-template-areas:\n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v'\n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft x';`,\n\n '18': 'grid-template: repeat(5,1fr) / repeat(4,1fr);',\n '18.slim': 'grid-template: repeat(8,1fr) / repeat(3,1fr);',\n '18.r1by2': 'grid-template: repeat(6,1fr) / repeat(4,1fr);',\n '18.r1by1': 'grid-template: repeat(4,1fr) / repeat(5,1fr);',\n\n '18.featured': `grid-template: repeat(8,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft';`,\n '18.r1by1.featured': `grid-template: repeat(9,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v'\n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft x';`,\n\n '19': 'grid-template: repeat(5,1fr) / repeat(4,1fr);',\n '19.slim': 'grid-template: repeat(8,1fr) / repeat(3,1fr);',\n '19.r1by2': 'grid-template: repeat(6,1fr) / repeat(4,1fr);',\n '19.r1by1': 'grid-template: repeat(4,1fr) / repeat(5,1fr);',\n\n '19.featured': `grid-template: repeat(8,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft';`,\n '19.r1by1.featured': `grid-template: repeat(9,1fr) / repeat(10,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft x';`,\n\n '20': 'grid-template: repeat(5,1fr) / repeat(4,1fr);',\n '20.slim': 'grid-template: repeat(8,1fr) / repeat(3,1fr);',\n '20.r1by2': 'grid-template: repeat(6,1fr) / repeat(4,1fr);',\n '20.r1by1': 'grid-template: repeat(4,1fr) / repeat(5,1fr);',\n\n '20.featured': `grid-template: repeat(11,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft';`,\n '20.r1by1.featured': `grid-template: repeat(10,1fr) / repeat(10,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft ft x';`,\n\n '21': 'grid-template: repeat(5,1fr) / repeat(5,1fr);',\n '21.slim': 'grid-template: repeat(8,1fr) / repeat(3,1fr);',\n '21.r1by2': 'grid-template: repeat(6,1fr) / repeat(4,1fr);',\n '21.r1by1': 'grid-template: repeat(5,1fr) / repeat(5,1fr);',\n\n '21.featured': `grid-template: repeat(11,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft';`,\n '21.r1by1.featured': `grid-template: repeat(8,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft x';`,\n\n '22': 'grid-template: repeat(5,1fr) / repeat(5,1fr);',\n '22.slim': 'grid-template: repeat(8,1fr) / repeat(3,1fr);',\n '22.r1by2': 'grid-template: repeat(6,1fr) / repeat(4,1fr);',\n '22.r1by1': 'grid-template: repeat(5,1fr) / repeat(5,1fr);',\n\n '22.featured': `grid-template: repeat(11,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft';`,\n '22.r1by1.featured': `grid-template: repeat(9,1fr) / repeat(7,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft v' 'ft ft ft ft ft ft x';`,\n\n '23': 'grid-template: repeat(5,1fr) / repeat(5,1fr);',\n '23.slim': 'grid-template: repeat(8,1fr) / repeat(3,1fr);',\n '23.r1by2': 'grid-template: repeat(6,1fr) / repeat(4,1fr);',\n '23.r1by1': 'grid-template: repeat(5,1fr) / repeat(5,1fr);',\n\n '23.featured': `grid-template: repeat(11,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft';`,\n '23.r1by1.featured': `grid-template: repeat(8,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft x';`,\n\n '24': 'grid-template: repeat(5,1fr) / repeat(5,1fr);',\n '24.slim': 'grid-template: repeat(8,1fr) / repeat(3,1fr);',\n '24.r1by2': 'grid-template: repeat(6,1fr) / repeat(4,1fr);',\n '24.r1by1': 'grid-template: repeat(5,1fr) / repeat(5,1fr);',\n\n '24.featured': `grid-template: repeat(11,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft';`,\n '24.r1by1.featured': `grid-template: repeat(9,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft x';`,\n\n '25': 'grid-template: repeat(5,1fr) / repeat(5,1fr);',\n '25.slim': 'grid-template: repeat(9,1fr) / repeat(3,1fr);',\n '25.r1by2': 'grid-template: repeat(7,1fr) / repeat(4,1fr);',\n '25.r1by1': 'grid-template: repeat(5,1fr) / repeat(5,1fr);',\n\n '25.featured': `grid-template: repeat(11,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' \n 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft';`,\n '25.r1by1.featured': `grid-template: repeat(10,1fr) / repeat(8,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft x';`,\n\n '26': 'grid-template: repeat(6,1fr) / repeat(5,1fr);',\n '26.slim': 'grid-template: repeat(9,1fr) / repeat(3,1fr);',\n '26.r1by2': 'grid-template: repeat(7,1fr) / repeat(4,1fr);',\n '26.r1by1': 'grid-template: repeat(6,1fr) / repeat(5,1fr);',\n\n '26.featured': `grid-template: repeat(11,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft'\n 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft' 'ft ft ft ft ft ft ft ft ft';`,\n '26.r1by1.featured': `grid-template: repeat(9,1fr) / repeat(9,1fr);\n grid-template-areas:\n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' \n 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft v' 'ft ft ft ft ft ft ft ft x';`,\n};\n\nconst responsiveStyles = {\n '2.featured': `\n @media (max-width: 600px) {\n grid-template-columns: 1fr;\n grid-template-rows: calc(100% / 3);\n grid-auto-rows: calc(100% / 3);\n }\n `,\n\n '3.r16by9': `\n @media (max-height: 600px) {\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: 50%;\n grid-auto-columns: 50%;\n grid-auto-flow: column;\n }\n `,\n\n '3.featured': `\n @media (max-width: 600px) {\n grid-template-areas: 'ft' 'ft';\n grid-template-columns: 1fr;\n grid-template-rows: 25%;\n grid-auto-rows: 25%;\n }\n `,\n\n '4.r16by9': `\n @media (max-height: 600px) {\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: 50%;\n grid-auto-columns: 50%;\n grid-auto-flow: column;\n }\n `,\n\n '5.r16by9': `grid-template: repeat(2,1fr) / repeat(3,1fr);\n @media (max-height: 600px) {\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: calc(100% / 3);\n grid-auto-columns: calc(100% / 3);\n grid-auto-flow: column;\n }\n `,\n\n '6.r16by9': `grid-template: repeat(2,1fr) / repeat(3,1fr);\n @media (max-height: 600px) {\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: calc(100% / 3);\n grid-auto-columns: calc(100% / 3);\n grid-auto-flow: column;\n }\n `,\n\n '7.r16by9': `\n @media (max-height: 600px) {\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: 25%;\n grid-auto-columns: 25%;\n grid-auto-flow: column;\n }\n `,\n};\n\nconst portraitStyles = `\n @media (max-width: 600px) {\n grid-template-areas: 'ft ft' 'ft ft';\n grid-template-columns: repeat(2,1fr);\n grid-template-rows: 25%;\n grid-auto-rows: 25%;\n }\n`;\n\nconst landscapeStyles = `\n @media (max-height: 600px) {\n grid-template-areas: 'ft ft' 'ft ft';\n grid-template-rows: repeat(2,1fr);\n grid-template-columns: 25%;\n grid-auto-columns: 25%;\n grid-auto-flow: column;\n }\n`;\n\nexport const StyledGrid = styled.div`\n position: relative;\n display: grid;\n height: 100%;\n width: 100%;\n overflow: auto;\n background-color: ${(props) => props.theme.videoGrid.bgd};\n\n ${({ size, featured }) =>\n ratioStyles[`${size}${featured ? '.featured' : ''}`] || ''}\n ${({ size, featured, ratio }) => {\n if (!ratio) {\n return;\n }\n\n let styles = '';\n const index = sortedRatios.indexOf(ratio);\n\n for (let i = 0; i <= index; i++) {\n const currentRatio = sortedRatios[i];\n const baseStyles =\n ratioStyles[`${size}.${currentRatio}${featured ? '.featured' : ''}`];\n styles += baseStyles || '';\n }\n\n const mobileStyles =\n responsiveStyles[`${size}.${ratio}${featured ? '.featured' : ''}`] ||\n responsiveStyles[`${size}${featured ? '.featured' : ''}`];\n\n if (mobileStyles) {\n styles += mobileStyles;\n } else if (ratio === 'r16by9' && (size > 7 || featured)) {\n styles += landscapeStyles;\n } else if (size > 7 || featured) {\n styles += portraitStyles;\n }\n\n return styles;\n }};\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { ellipsis } from '../../../utils/style';\nimport { baseSpacing, baseStyles } from '../Base';\nimport { VideoTileProps } from './';\n\nexport const StyledVideoTile = styled.div`\n height: 100%;\n width: 100%;\n position: relative;\n background: ${(props) => props.theme.colors.greys.grey100};\n\n video {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n object-fit: ${(props) => props.objectFit || 'cover'}};\n }\n\n .ch-icon {\n width: 1.5rem;\n height: 1.5rem;\n display: inline-block;\n background-color: papayawhip; /* TODO: figure out what this is supposed to be */\n margin-right: 0.5rem;\n flex: 0 0 1.5rem;\n }\n\n .ch-nameplate {\n backdrop-filter: blur(20px);\n background-color: rgba(46, 47, 52, 0.85);\n border-radius: 0.25rem;\n bottom: 0.5rem;\n color: ${(props) => props.theme.colors.greys.white};\n left: 0.5rem;\n max-width: calc(100% - 2rem);\n padding: 0.5rem;\n position: absolute;\n\n div {\n ${ellipsis};\n display: flex;\n align-items: center;\n }\n\n .ch-text {\n font-size: ${(props) => props.theme.fontSizes.text.fontSize};\n ${ellipsis};\n margin: 0;\n }\n }\n\n ${baseSpacing}\n ${baseStyles}\n`;\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/5039.f195d6c4.iframe.bundle.js b/5039.f195d6c4.iframe.bundle.js new file mode 100644 index 000000000..fbc64c5bb --- /dev/null +++ b/5039.f195d6c4.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[5039],{"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/WithTooltip-FBT32F6Q.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{WithToolTipState:()=>_chunk_E5IOH6B7_mjs__WEBPACK_IMPORTED_MODULE_0__.WA,WithTooltip:()=>_chunk_E5IOH6B7_mjs__WEBPACK_IMPORTED_MODULE_0__.WA,WithTooltipPure:()=>_chunk_E5IOH6B7_mjs__WEBPACK_IMPORTED_MODULE_0__.DG});var _chunk_E5IOH6B7_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-E5IOH6B7.mjs")}}]); \ No newline at end of file diff --git a/5698.a4079c7b.iframe.bundle.js b/5698.a4079c7b.iframe.bundle.js new file mode 100644 index 000000000..0c5f23776 --- /dev/null +++ b/5698.a4079c7b.iframe.bundle.js @@ -0,0 +1,435 @@ +"use strict";(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[5698],{"./src/components/ui/Button/PrimaryButton.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{K:()=>PrimaryButton,Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Button/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const PrimaryButton=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((props,ref)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(___WEBPACK_IMPORTED_MODULE_1__.Z,{variant:"primary",...props}))),__WEBPACK_DEFAULT_EXPORT__=PrimaryButton;try{PrimaryButton.displayName="PrimaryButton",PrimaryButton.__docgenInfo={description:"",displayName:"PrimaryButton",props:{icon:{defaultValue:null,description:"The icon element to be shown in the button.",name:"icon",required:!1,type:{name:"Element | undefined"}},label:{defaultValue:null,description:"The text of the button.",name:"label",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"The variant of button.",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"icon"'},{value:'"primary"'},{value:'"secondary"'}]}},selected:{defaultValue:null,description:"Whether or not the button is selected.",name:"selected",required:!1,type:{name:"boolean | undefined"}},iconSize:{defaultValue:null,description:"Defines the size of the icon in the button, it defaults to `sm`.",name:"iconSize",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"md"'},{value:'"lg"'},{value:'"sm"'}]}},disabled:{defaultValue:null,description:"Whether or not the button is disabled. *",name:"disabled",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Button/PrimaryButton.tsx#PrimaryButton"]={docgenInfo:PrimaryButton.__docgenInfo,name:"PrimaryButton",path:"src/components/ui/Button/PrimaryButton.tsx#PrimaryButton"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Flex/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{k:()=>Flex,Z:()=>ui_Flex});__webpack_require__("./node_modules/react/index.js");var styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),Base=__webpack_require__("./src/components/ui/Base/index.ts");const fillSpace=styled_components_browser_esm.iv` + display: flex; + width: 100%; + height: 100%; +`,layoutMap={"fill-space":fillSpace,"fill-space-centered":styled_components_browser_esm.iv` + ${fillSpace}; + align-items: center; + justify-content: center; +`,"equal-columns":styled_components_browser_esm.iv` + display: flex; + flex-direction: row; + height: 100%; + align-items: stretch; + + > * { + flex-grow: 1; + flex-basis: 50%; + } +`,stack:styled_components_browser_esm.iv` + display: flex; + flex-direction: column; + align-items: center; + + > * { + width: 100%; + } +`},StyledFlex=styled_components_browser_esm.ZP.div` + align-items: ${props=>props.alignItems}; + display: ${props=>props.container?"flex":"block"}; + flex: ${props=>props.flex||""}; + flex-basis: ${props=>props.flexBasis}; + flex-direction: ${props=>props.flexDirection}; + flex-grow: ${props=>props.flexGrow||""}; + flex-shrink: ${props=>props.flexShrink}; + flex-wrap: ${props=>props.flexWrap}; + justify-content: ${props=>props.justifyContent}; + + // layout variants + ${props=>!!props.layout&&layoutMap[props.layout]} + + ${Base.K} + ${Base.T} +`;try{StyledFlex.displayName="StyledFlex",StyledFlex.__docgenInfo={description:"",displayName:"StyledFlex",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},layout:{defaultValue:null,description:"The pre-defined layout.",name:"layout",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"stack"'},{value:'"fill-space"'},{value:'"fill-space-centered"'},{value:'"equal-columns"'}]}},alignItems:{defaultValue:null,description:"Defines the default behavior for how flex items are laid out along the cross axis on the current line.",name:"alignItems",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"inherit"'},{value:'"initial"'},{value:'"center"'},{value:'"baseline"'},{value:'"flex-end"'},{value:'"flex-start"'},{value:'"stretch"'}]}},container:{defaultValue:null,description:"If `true`, display = `flex`, otherwise, display = `block`.",name:"container",required:!1,type:{name:"boolean | undefined"}},flexDirection:{defaultValue:null,description:"Establishes the main-axis, thus defining the direction flex items are placed in the flex container.",name:"flexDirection",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"row"'},{value:'"column"'}]}},flexWrap:{defaultValue:null,description:"By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property.",name:"flexWrap",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"wrap"'},{value:'"nowrap"'},{value:'"wrap-reverse"'}]}},flex:{defaultValue:null,description:"Shorthand for flex-grow, flex-shrink and flex-basis combined.",name:"flex",required:!1,type:{name:"string | undefined"}},flexBasis:{defaultValue:null,description:"Defines the default size of an element before the remaining space is distributed.",name:"flexBasis",required:!1,type:{name:"number | undefined"}},flexGrow:{defaultValue:null,description:"Defines the ability for a flex item to grow if necessary.",name:"flexGrow",required:!1,type:{name:"number | undefined"}},flexShrink:{defaultValue:null,description:"Defines the ability for a flex item to shrink if necessary.",name:"flexShrink",required:!1,type:{name:"number | undefined"}},justifyContent:{defaultValue:null,description:"Defines the alignment along the main axis.",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"inherit"'},{value:'"initial"'},{value:'"center"'},{value:'"flex-end"'},{value:'"flex-start"'},{value:'"space-between"'},{value:'"space-around"'}]}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Flex/Styled.tsx#StyledFlex"]={docgenInfo:StyledFlex.__docgenInfo,name:"StyledFlex",path:"src/components/ui/Flex/Styled.tsx#StyledFlex"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const Flex=({children,className,tag,alignItems="stretch",container=!1,flexBasis="auto",flexDirection="row",flexShrink=1,flexWrap="nowrap",justifyContent="flex-start",...props})=>(0,jsx_runtime.jsx)(StyledFlex,{alignItems,container,flexBasis,flexDirection,flexShrink,flexWrap,justifyContent,as:tag,"data-testid":"flex",className:className||"",...props,children});Flex.displayName="Flex";const ui_Flex=Flex;try{Flex.displayName="Flex",Flex.__docgenInfo={description:"",displayName:"Flex",props:{alignItems:{defaultValue:{value:"stretch"},description:"Defines the default behavior for how flex items are laid out along the cross axis on the current line.",name:"alignItems",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"inherit"'},{value:'"initial"'},{value:'"center"'},{value:'"baseline"'},{value:'"flex-end"'},{value:'"flex-start"'},{value:'"stretch"'}]}},container:{defaultValue:{value:"false"},description:"If `true`, display = `flex`, otherwise, display = `block`.",name:"container",required:!1,type:{name:"boolean | undefined"}},flexDirection:{defaultValue:{value:"row"},description:"Establishes the main-axis, thus defining the direction flex items are placed in the flex container.",name:"flexDirection",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"row"'},{value:'"column"'}]}},flexWrap:{defaultValue:{value:"nowrap"},description:"By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property.",name:"flexWrap",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"wrap"'},{value:'"nowrap"'},{value:'"wrap-reverse"'}]}},flex:{defaultValue:null,description:"Shorthand for flex-grow, flex-shrink and flex-basis combined.",name:"flex",required:!1,type:{name:"string | undefined"}},flexBasis:{defaultValue:{value:"auto"},description:"Defines the default size of an element before the remaining space is distributed.",name:"flexBasis",required:!1,type:{name:"number | undefined"}},flexGrow:{defaultValue:null,description:"Defines the ability for a flex item to grow if necessary.",name:"flexGrow",required:!1,type:{name:"number | undefined"}},flexShrink:{defaultValue:{value:"1"},description:"Defines the ability for a flex item to shrink if necessary.",name:"flexShrink",required:!1,type:{name:"number | undefined"}},justifyContent:{defaultValue:{value:"flex-start"},description:"Defines the alignment along the main axis.",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"inherit"'},{value:'"initial"'},{value:'"center"'},{value:'"flex-end"'},{value:'"flex-start"'},{value:'"space-between"'},{value:'"space-around"'}]}},layout:{defaultValue:null,description:"The pre-defined layout.",name:"layout",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"stack"'},{value:'"fill-space"'},{value:'"fill-space-centered"'},{value:'"equal-columns"'}]}},style:{defaultValue:null,description:"Additional style of the flex",name:"style",required:!1,type:{name:"{} | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Flex/index.tsx#Flex"]={docgenInfo:Flex.__docgenInfo,name:"Flex",path:"src/components/ui/Flex/index.tsx#Flex"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/FormField/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{W:()=>FormField,Z:()=>ui_FormField});var react=__webpack_require__("./node_modules/react/index.js"),useUniqueId=__webpack_require__("./src/hooks/useUniqueId/index.tsx"),Label=__webpack_require__("./src/components/ui/Label/index.tsx"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),Base=__webpack_require__("./src/components/ui/Base/index.ts");const stack=styled_components_browser_esm.iv` + &.ch-form-field-input, + &.ch-form-field-select, + &.ch-form-field-textarea { + display: flex; + flex-direction: column; + + label { + display: block; + margin-bottom: 0.5rem; + } + + input, + select { + width: 100%; + } + } + + &.ch-form-field-checkbox { + display: grid; + grid-template-columns: 1.5rem 1fr; + grid-template-rows: auto; + gap: 0px 0.5rem; + + .ch-checkbox { + grid-column: 1; + grid-row: 1; + } + + .ch-checkbox-label { + line-height: 1.3; + grid-column: 2; + } + + .ch-help-text { + grid-row: 2; + grid-column: 1/3; + } + } + + &.ch-form-field-radiogroup { + flex-direction: column; + + .ch-radio-wrapper { + display: block; + margin-bottom: 0.5rem; + padding-left: 0.125rem; + display: grid; + grid-template-columns: 1.5rem 1fr; + grid-template-rows: auto; + + align-items: center; + } + + .ch-radio-label { + margin-left: 1rem; + position: relative; + bottom: -0.5px; + } + } +`,layoutMap={stack,horizontal:styled_components_browser_esm.iv` + @media (max-width: 599px) { + ${stack}; + } + + @media (min-width: 600px) { + &.ch-form-field-input, + &.ch-form-field-select, + &.ch-form-field-textarea, + &.ch-form-field-checkbox { + display: grid; + grid-template-columns: 30% 1fr; + grid-template-rows: auto; + gap: 0px 0.5rem; + align-items: center; + + input { + width: 100%; + } + + .ch-help-text { + grid-column: 2; + } + } + + &.ch-form-field-radiogroup { + flex-wrap: wrap; + + fieldset { + width: 100%; + } + + .ch-radio-wrapper { + display: grid; + grid-template-columns: 30% 1fr; + grid-template-rows: auto; + gap: 0px 0.5rem; + align-items: center; + margin-bottom: 0.5rem; + } + + .ch-radio { + grid-column: 2; + grid-row: 1; + margin-top: -4px; + } + + .ch-radio-label { + grid-column: 1; + padding-right: 1rem; + margin-left: 0; + } + + .ch-help-text { + width: 100%; + } + } + } +`,"input-only":styled_components_browser_esm.iv` + &.ch-form-field-input, + &.ch-form-field-select, + &.ch-form-field-textarea { + display: flex; + flex-direction: column; + + input { + width: 100%; + } + } + + &.ch-form-field-checkbox { + display: flex; + flex-wrap: wrap; + align-items: center; + + .ch-checkbox { + order: 1; + } + + .ch-checkbox-label { + order: 2; + padding-left: 1rem; + } + + .ch-help-text { + width: 100%; + order: 3; + } + } + + &.ch-form-field-radiogroup { + flex-direction: column; + + .ch-radio-wrapper { + display: block; + margin-bottom: 0.5rem; + } + + .ch-radio-label { + margin-left: 1rem; + } + } +`},StyledFormField=styled_components_browser_esm.ZP.div` + display: flex; + margin-bottom: 1rem; + position: relative; + + fieldset { + margin: 0; + border: none; + padding: 0; + } + + .ch-help-text { + font-size: ${props=>props.theme.fontSizes.small.fontSize}; + margin-top: 0.5rem; + color: ${props=>props.error?props.theme.inputs.error.fontColor:props.theme.inputs.fontColor}; + } + + legend { + font-size: ${props=>props.theme.fontSizes.text.fontSize}; + color: ${props=>props.theme.inputs.fontColor}; + margin-bottom: 0.5rem; + } + + ${props=>!!props.layout&&layoutMap[props.layout]} + + ${Base.K} + ${Base.T} +`;try{StyledFormField.displayName="StyledFormField",StyledFormField.__docgenInfo={description:"",displayName:"StyledFormField",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean | undefined"}},layout:{defaultValue:null,description:"Specify the layout of the field, it defaults to `stack`.",name:"layout",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"stack"'},{value:'"horizontal"'},{value:'"input-only"'}]}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/FormField/Styled.tsx#StyledFormField"]={docgenInfo:StyledFormField.__docgenInfo,name:"StyledFormField",path:"src/components/ui/FormField/Styled.tsx#StyledFormField"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const FormField=(0,react.forwardRef)(((props,ref)=>{const{field:Field,label,layout="stack",errorText,fieldProps,infoText,error,onChange,value,checked,options,className,...rest}=props,displayName=Field.displayName?.toLowerCase()||"",labelId=(0,useUniqueId.Z)(),descriptionId=(0,useUniqueId.Z)(),helpText=error&&errorText||infoText;return(0,jsx_runtime.jsxs)(StyledFormField,{layout,error,className:`ch-form-field-${displayName} ${className||""}`,"data-testid":"form-field",...rest,children:["input-only"===layout&&"checkbox"!==displayName?null:"radiogroup"!==displayName&&(0,jsx_runtime.jsx)(Label.Z,{htmlFor:labelId,className:`ch-${displayName}-label`,children:label}),"radiogroup"===displayName?(0,jsx_runtime.jsxs)("fieldset",{"aria-describedby":helpText&&descriptionId,"aria-invalid":error,children:[label&&(0,jsx_runtime.jsx)("legend",{children:label}),(0,jsx_runtime.jsx)(Field,{options,ref,id:labelId,onChange,value,...fieldProps})]}):(0,jsx_runtime.jsx)(Field,{options,"aria-label":"input-only"===layout&&label||null,"aria-describedby":helpText&&descriptionId,"aria-invalid":error,ref,id:labelId,onChange,value,checked,...fieldProps}),helpText&&(0,jsx_runtime.jsx)("span",{className:"ch-help-text",id:descriptionId,children:helpText})]})})),ui_FormField=FormField;try{FormField.displayName="FormField",FormField.__docgenInfo={description:"",displayName:"FormField",props:{onChange:{defaultValue:null,description:"The callback fired when the state is changed.",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},label:{defaultValue:null,description:"The label of the field.",name:"label",required:!0,type:{name:"string"}},field:{defaultValue:null,description:"The type of the field.",name:"field",required:!0,type:{name:"FieldType"}},infoText:{defaultValue:null,description:"The informational text in the field.",name:"infoText",required:!1,type:{name:"string | undefined"}},error:{defaultValue:null,description:"Whether or not the error text is shown.",name:"error",required:!1,type:{name:"boolean | undefined"}},errorText:{defaultValue:null,description:"The error text in the field.",name:"errorText",required:!1,type:{name:"string | undefined"}},fieldProps:{defaultValue:null,description:"Additional props for field component.",name:"fieldProps",required:!1,type:{name:"any"}},value:{defaultValue:null,description:"The value of the field.",name:"value",required:!0,type:{name:"string"}},checked:{defaultValue:null,description:"Whether or not the field is checked.",name:"checked",required:!1,type:{name:"boolean | undefined"}},options:{defaultValue:null,description:"Options for some fields, e.g. radio group or select.",name:"options",required:!1,type:{name:"string[] | object[] | undefined"}},layout:{defaultValue:null,description:"Specify the layout of the field, it defaults to `stack`.",name:"layout",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"stack"'},{value:'"horizontal"'},{value:'"input-only"'}]}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/FormField/index.tsx#FormField"]={docgenInfo:FormField.__docgenInfo,name:"FormField",path:"src/components/ui/FormField/index.tsx#FormField"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Heading/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>ui_Heading});var react=__webpack_require__("./node_modules/react/index.js"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),Base=__webpack_require__("./src/components/ui/Base/index.ts");const StyledHeading=styled_components_browser_esm.ZP.h1` + display: block; + margin: 0; + + font-size: ${props=>props.theme.fontSizes[`h${props.level}`].mobile.fontSize}; + font-weight: ${props=>props.theme.fontSizes[`h${props.level}`].mobile.fontWeight}; + line-height: ${props=>props.theme.fontSizes[`h${props.level}`].mobile.lineHeight}; + + ${({theme})=>theme.mediaQueries.min.md} { + font-size: ${props=>props.theme.fontSizes[`h${props.level}`].fontSize}; + font-weight: ${props=>props.theme.fontSizes[`h${props.level}`].fontWeight}; + line-height: ${props=>props.theme.fontSizes[`h${props.level}`].lineHeight}; + } + + ${Base.K} + ${Base.T} +`;try{StyledHeading.displayName="StyledHeading",StyledHeading.__docgenInfo={description:"",displayName:"StyledHeading",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLHeadingElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},level:{defaultValue:null,description:"The level of heading from 1 to 6. 1 defines the most important heading, 6 defines the least important heading.",name:"level",required:!0,type:{name:"enum",value:[{value:"4"},{value:"2"},{value:"1"},{value:"3"},{value:"5"},{value:"6"}]}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Heading/Styled.tsx#StyledHeading"]={docgenInfo:StyledHeading.__docgenInfo,name:"StyledHeading",path:"src/components/ui/Heading/Styled.tsx#StyledHeading"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const Heading=(0,react.forwardRef)(((props,ref)=>{const{tag,children,className,level,...rest}=props;return(0,jsx_runtime.jsx)(StyledHeading,{as:tag||`h${level}`,className:className||"",level,ref,"data-testid":"heading",...rest,children})})),ui_Heading=Heading;try{Heading.displayName="Heading",Heading.__docgenInfo={description:"",displayName:"Heading",props:{children:{defaultValue:null,description:"The children element(s) within a heading.",name:"children",required:!0,type:{name:"ReactNode | ReactNode[]"}},level:{defaultValue:null,description:"The level of heading from 1 to 6. 1 defines the most important heading, 6 defines the least important heading.",name:"level",required:!0,type:{name:"enum",value:[{value:"4"},{value:"2"},{value:"1"},{value:"3"},{value:"5"},{value:"6"}]}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string | undefined"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"Optional class names to apply to the element",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Heading/index.tsx#Heading"]={docgenInfo:Heading.__docgenInfo,name:"Heading",path:"src/components/ui/Heading/index.tsx#Heading"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Label/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{_:()=>Label,Z:()=>ui_Label});var react=__webpack_require__("./node_modules/react/index.js"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),Base=__webpack_require__("./src/components/ui/Base/index.ts");const StyledLabel=styled_components_browser_esm.ZP.label` + color: ${props=>props.theme.inputs.fontColor}; + font-size: ${props=>props.theme.fontSizes.label.fontSize}; + line-height: ${props=>props.theme.fontSizes.label.lineHeight}; + + ${Base.K} + ${Base.T} +`;try{StyledLabel.displayName="StyledLabel",StyledLabel.__docgenInfo={description:"",displayName:"StyledLabel",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLLabelElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Label/Styled.tsx#StyledLabel"]={docgenInfo:StyledLabel.__docgenInfo,name:"StyledLabel",path:"src/components/ui/Label/Styled.tsx#StyledLabel"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const Label=(0,react.forwardRef)(((props,ref)=>{const{className,tag,...rest}=props;return(0,jsx_runtime.jsx)(StyledLabel,{as:tag,"data-testid":"label",className:className||"",...rest,children:props.children})})),ui_Label=Label;try{Label.displayName="Label",Label.__docgenInfo={description:"",displayName:"Label",props:{tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Label/index.tsx#Label"]={docgenInfo:Label.__docgenInfo,name:"Label",path:"src/components/ui/Label/index.tsx#Label"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Modal/ModalBody.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Styled__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Modal/Styled.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ModalBody=({children,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Styled__WEBPACK_IMPORTED_MODULE_1__.iE,{"data-testid":"modal-body",...rest,children});ModalBody.displayName="ModalBody";const __WEBPACK_DEFAULT_EXPORT__=ModalBody;try{ModalBody.displayName="ModalBody",ModalBody.__docgenInfo={description:"",displayName:"ModalBody",props:{tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Modal/ModalBody.tsx#ModalBody"]={docgenInfo:ModalBody.__docgenInfo,name:"ModalBody",path:"src/components/ui/Modal/ModalBody.tsx#ModalBody"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Modal/ModalButton.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Button__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Button/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ModalButton=({closesModal,...rest})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_1__.Z,{...rest});ModalButton.displayName="ModalButton";const __WEBPACK_DEFAULT_EXPORT__=ModalButton;try{ModalButton.displayName="ModalButton",ModalButton.__docgenInfo={description:"",displayName:"ModalButton",props:{closesModal:{defaultValue:null,description:"Whether or not modal button(s) should have the ability to close the modal. By default, you can only close the modal by clicking the close icon button in the modal.",name:"closesModal",required:!1,type:{name:"boolean | undefined"}},icon:{defaultValue:null,description:"The icon element to be shown in the button.",name:"icon",required:!1,type:{name:"Element | undefined"}},label:{defaultValue:null,description:"The text of the button.",name:"label",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"The variant of button.",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"icon"'},{value:'"primary"'},{value:'"secondary"'}]}},selected:{defaultValue:null,description:"Whether or not the button is selected.",name:"selected",required:!1,type:{name:"boolean | undefined"}},iconSize:{defaultValue:null,description:"Defines the size of the icon in the button, it defaults to `sm`.",name:"iconSize",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"md"'},{value:'"lg"'},{value:'"sm"'}]}},disabled:{defaultValue:null,description:"Whether or not the button is disabled. *",name:"disabled",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Modal/ModalButton.tsx#ModalButton"]={docgenInfo:ModalButton.__docgenInfo,name:"ModalButton",path:"src/components/ui/Modal/ModalButton.tsx#ModalButton"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Modal/ModalButtonGroup.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),_ModalContext__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/Modal/ModalContext.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/Modal/Styled.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ModalButtonGroup=({primaryButtons,secondaryButtons,...rest})=>{const logger=(0,_providers_LoggerProvider__WEBPACK_IMPORTED_MODULE_1__.wL)(),context=(0,_ModalContext__WEBPACK_IMPORTED_MODULE_2__.vR)(),addCloseBehaviorToButton=button=>react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(button,{onClick:()=>{button.props.onClick&&button.props.onClick(),button.props.closesModal&&context.onClose()},key:button.props.label}),addCloseBehaviorToButtons=buttons=>!context.dismissible||!buttons||buttons instanceof Array&&0===buttons.length?(context.dismissible&&logger.warn("the 'dismissible prop prevents buttons from closing the modal"),buttons):buttons instanceof Array?buttons.map(addCloseBehaviorToButton):addCloseBehaviorToButton(buttons);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_3__.vv,{"data-testid":"modal-button-group",...rest,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div",{children:addCloseBehaviorToButtons(primaryButtons)},"primarybuttons"),secondaryButtons&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div",{children:addCloseBehaviorToButtons(secondaryButtons)},"secondarybuttons")]})};ModalButtonGroup.displayName="ModalButtonGroup";const __WEBPACK_DEFAULT_EXPORT__=ModalButtonGroup;try{ModalButtonGroup.displayName="ModalButtonGroup",ModalButtonGroup.__docgenInfo={description:"",displayName:"ModalButtonGroup",props:{primaryButtons:{defaultValue:null,description:"Defines the primary button(s) in the modal.",name:"primaryButtons",required:!0,type:{name:"ReactElement> | ReactElement>[]"}},secondaryButtons:{defaultValue:null,description:"Defines the secondary button(s) in the modal.",name:"secondaryButtons",required:!1,type:{name:"ReactElement> | ReactElement>[] | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Modal/ModalButtonGroup.tsx#ModalButtonGroup"]={docgenInfo:ModalButtonGroup.__docgenInfo,name:"ModalButtonGroup",path:"src/components/ui/Modal/ModalButtonGroup.tsx#ModalButtonGroup"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Modal/ModalContext.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{ZP:()=>__WEBPACK_DEFAULT_EXPORT__,vR:()=>useModalContext});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const ModalContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({onClose(){},labelID:"",dismissible:!0}),useModalContext=()=>(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ModalContext),__WEBPACK_DEFAULT_EXPORT__=ModalContext},"./src/components/ui/Modal/ModalHeader.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Button_IconButton__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Button/IconButton.tsx"),_icons_Remove__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/icons/Remove/index.tsx"),_ModalContext__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/Modal/ModalContext.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/ui/Modal/Styled.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ModalHeader=({tag:Tag="div",displayClose=!0,title,...rest})=>{const context=(0,_ModalContext__WEBPACK_IMPORTED_MODULE_3__.vR)();return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_4__.sO,{...rest,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(Tag,{className:"ch-title",id:context.labelID,children:title}),displayClose&&context?.dismissible&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("span",{className:"ch-close-button",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_Button_IconButton__WEBPACK_IMPORTED_MODULE_1__.Z,{label:"Close",icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_icons_Remove__WEBPACK_IMPORTED_MODULE_2__.Z,{}),onClick:()=>context&&context.onClose()})})]})};ModalHeader.displayName="ModalHeader";const __WEBPACK_DEFAULT_EXPORT__=ModalHeader;try{ModalHeader.displayName="ModalHeader",ModalHeader.__docgenInfo={description:"",displayName:"ModalHeader",props:{title:{defaultValue:null,description:"The title of the header in the modal.",name:"title",required:!0,type:{name:"string"}},displayClose:{defaultValue:{value:"true"},description:"Whether or not the close icon is shown on the modal.",name:"displayClose",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Modal/ModalHeader.tsx#ModalHeader"]={docgenInfo:ModalHeader.__docgenInfo,name:"ModalHeader",path:"src/components/ui/Modal/ModalHeader.tsx#ModalHeader"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Modal/Styled.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{iE:()=>StyledModalBody,oA:()=>StyledModal,sO:()=>StyledModalHeader,vv:()=>StyledModalButtonGroup});var styled_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_utils_animations__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/utils/animations.ts"),_Base__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Base/index.ts");const StyledModal=styled_components__WEBPACK_IMPORTED_MODULE_2__.ZP.div` + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: ${props=>props.theme.modal.wrapperBgd}; + display: flex; + align-items: center; + justify-content: center; + z-index: ${props=>props.theme.zIndex.modal}; + overflow-x: hidden; + animation: ${_utils_animations__WEBPACK_IMPORTED_MODULE_0__.q} 0.25s ease 0s forwards; + will-change: opacity; + + > section { + position: relative; + display: flex; + flex-direction: column; + justify-content: center; + border-radius: ${props=>props.theme.radii.default}; + color: ${props=>props.theme.modal.text}; + background-color: ${props=>props.theme.modal.bgd}; + width: ${props=>props.theme.modalSizes[props.size||"md"].width}; + box-shadow: ${props=>props.theme.modal.shadow}; + max-width: ${props=>"fullscreen"===props.size?props.theme.modalSizes[props.size].width:"90vw"}; + height: ${props=>"fullscreen"===props.size?props.theme.modalSizes[props.size].height:"auto"}; + max-height: ${props=>props.theme.modalSizes[props.size||"md"].height}; + will-change: transform, opacity; + animation: ${_utils_animations__WEBPACK_IMPORTED_MODULE_0__.v} 0.15s ease 0s forwards; + + @media only screen and (max-height: 25rem) { + position: absolute; + top: 2rem; + height: auto; + max-height: none; + } + } + + ${_Base__WEBPACK_IMPORTED_MODULE_1__.K} + ${_Base__WEBPACK_IMPORTED_MODULE_1__.T} +`,StyledModalHeader=styled_components__WEBPACK_IMPORTED_MODULE_2__.ZP.header` + padding: 1rem 1.5rem; + + .ch-close-button { + position: absolute; + right: 1.55rem; + top: 1rem; + } + + .ch-title { + padding-right: 2rem; + margin: 0; + font-size: ${props=>props.theme.modal.titleSize}; + font-weight: ${props=>props.theme.modal.titleWeight}; + } + + ${_Base__WEBPACK_IMPORTED_MODULE_1__.K} + ${_Base__WEBPACK_IMPORTED_MODULE_1__.T} +`,StyledModalBody=styled_components__WEBPACK_IMPORTED_MODULE_2__.ZP.div` + font-size: ${props=>props.theme.fontSizes.text.fontSize}; + line-height: ${props=>props.theme.fontSizes.text.lineHeight}; + padding: 0 1.5rem; + flex-grow: 1; + overflow-y: auto; + + ${_Base__WEBPACK_IMPORTED_MODULE_1__.K} + ${_Base__WEBPACK_IMPORTED_MODULE_1__.T} +`,StyledModalButtonGroup=styled_components__WEBPACK_IMPORTED_MODULE_2__.ZP.footer` + padding: 1.5rem; + border-top: 1px solid ${props=>props.theme.modal.border}; + display: flex; + flex-direction: row-reverse; + justify-content: space-between; + + div:first-child { + display: flex; + flex-direction: row-reverse; + } + + button + button { + margin: 0 0.5rem 0 0.5rem; + } + + @media (max-width: 35rem) { + flex-direction: column; + + button { + width: 100%; + } + + div:first-child { + display: flex; + flex-direction: column; + } + + button + button, + div + div { + margin: 0.5rem 0 0; + } + } + + ${_Base__WEBPACK_IMPORTED_MODULE_1__.K} + ${_Base__WEBPACK_IMPORTED_MODULE_1__.T} +`},"./src/components/ui/Modal/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>ui_Modal});var react=__webpack_require__("./node_modules/react/index.js"),constants=__webpack_require__("./src/constants/index.ts"),useClickOutside=__webpack_require__("./src/hooks/useClickOutside/index.tsx"),useUniqueId=__webpack_require__("./src/hooks/useUniqueId/index.tsx");const trap_focus=(e,content)=>{if(!content)return;const focusableElements=content.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),firstFocusableEl=focusableElements[0],lastFocusableEl=focusableElements[focusableElements.length-1];e.keyCode!==constants.n.TAB&&"Tab"!==e.code||(e.shiftKey&&document.activeElement===firstFocusableEl?(e.preventDefault(),lastFocusableEl.focus()):e.shiftKey||document.activeElement!==lastFocusableEl||(e.preventDefault(),firstFocusableEl.focus()))};var Portal=__webpack_require__("./src/components/ui/Portal/index.tsx"),ModalContext=__webpack_require__("./src/components/ui/Modal/ModalContext.tsx"),Styled=__webpack_require__("./src/components/ui/Modal/Styled.ts"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const Modal=({size="md",onClose=()=>null,children,rootId,dismissible=!0,...rest})=>{const labelID=(0,useUniqueId.Z)(),contentEl=(0,react.useRef)(null),mainEl=(0,react.useRef)(null),modalContext={onClose,labelID,dismissible};return dismissible&&(0,useClickOutside.Z)(mainEl,onClose),(0,react.useEffect)((()=>{const activeNode=document.activeElement;return()=>!!activeNode&&activeNode.focus()}),[]),(0,react.useEffect)((()=>{setTimeout((()=>mainEl.current?.focus()),0);const onKeydown=e=>{e.keyCode===constants.n.ESCAPE&&onClose?onClose():trap_focus(e,contentEl.current)};return window.addEventListener("keydown",onKeydown),()=>window.removeEventListener("keydown",onKeydown)}),[]),(0,jsx_runtime.jsx)(Portal.Z,{rootId,children:(0,jsx_runtime.jsx)(ModalContext.ZP.Provider,{value:modalContext,children:(0,jsx_runtime.jsx)(Styled.oA,{...rest,size,onClose,ref:contentEl,"data-testid":"modal",children:(0,jsx_runtime.jsx)("section",{"aria-modal":!0,ref:mainEl,role:"dialog",tabIndex:0,"aria-labelledby":labelID,children})})})})};Modal.displayName="Modal";const ui_Modal=Modal;try{Modal.displayName="Modal",Modal.__docgenInfo={description:"",displayName:"Modal",props:{onClose:{defaultValue:{value:"() => null"},description:"The callback fired when the modal is closed.",name:"onClose",required:!1,type:{name:"(() => void) | undefined"}},size:{defaultValue:{value:"md"},description:"The size of the modal.",name:"size",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"fullscreen"'},{value:'"md"'},{value:'"lg"'}]}},rootId:{defaultValue:null,description:"The rootId of the modal.",name:"rootId",required:!1,type:{name:"string | undefined"}},dismissible:{defaultValue:{value:"true"},description:"Optional prop to prevent the modal from closing.",name:"dismissible",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Modal/index.tsx#Modal"]={docgenInfo:Modal.__docgenInfo,name:"Modal",path:"src/components/ui/Modal/index.tsx#Modal"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Portal/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),react_dom__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react-dom/index.js");const Portal=({children,rootId})=>{let el,newRoot;const[mount,setMount]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)();return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>(rootId&&(el=document.getElementById(rootId)),el?setMount(el):(newRoot=document.createElement("div"),document.body.appendChild(newRoot),setMount(newRoot)),()=>{newRoot&&newRoot.remove()})),[rootId]),mount?(0,react_dom__WEBPACK_IMPORTED_MODULE_1__.createPortal)(children,mount):null},__WEBPACK_DEFAULT_EXPORT__=Portal;try{Portal.displayName="Portal",Portal.__docgenInfo={description:"",displayName:"Portal",props:{rootId:{defaultValue:null,description:"Specifies the DOM node that the children of the portal will be render into.",name:"rootId",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Portal/index.tsx#Portal"]={docgenInfo:Portal.__docgenInfo,name:"Portal",path:"src/components/ui/Portal/index.tsx#Portal"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Radio/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>ui_Radio});var react=__webpack_require__("./node_modules/react/index.js"),useUniqueId=__webpack_require__("./src/hooks/useUniqueId/index.tsx"),Label=__webpack_require__("./src/components/ui/Label/index.tsx"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),style=__webpack_require__("./src/utils/style.ts");const HiddenRadio=styled_components_browser_esm.ZP.input` + ${style.jy}; + + &[aria-invalid='true'] + .ch-radio { + border: ${props=>props.theme.inputs.error.border}; + box-shadow: ${props=>props.theme.inputs.error.shadow}; + } +`,StyledRadioWrapper=styled_components_browser_esm.ZP.span` + > label { + margin-left: 0.5rem; + } +`,StyledRadio=styled_components_browser_esm.ZP.div` + background-color: ${props=>props.theme.inputs.bgd}; + border: ${props=>props.theme.inputs.border}; + border-radius: ${props=>props.theme.radii.circle}; + box-shadow: ${props=>props.theme.inputs.shadow}; + margin-bottom: -0.1875rem; + transition: box-shadow 0.05s ease-in; + + ${HiddenRadio}:checked ~ & { + background-color: ${props=>props.theme.inputs.checked.bgd}; + border: ${props=>props.theme.inputs.checked.border}; + box-shadow: ${props=>props.theme.inputs.checked.shadow}; + } + + ${HiddenRadio}:focus ~ & { + border: ${props=>props.theme.inputs.focus.border}; + box-shadow: ${props=>props.theme.inputs.focus.shadow}; + } +`,StyledRadioLabel=(0,styled_components_browser_esm.ZP)(StyledRadio)` + display: inline-block; + height: 1rem; + position: relative; + width: 1rem; + + &:after { + background-color: ${props=>props.checked?props.theme.inputs.checked.fontColor:props.theme.inputs.bgd}; + border-radius: ${props=>props.theme.radii.circle}; + content: ''; + display: block; + height: 0.375rem; + padding: 0.03125rem; + width: 0.375rem; + ${style.Ls}; + } +`,StyledRadioIcon=(0,styled_components_browser_esm.ZP)(StyledRadio)` + display: flex; + align-items: center; + justify-content: center; + padding: 0.5rem; + border-color: ${props=>props.theme.colors.greys.white}; + box-shadow: none; + margin: 0.1rem; + + ${HiddenRadio}:checked ~ & { + svg { + stroke: ${props=>props.theme.colors.greys.white}; + } + } +`;try{HiddenRadio.displayName="HiddenRadio",HiddenRadio.__docgenInfo={description:"",displayName:"HiddenRadio",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLInputElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Radio/Styled.tsx#HiddenRadio"]={docgenInfo:HiddenRadio.__docgenInfo,name:"HiddenRadio",path:"src/components/ui/Radio/Styled.tsx#HiddenRadio"})}catch(__react_docgen_typescript_loader_error){}try{StyledRadioWrapper.displayName="StyledRadioWrapper",StyledRadioWrapper.__docgenInfo={description:"",displayName:"StyledRadioWrapper",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLSpanElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Radio/Styled.tsx#StyledRadioWrapper"]={docgenInfo:StyledRadioWrapper.__docgenInfo,name:"StyledRadioWrapper",path:"src/components/ui/Radio/Styled.tsx#StyledRadioWrapper"})}catch(__react_docgen_typescript_loader_error){}try{StyledRadio.displayName="StyledRadio",StyledRadio.__docgenInfo={description:"",displayName:"StyledRadio",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Radio/Styled.tsx#StyledRadio"]={docgenInfo:StyledRadio.__docgenInfo,name:"StyledRadio",path:"src/components/ui/Radio/Styled.tsx#StyledRadio"})}catch(__react_docgen_typescript_loader_error){}try{StyledRadioLabel.displayName="StyledRadioLabel",StyledRadioLabel.__docgenInfo={description:"",displayName:"StyledRadioLabel",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Radio/Styled.tsx#StyledRadioLabel"]={docgenInfo:StyledRadioLabel.__docgenInfo,name:"StyledRadioLabel",path:"src/components/ui/Radio/Styled.tsx#StyledRadioLabel"})}catch(__react_docgen_typescript_loader_error){}try{StyledRadioIcon.displayName="StyledRadioIcon",StyledRadioIcon.__docgenInfo={description:"",displayName:"StyledRadioIcon",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Radio/Styled.tsx#StyledRadioIcon"]={docgenInfo:StyledRadioIcon.__docgenInfo,name:"StyledRadioIcon",path:"src/components/ui/Radio/Styled.tsx#StyledRadioIcon"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const Radio=props=>{const{value,checked,label,icon,onChange,testId,...rest}=props,radioNode=(0,react.useRef)(null),labelId=(0,useUniqueId.Z)(),handleChange=()=>{radioNode.current?.click(),radioNode.current?.focus()};return(0,jsx_runtime.jsxs)(StyledRadioWrapper,{className:"ch-radio-wrapper","data-testid":testId,children:[(0,jsx_runtime.jsx)(HiddenRadio,{checked,id:labelId,onChange,type:"radio",value,ref:radioNode,"data-testid":"hidden-radio","aria-label":label,...rest}),icon?(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:(0,jsx_runtime.jsx)(StyledRadioIcon,{checked,className:"ch-radio",onClick:handleChange,"data-testid":"styled-radio-icon",children:(0,jsx_runtime.jsx)("span",{className:"ch-icon",children:icon})})}):(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(StyledRadioLabel,{checked,className:"ch-radio",onClick:handleChange,"data-testid":"styled-radio"}),(0,jsx_runtime.jsx)(Label.Z,{htmlFor:labelId,className:"ch-radio-label",children:label})]})]})};Radio.displayName="Radio",Radio.displayName="Radio";const ui_Radio=Radio;try{Radio.displayName="Radio",Radio.__docgenInfo={description:"",displayName:"Radio",props:{checked:{defaultValue:null,description:"Whether or not the radio is selected.",name:"checked",required:!1,type:{name:"boolean | undefined"}},icon:{defaultValue:null,description:"The icon for the radio.",name:"icon",required:!1,type:{name:"Element | undefined"}},label:{defaultValue:null,description:"The label of the radio.",name:"label",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"The value of the radio.",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"The callback fired when the state is changed.",name:"onChange",required:!0,type:{name:"(event: any) => void"}},radioProps:{defaultValue:null,description:"Other props of the radio.",name:"radioProps",required:!1,type:{name:"InputHTMLAttributes | undefined"}},testId:{defaultValue:null,description:"",name:"testId",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Radio/index.tsx#Radio"]={docgenInfo:Radio.__docgenInfo,name:"Radio",path:"src/components/ui/Radio/index.tsx#Radio"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/RadioGroup/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{E:()=>RadioGroup,Z:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _Radio__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Radio/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const RadioGroup=props=>{const{options,value,onChange}=props;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:options.map(((option,index)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Radio__WEBPACK_IMPORTED_MODULE_1__.Z,{value:option.value,label:option.label,checked:option.value===value,icon:option.icon,onChange,testId:option.testId,...option.inputProps},`${option}-${index}`)))})};RadioGroup.displayName="RadioGroup";const __WEBPACK_DEFAULT_EXPORT__=RadioGroup;try{RadioGroup.displayName="RadioGroup",RadioGroup.__docgenInfo={description:"",displayName:"RadioGroup",props:{onChange:{defaultValue:null,description:"The callback fired when the state is changed.",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},options:{defaultValue:null,description:"Options of radio group.",name:"options",required:!0,type:{name:"RadioProps[]"}},value:{defaultValue:null,description:"The selected option.",name:"value",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/RadioGroup/index.tsx#RadioGroup"]={docgenInfo:RadioGroup.__docgenInfo,name:"RadioGroup",path:"src/components/ui/RadioGroup/index.tsx#RadioGroup"})}catch(__react_docgen_typescript_loader_error){}},"./src/hooks/useUniqueId/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),uuid__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js");const __WEBPACK_DEFAULT_EXPORT__=function useUniqueId(){const[uniqueId]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)((()=>(0,uuid__WEBPACK_IMPORTED_MODULE_1__.Z)()));return uniqueId}},"./src/utils/animations.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{q:()=>fadeAnimation,v:()=>slideDownAndScaleUp});var styled_components__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js");const fadeAnimation=styled_components__WEBPACK_IMPORTED_MODULE_0__.F4` + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +`,slideDownAndScaleUp=styled_components__WEBPACK_IMPORTED_MODULE_0__.F4` + 0% { + opacity: 0; + transform: translateY(4rem) scale(0.4); + } + 100% { + opacity: 1; + transform: translateY(0) scale(1); + } +`}}]); +//# sourceMappingURL=5698.a4079c7b.iframe.bundle.js.map \ No newline at end of file diff --git a/5698.a4079c7b.iframe.bundle.js.map b/5698.a4079c7b.iframe.bundle.js.map new file mode 100644 index 000000000..e0c34a0a7 --- /dev/null +++ b/5698.a4079c7b.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5698.a4079c7b.iframe.bundle.js","mappings":";;;;AA0CA;AA3BA;;;AA8BA;;;;;;;;;;AACA;;;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgHA;;AAxGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA;;;;;;;;;;;;AAYA;;AAEA;;;;AAOA;AACA;;;;AAIA;;AAEA;AACA;;;;;ACvMA;AAEA;AAEA;;AAGA;AACA;AACA;AAEA;;;AAIA;AACA;;ACpBA;AACA;AACA;;AAEA;AACA;;;;;;;ACEA;;;;AAIA;;AAEA;;;;;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AAIA;AAIA;;AAEA;;;;;;;;;;AAUA;AACA;AAGA;;;;;;;;;;;;AAYA;AACA;;;AAGA;AACA;AAGA;AACA;AACA;;;;;AAKA;AACA;AAGA;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA;AACA;;ACpHA;;;AAGA;AACA;;AAIA;;;;AAKA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;;;AAGA;AACA;AACA;;AAIA;;;;;;;AAOA;AAIA;;;;;;AAMA;;AAIA;;;;;AAKA;;;;AAIA;;AAEA;;;;;;;;;;AC3DA","sources":["webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Flex/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/FormField/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Heading/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Label/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Modal/Styled.ts","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Radio/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/utils/animations.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled, { css } from 'styled-components';\n\nimport { baseSpacing, baseStyles } from '../Base';\nimport { FlexProps } from './';\n\nexport const fillSpace = css`\n display: flex;\n width: 100%;\n height: 100%;\n`;\n\nexport const fillSpaceCentered = css`\n ${fillSpace};\n align-items: center;\n justify-content: center;\n`;\n\nexport const equalColumns = css`\n display: flex;\n flex-direction: row;\n height: 100%;\n align-items: stretch;\n\n > * {\n flex-grow: 1;\n flex-basis: 50%;\n }\n`;\n\nexport const stack = css`\n display: flex;\n flex-direction: column;\n align-items: center;\n\n > * {\n width: 100%;\n }\n`;\n\nconst layoutMap = {\n 'fill-space': fillSpace,\n 'fill-space-centered': fillSpaceCentered,\n 'equal-columns': equalColumns,\n stack,\n};\n\nexport const StyledFlex = styled.div`\n align-items: ${(props) => props.alignItems};\n display: ${(props) => (props.container ? 'flex' : 'block')};\n flex: ${(props) => props.flex || ''};\n flex-basis: ${(props) => props.flexBasis};\n flex-direction: ${(props) => props.flexDirection};\n flex-grow: ${(props) => props.flexGrow || ''};\n flex-shrink: ${(props) => props.flexShrink};\n flex-wrap: ${(props) => props.flexWrap};\n justify-content: ${(props) => props.justifyContent};\n\n // layout variants\n ${(props) => !!props.layout && layoutMap[props.layout]}\n\n ${baseSpacing}\n ${baseStyles}\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled, { css } from 'styled-components';\n\nimport { baseSpacing, baseStyles } from '../Base';\nimport { FieldWrapperProps } from './';\n\nexport const stack = css`\n &.ch-form-field-input,\n &.ch-form-field-select,\n &.ch-form-field-textarea {\n display: flex;\n flex-direction: column;\n\n label {\n display: block;\n margin-bottom: 0.5rem;\n }\n\n input,\n select {\n width: 100%;\n }\n }\n\n &.ch-form-field-checkbox {\n display: grid;\n grid-template-columns: 1.5rem 1fr;\n grid-template-rows: auto;\n gap: 0px 0.5rem;\n\n .ch-checkbox {\n grid-column: 1;\n grid-row: 1;\n }\n\n .ch-checkbox-label {\n line-height: 1.3;\n grid-column: 2;\n }\n\n .ch-help-text {\n grid-row: 2;\n grid-column: 1/3;\n }\n }\n\n &.ch-form-field-radiogroup {\n flex-direction: column;\n\n .ch-radio-wrapper {\n display: block;\n margin-bottom: 0.5rem;\n padding-left: 0.125rem;\n display: grid;\n grid-template-columns: 1.5rem 1fr;\n grid-template-rows: auto;\n\n align-items: center;\n }\n\n .ch-radio-label {\n margin-left: 1rem;\n position: relative;\n bottom: -0.5px;\n }\n }\n`;\n\nexport const horizontal = css`\n @media (max-width: 599px) {\n ${stack};\n }\n\n @media (min-width: 600px) {\n &.ch-form-field-input,\n &.ch-form-field-select,\n &.ch-form-field-textarea,\n &.ch-form-field-checkbox {\n display: grid;\n grid-template-columns: 30% 1fr;\n grid-template-rows: auto;\n gap: 0px 0.5rem;\n align-items: center;\n\n input {\n width: 100%;\n }\n\n .ch-help-text {\n grid-column: 2;\n }\n }\n\n &.ch-form-field-radiogroup {\n flex-wrap: wrap;\n\n fieldset {\n width: 100%;\n }\n\n .ch-radio-wrapper {\n display: grid;\n grid-template-columns: 30% 1fr;\n grid-template-rows: auto;\n gap: 0px 0.5rem;\n align-items: center;\n margin-bottom: 0.5rem;\n }\n\n .ch-radio {\n grid-column: 2;\n grid-row: 1;\n margin-top: -4px;\n }\n\n .ch-radio-label {\n grid-column: 1;\n padding-right: 1rem;\n margin-left: 0;\n }\n\n .ch-help-text {\n width: 100%;\n }\n }\n }\n`;\n\nexport const inputOnly = css`\n &.ch-form-field-input,\n &.ch-form-field-select,\n &.ch-form-field-textarea {\n display: flex;\n flex-direction: column;\n\n input {\n width: 100%;\n }\n }\n\n &.ch-form-field-checkbox {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n\n .ch-checkbox {\n order: 1;\n }\n\n .ch-checkbox-label {\n order: 2;\n padding-left: 1rem;\n }\n\n .ch-help-text {\n width: 100%;\n order: 3;\n }\n }\n\n &.ch-form-field-radiogroup {\n flex-direction: column;\n\n .ch-radio-wrapper {\n display: block;\n margin-bottom: 0.5rem;\n }\n\n .ch-radio-label {\n margin-left: 1rem;\n }\n }\n`;\n\nconst layoutMap = {\n stack,\n horizontal,\n 'input-only': inputOnly,\n};\n\nexport const StyledFormField = styled.div`\n display: flex;\n margin-bottom: 1rem;\n position: relative;\n\n fieldset {\n margin: 0;\n border: none;\n padding: 0;\n }\n\n .ch-help-text {\n font-size: ${(props) => props.theme.fontSizes.small.fontSize};\n margin-top: 0.5rem;\n color: ${(props) =>\n props.error\n ? props.theme.inputs.error.fontColor\n : props.theme.inputs.fontColor};\n }\n\n legend {\n font-size: ${(props) => props.theme.fontSizes.text.fontSize};\n color: ${(props) => props.theme.inputs.fontColor};\n margin-bottom: 0.5rem;\n }\n\n ${(props) => !!props.layout && layoutMap[props.layout]}\n\n ${baseSpacing}\n ${baseStyles}\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { baseSpacing, baseStyles } from '../Base';\nimport { HeadingProps } from './';\n\nexport const StyledHeading = styled.h1`\n display: block;\n margin: 0;\n\n font-size: ${(props) =>\n props.theme.fontSizes[`h${props.level}`].mobile.fontSize};\n font-weight: ${(props) =>\n props.theme.fontSizes[`h${props.level}`].mobile.fontWeight};\n line-height: ${(props) =>\n props.theme.fontSizes[`h${props.level}`].mobile.lineHeight};\n\n ${({ theme }) => theme.mediaQueries.min.md} {\n font-size: ${(props) => props.theme.fontSizes[`h${props.level}`].fontSize};\n font-weight: ${(props) =>\n props.theme.fontSizes[`h${props.level}`].fontWeight};\n line-height: ${(props) =>\n props.theme.fontSizes[`h${props.level}`].lineHeight};\n }\n\n ${baseSpacing}\n ${baseStyles}\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { baseSpacing, baseStyles } from '../Base';\n\nexport const StyledLabel = styled.label`\n color: ${(props) => props.theme.inputs.fontColor};\n font-size: ${(props) => props.theme.fontSizes.label.fontSize};\n line-height: ${(props) => props.theme.fontSizes.label.lineHeight};\n\n ${baseSpacing}\n ${baseStyles}\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { fadeAnimation, slideDownAndScaleUp } from '../../../utils/animations';\nimport { baseSpacing, baseStyles } from '../Base';\nimport { ModalProps } from './';\n\nexport const StyledModal = styled.div`\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: ${(props) => props.theme.modal.wrapperBgd};\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: ${(props) => props.theme.zIndex.modal};\n overflow-x: hidden;\n animation: ${fadeAnimation} 0.25s ease 0s forwards;\n will-change: opacity;\n\n > section {\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: center;\n border-radius: ${(props) => props.theme.radii.default};\n color: ${(props) => props.theme.modal.text};\n background-color: ${(props) => props.theme.modal.bgd};\n width: ${(props) => props.theme.modalSizes[props.size || 'md'].width};\n box-shadow: ${(props) => props.theme.modal.shadow};\n max-width: ${(props) =>\n props.size === 'fullscreen'\n ? props.theme.modalSizes[props.size].width\n : '90vw'};\n height: ${(props) =>\n props.size === 'fullscreen'\n ? props.theme.modalSizes[props.size].height\n : 'auto'};\n max-height: ${(props) => props.theme.modalSizes[props.size || 'md'].height};\n will-change: transform, opacity;\n animation: ${slideDownAndScaleUp} 0.15s ease 0s forwards;\n\n @media only screen and (max-height: 25rem) {\n position: absolute;\n top: 2rem;\n height: auto;\n max-height: none;\n }\n }\n\n ${baseSpacing}\n ${baseStyles}\n`;\n\nexport const StyledModalHeader = styled.header`\n padding: 1rem 1.5rem;\n\n .ch-close-button {\n position: absolute;\n right: 1.55rem;\n top: 1rem;\n }\n\n .ch-title {\n padding-right: 2rem;\n margin: 0;\n font-size: ${(props) => props.theme.modal.titleSize};\n font-weight: ${(props) => props.theme.modal.titleWeight};\n }\n\n ${baseSpacing}\n ${baseStyles}\n`;\n\nexport const StyledModalBody = styled.div`\n font-size: ${(props) => props.theme.fontSizes.text.fontSize};\n line-height: ${(props) => props.theme.fontSizes.text.lineHeight};\n padding: 0 1.5rem;\n flex-grow: 1;\n overflow-y: auto;\n\n ${baseSpacing}\n ${baseStyles}\n`;\n\nexport const StyledModalButtonGroup = styled.footer`\n padding: 1.5rem;\n border-top: 1px solid ${(props) => props.theme.modal.border};\n display: flex;\n flex-direction: row-reverse;\n justify-content: space-between;\n\n div:first-child {\n display: flex;\n flex-direction: row-reverse;\n }\n\n button + button {\n margin: 0 0.5rem 0 0.5rem;\n }\n\n @media (max-width: 35rem) {\n flex-direction: column;\n\n button {\n width: 100%;\n }\n\n div:first-child {\n display: flex;\n flex-direction: column;\n }\n\n button + button,\n div + div {\n margin: 0.5rem 0 0;\n }\n }\n\n ${baseSpacing}\n ${baseStyles}\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { absoluteCenter, visuallyHidden } from '../../../utils/style';\n\nexport const HiddenRadio = styled.input`\n ${visuallyHidden};\n\n &[aria-invalid='true'] + .ch-radio {\n border: ${(props) => props.theme.inputs.error.border};\n box-shadow: ${(props) => props.theme.inputs.error.shadow};\n }\n`;\n\nexport const StyledRadioWrapper = styled.span`\n > label {\n margin-left: 0.5rem;\n }\n`;\nexport const StyledRadio = styled.div`\n background-color: ${(props) => props.theme.inputs.bgd};\n border: ${(props) => props.theme.inputs.border};\n border-radius: ${(props) => props.theme.radii.circle};\n box-shadow: ${(props) => props.theme.inputs.shadow};\n margin-bottom: -0.1875rem;\n transition: box-shadow 0.05s ease-in;\n\n ${HiddenRadio}:checked ~ & {\n background-color: ${(props) => props.theme.inputs.checked.bgd};\n border: ${(props) => props.theme.inputs.checked.border};\n box-shadow: ${(props) => props.theme.inputs.checked.shadow};\n }\n\n ${HiddenRadio}:focus ~ & {\n border: ${(props) => props.theme.inputs.focus.border};\n box-shadow: ${(props) => props.theme.inputs.focus.shadow};\n }\n`;\n\nexport const StyledRadioLabel = styled(StyledRadio)`\n display: inline-block;\n height: 1rem;\n position: relative;\n width: 1rem;\n\n &:after {\n background-color: ${(props) =>\n props.checked\n ? props.theme.inputs.checked.fontColor\n : props.theme.inputs.bgd};\n border-radius: ${(props) => props.theme.radii.circle};\n content: '';\n display: block;\n height: 0.375rem;\n padding: 0.03125rem;\n width: 0.375rem;\n ${absoluteCenter};\n }\n`;\n\nexport const StyledRadioIcon = styled(StyledRadio)`\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0.5rem;\n border-color: ${(props) => props.theme.colors.greys.white};\n box-shadow: none;\n margin: 0.1rem;\n\n ${HiddenRadio}:checked ~ & {\n svg {\n stroke: ${(props) => props.theme.colors.greys.white};\n }\n }\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { keyframes } from 'styled-components';\n\nexport const fadeAnimation = keyframes`\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n`;\n\nexport const slideDownAndScaleUp = keyframes`\n 0% {\n opacity: 0;\n transform: translateY(4rem) scale(0.4);\n }\n 100% {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n`;\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/7041.0e6e4fa2.iframe.bundle.js b/7041.0e6e4fa2.iframe.bundle.js new file mode 100644 index 000000000..b5eae53fb --- /dev/null +++ b/7041.0e6e4fa2.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[7041],{"./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var MapShim=function(){if("undefined"!=typeof Map)return Map;function getIndex(arr,key){var result=-1;return arr.some((function(entry,index){return entry[0]===key&&(result=index,!0)})),result}return function(){function class_1(){this.__entries__=[]}return Object.defineProperty(class_1.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),class_1.prototype.get=function(key){var index=getIndex(this.__entries__,key),entry=this.__entries__[index];return entry&&entry[1]},class_1.prototype.set=function(key,value){var index=getIndex(this.__entries__,key);~index?this.__entries__[index][1]=value:this.__entries__.push([key,value])},class_1.prototype.delete=function(key){var entries=this.__entries__,index=getIndex(entries,key);~index&&entries.splice(index,1)},class_1.prototype.has=function(key){return!!~getIndex(this.__entries__,key)},class_1.prototype.clear=function(){this.__entries__.splice(0)},class_1.prototype.forEach=function(callback,ctx){void 0===ctx&&(ctx=null);for(var _i=0,_a=this.__entries__;_i<_a.length;_i++){var entry=_a[_i];callback.call(ctx,entry[1],entry[0])}},class_1}()}(),isBrowser="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,global$1=void 0!==__webpack_require__.g&&__webpack_require__.g.Math===Math?__webpack_require__.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),requestAnimationFrame$1="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(global$1):function(callback){return setTimeout((function(){return callback(Date.now())}),1e3/60)};var transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported="undefined"!=typeof MutationObserver,ResizeObserverController=function(){function ResizeObserverController(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function throttle(callback,delay){var leadingCall=!1,trailingCall=!1,lastCallTime=0;function resolvePending(){leadingCall&&(leadingCall=!1,callback()),trailingCall&&proxy()}function timeoutCallback(){requestAnimationFrame$1(resolvePending)}function proxy(){var timeStamp=Date.now();if(leadingCall){if(timeStamp-lastCallTime<2)return;trailingCall=!0}else leadingCall=!0,trailingCall=!1,setTimeout(timeoutCallback,delay);lastCallTime=timeStamp}return proxy}(this.refresh.bind(this),20)}return ResizeObserverController.prototype.addObserver=function(observer){~this.observers_.indexOf(observer)||this.observers_.push(observer),this.connected_||this.connect_()},ResizeObserverController.prototype.removeObserver=function(observer){var observers=this.observers_,index=observers.indexOf(observer);~index&&observers.splice(index,1),!observers.length&&this.connected_&&this.disconnect_()},ResizeObserverController.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},ResizeObserverController.prototype.updateObservers_=function(){var activeObservers=this.observers_.filter((function(observer){return observer.gatherActive(),observer.hasActive()}));return activeObservers.forEach((function(observer){return observer.broadcastActive()})),activeObservers.length>0},ResizeObserverController.prototype.connect_=function(){isBrowser&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},ResizeObserverController.prototype.disconnect_=function(){isBrowser&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},ResizeObserverController.prototype.onTransitionEnd_=function(_a){var _b=_a.propertyName,propertyName=void 0===_b?"":_b;transitionKeys.some((function(key){return!!~propertyName.indexOf(key)}))&&this.refresh()},ResizeObserverController.getInstance=function(){return this.instance_||(this.instance_=new ResizeObserverController),this.instance_},ResizeObserverController.instance_=null,ResizeObserverController}(),defineConfigurable=function(target,props){for(var _i=0,_a=Object.keys(props);_i<_a.length;_i++){var key=_a[_i];Object.defineProperty(target,key,{value:props[key],enumerable:!1,writable:!1,configurable:!0})}return target},getWindowOf=function(target){return target&&target.ownerDocument&&target.ownerDocument.defaultView||global$1},emptyRect=createRectInit(0,0,0,0);function toFloat(value){return parseFloat(value)||0}function getBordersSize(styles){for(var positions=[],_i=1;_i0},ResizeObserverSPI}(),observers="undefined"!=typeof WeakMap?new WeakMap:new MapShim,ResizeObserver=function ResizeObserver(callback){if(!(this instanceof ResizeObserver))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var controller=ResizeObserverController.getInstance(),observer=new ResizeObserverSPI(callback,controller,this);observers.set(this,observer)};["observe","unobserve","disconnect"].forEach((function(method){ResizeObserver.prototype[method]=function(){var _a;return(_a=observers.get(this))[method].apply(_a,arguments)}}));const __WEBPACK_DEFAULT_EXPORT__=void 0!==global$1.ResizeObserver?global$1.ResizeObserver:ResizeObserver},"./node_modules/throttle-debounce/index.umd.js":function(__unused_webpack_module,exports){!function(exports){"use strict";function throttle(delay,noTrailing,callback,debounceMode){var timeoutID,cancelled=!1,lastExec=0;function clearExistingTimeout(){timeoutID&&clearTimeout(timeoutID)}function cancel(){clearExistingTimeout(),cancelled=!0}function wrapper(){for(var _len=arguments.length,arguments_=new Array(_len),_key=0;_key<_len;_key++)arguments_[_key]=arguments[_key];var self=this,elapsed=Date.now()-lastExec;function exec(){lastExec=Date.now(),callback.apply(self,arguments_)}function clear(){timeoutID=void 0}cancelled||(debounceMode&&!timeoutID&&exec(),clearExistingTimeout(),void 0===debounceMode&&elapsed>delay?exec():!0!==noTrailing&&(timeoutID=setTimeout(debounceMode?clear:exec,void 0===debounceMode?delay-elapsed:delay)))}return"boolean"!=typeof noTrailing&&(debounceMode=callback,callback=noTrailing,noTrailing=void 0),wrapper.cancel=cancel,wrapper}function debounce(delay,atBegin,callback){return void 0===callback?throttle(delay,atBegin,!1):throttle(delay,callback,!1!==atBegin)}exports.debounce=debounce,exports.throttle=throttle,Object.defineProperty(exports,"__esModule",{value:!0})}(exports)}}]); \ No newline at end of file diff --git a/7098.dd713df1.iframe.bundle.js b/7098.dd713df1.iframe.bundle.js new file mode 100644 index 000000000..7fa34f83a --- /dev/null +++ b/7098.dd713df1.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[7098],{"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/GlobalScrollAreaStyles-XIHNDKUY.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>GlobalScrollAreaStyles_default,getScrollAreaStyles:()=>getScrollAreaStyles});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/index.mjs"),hsResizeObserverDummyAnimation=_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.F4`0%{z-index:0}to{z-index:-1}`,getScrollAreaStyles=theme=>({"html.os-html, html.os-html>.os-host":{display:"block",overflow:"hidden",boxSizing:"border-box",height:"100%!important",width:"100%!important",minWidth:"100%!important",minHeight:"100%!important",margin:"0!important",position:"absolute!important"},"html.os-html>.os-host>.os-padding":{position:"absolute"},"body.os-dragging, body.os-dragging *":{cursor:"default"},".os-host, .os-host-textarea":{position:"relative",overflow:"visible!important",flexDirection:"column",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"flex-start",alignItems:"flex-start"},".os-host-flexbox":{overflow:"hidden!important",display:"flex"},".os-host-flexbox>.os-size-auto-observer":{height:"inherit!important"},".os-host-flexbox>.os-content-glue":{flexGrow:1,flexShrink:0},".os-host-flexbox>.os-size-auto-observer, .os-host-flexbox>.os-content-glue":{minHeight:0,minWidth:0,flexGrow:0,flexShrink:1,flexBasis:"auto"},"#os-dummy-scrollbar-size":{position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:500,width:500},"#os-dummy-scrollbar-size>div":{width:"200%",height:"200%",margin:10},"#os-dummy-scrollbar-size, .os-viewport":{},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size, .os-viewport-native-scrollbars-invisible.os-viewport":{scrollbarWidth:"none!important"},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar-corner, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner":{display:"none!important",width:"0!important",height:"0!important",visibility:"hidden!important",background:"0 0!important"},".os-content-glue":{boxSizing:"inherit",maxHeight:"100%",maxWidth:"100%",width:"100%",pointerEvents:"none"},".os-padding":{boxSizing:"inherit",direction:"inherit",position:"absolute",overflow:"visible",padding:0,margin:0,left:0,top:0,bottom:0,right:0,width:"auto!important",height:"auto!important",zIndex:1},".os-host-overflow>.os-padding":{overflow:"hidden"},".os-viewport":{direction:"inherit!important",boxSizing:"inherit!important",resize:"none!important",outline:"0!important",position:"absolute",overflow:"hidden",top:0,left:0,bottom:0,right:0,padding:0,margin:0},".os-content-arrange":{position:"absolute",zIndex:-1,minHeight:1,minWidth:1,pointerEvents:"none"},".os-content":{direction:"inherit",boxSizing:"border-box!important",position:"relative",display:"block",height:"100%",width:"100%",visibility:"visible"},".os-content:before, .os-content:after":{content:"''",display:"table",width:0,height:0,lineHeight:0,fontSize:0},".os-content>.os-textarea":{boxSizing:"border-box!important",direction:"inherit!important",background:"0 0!important",outline:"0 transparent!important",overflow:"hidden!important",position:"absolute!important",display:"block!important",top:"0!important",left:"0!important",margin:"0!important",borderRadius:"0!important",float:"none!important",filter:"none!important",border:"0!important",resize:"none!important",transform:"none!important",maxWidth:"none!important",maxHeight:"none!important",boxShadow:"none!important",perspective:"none!important",opacity:"1!important",zIndex:"1!important",clip:"auto!important",verticalAlign:"baseline!important",padding:0},".os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea":{right:"0!important"},".os-content>.os-textarea-cover":{zIndex:-1,pointerEvents:"none"},".os-content>.os-textarea[wrap=off]":{whiteSpace:"pre!important",margin:"0!important"},".os-text-inherit":{fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",fontStyle:"inherit",fontVariant:"inherit",textTransform:"inherit",textDecoration:"inherit",textIndent:"inherit",textAlign:"inherit",textShadow:"inherit",textOverflow:"inherit",letterSpacing:"inherit",wordSpacing:"inherit",lineHeight:"inherit",unicodeBidi:"inherit",direction:"inherit",color:"inherit",cursor:"text"},".os-resize-observer, .os-resize-observer-host":{boxSizing:"inherit",display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},".os-resize-observer-host":{padding:"inherit",border:"inherit",borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box"},".os-resize-observer-host:after":{content:"''"},".os-resize-observer-host>.os-resize-observer, .os-resize-observer-host:after":{height:"200%",width:"200%",padding:"inherit",border:"inherit",margin:0,display:"block",boxSizing:"content-box"},".os-resize-observer.observed, object.os-resize-observer":{boxSizing:"border-box!important"},".os-size-auto-observer":{boxSizing:"inherit!important",height:"100%",width:"inherit",maxWidth:1,position:"relative",float:"left",maxHeight:1,overflow:"hidden",zIndex:-1,padding:0,margin:0,pointerEvents:"none",flexGrow:"inherit",flexShrink:0,flexBasis:0},".os-size-auto-observer>.os-resize-observer":{width:"1000%",height:"1000%",minHeight:1,minWidth:1},".os-resize-observer-item":{position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden",zIndex:-1,opacity:0,direction:"ltr!important",flex:"none!important"},".os-resize-observer-item-final":{position:"absolute",left:0,top:0,transition:"none!important",flex:"none!important"},".os-resize-observer":{animationDuration:".001s",animationName:`${hsResizeObserverDummyAnimation}`},".os-host-transition>.os-scrollbar, .os-host-transition>.os-scrollbar-corner":{transition:"opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s"},"html.os-html>.os-host>.os-scrollbar":{position:"absolute",zIndex:999999},".os-scrollbar, .os-scrollbar-corner":{position:"absolute",opacity:1,zIndex:1},".os-scrollbar-corner":{bottom:0,right:0,height:10,width:10,backgroundColor:"transparent"},".os-scrollbar":{pointerEvents:"none",padding:2,boxSizing:"border-box",background:0},".os-scrollbar-track":{pointerEvents:"auto",position:"relative",height:"100%",width:"100%",padding:"0!important",border:"0!important"},".os-scrollbar-handle":{pointerEvents:"auto",position:"absolute",width:"100%",height:"100%"},".os-scrollbar-handle-off, .os-scrollbar-track-off":{pointerEvents:"none"},".os-scrollbar.os-scrollbar-unusable, .os-scrollbar.os-scrollbar-unusable *":{pointerEvents:"none!important"},".os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0!important"},".os-scrollbar-horizontal":{bottom:0,left:0,right:10,height:10},".os-scrollbar-vertical":{top:0,right:0,bottom:10,width:10},".os-host-rtl>.os-scrollbar-horizontal":{right:0},".os-host-rtl>.os-scrollbar-vertical":{right:"auto",left:0},".os-host-rtl>.os-scrollbar-corner":{right:"auto",left:0},".os-scrollbar-auto-hidden, .os-padding+.os-scrollbar-corner, .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner, .os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal, .os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner, .os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner, .os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner":{opacity:0,visibility:"hidden",pointerEvents:"none"},".os-scrollbar-corner-resize-both":{cursor:"nwse-resize"},".os-host-rtl>.os-scrollbar-corner-resize-both":{cursor:"nesw-resize"},".os-scrollbar-corner-resize-horizontal":{cursor:"ew-resize"},".os-scrollbar-corner-resize-vertical":{cursor:"ns-resize"},".os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize":{cursor:"default"},".os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical":{top:0,bottom:0},".os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal, .os-host-rtl.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal":{right:0,left:0},".os-scrollbar:hover, .os-scrollbar-corner.os-scrollbar-corner-resize":{opacity:"1!important",visibility:"visible!important"},".os-scrollbar-corner.os-scrollbar-corner-resize":{backgroundImage:"linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 100%)",backgroundRepeat:"no-repeat",backgroundPosition:"100% 100%",pointerEvents:"auto!important"},".os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize":{transform:"scale(-1,1)"},".os-host-overflow":{overflow:"hidden!important"},".os-theme-dark.os-host-rtl>.os-scrollbar-horizontal":{left:10,right:0},".os-scrollbar.os-scrollbar-unusable":{background:0},".os-scrollbar>.os-scrollbar-track":{background:0},".os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle":{minWidth:30},".os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle":{minHeight:30},".os-theme-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{transition:"background-color .3s"},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle, .os-scrollbar>.os-scrollbar-track":{borderRadius:10},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{background:theme.textMutedColor,opacity:.5},".os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle":{opacity:.6},".os-scrollbar-horizontal .os-scrollbar-handle:before, .os-scrollbar-vertical .os-scrollbar-handle:before":{content:"''",position:"absolute",left:0,right:0,top:0,bottom:0,display:"block"},".os-theme-dark.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-theme-dark.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before":{display:"none"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:-6,bottom:-2},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:-6,right:-2},".os-host-rtl.os-scrollbar-vertical .os-scrollbar-handle:before":{right:-6,left:-2}}),GlobalScrollAreaStyles_default=()=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.xB,{styles:getScrollAreaStyles})}}]); \ No newline at end of file diff --git a/8548.826ab5d3.iframe.bundle.js b/8548.826ab5d3.iframe.bundle.js new file mode 100644 index 000000000..d91c9dedc --- /dev/null +++ b/8548.826ab5d3.iframe.bundle.js @@ -0,0 +1,502 @@ +"use strict";(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[8548],{"./src/components/ui/Base/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{K:()=>baseSpacing,T:()=>baseStyles});var styled_system__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/styled-system/dist/index.esm.js");const baseStyles=({css})=>css?`@media { ${css} };`:"",baseSpacing=props=>(0,styled_system__WEBPACK_IMPORTED_MODULE_0__.Dh)(props)},"./src/components/ui/Button/IconButton.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__,h:()=>IconButton});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Button/index.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/Button/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js");const IconButton=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((props,ref)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_2__.k_,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(___WEBPACK_IMPORTED_MODULE_1__.Z,{ref,variant:"icon",...props}),props.badge]}))),__WEBPACK_DEFAULT_EXPORT__=IconButton;try{IconButton.displayName="IconButton",IconButton.__docgenInfo={description:"",displayName:"IconButton",props:{badge:{defaultValue:null,description:"Render a component to the top right area of the IconButton",name:"badge",required:!1,type:{name:"ReactNode | ReactNode[]"}},icon:{defaultValue:null,description:"The icon element to be shown in the button.",name:"icon",required:!1,type:{name:"Element | undefined"}},label:{defaultValue:null,description:"The text of the button.",name:"label",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"The variant of button.",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"icon"'},{value:'"primary"'},{value:'"secondary"'}]}},selected:{defaultValue:null,description:"Whether or not the button is selected.",name:"selected",required:!1,type:{name:"boolean | undefined"}},iconSize:{defaultValue:null,description:"Defines the size of the icon in the button, it defaults to `sm`.",name:"iconSize",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"md"'},{value:'"lg"'},{value:'"sm"'}]}},disabled:{defaultValue:null,description:"Whether or not the button is disabled. *",name:"disabled",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Button/IconButton.tsx#IconButton"]={docgenInfo:IconButton.__docgenInfo,name:"IconButton",path:"src/components/ui/Button/IconButton.tsx#IconButton"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Button/Styled.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Sn:()=>StyledButton,k_:()=>StyledIconButtonWrapper});var styled_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_utils_style__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/utils/style.ts"),_Base__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Base/index.ts");const StyledButton=styled_components__WEBPACK_IMPORTED_MODULE_2__.ZP.button` + border-radius: ${props=>props.theme.radii.default}; + font-size: ${props=>props.theme.fontSizes.text.fontSize}; + padding: 0.5rem 1rem; + border-color: transparent; + transition: background-color 0.1s ease; + display: inline-flex; + align-items: center; + justify-content: center; + + &:hover { + cursor: pointer; + } + + &:focus { + outline: none; + } + + .ch-icon { + width: ${props=>props.theme.iconButtonSizes[props.iconSize||"sm"]}; + height: ${props=>props.theme.iconButtonSizes[props.iconSize||"sm"]}; + margin-right: 0.25rem; + } + + /* variant styles */ + ${props=>"primary"===props.variant&&StyledPrimaryButton} + ${props=>"secondary"===props.variant&&StyledSecondaryButton} + ${props=>"icon"===props.variant&&StyledIconButton} + + ${_Base__WEBPACK_IMPORTED_MODULE_1__.K} + ${_Base__WEBPACK_IMPORTED_MODULE_1__.T} +`,StyledPrimaryButton=styled_components__WEBPACK_IMPORTED_MODULE_2__.iv` + background-color: ${props=>props.selected?props.theme.buttons.primary.selected.bgd:props.theme.buttons.primary.static.bgd}; + color: ${props=>props.selected?props.theme.buttons.primary.selected.text:props.theme.buttons.primary.static.text}; + border: ${props=>props.selected?props.theme.buttons.primary.selected.border:props.theme.buttons.primary.static.border}; + box-shadow: ${props=>props.theme.buttons.primary.static.shadow}; + + &:focus { + background-color: ${props=>props.theme.buttons.primary.focus.bgd}; + border: ${props=>props.theme.buttons.primary.focus.border}; + color: ${props=>props.theme.buttons.primary.focus.text}; + box-shadow: ${props=>props.theme.buttons.primary.focus.shadow}; + } + + &:hover { + background-color: ${props=>props.theme.buttons.primary.hover.bgd}; + border: ${props=>props.theme.buttons.primary.hover.border}; + color: ${props=>props.theme.buttons.primary.hover.text}; + box-shadow: ${props=>props.theme.buttons.primary.hover.shadow}; + } + + &:focus:hover { + box-shadow: ${props=>props.theme.buttons.primary.focus.shadow}; + } + + &:active { + background-color: ${props=>props.theme.buttons.primary.active.bgd}; + border: ${props=>props.theme.buttons.primary.active.border}; + color: ${props=>props.theme.buttons.primary.active.text}; + box-shadow: ${props=>props.theme.buttons.primary.active.shadow}; + } + + &:disabled { + background-color: ${props=>props.theme.buttons.primary.disabled.bgd}; + border: ${props=>props.theme.buttons.primary.disabled.border}; + color: ${props=>props.theme.buttons.primary.disabled.text}; + cursor: not-allowed; + } +`,StyledSecondaryButton=styled_components__WEBPACK_IMPORTED_MODULE_2__.iv` + background-color: ${props=>props.selected?props.theme.buttons.secondary.selected.bgd:props.theme.buttons.secondary.static.bgd}; + color: ${props=>props.selected?props.theme.buttons.secondary.selected.text:props.theme.buttons.secondary.static.text}; + border: ${props=>props.selected?props.theme.buttons.secondary.selected.border:props.theme.buttons.secondary.static.border}; + box-shadow: ${props=>props.theme.buttons.secondary.shadow}; + + &:focus { + background-color: ${props=>props.theme.buttons.secondary.focus.bgd}; + border: ${props=>props.theme.buttons.secondary.focus.border}; + color: ${props=>props.theme.buttons.secondary.focus.text}; + box-shadow: ${props=>props.theme.buttons.secondary.focus.shadow}; + } + + &:hover { + background-color: ${props=>props.theme.buttons.secondary.hover.bgd}; + border: ${props=>props.theme.buttons.secondary.hover.border}; + color: ${props=>props.theme.buttons.secondary.hover.text}; + box-shadow: ${props=>props.theme.buttons.secondary.hover.shadow}; + } + + &:focus:hover { + box-shadow: ${props=>props.theme.buttons.secondary.focus.shadow}; + } + + &:active { + background-color: ${props=>props.theme.buttons.secondary.active.bgd}; + border: ${props=>props.theme.buttons.secondary.active.border}; + color: ${props=>props.theme.buttons.secondary.active.text}; + box-shadow: ${props=>props.theme.buttons.secondary.focus.shadow}; + } + + &:disabled { + background-color: ${props=>props.theme.buttons.secondary.disabled.bgd}; + border: ${props=>props.theme.buttons.secondary.disabled.border}; + color: ${props=>props.theme.buttons.secondary.disabled.text}; + cursor: not-allowed; + } +`,badgeLayout={sm:styled_components__WEBPACK_IMPORTED_MODULE_2__.iv` + top: -15%; + left: 76%; + `,md:styled_components__WEBPACK_IMPORTED_MODULE_2__.iv` + top: 4%; + left: 76%; + `,lg:styled_components__WEBPACK_IMPORTED_MODULE_2__.iv` + top: 10%; + left: 76%; + `},StyledIconButton=styled_components__WEBPACK_IMPORTED_MODULE_2__.iv` + background-color: ${props=>props.selected?props.theme.buttons.icon.selected.bgd:props.theme.buttons.icon.static.bgd}; + color: ${props=>props.selected?props.theme.buttons.icon.selected.text:props.theme.buttons.icon.static.text}; + border: ${props=>props.selected?props.theme.buttons.icon.selected.border:props.theme.buttons.icon.static.border}; + border-radius: ${props=>props.theme.radii.circle}; + padding: 0.1875rem; + position: relative; + + > .ch-label { + ${_utils_style__WEBPACK_IMPORTED_MODULE_0__.jy}; + } + + > .ch-icon { + width: ${props=>props.theme.iconButtonSizes[props.iconSize||"sm"]}; + height: ${props=>props.theme.iconButtonSizes[props.iconSize||"sm"]}; + margin: 0; + } + + &:focus { + background-color: ${({theme,selected})=>selected?theme.buttons.icon.selected.bgd:theme.buttons.icon.static.bgd}; + border: ${props=>props.theme.buttons.icon.focus.border}; + color: ${props=>props.theme.buttons.icon.focus.text}; + color: ${({theme,selected})=>selected?theme.buttons.icon.selected.text:theme.buttons.icon.static.text}; + box-shadow: ${props=>props.theme.buttons.icon.focus.shadow}; + } + + &:hover { + background-color: ${props=>props.theme.buttons.icon.hover.bgd}; + border: ${props=>props.theme.buttons.icon.hover.border}; + color: ${props=>props.theme.buttons.icon.hover.text}; + } + + &:active { + background-color: ${props=>props.theme.buttons.icon.active.bgd}; + border: ${props=>props.theme.buttons.icon.active.border}; + color: ${props=>props.theme.buttons.icon.active.text}; + } + + &:disabled { + background-color: ${props=>props.theme.buttons.icon.disabled.bgd}; + border: ${props=>props.theme.buttons.icon.disabled.border}; + color: ${props=>props.theme.buttons.icon.disabled.text}; + cursor: not-allowed; + } + + + * { + position: absolute; + font-size: 0.55rem; + z-index: 1; + ${({iconSize})=>iconSize?badgeLayout[iconSize]:badgeLayout.sm} + } +`,StyledIconButtonWrapper=styled_components__WEBPACK_IMPORTED_MODULE_2__.ZP.span` + display: inline-block; + position: relative; +`;try{StyledButton.displayName="StyledButton",StyledButton.__docgenInfo={description:"",displayName:"StyledButton",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLButtonElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},label:{defaultValue:null,description:"The text of the button.",name:"label",required:!0,type:{name:"string"}},icon:{defaultValue:null,description:"The icon element to be shown in the button.",name:"icon",required:!1,type:{name:"Element | undefined"}},variant:{defaultValue:null,description:"The variant of button.",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"icon"'},{value:'"primary"'},{value:'"secondary"'}]}},selected:{defaultValue:null,description:"Whether or not the button is selected.",name:"selected",required:!1,type:{name:"boolean | undefined"}},iconSize:{defaultValue:null,description:"Defines the size of the icon in the button, it defaults to `sm`.",name:"iconSize",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"md"'},{value:'"lg"'},{value:'"sm"'}]}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Button/Styled.tsx#StyledButton"]={docgenInfo:StyledButton.__docgenInfo,name:"StyledButton",path:"src/components/ui/Button/Styled.tsx#StyledButton"})}catch(__react_docgen_typescript_loader_error){}try{StyledIconButtonWrapper.displayName="StyledIconButtonWrapper",StyledIconButtonWrapper.__docgenInfo={description:"",displayName:"StyledIconButtonWrapper",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLSpanElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Button/Styled.tsx#StyledIconButtonWrapper"]={docgenInfo:StyledIconButtonWrapper.__docgenInfo,name:"StyledIconButtonWrapper",path:"src/components/ui/Button/Styled.tsx#StyledIconButtonWrapper"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/Button/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__,z:()=>Button});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_Styled__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Button/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Button=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((props,ref)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_1__.Sn,{...props,className:props.className||"",as:props.tag,ref,"aria-label":props.label,"data-testid":"button",disabled:props.disabled,children:[props.icon&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("span",{className:"ch-icon","data-testid":"button-icon",children:props.icon}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("span",{className:"ch-label","data-testid":"button-label",children:props.label})]}))),__WEBPACK_DEFAULT_EXPORT__=Button;try{Button.displayName="Button",Button.__docgenInfo={description:"",displayName:"Button",props:{icon:{defaultValue:null,description:"The icon element to be shown in the button.",name:"icon",required:!1,type:{name:"Element | undefined"}},label:{defaultValue:null,description:"The text of the button.",name:"label",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"The variant of button.",name:"variant",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"default"'},{value:'"icon"'},{value:'"primary"'},{value:'"secondary"'}]}},selected:{defaultValue:null,description:"Whether or not the button is selected.",name:"selected",required:!1,type:{name:"boolean | undefined"}},iconSize:{defaultValue:null,description:"Defines the size of the icon in the button, it defaults to `sm`.",name:"iconSize",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"md"'},{value:'"lg"'},{value:'"sm"'}]}},disabled:{defaultValue:null,description:"Whether or not the button is disabled. *",name:"disabled",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/Button/index.tsx#Button"]={docgenInfo:Button.__docgenInfo,name:"Button",path:"src/components/ui/Button/index.tsx#Button"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/ControlBar/ControlBarButton.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{B:()=>ControlBarButton,Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_Button_IconButton__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/Button/IconButton.tsx"),_icons_Caret__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/icons/Caret/index.tsx"),_PopOver__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/ui/PopOver/index.tsx"),_PopOver_PopOverItem__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/ui/PopOver/PopOverItem.tsx"),_WithTooltip__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/components/ui/WithTooltip/index.tsx"),_ControlBarContext__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/components/ui/ControlBar/ControlBarContext.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/components/ui/ControlBar/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ControlBarButton=({icon,onClick,label,isSelected=!1,popOver=null,popOverPlacement,popOverLabel,tooltipContainerId,tooltipContent,children,...rest})=>{const context=(0,_ControlBarContext__WEBPACK_IMPORTED_MODULE_6__.BX)(),IconButtonWithToolTip=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>(0,_WithTooltip__WEBPACK_IMPORTED_MODULE_5__.R)(_Button_IconButton__WEBPACK_IMPORTED_MODULE_1__.Z,tooltipContainerId)),[tooltipContainerId]),ButtonComponent=rest["data-tooltip"]?IconButtonWithToolTip:_Button_IconButton__WEBPACK_IMPORTED_MODULE_1__.Z,buttonComponentProps=rest["data-tooltip-position"]?{tooltipPosition:rest["data-tooltip-position"],tooltipContent}:{};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_7__.zE,{isSelected,"data-testid":"control-bar-item",...rest,...context,popOver,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(ButtonComponent,{...buttonComponentProps,onClick,label,icon,className:"ch-control-bar-item-iconButton",selected:isSelected}),(popOver||children)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_PopOver__WEBPACK_IMPORTED_MODULE_3__.Z,{renderButtonWrapper:(isActive,props)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_Button_IconButton__WEBPACK_IMPORTED_MODULE_1__.Z,{...props,icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_icons_Caret__WEBPACK_IMPORTED_MODULE_2__.Z,{direction:(0,_Styled__WEBPACK_IMPORTED_MODULE_7__.cp)(context.layout)?"right":"up","data-testid":"control-bar-item-caret"}),label:popOverLabel||label,selected:isActive,className:"ch-control-bar-item-caret "+(isActive?"isOpen":"")}),a11yLabel:label,className:"ch-control-bar-popover",placement:popOverPlacement,children:[popOver?.map(((option,index)=>(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_PopOver_PopOverItem__WEBPACK_IMPORTED_MODULE_4__.Z,{...option,key:index}))),children]}),context.showLabels&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div",{className:"ch-control-bar-item-label",children:label})]})};ControlBarButton.displayName="ControlBarButton";const __WEBPACK_DEFAULT_EXPORT__=ControlBarButton;try{ControlBarButton.displayName="ControlBarButton",ControlBarButton.__docgenInfo={description:"",displayName:"ControlBarButton",props:{icon:{defaultValue:null,description:"The icon of the control bar item.",name:"icon",required:!0,type:{name:"Element"}},onClick:{defaultValue:null,description:"The callback fired when the item is clicked.",name:"onClick",required:!0,type:{name:"() => void"}},label:{defaultValue:null,description:"The label of an control bar item.",name:"label",required:!0,type:{name:"string"}},popOver:{defaultValue:{value:"null"},description:"The items to render in a popover menu. When passed, the button will render an arrow to open or close a popover menu. Refer to [PopOverItem](/docs/ui-components-popover--page)",name:"popOver",required:!1,type:{name:"PopOverItemProps[] | null | undefined"}},popOverPlacement:{defaultValue:null,description:"Defines the placement of PopOver menu.",name:"popOverPlacement",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"top-start"'},{value:'"top-end"'},{value:'"bottom-start"'},{value:'"bottom-end"'},{value:'"right-start"'},{value:'"right-end"'},{value:'"left-start"'},{value:'"left-end"'}]}},popOverLabel:{defaultValue:null,description:"The label for the optional popOver button.",name:"popOverLabel",required:!1,type:{name:"string | undefined"}},isSelected:{defaultValue:{value:"false"},description:"Apply this prop to receive visual feedback that the button is 'active'",name:"isSelected",required:!1,type:{name:"boolean | undefined"}},children:{defaultValue:null,description:"Use children to define an alternative to popOver prop with a custom set of elements to be rendered into the popover",name:"children",required:!1,type:{name:"((string | number | boolean | ReactElement> | ReactFragment | ReactPortal | ReactNode[]) & (string | ... 4 more ... | ReactPortal)) | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},"data-tooltip":{defaultValue:null,description:"",name:"data-tooltip",required:!1,type:{name:"boolean | undefined"}},"data-tooltip-position":{defaultValue:null,description:"",name:"data-tooltip-position",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"right"'},{value:'"left"'},{value:'"top"'},{value:'"bottom"'}]}},tooltipContainerId:{defaultValue:null,description:"",name:"tooltipContainerId",required:!1,type:{name:"string | undefined"}},tooltipContent:{defaultValue:null,description:"",name:"tooltipContent",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/ControlBar/ControlBarButton.tsx#ControlBarButton"]={docgenInfo:ControlBarButton.__docgenInfo,name:"ControlBarButton",path:"src/components/ui/ControlBar/ControlBarButton.tsx#ControlBarButton"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/ControlBar/ControlBarContext.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{BX:()=>useControlBarContext,ZP:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const ControlBarContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({showLabels:!1,layout:"top"}),useControlBarContext=()=>(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ControlBarContext),__WEBPACK_DEFAULT_EXPORT__=ControlBarContext},"./src/components/ui/ControlBar/Styled.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{cp:()=>isVertical,o3:()=>StyledControlBar,zE:()=>StyledControlBarItem});var styled_components__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_Base__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/components/ui/Base/index.ts");const layoutMap={"undocked-vertical":"flex-direction: column;","undocked-horizontal":"flex-direction: row;",top:"flex-direction: row; width: 100%; top: 0; position: fixed;",bottom:"flex-direction: row; width: 100%; bottom: 0; position: fixed;",right:"flex-direction: column; height: 100%; right: 0; position: fixed;",left:"flex-direction: column; height: 100%; left: 0; position: fixed;"},gridTemplateColumnMap_popOver="grid-template-columns: 2.5rem minmax(0.5rem, auto);",gridTemplateColumnMap_popOver_vertical="grid-template-columns: 1.5rem 1.5rem 1.5rem",isVertical=layout=>"right"===layout||"left"===layout||"undocked-vertical"===layout,isUndocked=layout=>"undocked-vertical"===layout||"undocked-horizontal"===layout,unsetPosition={top:"unset;",bottom:"unset;",right:"unset;",left:"unset;"},responsiveStyles=props=>styled_components__WEBPACK_IMPORTED_MODULE_1__.iv` + ${({theme})=>theme.mediaQueries.max.sm} { + ${unsetPosition} + ${props=>isVertical(props.layout)?layoutMap.left:layoutMap.bottom}; + box-shadow: ${props=>props.theme.controlBar.shadow}; + border: none; + height: ${props=>isVertical(props.layout)&&"100%"}; + width: ${props=>!isVertical(props.layout)&&"100%"}; + } + + ${({theme})=>theme.mediaQueries.max.xs} { + justify-content: ${props=>isVertical(props.layout)?"center":"space-around"}; + ${unsetPosition} + ${props=>isVertical(props.layout)?layoutMap.left:layoutMap.bottom}; + box-shadow: ${({theme})=>theme.controlBar.shadow}; + border: none; + } + `,StyledControlBar=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.div` + display: inline-flex; + justify-content: center; + align-items: center; + border-radius: ${({theme,layout})=>isUndocked(layout)?theme.radii.default:"0"}; + background-color: ${props=>props.theme.controlBar.bgd}; + opacity: ${props=>props.theme.controlBar.opacity}; + border: ${({theme,layout})=>isUndocked(layout)?"none":theme.controlBar.border}; + box-shadow: ${({theme,layout})=>isUndocked(layout)?theme.controlBar.shadow:"none"}; + ${({layout})=>layoutMap[`${layout}`]}; + + ${props=>props.responsive&&responsiveStyles()} + + width: ${({layout})=>isVertical(layout)&&"5rem"}; + height: ${({layout})=>!isVertical(layout)&&"5rem"}; + + ${_Base__WEBPACK_IMPORTED_MODULE_0__.K} + ${_Base__WEBPACK_IMPORTED_MODULE_0__.T} +`,StyledControlBarItem=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.div` + margin: ${({layout})=>isVertical(layout)?"0.625rem 0":"0 0.625rem"}; + display: grid; + grid-template-rows: ${({showLabels})=>showLabels?"1.5rem 1rem":"1.5rem"}; + justify-items: center; + align-items: center; + ${({popOver,layout,children})=>`\n ${!isVertical(layout)&&(popOver||children)&&gridTemplateColumnMap_popOver||""}\n ${isVertical(layout)&&(popOver||children)&&gridTemplateColumnMap_popOver_vertical||""}\n `}; + + > :first-child { + grid-column-start: ${({layout,popOver,children})=>isVertical(layout)&&(popOver||children)?"2":"1"}; + } + + .ch-control-bar-item-iconButton { + .ch-icon { + width: 1.5rem; + height: 1.5rem; + border-radius: 100%; + } + } + + .ch-control-bar-item-caret { + width: 1.25rem; + height: 1.25rem; + padding: 0; + + .ch-icon { + width: 100%; + height: 100%; + } + + // setting this transform on the shape so we + // don't overwrite the rotate transform on the Caret + .Svg g { + transform: scale(1.333); + transform-origin: 50% 50%; + } + } + + .ch-control-bar-popover { + background-color: inherit; + grid-column-start: ${({layout,popOver,children})=>isVertical(layout)&&(popOver||children)?"2":"1"}; + color: ${({theme})=>theme.controlBar.text}; + + .isOpen.ch-control-bar-item-caret { + color: ${props=>props.theme.colors.primary.main}; + } + } + + .ch-control-bar-item-label { + color: ${({theme})=>theme.controlBar.text}; + grid-row-start: 2; + font-size: ${props=>props.theme.fontSizes.footnote.fontSize}; /* TODO: get updated font size from design */ + padding-top: 0.25rem; + justify-self: center; + grid-column: ${({layout,popOver,children})=>isVertical(layout)&&(popOver||children)?"2":"1"}; + } + + ${({theme})=>theme.mediaQueries.max.sm} { + justify-content: space-around; + button ~ span { + display: none; + } + } + + ${({theme})=>theme.mediaQueries.max.xs} { + margin: ${({layout})=>isVertical(layout)?"0.75rem 0":"0"}; + button ~ span { + display: none; + } + } +`;try{isVertical.displayName="isVertical",isVertical.__docgenInfo={description:"",displayName:"isVertical",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/ControlBar/Styled.tsx#isVertical"]={docgenInfo:isVertical.__docgenInfo,name:"isVertical",path:"src/components/ui/ControlBar/Styled.tsx#isVertical"})}catch(__react_docgen_typescript_loader_error){}try{isUndocked.displayName="isUndocked",isUndocked.__docgenInfo={description:"",displayName:"isUndocked",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/ControlBar/Styled.tsx#isUndocked"]={docgenInfo:isUndocked.__docgenInfo,name:"isUndocked",path:"src/components/ui/ControlBar/Styled.tsx#isUndocked"})}catch(__react_docgen_typescript_loader_error){}try{responsiveStyles.displayName="responsiveStyles",responsiveStyles.__docgenInfo={description:"",displayName:"responsiveStyles",props:{theme:{defaultValue:null,description:"",name:"theme",required:!0,type:{name:"{ breakpoints: Breakpoints; mediaQueries: { min: { xs: string; sm: string; md: string; lg: string; xl: string; }; max: { xs: string; sm: string; md: string; lg: string; xl: string; }; }; fonts: { ...; }; ... 22 more ...; messageAttachment: { ...; }; } | { ...; }"}},showLabels:{defaultValue:null,description:"Whether or not the labels of the control bar items should show.",name:"showLabels",required:!0,type:{name:"boolean"}},layout:{defaultValue:null,description:"The layout of the control bar, available options are: `top`, `bottom`, `right`, `left`, `undocked-horizontal`, and `undocked-vertical`.",name:"layout",required:!0,type:{name:"enum",value:[{value:'"right"'},{value:'"left"'},{value:'"top"'},{value:'"bottom"'},{value:'"undocked-horizontal"'},{value:'"undocked-vertical"'}]}},responsive:{defaultValue:null,description:"",name:"responsive",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/ControlBar/Styled.tsx#responsiveStyles"]={docgenInfo:responsiveStyles.__docgenInfo,name:"responsiveStyles",path:"src/components/ui/ControlBar/Styled.tsx#responsiveStyles"})}catch(__react_docgen_typescript_loader_error){}try{StyledControlBar.displayName="StyledControlBar",StyledControlBar.__docgenInfo={description:"",displayName:"StyledControlBar",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},responsive:{defaultValue:null,description:"",name:"responsive",required:!1,type:{name:"boolean | undefined"}},layout:{defaultValue:null,description:"The layout of the control bar, available options are: `top`, `bottom`, `right`, `left`, `undocked-horizontal`, and `undocked-vertical`.",name:"layout",required:!0,type:{name:"enum",value:[{value:'"right"'},{value:'"left"'},{value:'"top"'},{value:'"bottom"'},{value:'"undocked-horizontal"'},{value:'"undocked-vertical"'}]}},showLabels:{defaultValue:null,description:"Whether or not the labels of the control bar items should show.",name:"showLabels",required:!0,type:{name:"boolean"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/ControlBar/Styled.tsx#StyledControlBar"]={docgenInfo:StyledControlBar.__docgenInfo,name:"StyledControlBar",path:"src/components/ui/ControlBar/Styled.tsx#StyledControlBar"})}catch(__react_docgen_typescript_loader_error){}try{StyledControlBarItem.displayName="StyledControlBarItem",StyledControlBarItem.__docgenInfo={description:"",displayName:"StyledControlBarItem",props:{css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},responsive:{defaultValue:null,description:"",name:"responsive",required:!1,type:{name:"boolean | undefined"}},layout:{defaultValue:null,description:"The layout of the control bar, available options are: `top`, `bottom`, `right`, `left`, `undocked-horizontal`, and `undocked-vertical`.",name:"layout",required:!0,type:{name:"enum",value:[{value:'"right"'},{value:'"left"'},{value:'"top"'},{value:'"bottom"'},{value:'"undocked-horizontal"'},{value:'"undocked-vertical"'}]}},popOver:{defaultValue:null,description:"",name:"popOver",required:!0,type:{name:"PopOverItemProps[] | null"}},isSelected:{defaultValue:null,description:"",name:"isSelected",required:!0,type:{name:"boolean"}},showLabels:{defaultValue:null,description:"Whether or not the labels of the control bar items should show.",name:"showLabels",required:!0,type:{name:"boolean"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/ControlBar/Styled.tsx#StyledControlBarItem"]={docgenInfo:StyledControlBarItem.__docgenInfo,name:"StyledControlBarItem",path:"src/components/ui/ControlBar/Styled.tsx#StyledControlBarItem"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/PopOver/PopOverItem.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__,b:()=>PopOverItem});__webpack_require__("./node_modules/react/index.js");var _icons_Check__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/ui/icons/Check/index.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/ui/PopOver/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js");const PopOverItem=({as="button",children,checked,testId="popover-item",...rest})=>{const Tag=as;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_Styled__WEBPACK_IMPORTED_MODULE_2__.iZ,{"data-testid":testId,children:[checked&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_icons_Check__WEBPACK_IMPORTED_MODULE_1__.Z,{className:"ch-check","data-testid":"popover-check"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(Tag,{className:"ch-content",...rest,children})]})};PopOverItem.displayName="PopOverItem";const __WEBPACK_DEFAULT_EXPORT__=PopOverItem;try{PopOverItem.displayName="PopOverItem",PopOverItem.__docgenInfo={description:"",displayName:"PopOverItem",props:{onClick:{defaultValue:null,description:"The callback fired when the item is clicked.",name:"onClick",required:!1,type:{name:"(() => void) | undefined"}},checked:{defaultValue:null,description:"Whether or not the item is checked.",name:"checked",required:!1,type:{name:"boolean | undefined"}},children:{defaultValue:null,description:"The elements that populate the content of the item.",name:"children",required:!1,type:{name:"((ReactElement> | ReactElement>[]) & (string | ... 5 more ... | null)) | undefined"}},disabled:{defaultValue:null,description:"Whether or not the item is disabled.",name:"disabled",required:!1,type:{name:"boolean | undefined"}},href:{defaultValue:null,description:"Defines the href attribute if the item is rendered as an `a` tag.",name:"href",required:!1,type:{name:"string | undefined"}},as:{defaultValue:{value:"button"},description:"Defines which tag will the item be rendered as, it defaults to `button`.",name:"as",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"a"'},{value:'"button"'}]}},border:{defaultValue:null,description:"Whether or not the item has a border.",name:"border",required:!1,type:{name:"boolean | undefined"}},testId:{defaultValue:{value:"popover-item"},description:"",name:"testId",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/PopOver/PopOverItem.tsx#PopOverItem"]={docgenInfo:PopOverItem.__docgenInfo,name:"PopOverItem",path:"src/components/ui/PopOver/PopOverItem.tsx#PopOverItem"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/PopOver/Styled.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{AZ:()=>StyledPopOverHeader,EE:()=>StyledPopOverToggle,Y8:()=>StyledSubMenu,ge:()=>StyledPopOverSeparator,iZ:()=>StyledPopOverItem,x7:()=>StyledPopOverMenu});var styled_components__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),_utils_style__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/utils/style.ts");const StyledPopOverMenu=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.ul` + width: fit-content; + max-width: 22rem; + background-color: ${props=>props.theme.popOver.menuBgd}; + border: ${props=>props.theme.popOver.menuBorder}; + margin: 0; + border-radius: 0.25rem; + backdrop-filter: blur(1rem); + list-style: none; + padding: 0.5rem 0; + box-shadow: ${props=>props.theme.popOver.shadow}; + z-index: ${props=>props.theme.zIndex.popOver}; + display: table; + overflow: inherit; +`,StyledPopOverToggle=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.button` + background-color: transparent; + padding: 0; + border: none; + cursor: pointer; + &:focus { + outline: 0; + } +`,StyledPopOverItem=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.li` + height: 2rem; + position: relative; + + button, + a { + width: 100%; + height: 100%; + display: flex; + align-items: center; + border: none; + cursor: pointer; + background-color: ${props=>props.theme.popOver.itemBgd}; + color: ${props=>props.theme.popOver.itemText}; + line-height: ${props=>props.theme.fontSizes.text.lineHeight}; + font-size: ${props=>props.theme.fontSizes.text.fontSize}; + padding: 0 2.5rem; + text-decoration: none; + outline: 0; + + &:hover, + &:focus { + background-color: ${props=>props.theme.popOver.active.itemBgd}; + color: ${props=>props.theme.popOver.active.itemText}; + outline: 0; + } + + &:disabled { + color: ${props=>props.theme.popOver.disabled}; + } + } + + a { + width: unset; + } + + .ch-content > * { + ${_utils_style__WEBPACK_IMPORTED_MODULE_0__.LH}; + } + + .ch-check { + position: absolute; + left: 0.5rem; + width: 1.5rem; + height: 1.5rem; + top: 0.33rem; + } + + &:hover .ch-check g, + &:focus .ch-check g { + fill: ${props=>props.theme.popOver.active.itemText}; + } +`,StyledSubMenu=(0,styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP)(StyledPopOverItem)` + > span { + width: 100%; + height: 100%; + display: block; + height: 2rem; + } + + > button { + position: relative; + } + + .ch-caret { + position: absolute; + width: 1.5rem; + height: 1.5rem; + right: 0; + color: inherit; + fill: inherit; + } +`,StyledPopOverHeader=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.header` + border-bottom: 0.0625rem solid ${props=>props.theme.popOver.separator}; + margin-bottom: 0.75rem; + max-width: 22rem; + + img { + width: 100%; + display: inline-block; + margin-top: -0.5rem; + border-radius: 0.25rem 0.25rem 0 0; + } + + img + .ch-title { + margin-top: 0.75rem; + } + + .ch-title { + ${_utils_style__WEBPACK_IMPORTED_MODULE_0__.LH}; + padding: 0 2.5rem; + margin-top: 0.5rem; + margin-bottom: 0; + color: ${props=>props.theme.popOver.titleText}; + font-size: 1.18125rem; + line-height: ${props=>props.theme.fontSizes.text.lineHeight}; + } + + .ch-subtitle { + ${_utils_style__WEBPACK_IMPORTED_MODULE_0__.LH}; + padding: 0 2.5rem; + color: #616672; + font-size: ${props=>props.theme.fontSizes.text.fontSize}; + line-height: ${props=>props.theme.fontSizes.text.lineHeight}; + line-height: 1.43; + margin: 0 0 1rem; + } +`,StyledPopOverSeparator=styled_components__WEBPACK_IMPORTED_MODULE_1__.ZP.li` + margin: 0; + border-width: 0.0625rem 0 0 0; + border-style: solid; + border-color: ${props=>props.theme.popOver.separator}; + margin-bottom: 0.75rem; + opacity: 0.8; +`;try{StyledPopOverMenu.displayName="StyledPopOverMenu",StyledPopOverMenu.__docgenInfo={description:"",displayName:"StyledPopOverMenu",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLUListElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/PopOver/Styled.tsx#StyledPopOverMenu"]={docgenInfo:StyledPopOverMenu.__docgenInfo,name:"StyledPopOverMenu",path:"src/components/ui/PopOver/Styled.tsx#StyledPopOverMenu"})}catch(__react_docgen_typescript_loader_error){}try{StyledPopOverToggle.displayName="StyledPopOverToggle",StyledPopOverToggle.__docgenInfo={description:"",displayName:"StyledPopOverToggle",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLButtonElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/PopOver/Styled.tsx#StyledPopOverToggle"]={docgenInfo:StyledPopOverToggle.__docgenInfo,name:"StyledPopOverToggle",path:"src/components/ui/PopOver/Styled.tsx#StyledPopOverToggle"})}catch(__react_docgen_typescript_loader_error){}try{StyledPopOverItem.displayName="StyledPopOverItem",StyledPopOverItem.__docgenInfo={description:"",displayName:"StyledPopOverItem",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLLIElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/PopOver/Styled.tsx#StyledPopOverItem"]={docgenInfo:StyledPopOverItem.__docgenInfo,name:"StyledPopOverItem",path:"src/components/ui/PopOver/Styled.tsx#StyledPopOverItem"})}catch(__react_docgen_typescript_loader_error){}try{StyledSubMenu.displayName="StyledSubMenu",StyledSubMenu.__docgenInfo={description:"",displayName:"StyledSubMenu",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLLIElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/PopOver/Styled.tsx#StyledSubMenu"]={docgenInfo:StyledSubMenu.__docgenInfo,name:"StyledSubMenu",path:"src/components/ui/PopOver/Styled.tsx#StyledSubMenu"})}catch(__react_docgen_typescript_loader_error){}try{StyledPopOverHeader.displayName="StyledPopOverHeader",StyledPopOverHeader.__docgenInfo={description:"",displayName:"StyledPopOverHeader",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/PopOver/Styled.tsx#StyledPopOverHeader"]={docgenInfo:StyledPopOverHeader.__docgenInfo,name:"StyledPopOverHeader",path:"src/components/ui/PopOver/Styled.tsx#StyledPopOverHeader"})}catch(__react_docgen_typescript_loader_error){}try{StyledPopOverSeparator.displayName="StyledPopOverSeparator",StyledPopOverSeparator.__docgenInfo={description:"",displayName:"StyledPopOverSeparator",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLLIElement | null) => void) | RefObject | null | undefined"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/PopOver/Styled.tsx#StyledPopOverSeparator"]={docgenInfo:StyledPopOverSeparator.__docgenInfo,name:"StyledPopOverSeparator",path:"src/components/ui/PopOver/Styled.tsx#StyledPopOverSeparator"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/PopOver/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var classnames__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),react_popper__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/react-popper/lib/esm/Manager.js"),react_popper__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/react-popper/lib/esm/Reference.js"),react_popper__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/react-popper/lib/esm/Popper.js"),_constants__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/constants/index.ts"),_hooks_useClickOutside__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/hooks/useClickOutside/index.tsx"),_hooks_useTabOutside__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/hooks/useTabOutside/index.tsx"),_Styled__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/components/ui/PopOver/Styled.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/react/jsx-runtime.js");const getFocusableElements=node=>node.querySelectorAll("button, [href]"),PopOver=({renderButton,renderButtonWrapper,onPopOverClick,children,isSubMenu=!1,placement="bottom-start",a11yLabel,className,closeOnClick=!0,...rest})=>{const menuRef=(0,react__WEBPACK_IMPORTED_MODULE_1__.createRef)(),[isOpen,setIsOpen]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1);(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>{if(isOpen&&menuRef.current){const nodes=getFocusableElements(menuRef.current);nodes&&nodes[0].focus()}}),[isOpen]);const move=direction=>{const node=menuRef.current;if(!isSubMenu&&node){const nodes=getFocusableElements(node),currentElement=document.activeElement;for(let i=0;i0)return nodes[i-1].focus();break}}},handlePopOverClick=()=>{setIsOpen(!isOpen),onPopOverClick&&onPopOverClick(isOpen)};return(0,_hooks_useClickOutside__WEBPACK_IMPORTED_MODULE_3__.Z)(menuRef,(()=>setIsOpen(!1))),(0,_hooks_useTabOutside__WEBPACK_IMPORTED_MODULE_4__.Z)(menuRef,(()=>setIsOpen(!1))),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("span",{ref:menuRef,onKeyDown:e=>{switch(e.keyCode){case _constants__WEBPACK_IMPORTED_MODULE_2__.n.ESCAPE:return setIsOpen(!1);case _constants__WEBPACK_IMPORTED_MODULE_2__.n.ARROW_UP:return move("up");case _constants__WEBPACK_IMPORTED_MODULE_2__.n.ARROW_DOWN:return move("down")}},"data-testid":"popover",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(react_popper__WEBPACK_IMPORTED_MODULE_7__.dK,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(react_popper__WEBPACK_IMPORTED_MODULE_8__.s,{children:({ref})=>{const props={ref,className:classnames__WEBPACK_IMPORTED_MODULE_0___default()(className,"ch-popover-toggle"),onClick:handlePopOverClick,"data-menu":isSubMenu?"submenu":null,"aria-label":a11yLabel,"aria-haspopup":!0,"aria-expanded":isOpen,"data-testid":"popover-toggle"};if(renderButton)return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_Styled__WEBPACK_IMPORTED_MODULE_5__.EE,{...props,children:renderButton(isOpen)});if(renderButtonWrapper){const{ref,...rest}=props;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("span",{ref,children:renderButtonWrapper(isOpen,rest)})}return null}}),isOpen&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(react_popper__WEBPACK_IMPORTED_MODULE_9__.r,{placement,modifiers:[{name:"offset",options:{offset:[-8,0]}}],...rest,children:({ref,style,placement})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_Styled__WEBPACK_IMPORTED_MODULE_5__.x7,{"data-placement":placement,onClick:e=>(e=>{if(!closeOnClick)return;return!e.target.closest("[data-menu='submenu']")&&setIsOpen(!1)})(e),ref,style,"data-testid":"menu",className:"ch-popover-menu",children})})]})})};PopOver.displayName="PopOver";const __WEBPACK_DEFAULT_EXPORT__=PopOver;try{PopOver.displayName="PopOver",PopOver.__docgenInfo={description:"",displayName:"PopOver",props:{className:{defaultValue:null,description:"CSS classname to apply custom styles.",name:"className",required:!1,type:{name:"string | undefined"}},isSubMenu:{defaultValue:{value:"false"},description:"Whether or not this is a sub menu.",name:"isSubMenu",required:!1,type:{name:"Boolean | undefined"}},placement:{defaultValue:{value:"bottom-start"},description:"Defines the placement of PopOver menu.",name:"placement",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"top-start"'},{value:'"top-end"'},{value:'"bottom-start"'},{value:'"bottom-end"'},{value:'"right-start"'},{value:'"right-end"'},{value:'"left-start"'},{value:'"left-end"'}]}},renderButton:{defaultValue:null,description:"Defines the function to render the inner contents of the popover button element",name:"renderButton",required:!1,type:{name:"((isActive: boolean) => ReactNode) | undefined"}},renderButtonWrapper:{defaultValue:null,description:"Alternative to renderButton, defines the function to render the full popover button element (as opposed to just its contents). This is used if you want full control over the button rendering. The button must forwardRef",name:"renderButtonWrapper",required:!1,type:{name:"((isActive: boolean, props: any) => ReactNode) | undefined"}},onPopOverClick:{defaultValue:null,description:"The callback fired when the render button is clicked.",name:"onPopOverClick",required:!1,type:{name:"((isOpen: boolean) => void) | undefined"}},a11yLabel:{defaultValue:null,description:"The label used for availability.",name:"a11yLabel",required:!0,type:{name:"string"}},closeOnClick:{defaultValue:{value:"true"},description:"Allow the popover to stay open for multiple clicks.",name:"closeOnClick",required:!1,type:{name:"boolean | undefined"}},tag:{defaultValue:null,description:"Optional tag to render the component as a different HTML tag",name:"tag",required:!1,type:{name:"any"}},css:{defaultValue:null,description:"Optional css",name:"css",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/PopOver/index.tsx#PopOver"]={docgenInfo:PopOver.__docgenInfo,name:"PopOver",path:"src/components/ui/PopOver/index.tsx#PopOver"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/ui/WithTooltip/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{R:()=>WithTooltip});var react=__webpack_require__("./node_modules/react/index.js"),react_dom=__webpack_require__("./node_modules/react-dom/index.js"),LoggerProvider=__webpack_require__("./src/providers/LoggerProvider/index.tsx"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js");const TopProps=styled_components_browser_esm.iv` + top: calc( + ${props=>props.bounds?.top??0}px - + ${1.75}rem + ); + left: ${props=>((props.bounds?.left??0)+(props.bounds?.right??0))/2}px; + transform: translateX(-50%) translateY(-50%); + + &::before { + transform: rotateZ(180deg); + top: 100%; + left: calc(50% - ${.5}rem); + } +`,BottomProps=styled_components_browser_esm.iv` + top: calc( + ${props=>props.bounds?.bottom??0}px + + ${1.75}rem + ); + left: ${props=>((props.bounds?.left??0)+(props.bounds?.right??0))/2}px; + transform: translateX(-50%) translateY(-50%); + + &::before { + transform: rotateZ(0deg); + top: -${.5}rem; + left: calc(50% - ${.5}rem); + } +`,LeftProps=styled_components_browser_esm.iv` + top: ${props=>((props.bounds?.top??0)+(props.bounds?.bottom??0))/2}px; + left: calc( + ${props=>props.bounds?.left??0}px - ${.75}rem + ); + transform: translateY(-50%) translateX(-100%); + + &::before { + transform: rotateZ(90deg); + top: calc(50% - ${.25}rem); + left: calc(100% - ${.25}rem); + } +`,RightProps=styled_components_browser_esm.iv` + top: ${props=>((props.bounds?.top??0)+(props.bounds?.bottom??0))/2}px; + left: calc( + ${props=>props.bounds?.right??0}px + ${.75}rem + ); + transform: translateY(-50%); + + &::before { + transform: rotateZ(270deg); + top: calc(50% - ${.25}rem); + left: -${.75}rem; + } +`,StyledTooltip=styled_components_browser_esm.ZP.span` + @keyframes fadeIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } + } + + position: fixed; + z-index: 9999; + color: white; + white-space: nowrap; + pointer-events: none; + line-height: normal; + background-color: rgba(0, 0, 0, 0.8); + border-radius: ${.5}rem; + font-size: ${1}rem; + font-weight: 300; + padding: ${.5}rem ${.75}rem; + white-space: nowrap; + animation: fadeIn 0.3s; + + &::before { + border-bottom: ${.5}rem solid rgba(0, 0, 0, 0.8); + border-left: ${.5}rem solid transparent; + border-right: ${.5}rem solid transparent; + content: ''; + height: 0; + transform: translateX(-100%) translateY(-50%); + width: 0; + z-index: 1; + position: absolute; + } + + ${props=>"top"===props.position&&TopProps} + ${props=>"bottom"===props.position&&BottomProps} + ${props=>"left"===props.position&&LeftProps} + ${props=>"right"===props.position&&RightProps} +`;try{StyledTooltip.displayName="StyledTooltip",StyledTooltip.__docgenInfo={description:"",displayName:"StyledTooltip",props:{ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLSpanElement | null) => void) | RefObject | null | undefined"}},position:{defaultValue:null,description:"",name:"position",required:!0,type:{name:"enum",value:[{value:'"right"'},{value:'"left"'},{value:'"top"'},{value:'"bottom"'}]}},bounds:{defaultValue:null,description:"",name:"bounds",required:!0,type:{name:"DOMRect"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme | undefined"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"undefined"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ui/WithTooltip/Styled.tsx#StyledTooltip"]={docgenInfo:StyledTooltip.__docgenInfo,name:"StyledTooltip",path:"src/components/ui/WithTooltip/Styled.tsx#StyledTooltip"})}catch(__react_docgen_typescript_loader_error){}var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const initialState={show:!1,bounds:null},WithTooltip=(Component,container_id)=>props=>{const logger=(0,LoggerProvider.wL)(),[{show,bounds},setShow]=(0,react.useState)(initialState),[container,setContainer]=(0,react.useState)(null),position=props.tooltipPosition??"top",showToolTip=(0,react.useCallback)((e=>{e.preventDefault(),e.stopPropagation();let component=e.target;for(;!component.getAttribute("data-tooltip");)component=component.parentElement;const bounds=component.getBoundingClientRect();setShow({show:!0,bounds})}),[]),hideToolTip=(0,react.useCallback)((e=>{e.preventDefault(),e.stopPropagation(),setShow(initialState)}),[]);return(0,react.useEffect)((()=>(document.addEventListener("scroll",hideToolTip,!0),()=>document.removeEventListener("scroll",hideToolTip,!0))),[]),(0,react.useEffect)((()=>{const container=document.getElementById(container_id||"Tooltip__container");container?setContainer(container):logger.warn("Attempted to use 'WithTooltip' but could not find container element.Pass a valid element ID or add 'Tooltip__container' ID to existing element")}),[container_id]),(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[show&&bounds&&container&&react_dom.createPortal((0,jsx_runtime.jsx)(StyledTooltip,{position,bounds,children:props.tooltipContent||props.label}),container),(0,jsx_runtime.jsx)(Component,{...props,"data-tooltip":!0,"data-tooltip-position":position,onClick:e=>{show&&hideToolTip(e),props?.onClick?.(e)},onFocus:e=>{show||showToolTip(e),props?.onFocus?.(e)},onBlur:e=>{show&&hideToolTip(e),props?.onBlur?.(e)},onMouseEnter:e=>{show||showToolTip(e),props?.onMouseEnter?.(e)},onMouseLeave:e=>{show&&hideToolTip(e),props?.onMouseLeave?.(e)}})]})}},"./src/constants/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{k:()=>VIDEO_INPUT_QUALITY,n:()=>KEY_CODES});const KEY_CODES={TAB:9,ENTER:13,ESCAPE:27,ARROW_UP:38,ARROW_DOWN:40},VIDEO_INPUT_QUALITY={"360p":"360p (nHD) @ 15 fps (600 Kbps max)","540p":"540p (qHD) @ 15 fps (1.4 Mbps max)","720p":"720p (HD) @ 15 fps (1.4 Mbps max)"}},"./src/hooks/useClickOutside/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const __WEBPACK_DEFAULT_EXPORT__=function useClickOutside(ref,onClickOutside){const onMouseDown=e=>{(e=>!!ref.current&&!ref.current.contains(e.target))(e)&&onClickOutside&&onClickOutside(e)};(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>(document.addEventListener("mousedown",onMouseDown),document.addEventListener("touchstart",onMouseDown),()=>{document.removeEventListener("mousedown",onMouseDown),document.removeEventListener("touchstart",onMouseDown)})))}},"./src/hooks/useTabOutside/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const __WEBPACK_DEFAULT_EXPORT__=function useTabOutside(ref,onTabOutside){const keyUp=e=>{if(9===e.keyCode&&ref.current&&!ref.current.contains(document.activeElement))return onTabOutside(e)};(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>(document.addEventListener("keyup",keyUp),()=>{document.removeEventListener("keyup",keyUp)})))}}}]); +//# sourceMappingURL=8548.826ab5d3.iframe.bundle.js.map \ No newline at end of file diff --git a/8548.826ab5d3.iframe.bundle.js.map b/8548.826ab5d3.iframe.bundle.js.map new file mode 100644 index 000000000..28c6a090b --- /dev/null +++ b/8548.826ab5d3.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8548.826ab5d3.iframe.bundle.js","mappings":";AAUA;AACA;;;;;;;;;;;;;;;;;AAiBA;AACA;;;;;AAKA;AACA;AACA;;AAEA;AACA;AAGA;AACA;AAIA;AAIA;AAIA;;;AAGA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;;;;AAIA;;;;AAIA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;;;AAKA;AACA;AAIA;AAIA;AAIA;;;AAGA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;;;;AAIA;;;;AAIA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;;;AAKA;;;AAKA;;;AAIA;;;AAMA;AACA;AAIA;AAIA;AAIA;;;;;AAKA;;;;AAIA;AACA;;;;;AAKA;AAIA;AACA;AACA;AAIA;;;;AAIA;AACA;AACA;;;;AAIA;AACA;AACA;;;;AAIA;AACA;AACA;;;;;;;;AAQA;;AAIA;;;;AC9KA;AACA;AACA;AAEA;;AAGA;AAEA;;;AAIA;AACA;AAEA;AACA;AAEA;;;AAMA;;;;AAIA;AAEA;AACA;AACA;AAEA;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AAQA;AACA;;AAEA;;;AAIA;;;AAgBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA;AAEA;;;AAGA;;;;;AAKA;;AAEA;;;AAKA;;;AAIA;;;;;;;AAOA;AACA;;;;;;;;AC9KA;AACA;;;;;;AAMA;AACA;;;AAKA;;;;;;;;AAUA;;;;;;;;;;;;AAYA;AACA;AACA;AACA;;;;;;;AAOA;AACA;;;;;AAKA;;;;;;;;;AASA;;;;;;;;;;;;;AAaA;;AAIA;;;;;;;;;;;;;;;;;;;;AAsBA;AACA;;;;;;;;;;;;;;;;AAgBA;;;;AAIA;;AAEA;;;;AAIA;;;AAGA;AACA;;;;AAMA;;;;AAIA;;;;;ACjIA;AACA;;AAEA;;;;;;AAfA;;AA0BA;;AAEA;AACA;;AAEA;;;;;AA/BA;AAAA;;AA0CA;AACA;;AAGA;;;;;;AAMA;AArDA;;AA0DA;AACA;;AAGA;;;;;;AAMA;AACA;;AAIA;;;;;;;;;;;;;;;;;;AAkBA;AAvFA;;AAFA;;;;;AADA;AAAA;AAAA;;;;;;;;;AA6GA;AACA;AACA;AACA","sources":["webpack://amazon-chime-sdk-component-library-react/./src/components/ui/Button/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/ControlBar/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/PopOver/Styled.tsx","webpack://amazon-chime-sdk-component-library-react/./src/components/ui/WithTooltip/Styled.tsx"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled, { css } from 'styled-components';\n\nimport { visuallyHidden } from '../../../utils/style';\nimport { baseSpacing, baseStyles } from '../Base';\nimport { ButtonProps } from './';\n\nexport const StyledButton = styled.button`\n border-radius: ${(props) => props.theme.radii.default};\n font-size: ${(props) => props.theme.fontSizes.text.fontSize};\n padding: 0.5rem 1rem;\n border-color: transparent;\n transition: background-color 0.1s ease;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n &:hover {\n cursor: pointer;\n }\n\n &:focus {\n outline: none;\n }\n\n .ch-icon {\n width: ${(props) => props.theme.iconButtonSizes[props.iconSize || 'sm']};\n height: ${(props) => props.theme.iconButtonSizes[props.iconSize || 'sm']};\n margin-right: 0.25rem;\n }\n\n /* variant styles */\n ${(props) => props.variant === 'primary' && StyledPrimaryButton}\n ${(props) => props.variant === 'secondary' && StyledSecondaryButton}\n ${(props) => props.variant === 'icon' && StyledIconButton}\n\n ${baseSpacing}\n ${baseStyles}\n`;\n\nexport const StyledPrimaryButton = css`\n background-color: ${(props) =>\n props.selected\n ? props.theme.buttons.primary.selected.bgd\n : props.theme.buttons.primary.static.bgd};\n color: ${(props) =>\n props.selected\n ? props.theme.buttons.primary.selected.text\n : props.theme.buttons.primary.static.text};\n border: ${(props) =>\n props.selected\n ? props.theme.buttons.primary.selected.border\n : props.theme.buttons.primary.static.border};\n box-shadow: ${(props) => props.theme.buttons.primary.static.shadow};\n\n &:focus {\n background-color: ${(props) => props.theme.buttons.primary.focus.bgd};\n border: ${(props) => props.theme.buttons.primary.focus.border};\n color: ${(props) => props.theme.buttons.primary.focus.text};\n box-shadow: ${(props) => props.theme.buttons.primary.focus.shadow};\n }\n\n &:hover {\n background-color: ${(props) => props.theme.buttons.primary.hover.bgd};\n border: ${(props) => props.theme.buttons.primary.hover.border};\n color: ${(props) => props.theme.buttons.primary.hover.text};\n box-shadow: ${(props) => props.theme.buttons.primary.hover.shadow};\n }\n\n &:focus:hover {\n box-shadow: ${(props) => props.theme.buttons.primary.focus.shadow};\n }\n\n &:active {\n background-color: ${(props) => props.theme.buttons.primary.active.bgd};\n border: ${(props) => props.theme.buttons.primary.active.border};\n color: ${(props) => props.theme.buttons.primary.active.text};\n box-shadow: ${(props) => props.theme.buttons.primary.active.shadow};\n }\n\n &:disabled {\n background-color: ${(props) => props.theme.buttons.primary.disabled.bgd};\n border: ${(props) => props.theme.buttons.primary.disabled.border};\n color: ${(props) => props.theme.buttons.primary.disabled.text};\n cursor: not-allowed;\n }\n`;\n\nexport const StyledSecondaryButton = css`\n background-color: ${(props) =>\n props.selected\n ? props.theme.buttons.secondary.selected.bgd\n : props.theme.buttons.secondary.static.bgd};\n color: ${(props) =>\n props.selected\n ? props.theme.buttons.secondary.selected.text\n : props.theme.buttons.secondary.static.text};\n border: ${(props) =>\n props.selected\n ? props.theme.buttons.secondary.selected.border\n : props.theme.buttons.secondary.static.border};\n box-shadow: ${(props) => props.theme.buttons.secondary.shadow};\n\n &:focus {\n background-color: ${(props) => props.theme.buttons.secondary.focus.bgd};\n border: ${(props) => props.theme.buttons.secondary.focus.border};\n color: ${(props) => props.theme.buttons.secondary.focus.text};\n box-shadow: ${(props) => props.theme.buttons.secondary.focus.shadow};\n }\n\n &:hover {\n background-color: ${(props) => props.theme.buttons.secondary.hover.bgd};\n border: ${(props) => props.theme.buttons.secondary.hover.border};\n color: ${(props) => props.theme.buttons.secondary.hover.text};\n box-shadow: ${(props) => props.theme.buttons.secondary.hover.shadow};\n }\n\n &:focus:hover {\n box-shadow: ${(props) => props.theme.buttons.secondary.focus.shadow};\n }\n\n &:active {\n background-color: ${(props) => props.theme.buttons.secondary.active.bgd};\n border: ${(props) => props.theme.buttons.secondary.active.border};\n color: ${(props) => props.theme.buttons.secondary.active.text};\n box-shadow: ${(props) => props.theme.buttons.secondary.focus.shadow};\n }\n\n &:disabled {\n background-color: ${(props) => props.theme.buttons.secondary.disabled.bgd};\n border: ${(props) => props.theme.buttons.secondary.disabled.border};\n color: ${(props) => props.theme.buttons.secondary.disabled.text};\n cursor: not-allowed;\n }\n`;\n\nconst badgeLayout = {\n sm: css`\n top: -15%;\n left: 76%;\n `,\n md: css`\n top: 4%;\n left: 76%;\n `,\n lg: css`\n top: 10%;\n left: 76%;\n `,\n};\n\nexport const StyledIconButton = css`\n background-color: ${(props) =>\n props.selected\n ? props.theme.buttons.icon.selected.bgd\n : props.theme.buttons.icon.static.bgd};\n color: ${(props) =>\n props.selected\n ? props.theme.buttons.icon.selected.text\n : props.theme.buttons.icon.static.text};\n border: ${(props) =>\n props.selected\n ? props.theme.buttons.icon.selected.border\n : props.theme.buttons.icon.static.border};\n border-radius: ${(props) => props.theme.radii.circle};\n padding: 0.1875rem;\n position: relative;\n\n > .ch-label {\n ${visuallyHidden};\n }\n\n > .ch-icon {\n width: ${(props) => props.theme.iconButtonSizes[props.iconSize || 'sm']};\n height: ${(props) => props.theme.iconButtonSizes[props.iconSize || 'sm']};\n margin: 0;\n }\n\n &:focus {\n background-color: ${({ theme, selected }) =>\n selected\n ? theme.buttons.icon.selected.bgd\n : theme.buttons.icon.static.bgd};\n border: ${(props) => props.theme.buttons.icon.focus.border};\n color: ${(props) => props.theme.buttons.icon.focus.text};\n color: ${({ theme, selected }) =>\n selected\n ? theme.buttons.icon.selected.text\n : theme.buttons.icon.static.text};\n box-shadow: ${(props) => props.theme.buttons.icon.focus.shadow};\n }\n\n &:hover {\n background-color: ${(props) => props.theme.buttons.icon.hover.bgd};\n border: ${(props) => props.theme.buttons.icon.hover.border};\n color: ${(props) => props.theme.buttons.icon.hover.text};\n }\n\n &:active {\n background-color: ${(props) => props.theme.buttons.icon.active.bgd};\n border: ${(props) => props.theme.buttons.icon.active.border};\n color: ${(props) => props.theme.buttons.icon.active.text};\n }\n\n &:disabled {\n background-color: ${(props) => props.theme.buttons.icon.disabled.bgd};\n border: ${(props) => props.theme.buttons.icon.disabled.border};\n color: ${(props) => props.theme.buttons.icon.disabled.text};\n cursor: not-allowed;\n }\n\n + * {\n position: absolute;\n font-size: 0.55rem;\n z-index: 1;\n ${({ iconSize }) => (iconSize ? badgeLayout[iconSize] : badgeLayout['sm'])}\n }\n`;\n\nexport const StyledIconButtonWrapper = styled.span`\n display: inline-block;\n position: relative;\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled, { css } from 'styled-components';\n\nimport { darkTheme } from '../../../theme/dark';\nimport { lightTheme } from '../../../theme/light';\nimport { baseSpacing, baseStyles } from '../Base';\nimport { PopOverItemProps } from '../PopOver/PopOverItem';\nimport { ControlBarLayout, ControlBarProps } from '.';\n\ninterface StyledControlBarProps extends ControlBarProps {\n theme: typeof lightTheme | typeof darkTheme;\n}\n\nconst layoutMap = {\n 'undocked-vertical': 'flex-direction: column;',\n 'undocked-horizontal': 'flex-direction: row;',\n top: 'flex-direction: row; width: 100%; top: 0; position: fixed;',\n bottom: 'flex-direction: row; width: 100%; bottom: 0; position: fixed;',\n right: 'flex-direction: column; height: 100%; right: 0; position: fixed;',\n left: 'flex-direction: column; height: 100%; left: 0; position: fixed;',\n};\n\nconst gridTemplateColumnMap = {\n popOver: 'grid-template-columns: 2.5rem minmax(0.5rem, auto);',\n 'popOver&vertical': 'grid-template-columns: 1.5rem 1.5rem 1.5rem',\n};\n\nexport const isVertical = (layout: ControlBarLayout) => {\n return (\n layout === 'right' || layout === 'left' || layout === 'undocked-vertical'\n );\n};\n\nexport const isUndocked = (layout: ControlBarLayout) => {\n return layout === 'undocked-vertical' || layout === 'undocked-horizontal';\n};\nconst unsetPosition = {\n top: 'unset;',\n bottom: 'unset;',\n right: 'unset;',\n left: 'unset;',\n};\n\nexport const responsiveStyles = (props: StyledControlBarProps) => {\n return css`\n ${({ theme }) => theme.mediaQueries.max.sm} {\n ${unsetPosition}\n ${(props: StyledControlBarProps) =>\n isVertical(props.layout) ? layoutMap['left'] : layoutMap['bottom']};\n box-shadow: ${(props: StyledControlBarProps) =>\n props.theme.controlBar.shadow};\n border: none;\n height: ${(props: StyledControlBarProps) =>\n isVertical(props.layout) && '100%'};\n width: ${(props: StyledControlBarProps) =>\n !isVertical(props.layout) && '100%'};\n }\n\n ${({ theme }) => theme.mediaQueries.max.xs} {\n justify-content: ${(props: StyledControlBarProps) =>\n isVertical(props.layout) ? 'center' : 'space-around'};\n ${unsetPosition}\n ${(props: StyledControlBarProps) =>\n isVertical(props.layout) ? layoutMap['left'] : layoutMap['bottom']};\n box-shadow: ${({ theme }) => theme.controlBar.shadow};\n border: none;\n }\n `;\n};\n\nexport const StyledControlBar = styled.div`\n display: inline-flex;\n justify-content: center;\n align-items: center;\n border-radius: ${({ theme, layout }) =>\n isUndocked(layout) ? theme.radii.default : '0'};\n background-color: ${(props) => props.theme.controlBar.bgd};\n opacity: ${(props) => props.theme.controlBar.opacity};\n border: ${({ theme, layout }) =>\n isUndocked(layout) ? 'none' : theme.controlBar.border};\n box-shadow: ${({ theme, layout }) =>\n isUndocked(layout) ? theme.controlBar.shadow : 'none'};\n ${({ layout }) => layoutMap[`${layout}`]};\n\n ${(props) => props.responsive && responsiveStyles(props)}\n\n width: ${({ layout }) => isVertical(layout) && '5rem'};\n height: ${({ layout }) => !isVertical(layout) && '5rem'};\n\n ${baseSpacing}\n ${baseStyles}\n`;\n\ninterface StyledControlBarItemProps extends StyledControlBarProps {\n popOver: PopOverItemProps[] | null;\n isSelected: boolean;\n}\n\nexport const StyledControlBarItem = styled.div`\n margin: ${({ layout }) => (isVertical(layout) ? '0.625rem 0' : '0 0.625rem')};\n display: grid;\n grid-template-rows: ${({ showLabels }) =>\n showLabels ? '1.5rem 1rem' : '1.5rem'};\n justify-items: center;\n align-items: center;\n ${({ popOver, layout, children }) => `\n ${\n (!isVertical(layout) &&\n (popOver || children) &&\n gridTemplateColumnMap['popOver']) ||\n ''\n }\n ${\n (isVertical(layout) &&\n (popOver || children) &&\n gridTemplateColumnMap['popOver&vertical']) ||\n ''\n }\n `};\n\n > :first-child {\n grid-column-start: ${({ layout, popOver, children }) =>\n isVertical(layout) && (popOver || children) ? '2' : '1'};\n }\n\n .ch-control-bar-item-iconButton {\n .ch-icon {\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 100%;\n }\n }\n\n .ch-control-bar-item-caret {\n width: 1.25rem;\n height: 1.25rem;\n padding: 0;\n\n .ch-icon {\n width: 100%;\n height: 100%;\n }\n\n // setting this transform on the shape so we\n // don't overwrite the rotate transform on the Caret\n .Svg g {\n transform: scale(1.333);\n transform-origin: 50% 50%;\n }\n }\n\n .ch-control-bar-popover {\n background-color: inherit;\n grid-column-start: ${({ layout, popOver, children }) =>\n isVertical(layout) && (popOver || children) ? '2' : '1'};\n color: ${({ theme }) => theme.controlBar.text};\n\n .isOpen.ch-control-bar-item-caret {\n color: ${(props) => props.theme.colors.primary.main};\n }\n }\n\n .ch-control-bar-item-label {\n color: ${({ theme }) => theme.controlBar.text};\n grid-row-start: 2;\n font-size: ${(props) =>\n props.theme.fontSizes.footnote\n .fontSize}; /* TODO: get updated font size from design */\n padding-top: 0.25rem;\n justify-self: center;\n grid-column: ${({ layout, popOver, children }) =>\n isVertical(layout) && (popOver || children) ? '2' : '1'};\n }\n\n ${({ theme }) => theme.mediaQueries.max.sm} {\n justify-content: space-around;\n button ~ span {\n display: none;\n }\n }\n\n ${({ theme }) => theme.mediaQueries.max.xs} {\n margin: ${({ layout }) => (isVertical(layout) ? '0.75rem 0' : '0')};\n button ~ span {\n display: none;\n }\n }\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled from 'styled-components';\n\nimport { ellipsis } from '../../../utils/style';\n\nexport const StyledPopOverMenu = styled.ul`\n width: fit-content;\n max-width: 22rem;\n background-color: ${(props) => props.theme.popOver.menuBgd};\n border: ${(props) => props.theme.popOver.menuBorder};\n margin: 0;\n border-radius: 0.25rem;\n backdrop-filter: blur(1rem);\n list-style: none;\n padding: 0.5rem 0;\n box-shadow: ${(props) => props.theme.popOver.shadow};\n z-index: ${(props) => props.theme.zIndex.popOver};\n display: table;\n overflow: inherit;\n`;\n\nexport const StyledPopOverToggle = styled.button`\n background-color: transparent;\n padding: 0;\n border: none;\n cursor: pointer;\n &:focus {\n outline: 0;\n }\n`;\n\nexport const StyledPopOverItem = styled.li`\n height: 2rem;\n position: relative;\n\n button,\n a {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n border: none;\n cursor: pointer;\n background-color: ${(props) => props.theme.popOver.itemBgd};\n color: ${(props) => props.theme.popOver.itemText};\n line-height: ${(props) => props.theme.fontSizes.text.lineHeight};\n font-size: ${(props) => props.theme.fontSizes.text.fontSize};\n padding: 0 2.5rem;\n text-decoration: none;\n outline: 0;\n\n &:hover,\n &:focus {\n background-color: ${(props) => props.theme.popOver.active.itemBgd};\n color: ${(props) => props.theme.popOver.active.itemText};\n outline: 0;\n }\n\n &:disabled {\n color: ${(props) => props.theme.popOver.disabled};\n }\n }\n\n a {\n width: unset;\n }\n\n .ch-content > * {\n ${ellipsis};\n }\n\n .ch-check {\n position: absolute;\n left: 0.5rem;\n width: 1.5rem;\n height: 1.5rem;\n top: 0.33rem;\n }\n\n &:hover .ch-check g,\n &:focus .ch-check g {\n fill: ${(props) => props.theme.popOver.active.itemText};\n }\n`;\n\nexport const StyledSubMenu = styled(StyledPopOverItem)`\n > span {\n width: 100%;\n height: 100%;\n display: block;\n height: 2rem;\n }\n\n > button {\n position: relative;\n }\n\n .ch-caret {\n position: absolute;\n width: 1.5rem;\n height: 1.5rem;\n right: 0;\n color: inherit;\n fill: inherit;\n }\n`;\n\nexport const StyledPopOverHeader = styled.header`\n border-bottom: 0.0625rem solid ${(props) => props.theme.popOver.separator};\n margin-bottom: 0.75rem;\n max-width: 22rem;\n\n img {\n width: 100%;\n display: inline-block;\n margin-top: -0.5rem;\n border-radius: 0.25rem 0.25rem 0 0;\n }\n\n img + .ch-title {\n margin-top: 0.75rem;\n }\n\n .ch-title {\n ${ellipsis};\n padding: 0 2.5rem;\n margin-top: 0.5rem;\n margin-bottom: 0;\n color: ${(props) => props.theme.popOver.titleText};\n font-size: 1.18125rem;\n line-height: ${(props) => props.theme.fontSizes.text.lineHeight};\n }\n\n .ch-subtitle {\n ${ellipsis};\n padding: 0 2.5rem;\n color: #616672;\n font-size: ${(props) => props.theme.fontSizes.text.fontSize};\n line-height: ${(props) => props.theme.fontSizes.text.lineHeight};\n line-height: 1.43;\n margin: 0 0 1rem;\n }\n`;\n\nexport const StyledPopOverSeparator = styled.li`\n margin: 0;\n border-width: 0.0625rem 0 0 0;\n border-style: solid;\n border-color: ${(props) => props.theme.popOver.separator};\n margin-bottom: 0.75rem;\n opacity: 0.8;\n`;\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport styled, { css } from 'styled-components';\n\nimport { ToolTipPositionType } from '.';\n\n// All units are in rem\nconst caretSpacing = 0.25;\nconst caretSize = 0.5;\nconst sidePadding = 0.5;\nconst verticalPadding = 0.75;\nconst fontSize = 1;\n\ninterface StyledTooltipProps {\n position: ToolTipPositionType;\n bounds: DOMRect;\n}\n\nconst TopProps = css`\n top: calc(\n ${(props) => props.bounds?.top ?? 0}px -\n ${caretSize + caretSpacing + fontSize}rem\n );\n left: ${(props) =>\n ((props.bounds?.left ?? 0) + (props.bounds?.right ?? 0)) / 2}px;\n transform: translateX(-50%) translateY(-50%);\n\n &::before {\n transform: rotateZ(180deg);\n top: 100%;\n left: calc(50% - ${caretSize}rem);\n }\n`;\n\nconst BottomProps = css`\n top: calc(\n ${(props) => props.bounds?.bottom ?? 0}px +\n ${caretSize + caretSpacing + fontSize}rem\n );\n left: ${(props) =>\n ((props.bounds?.left ?? 0) + (props.bounds?.right ?? 0)) / 2}px;\n transform: translateX(-50%) translateY(-50%);\n\n &::before {\n transform: rotateZ(0deg);\n top: -${caretSize}rem;\n left: calc(50% - ${caretSize}rem);\n }\n`;\n\nconst LeftProps = css`\n top: ${(props) =>\n ((props.bounds?.top ?? 0) + (props.bounds?.bottom ?? 0)) / 2}px;\n left: calc(\n ${(props) => props.bounds?.left ?? 0}px - ${caretSize + caretSpacing}rem\n );\n transform: translateY(-50%) translateX(-100%);\n\n &::before {\n transform: rotateZ(90deg);\n top: calc(50% - ${caretSize / 2}rem);\n left: calc(100% - ${caretSpacing}rem);\n }\n`;\n\nconst RightProps = css`\n top: ${(props) =>\n ((props.bounds?.top ?? 0) + (props.bounds?.bottom ?? 0)) / 2}px;\n left: calc(\n ${(props) => props.bounds?.right ?? 0}px + ${caretSize + caretSpacing}rem\n );\n transform: translateY(-50%);\n\n &::before {\n transform: rotateZ(270deg);\n top: calc(50% - ${caretSize / 2}rem);\n left: -${caretSize + caretSpacing}rem;\n }\n`;\n\nexport const StyledTooltip = styled.span`\n @keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n\n position: fixed;\n z-index: 9999;\n color: white;\n white-space: nowrap;\n pointer-events: none;\n line-height: normal;\n background-color: rgba(0, 0, 0, 0.8);\n border-radius: ${fontSize / 2}rem;\n font-size: ${fontSize}rem;\n font-weight: 300;\n padding: ${sidePadding}rem ${verticalPadding}rem;\n white-space: nowrap;\n animation: fadeIn 0.3s;\n\n &::before {\n border-bottom: ${caretSize}rem solid rgba(0, 0, 0, 0.8);\n border-left: ${caretSize}rem solid transparent;\n border-right: ${caretSize}rem solid transparent;\n content: '';\n height: 0;\n transform: translateX(-100%) translateY(-50%);\n width: 0;\n z-index: 1;\n position: absolute;\n }\n\n ${(props) => props.position === 'top' && TopProps}\n ${(props) => props.position === 'bottom' && BottomProps}\n ${(props) => props.position === 'left' && LeftProps}\n ${(props) => props.position === 'right' && RightProps}\n`;\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/8800.cdf0b1f9.iframe.bundle.js b/8800.cdf0b1f9.iframe.bundle.js new file mode 100644 index 000000000..8946f5e22 --- /dev/null +++ b/8800.cdf0b1f9.iframe.bundle.js @@ -0,0 +1,44 @@ +"use strict";(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[8800],{"./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/formatter-S4K5WUZV.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{formatter:()=>formatter});var _chunk_NNAAFZ4U_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-NNAAFZ4U.mjs"),memoizerific__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_0__),require_parser_html=(0,_chunk_NNAAFZ4U_mjs__WEBPACK_IMPORTED_MODULE_1__.E)({"node_modules/prettier/parser-html.js"(exports,module){!function(e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&__webpack_require__.amdO)define(e);else{var i=typeof globalThis<"u"?globalThis:typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof self<"u"?self:this||{};i.prettierPlugins=i.prettierPlugins||{},i.prettierPlugins.html=e()}}((function(){var S=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),ee=S(((cc,Kr)=>{var Ne=function(e){return e&&e.Math==Math&&e};Kr.exports=Ne("object"==typeof globalThis&&globalThis)||Ne("object"==typeof window&&window)||Ne("object"==typeof self&&self)||Ne("object"==typeof __webpack_require__.g&&__webpack_require__.g)||function(){return this}()||Function("return this")()})),se=S(((hc,Jr)=>{Jr.exports=function(e){try{return!!e()}catch{return!0}}})),ae=S(((pc,Zr)=>{var qs=se();Zr.exports=!qs((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),Oe=S(((fc,eu)=>{var Is=se();eu.exports=!Is((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),De=S(((dc,ru)=>{var Rs=Oe(),qe=Function.prototype.call;ru.exports=Rs?qe.bind(qe):function(){return qe.apply(qe,arguments)}})),su=S((nu=>{var uu={}.propertyIsEnumerable,tu=Object.getOwnPropertyDescriptor,xs=tu&&!uu.call({1:2},1);nu.f=xs?function(r){var u=tu(this,r);return!!u&&u.enumerable}:uu})),Ie=S(((Cc,iu)=>{iu.exports=function(e,r){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:r}}})),re=S(((mc,Du)=>{var au=Oe(),ou=Function.prototype,er=ou.call,Ps=au&&ou.bind.bind(er,er);Du.exports=au?Ps:function(e){return function(){return er.apply(e,arguments)}}})),me=S(((gc,cu)=>{var lu=re(),ks=lu({}.toString),Ls=lu("".slice);cu.exports=function(e){return Ls(ks(e),8,-1)}})),pu=S(((Fc,hu)=>{var $s=re(),Ms=se(),js=me(),rr=Object,Us=$s("".split);hu.exports=Ms((function(){return!rr("z").propertyIsEnumerable(0)}))?function(e){return"String"==js(e)?Us(e,""):rr(e)}:rr})),Re=S(((Ac,fu)=>{fu.exports=function(e){return null==e}})),ur=S(((vc,du)=>{var Gs=Re(),Vs=TypeError;du.exports=function(e){if(Gs(e))throw Vs("Can't call method on "+e);return e}})),xe=S(((_c,Eu)=>{var Xs=pu(),Hs=ur();Eu.exports=function(e){return Xs(Hs(e))}})),nr=S(((Sc,Cu)=>{var tr="object"==typeof document&&document.all,zs=typeof tr>"u"&&void 0!==tr;Cu.exports={all:tr,IS_HTMLDDA:zs}})),Y=S(((yc,gu)=>{var mu=nr(),Ws=mu.all;gu.exports=mu.IS_HTMLDDA?function(e){return"function"==typeof e||e===Ws}:function(e){return"function"==typeof e}})),le=S(((Tc,vu)=>{var Fu=Y(),Au=nr(),Ys=Au.all;vu.exports=Au.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Fu(e)||e===Ys}:function(e){return"object"==typeof e?null!==e:Fu(e)}})),ge=S(((Bc,_u)=>{var sr=ee(),Qs=Y();_u.exports=function(e,r){return arguments.length<2?function(e){return Qs(e)?e:void 0}(sr[e]):sr[e]&&sr[e][r]}})),ir=S(((bc,Su)=>{var Js=re();Su.exports=Js({}.isPrototypeOf)})),Tu=S(((wc,yu)=>{var Zs=ge();yu.exports=Zs("navigator","userAgent")||""})),Iu=S(((Nc,qu)=>{var ue,Pe,Ou=ee(),ar=Tu(),Bu=Ou.process,bu=Ou.Deno,wu=Bu&&Bu.versions||bu&&bu.version,Nu=wu&&wu.v8;Nu&&(Pe=(ue=Nu.split("."))[0]>0&&ue[0]<4?1:+(ue[0]+ue[1])),!Pe&&ar&&((!(ue=ar.match(/Edge\/(\d+)/))||ue[1]>=74)&&((ue=ar.match(/Chrome\/(\d+)/))&&(Pe=+ue[1]))),qu.exports=Pe})),or=S(((Oc,xu)=>{var Ru=Iu(),ei=se();xu.exports=!!Object.getOwnPropertySymbols&&!ei((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ru&&Ru<41}))})),Dr=S(((qc,Pu)=>{var ri=or();Pu.exports=ri&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),lr=S(((Ic,ku)=>{var ui=ge(),ti=Y(),ni=ir(),si=Dr(),ii=Object;ku.exports=si?function(e){return"symbol"==typeof e}:function(e){var r=ui("Symbol");return ti(r)&&ni(r.prototype,ii(e))}})),ke=S(((Rc,Lu)=>{var ai=String;Lu.exports=function(e){try{return ai(e)}catch{return"Object"}}})),Fe=S(((xc,$u)=>{var oi=Y(),Di=ke(),li=TypeError;$u.exports=function(e){if(oi(e))return e;throw li(Di(e)+" is not a function")}})),Le=S(((Pc,Mu)=>{var ci=Fe(),hi=Re();Mu.exports=function(e,r){var u=e[r];return hi(u)?void 0:ci(u)}})),Uu=S(((kc,ju)=>{var cr=De(),hr=Y(),pr=le(),pi=TypeError;ju.exports=function(e,r){var u,n;if("string"===r&&hr(u=e.toString)&&!pr(n=cr(u,e))||hr(u=e.valueOf)&&!pr(n=cr(u,e))||"string"!==r&&hr(u=e.toString)&&!pr(n=cr(u,e)))return n;throw pi("Can't convert object to primitive value")}})),Vu=S(((Lc,Gu)=>{Gu.exports=!1})),$e=S((($c,Hu)=>{var Xu=ee(),fi=Object.defineProperty;Hu.exports=function(e,r){try{fi(Xu,e,{value:r,configurable:!0,writable:!0})}catch{Xu[e]=r}return r}})),Me=S(((Mc,Wu)=>{var di=ee(),Ei=$e(),zu="__core-js_shared__",Ci=di[zu]||Ei(zu,{});Wu.exports=Ci})),fr=S(((jc,Qu)=>{var mi=Vu(),Yu=Me();(Qu.exports=function(e,r){return Yu[e]||(Yu[e]=void 0!==r?r:{})})("versions",[]).push({version:"3.26.1",mode:mi?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),dr=S(((Uc,Ku)=>{var gi=ur(),Fi=Object;Ku.exports=function(e){return Fi(gi(e))}})),oe=S(((Gc,Ju)=>{var Ai=re(),vi=dr(),_i=Ai({}.hasOwnProperty);Ju.exports=Object.hasOwn||function(r,u){return _i(vi(r),u)}})),Er=S(((Vc,Zu)=>{var Si=re(),yi=0,Ti=Math.random(),Bi=Si(1..toString);Zu.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Bi(++yi+Ti,36)}})),he=S(((Xc,nt)=>{var bi=ee(),wi=fr(),et=oe(),Ni=Er(),rt=or(),tt=Dr(),fe=wi("wks"),ce=bi.Symbol,ut=ce&&ce.for,Oi=tt?ce:ce&&ce.withoutSetter||Ni;nt.exports=function(e){if(!et(fe,e)||!rt&&"string"!=typeof fe[e]){var r="Symbol."+e;rt&&et(ce,e)?fe[e]=ce[e]:fe[e]=tt&&ut?ut(r):Oi(r)}return fe[e]}})),ot=S(((Hc,at)=>{var qi=De(),st=le(),it=lr(),Ii=Le(),Ri=Uu(),xi=he(),Pi=TypeError,ki=xi("toPrimitive");at.exports=function(e,r){if(!st(e)||it(e))return e;var n,u=Ii(e,ki);if(u){if(void 0===r&&(r="default"),n=qi(u,e,r),!st(n)||it(n))return n;throw Pi("Can't convert object to primitive value")}return void 0===r&&(r="number"),Ri(e,r)}})),je=S(((zc,Dt)=>{var Li=ot(),$i=lr();Dt.exports=function(e){var r=Li(e,"string");return $i(r)?r:r+""}})),ht=S(((Wc,ct)=>{var Mi=ee(),lt=le(),Cr=Mi.document,ji=lt(Cr)&<(Cr.createElement);ct.exports=function(e){return ji?Cr.createElement(e):{}}})),mr=S(((Yc,pt)=>{var Ui=ae(),Gi=se(),Vi=ht();pt.exports=!Ui&&!Gi((function(){return 7!=Object.defineProperty(Vi("div"),"a",{get:function(){return 7}}).a}))})),gr=S((dt=>{var Xi=ae(),Hi=De(),zi=su(),Wi=Ie(),Yi=xe(),Qi=je(),Ki=oe(),Ji=mr(),ft=Object.getOwnPropertyDescriptor;dt.f=Xi?ft:function(r,u){if(r=Yi(r),u=Qi(u),Ji)try{return ft(r,u)}catch{}if(Ki(r,u))return Wi(!Hi(zi.f,r,u),r[u])}})),Ct=S(((Kc,Et)=>{var Zi=ae(),ea=se();Et.exports=Zi&&ea((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),de=S(((Jc,mt)=>{var ra=le(),ua=String,ta=TypeError;mt.exports=function(e){if(ra(e))return e;throw ta(ua(e)+" is not an object")}})),Ae=S((Ft=>{var na=ae(),sa=mr(),ia=Ct(),Ue=de(),gt=je(),aa=TypeError,Fr=Object.defineProperty,oa=Object.getOwnPropertyDescriptor,Ar="enumerable",vr="configurable",_r="writable";Ft.f=na?ia?function(r,u,n){if(Ue(r),u=gt(u),Ue(n),"function"==typeof r&&"prototype"===u&&"value"in n&&_r in n&&!n[_r]){var D=oa(r,u);D&&D[_r]&&(r[u]=n.value,n={configurable:vr in n?n[vr]:D[vr],enumerable:Ar in n?n[Ar]:D[Ar],writable:!1})}return Fr(r,u,n)}:Fr:function(r,u,n){if(Ue(r),u=gt(u),Ue(n),sa)try{return Fr(r,u,n)}catch{}if("get"in n||"set"in n)throw aa("Accessors not supported");return"value"in n&&(r[u]=n.value),r}})),Sr=S(((e2,At)=>{var Da=ae(),la=Ae(),ca=Ie();At.exports=Da?function(e,r,u){return la.f(e,r,ca(1,u))}:function(e,r,u){return e[r]=u,e}})),St=S(((r2,_t)=>{var yr=ae(),ha=oe(),vt=Function.prototype,pa=yr&&Object.getOwnPropertyDescriptor,Tr=ha(vt,"name"),fa=Tr&&"something"===function(){}.name,da=Tr&&(!yr||yr&&pa(vt,"name").configurable);_t.exports={EXISTS:Tr,PROPER:fa,CONFIGURABLE:da}})),br=S(((u2,yt)=>{var Ea=re(),Ca=Y(),Br=Me(),ma=Ea(Function.toString);Ca(Br.inspectSource)||(Br.inspectSource=function(e){return ma(e)}),yt.exports=Br.inspectSource})),bt=S(((t2,Bt)=>{var ga=ee(),Fa=Y(),Tt=ga.WeakMap;Bt.exports=Fa(Tt)&&/native code/.test(String(Tt))})),Ot=S(((n2,Nt)=>{var Aa=fr(),va=Er(),wt=Aa("keys");Nt.exports=function(e){return wt[e]||(wt[e]=va(e))}})),wr=S(((s2,qt)=>{qt.exports={}})),Pt=S(((i2,xt)=>{var Ge,ve,Ve,te,pe,_a=bt(),Rt=ee(),Sa=le(),ya=Sr(),Nr=oe(),Or=Me(),Ta=Ot(),Ba=wr(),It="Object already initialized",qr=Rt.TypeError,ba=Rt.WeakMap;_a||Or.state?((te=Or.state||(Or.state=new ba)).get=te.get,te.has=te.has,te.set=te.set,Ge=function(e,r){if(te.has(e))throw qr(It);return r.facade=e,te.set(e,r),r},ve=function(e){return te.get(e)||{}},Ve=function(e){return te.has(e)}):(Ba[pe=Ta("state")]=!0,Ge=function(e,r){if(Nr(e,pe))throw qr(It);return r.facade=e,ya(e,pe,r),r},ve=function(e){return Nr(e,pe)?e[pe]:{}},Ve=function(e){return Nr(e,pe)}),xt.exports={set:Ge,get:ve,has:Ve,enforce:function(e){return Ve(e)?ve(e):Ge(e,{})},getterFor:function(e){return function(r){var u;if(!Sa(r)||(u=ve(r)).type!==e)throw qr("Incompatible receiver, "+e+" required");return u}}}})),$t=S(((a2,Lt)=>{var Oa=se(),qa=Y(),Xe=oe(),Ir=ae(),Ia=St().CONFIGURABLE,Ra=br(),kt=Pt(),xa=kt.enforce,Pa=kt.get,He=Object.defineProperty,ka=Ir&&!Oa((function(){return 8!==He((function(){}),"length",{value:8}).length})),La=String(String).split("String"),$a=Lt.exports=function(e,r,u){"Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),u&&u.getter&&(r="get "+r),u&&u.setter&&(r="set "+r),(!Xe(e,"name")||Ia&&e.name!==r)&&(Ir?He(e,"name",{value:r,configurable:!0}):e.name=r),ka&&u&&Xe(u,"arity")&&e.length!==u.arity&&He(e,"length",{value:u.arity});try{u&&Xe(u,"constructor")&&u.constructor?Ir&&He(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=xa(e);return Xe(n,"source")||(n.source=La.join("string"==typeof r?r:"")),e};Function.prototype.toString=$a((function(){return qa(this)&&Pa(this).source||Ra(this)}),"toString")})),jt=S(((o2,Mt)=>{var Ma=Y(),ja=Ae(),Ua=$t(),Ga=$e();Mt.exports=function(e,r,u,n){n||(n={});var D=n.enumerable,s=void 0!==n.name?n.name:r;if(Ma(u)&&Ua(u,s,n),n.global)D?e[r]=u:Ga(r,u);else{try{n.unsafe?e[r]&&(D=!0):delete e[r]}catch{}D?e[r]=u:ja.f(e,r,{value:u,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e}})),Gt=S(((D2,Ut)=>{var Va=Math.ceil,Xa=Math.floor;Ut.exports=Math.trunc||function(r){var u=+r;return(u>0?Xa:Va)(u)}})),Rr=S(((l2,Vt)=>{var Ha=Gt();Vt.exports=function(e){var r=+e;return r!=r||0===r?0:Ha(r)}})),Ht=S(((c2,Xt)=>{var za=Rr(),Wa=Math.max,Ya=Math.min;Xt.exports=function(e,r){var u=za(e);return u<0?Wa(u+r,0):Ya(u,r)}})),Wt=S(((h2,zt)=>{var Qa=Rr(),Ka=Math.min;zt.exports=function(e){return e>0?Ka(Qa(e),9007199254740991):0}})),_e=S(((p2,Yt)=>{var Ja=Wt();Yt.exports=function(e){return Ja(e.length)}})),Jt=S(((f2,Kt)=>{var Za=xe(),eo=Ht(),ro=_e(),Qt=function(e){return function(r,u,n){var f,D=Za(r),s=ro(D),i=eo(n,s);if(e&&u!=u){for(;s>i;)if((f=D[i++])!=f)return!0}else for(;s>i;i++)if((e||i in D)&&D[i]===u)return e||i||0;return!e&&-1}};Kt.exports={includes:Qt(!0),indexOf:Qt(!1)}})),rn=S(((d2,en)=>{var uo=re(),xr=oe(),to=xe(),no=Jt().indexOf,so=wr(),Zt=uo([].push);en.exports=function(e,r){var s,u=to(e),n=0,D=[];for(s in u)!xr(so,s)&&xr(u,s)&&Zt(D,s);for(;r.length>n;)xr(u,s=r[n++])&&(~no(D,s)||Zt(D,s));return D}})),tn=S(((E2,un)=>{un.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),sn=S((nn=>{var io=rn(),oo=tn().concat("length","prototype");nn.f=Object.getOwnPropertyNames||function(r){return io(r,oo)}})),on=S((an=>{an.f=Object.getOwnPropertySymbols})),ln=S(((g2,Dn)=>{var Do=ge(),lo=re(),co=sn(),ho=on(),po=de(),fo=lo([].concat);Dn.exports=Do("Reflect","ownKeys")||function(r){var u=co.f(po(r)),n=ho.f;return n?fo(u,n(r)):u}})),pn=S(((F2,hn)=>{var cn=oe(),Eo=ln(),Co=gr(),mo=Ae();hn.exports=function(e,r,u){for(var n=Eo(r),D=mo.f,s=Co.f,i=0;i{var go=se(),Fo=Y(),Ao=/#|\.prototype\./,Se=function(e,r){var u=_o[vo(e)];return u==yo||u!=So&&(Fo(r)?go(r):!!r)},vo=Se.normalize=function(e){return String(e).replace(Ao,".").toLowerCase()},_o=Se.data={},So=Se.NATIVE="N",yo=Se.POLYFILL="P";fn.exports=Se})),ze=S(((v2,En)=>{var Pr=ee(),To=gr().f,Bo=Sr(),bo=jt(),wo=$e(),No=pn(),Oo=dn();En.exports=function(e,r){var i,f,c,F,a,u=e.target,n=e.global,D=e.stat;if(i=n?Pr:D?Pr[u]||wo(u,{}):(Pr[u]||{}).prototype)for(f in r){if(F=r[f],e.dontCallGetSet?c=(a=To(i,f))&&a.value:c=i[f],!Oo(n?f:u+(D?".":"#")+f,e.forced)&&void 0!==c){if(typeof F==typeof c)continue;No(F,c)}(e.sham||c&&c.sham)&&Bo(F,"sham",!0),bo(i,f,F,e)}}})),Cn=S((()=>{var qo=ze(),kr=ee();qo({global:!0,forced:kr.globalThis!==kr},{globalThis:kr})})),mn=S((()=>{Cn()})),Lr=S(((B2,gn)=>{var Io=me();gn.exports=Array.isArray||function(r){return"Array"==Io(r)}})),An=S(((b2,Fn)=>{var Ro=TypeError;Fn.exports=function(e){if(e>9007199254740991)throw Ro("Maximum allowed index exceeded");return e}})),_n=S(((w2,vn)=>{var Po=me(),ko=re();vn.exports=function(e){if("Function"===Po(e))return ko(e)}})),$r=S(((N2,yn)=>{var Sn=_n(),Lo=Fe(),$o=Oe(),Mo=Sn(Sn.bind);yn.exports=function(e,r){return Lo(e),void 0===r?e:$o?Mo(e,r):function(){return e.apply(r,arguments)}}})),bn=S(((O2,Bn)=>{var jo=Lr(),Uo=_e(),Go=An(),Vo=$r(),Tn=function(e,r,u,n,D,s,i,f){for(var l,h,c=D,F=0,a=!!i&&Vo(i,f);F0&&jo(l)?(h=Uo(l),c=Tn(e,r,l,h,c,s-1)-1):(Go(c+1),e[c]=l),c++),F++;return c};Bn.exports=Tn})),On=S(((q2,Nn)=>{var wn={};wn[he()("toStringTag")]="z",Nn.exports="[object z]"===String(wn)})),Mr=S(((I2,qn)=>{var zo=On(),Wo=Y(),We=me(),Qo=he()("toStringTag"),Ko=Object,Jo="Arguments"==We(function(){return arguments}());qn.exports=zo?We:function(e){var r,u,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(u=function(e,r){try{return e[r]}catch{}}(r=Ko(e),Qo))?u:Jo?We(r):"Object"==(n=We(r))&&Wo(r.callee)?"Arguments":n}})),Ln=S(((R2,kn)=>{var eD=re(),rD=se(),In=Y(),uD=Mr(),tD=ge(),nD=br(),Rn=function(){},sD=[],xn=tD("Reflect","construct"),jr=/^\s*(?:class|function)\b/,iD=eD(jr.exec),aD=!jr.exec(Rn),ye=function(r){if(!In(r))return!1;try{return xn(Rn,sD,r),!0}catch{return!1}},Pn=function(r){if(!In(r))return!1;switch(uD(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return aD||!!iD(jr,nD(r))}catch{return!0}};Pn.sham=!0,kn.exports=!xn||rD((function(){var e;return ye(ye.call)||!ye(Object)||!ye((function(){e=!0}))||e}))?Pn:ye})),Un=S(((x2,jn)=>{var $n=Lr(),oD=Ln(),DD=le(),cD=he()("species"),Mn=Array;jn.exports=function(e){var r;return $n(e)&&(r=e.constructor,oD(r)&&(r===Mn||$n(r.prototype))?r=void 0:DD(r)&&(null===(r=r[cD])&&(r=void 0))),void 0===r?Mn:r}})),Vn=S(((P2,Gn)=>{var hD=Un();Gn.exports=function(e,r){return new(hD(e))(0===r?0:r)}})),Xn=S((()=>{var pD=ze(),fD=bn(),dD=Fe(),ED=dr(),CD=_e(),mD=Vn();pD({target:"Array",proto:!0},{flatMap:function(r){var D,u=ED(this),n=CD(u);return dD(r),(D=mD(u,0)).length=fD(D,u,u,n,0,1,r,arguments.length>1?arguments[1]:void 0),D}})})),Ur=S((($2,Hn)=>{Hn.exports={}})),Wn=S(((M2,zn)=>{var gD=he(),FD=Ur(),AD=gD("iterator"),vD=Array.prototype;zn.exports=function(e){return void 0!==e&&(FD.Array===e||vD[AD]===e)}})),Gr=S(((j2,Qn)=>{var _D=Mr(),Yn=Le(),SD=Re(),yD=Ur(),BD=he()("iterator");Qn.exports=function(e){if(!SD(e))return Yn(e,BD)||Yn(e,"@@iterator")||yD[_D(e)]}})),Jn=S(((U2,Kn)=>{var bD=De(),wD=Fe(),ND=de(),OD=ke(),qD=Gr(),ID=TypeError;Kn.exports=function(e,r){var u=arguments.length<2?qD(e):r;if(wD(u))return ND(bD(u,e));throw ID(OD(e)+" is not iterable")}})),rs=S(((G2,es)=>{var RD=De(),Zn=de(),xD=Le();es.exports=function(e,r,u){var n,D;Zn(e);try{if(!(n=xD(e,"return"))){if("throw"===r)throw u;return u}n=RD(n,e)}catch(s){D=!0,n=s}if("throw"===r)throw u;if(D)throw n;return Zn(n),u}})),is=S(((V2,ss)=>{var PD=$r(),kD=De(),LD=de(),$D=ke(),MD=Wn(),jD=_e(),us=ir(),UD=Jn(),GD=Gr(),ts=rs(),VD=TypeError,Ye=function(e,r){this.stopped=e,this.result=r},ns=Ye.prototype;ss.exports=function(e,r,u){var F,a,l,h,C,d,m,n=u&&u.that,D=!(!u||!u.AS_ENTRIES),s=!(!u||!u.IS_RECORD),i=!(!u||!u.IS_ITERATOR),f=!(!u||!u.INTERRUPTED),c=PD(r,n),T=function(g){return F&&ts(F,"normal",g),new Ye(!0,g)},w=function(g){return D?(LD(g),f?c(g[0],g[1],T):c(g[0],g[1])):f?c(g,T):c(g)};if(s)F=e.iterator;else if(i)F=e;else{if(!(a=GD(e)))throw VD($D(e)+" is not iterable");if(MD(a)){for(l=0,h=jD(e);h>l;l++)if((C=w(e[l]))&&us(ns,C))return C;return new Ye(!1)}F=UD(e,a)}for(d=s?e.next:F.next;!(m=kD(d,F)).done;){try{C=w(m.value)}catch(g){ts(F,"throw",g)}if("object"==typeof C&&C&&us(ns,C))return C}return new Ye(!1)}})),os=S(((X2,as)=>{var XD=je(),HD=Ae(),zD=Ie();as.exports=function(e,r,u){var n=XD(r);n in e?HD.f(e,n,zD(0,u)):e[n]=u}})),Ds=S((()=>{var WD=ze(),YD=is(),QD=os();WD({target:"Object",stat:!0},{fromEntries:function(r){var u={};return YD(r,(function(n,D){QD(u,n,D)}),{AS_ENTRIES:!0}),u}})})),Dc=S(((W2,Os)=>{var KD=["cliName","cliCategory","cliDescription"];function JD(e,r){if(null==e)return{};var n,D,u=function ZD(e,r){if(null==e)return{};var D,s,u={},n=Object.keys(e);for(s=0;s=0)&&(u[D]=e[D]);return u}(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(D=0;D=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}mn(),Xn(),Ds();var Te,el=Object.create,Je=Object.defineProperty,rl=Object.getOwnPropertyDescriptor,Xr=Object.getOwnPropertyNames,ul=Object.getPrototypeOf,tl=Object.prototype.hasOwnProperty,Ee=(e,r)=>function(){return e&&(r=(0,e[Xr(e)[0]])(e=0)),r},I=(e,r)=>function(){return r||(0,e[Xr(e)[0]])((r={exports:{}}).exports,r),r.exports},ps=(e,r)=>{for(var u in r)Je(e,u,{get:r[u],enumerable:!0})},fs=(e,r,u,n)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let D of Xr(r))!tl.call(e,D)&&D!==u&&Je(e,D,{get:()=>r[D],enumerable:!(n=rl(r,D))||n.enumerable});return e},ds=e=>fs(Je({},"__esModule",{value:!0}),e),q=Ee({""(){Te={env:{},argv:[]}}}),Es=I({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function u(f){return e.$0<=f&&f<=e.$9}q(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function r(f){return f>=e.$TAB&&f<=e.$SPACE||f==e.$NBSP},e.isDigit=u,e.isAsciiLetter=function n(f){return f>=e.$a&&f<=e.$z||f>=e.$A&&f<=e.$Z},e.isAsciiHexDigit=function D(f){return f>=e.$a&&f<=e.$f||f>=e.$A&&f<=e.$F||u(f)},e.isNewLine=function s(f){return f===e.$LF||f===e.$CR},e.isOctalDigit=function i(f){return e.$0<=f&&f<=e.$7}}}),sl=I({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});var r=class{constructor(n,D,s){this.filePath=n,this.name=D,this.members=s}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=r;e.StaticSymbolCache=class{constructor(){this.cache=new Map}get(n,D,s){let f=`"${n}".${D}${(s=s||[]).length?`.${s.join(".")}`:""}`,c=this.cache.get(f);return c||(c=new r(n,D,s),this.cache.set(f,c)),c}}}}),il=I({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});var r=/-+([a-z0-9])/g;function s(o,E,p){let A=o.indexOf(E);return-1==A?p:[o.slice(0,A).trim(),o.slice(A+1).trim()]}function i(o,E,p){return Array.isArray(o)?E.visitArray(o,p):function g(o){return"object"==typeof o&&null!==o&&Object.getPrototypeOf(o)===w}(o)?E.visitStringMap(o,p):null==o||"string"==typeof o||"number"==typeof o||"boolean"==typeof o?E.visitPrimitive(o,p):E.visitOther(o,p)}e.dashCaseToCamelCase=function u(o){return o.replace(r,(function(){for(var E=arguments.length,p=new Array(E),A=0;Ai(p,this,E)))}visitStringMap(o,E){let p={};return Object.keys(o).forEach((A=>{p[A]=i(o[A],this,E)})),p}visitPrimitive(o,E){return o}visitOther(o,E){return o}},e.SyncAsync={assertSync:o=>{if(_(o))throw new Error("Illegal state: value cannot be a promise");return o},then:(o,E)=>_(o)?o.then(E):E(o),all:o=>o.some(_)?Promise.all(o):o},e.error=function a(o){throw new Error(`Internal Error: ${o}`)},e.syntaxError=function l(o,E){let p=Error(o);return p[h]=!0,E&&(p[C]=E),p};var h="ngSyntaxError",C="ngParseErrors";e.isSyntaxError=function d(o){return o[h]},e.getParseErrors=function m(o){return o[C]||[]},e.escapeRegExp=function T(o){return o.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var w=Object.getPrototypeOf({});function _(o){return!!o&&"function"==typeof o.then}e.utf8Encode=function N(o){let E="";for(let p=0;p=55296&&A<=56319&&o.length>p+1){let P=o.charCodeAt(p+1);P>=56320&&P<=57343&&(p++,A=(A-55296<<10)+P-56320+65536)}A<=127?E+=String.fromCharCode(A):A<=2047?E+=String.fromCharCode(A>>6&31|192,63&A|128):A<=65535?E+=String.fromCharCode(A>>12|224,A>>6&63|128,63&A|128):A<=2097151&&(E+=String.fromCharCode(A>>18&7|240,A>>12&63|128,A>>6&63|128,63&A|128))}return E},e.stringify=function R(o){if("string"==typeof o)return o;if(o instanceof Array)return"["+o.map(R).join(", ")+"]";if(null==o)return""+o;if(o.overriddenName)return`${o.overriddenName}`;if(o.name)return`${o.name}`;if(!o.toString)return"object";let E=o.toString();if(null==E)return""+E;let p=E.indexOf("\n");return-1===p?E:E.substring(0,p)},e.resolveForwardRef=function j(o){return"function"==typeof o&&o.hasOwnProperty("__forward_ref__")?o():o},e.isPromise=_;e.Version=class{constructor(o){this.full=o;let E=o.split(".");this.major=E[0],this.minor=E[1],this.patch=E.slice(2).join(".")}};var x=typeof window<"u"&&window,k=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,t=typeof globalThis<"u"&&globalThis||x||k;e.global=t}}),al=I({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});var r=sl(),u=il(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function D(p){return p.replace(/\W/g,"_")}e.sanitizeIdentifier=D;var h,p,s=0;function i(p){if(!p||!p.reference)return null;let A=p.reference;if(A instanceof r.StaticSymbol)return A.name;if(A.__anonymousType)return A.__anonymousType;let P=u.stringify(A);return P.indexOf("(")>=0?(P="anonymous_"+s++,A.__anonymousType=P):P=D(P),P}e.identifierName=i,e.identifierModuleUrl=function f(p){let A=p.reference;return A instanceof r.StaticSymbol?A.filePath:`./${u.stringify(A)}`},e.viewClassName=function c(p,A){return`View_${i({reference:p})}_${A}`},e.rendererTypeName=function F(p){return`RenderType_${i({reference:p})}`},e.hostViewClassName=function a(p){return`HostView_${i({reference:p})}`},e.componentFactoryName=function l(p){return`${i({reference:p})}NgFactory`},(p=h=e.CompileSummaryKind||(e.CompileSummaryKind={}))[p.Pipe=0]="Pipe",p[p.Directive=1]="Directive",p[p.NgModule=2]="NgModule",p[p.Injectable=3]="Injectable",e.tokenName=function C(p){return null!=p.value?D(p.value):i(p.identifier)},e.tokenReference=function d(p){return null!=p.identifier?p.identifier.reference:p.value};e.CompileStylesheetMetadata=class{constructor(){let{moduleUrl:p,styles:A,styleUrls:P}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=p||null,this.styles=_(A),this.styleUrls=_(P)}};e.CompileTemplateMetadata=class{constructor(p){let{encapsulation:A,template:P,templateUrl:M,htmlAst:z,styles:V,styleUrls:X,externalStylesheets:H,animations:Q,ngContentSelectors:K,interpolation:J,isInline:v,preserveWhitespaces:y}=p;if(this.encapsulation=A,this.template=P,this.templateUrl=M,this.htmlAst=z,this.styles=_(V),this.styleUrls=_(X),this.externalStylesheets=_(H),this.animations=Q?x(Q):[],this.ngContentSelectors=K||[],J&&2!=J.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=J,this.isInline=v,this.preserveWhitespaces=y}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};var w=class{static create(p){let{isHost:A,type:P,isComponent:M,selector:z,exportAs:V,changeDetection:X,inputs:H,outputs:Q,host:K,providers:J,viewProviders:v,queries:y,guards:B,viewQueries:b,entryComponents:L,template:U,componentViewType:G,rendererType:W,componentFactory:ne}=p,be={},we={},Wr={};null!=K&&Object.keys(K).forEach((Z=>{let ie=K[Z],Ce=Z.match(n);null===Ce?Wr[Z]=ie:null!=Ce[1]?we[Ce[1]]=ie:null!=Ce[2]&&(be[Ce[2]]=ie)}));let Yr={};H?.forEach((Z=>{let ie=u.splitAtColon(Z,[Z,Z]);Yr[ie[0]]=ie[1]}));let Qr={};return Q?.forEach((Z=>{let ie=u.splitAtColon(Z,[Z,Z]);Qr[ie[0]]=ie[1]})),new w({isHost:A,type:P,isComponent:!!M,selector:z,exportAs:V,changeDetection:X,inputs:Yr,outputs:Qr,hostListeners:be,hostProperties:we,hostAttributes:Wr,providers:J,viewProviders:v,queries:y,guards:B,viewQueries:b,entryComponents:L,template:U,componentViewType:G,rendererType:W,componentFactory:ne})}constructor(p){let{isHost:A,type:P,isComponent:M,selector:z,exportAs:V,changeDetection:X,inputs:H,outputs:Q,hostListeners:K,hostProperties:J,hostAttributes:v,providers:y,viewProviders:B,queries:b,guards:L,viewQueries:U,entryComponents:G,template:W,componentViewType:ne,rendererType:be,componentFactory:we}=p;this.isHost=!!A,this.type=P,this.isComponent=M,this.selector=z,this.exportAs=V,this.changeDetection=X,this.inputs=H,this.outputs=Q,this.hostListeners=K,this.hostProperties=J,this.hostAttributes=v,this.providers=_(y),this.viewProviders=_(B),this.queries=_(b),this.guards=L,this.viewQueries=_(U),this.entryComponents=_(G),this.template=W,this.componentViewType=ne,this.rendererType=be,this.componentFactory=we}toSummary(){return{summaryKind:h.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=w;e.CompilePipeMetadata=class{constructor(p){let{type:A,name:P,pure:M}=p;this.type=A,this.name=P,this.pure=!!M}toSummary(){return{summaryKind:h.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompileShallowModuleMetadata=class{};e.CompileNgModuleMetadata=class{constructor(p){let{type:A,providers:P,declaredDirectives:M,exportedDirectives:z,declaredPipes:V,exportedPipes:X,entryComponents:H,bootstrapComponents:Q,importedModules:K,exportedModules:J,schemas:v,transitiveModule:y,id:B}=p;this.type=A||null,this.declaredDirectives=_(M),this.exportedDirectives=_(z),this.declaredPipes=_(V),this.exportedPipes=_(X),this.providers=_(P),this.entryComponents=_(H),this.bootstrapComponents=_(Q),this.importedModules=_(K),this.exportedModules=_(J),this.schemas=_(v),this.id=B||null,this.transitiveModule=y||null}toSummary(){let p=this.transitiveModule;return{summaryKind:h.NgModule,type:this.type,entryComponents:p.entryComponents,providers:p.providers,modules:p.modules,exportedDirectives:p.exportedDirectives,exportedPipes:p.exportedPipes}}};function _(p){return p||[]}e.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(p,A){this.providers.push({provider:p,module:A})}addDirective(p){this.directivesSet.has(p.reference)||(this.directivesSet.add(p.reference),this.directives.push(p))}addExportedDirective(p){this.exportedDirectivesSet.has(p.reference)||(this.exportedDirectivesSet.add(p.reference),this.exportedDirectives.push(p))}addPipe(p){this.pipesSet.has(p.reference)||(this.pipesSet.add(p.reference),this.pipes.push(p))}addExportedPipe(p){this.exportedPipesSet.has(p.reference)||(this.exportedPipesSet.add(p.reference),this.exportedPipes.push(p))}addModule(p){this.modulesSet.has(p.reference)||(this.modulesSet.add(p.reference),this.modules.push(p))}addEntryComponent(p){this.entryComponentsSet.has(p.componentType)||(this.entryComponentsSet.add(p.componentType),this.entryComponents.push(p))}};function x(p){return p.reduce(((A,P)=>{let M=Array.isArray(P)?x(P):P;return A.concat(M)}),[])}function k(p){return p.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=class{constructor(p,A){let{useClass:P,useValue:M,useExisting:z,useFactory:V,deps:X,multi:H}=A;this.token=p,this.useClass=P||null,this.useValue=M,this.useExisting=z,this.useFactory=V||null,this.dependencies=X||null,this.multi=!!H}},e.flatten=x,e.templateSourceUrl=function $(p,A,P){let M;return M=P.isInline?A.type.reference instanceof r.StaticSymbol?`${A.type.reference.filePath}.${A.type.reference.name}.html`:`${i(p)}/${i(A.type)}.html`:P.templateUrl,A.type.reference instanceof r.StaticSymbol?M:k(M)},e.sharedStylesheetJitUrl=function t(p,A){let P=p.moduleUrl.split(/\/\\/g);return k(`css/${A}${P[P.length-1]}.ngstyle.js`)},e.ngModuleJitUrl=function o(p){return k(`${i(p.type)}/module.ngfactory.js`)},e.templateJitUrl=function E(p,A){return k(`${i(p)}/${i(A.type)}.ngfactory.js`)}}}),Be=I({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});var r=Es(),u=al(),n=class{constructor(a,l,h,C){this.file=a,this.offset=l,this.line=h,this.col=C}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(a){let l=this.file.content,h=l.length,C=this.offset,d=this.line,m=this.col;for(;C>0&&a<0;)if(C--,a++,l.charCodeAt(C)==r.$LF){d--;let w=l.substr(0,C-1).lastIndexOf(String.fromCharCode(r.$LF));m=w>0?C-w:C}else m--;for(;C0;){let T=l.charCodeAt(C);C++,a--,T==r.$LF?(d++,m=0):m++}return new n(this.file,C,d,m)}getContext(a,l){let h=this.file.content,C=this.offset;if(null!=C){C>h.length-1&&(C=h.length-1);let d=C,m=0,T=0;for(;m0&&(C--,m++,"\n"!=h[C]||++T!=l););for(m=0,T=0;m2&&void 0!==arguments[2]?arguments[2]:null;this.start=a,this.end=l,this.details=h}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=s,e.EMPTY_PARSE_LOCATION=new n(new D("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new s(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(a=i=e.ParseErrorLevel||(e.ParseErrorLevel={}))[a.WARNING=0]="WARNING",a[a.ERROR=1]="ERROR";e.ParseError=class{constructor(a,l){let h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.ERROR;this.span=a,this.msg=l,this.level=h}contextualMessage(){let a=this.span.start.getContext(100,3);return a?`${this.msg} ("${a.before}[${i[this.level]} ->]${a.after}")`:this.msg}toString(){let a=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${a}`}},e.typeSourceSpan=function c(a,l){let h=u.identifierModuleUrl(l),C=null!=h?`in ${a} ${u.identifierName(l)} in ${h}`:`in ${a} ${u.identifierName(l)}`,d=new D("",C);return new s(new n(d,-1,-1,-1),new n(d,-1,-1,-1))},e.r3JitTypeSourceSpan=function F(a,l,h){let d=new D("",`in ${a} ${l} in ${h}`);return new s(new n(d,-1,-1,-1),new n(d,-1,-1,-1))}}}),ol=I({"src/utils/front-matter/parse.js"(e,r){q();var u=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");r.exports=function n(D){let s=D.match(u);if(!s)return{content:D};let{startDelimiter:i,language:f,value:c="",endDelimiter:F}=s.groups,a=f.trim()||"yaml";if("+++"===i&&(a="toml"),"yaml"!==a&&i!==F)return{content:D};let[l]=s;return{frontMatter:{type:"front-matter",lang:a,value:c,startDelimiter:i,endDelimiter:F,raw:l.replace(/\n$/,"")},content:l.replace(/[^\n]/g," ")+D.slice(l.length)}}}}),Cs=I({"src/utils/get-last.js"(e,r){q();r.exports=n=>n[n.length-1]}}),Dl=I({"src/common/parser-create-error.js"(e,r){q(),r.exports=function u(n,D){let s=new SyntaxError(n+" ("+D.start.line+":"+D.start.column+")");return s.loc=D,s}}}),ms={};function ll(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}ps(ms,{default:()=>ll});var cl=Ee({"node_modules/escape-string-regexp/index.js"(){q()}}),gs=I({"node_modules/semver/internal/debug.js"(e,r){q();var u="object"==typeof Te&&Te.env&&Te.env.NODE_DEBUG&&/\bsemver\b/i.test(Te.env.NODE_DEBUG)?function(){for(var n=arguments.length,D=new Array(n),s=0;s{};r.exports=u}}),Fs=I({"node_modules/semver/internal/constants.js"(e,r){q();var D=Number.MAX_SAFE_INTEGER||9007199254740991;r.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:D,MAX_SAFE_COMPONENT_LENGTH:16}}}),hl=I({"node_modules/semver/internal/re.js"(e,r){q();var{MAX_SAFE_COMPONENT_LENGTH:u}=Fs(),n=gs(),D=(e=r.exports={}).re=[],s=e.src=[],i=e.t={},f=0,c=(F,a,l)=>{let h=f++;n(F,h,a),i[F]=h,s[h]=a,D[h]=new RegExp(a,l?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${s[i.NUMERICIDENTIFIER]}|${s[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${s[i.NUMERICIDENTIFIERLOOSE]}|${s[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${s[i.PRERELEASEIDENTIFIER]}(?:\\.${s[i.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${s[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[i.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${s[i.BUILDIDENTIFIER]}(?:\\.${s[i.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${s[i.MAINVERSION]}${s[i.PRERELEASE]}?${s[i.BUILD]}?`),c("FULL",`^${s[i.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${s[i.MAINVERSIONLOOSE]}${s[i.PRERELEASELOOSE]}?${s[i.BUILD]}?`),c("LOOSE",`^${s[i.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${s[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${s[i.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:${s[i.PRERELEASE]})?${s[i.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:${s[i.PRERELEASELOOSE]})?${s[i.BUILD]}?)?)?`),c("XRANGE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${u}})(?:\\.(\\d{1,${u}}))?(?:\\.(\\d{1,${u}}))?(?:$|[^\\d])`),c("COERCERTL",s[i.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${s[i.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",c("TILDE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${s[i.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",c("CARET",`^${s[i.LONECARET]}${s[i.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${s[i.LONECARET]}${s[i.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${s[i.GTLT]}\\s*(${s[i.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]}|${s[i.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${s[i.XRANGEPLAIN]})\\s+-\\s+(${s[i.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${s[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[i.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),pl=I({"node_modules/semver/internal/parse-options.js"(e,r){q();var u=["includePrerelease","loose","rtl"];r.exports=D=>D?"object"!=typeof D?{loose:!0}:u.filter((s=>D[s])).reduce(((s,i)=>(s[i]=!0,s)),{}):{}}}),fl=I({"node_modules/semver/internal/identifiers.js"(e,r){q();var u=/^[0-9]+$/,n=(s,i)=>{let f=u.test(s),c=u.test(i);return f&&c&&(s=+s,i=+i),s===i?0:f&&!c?-1:c&&!f?1:sn(i,s)}}}),dl=I({"node_modules/semver/classes/semver.js"(e,r){q();var u=gs(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:D}=Fs(),{re:s,t:i}=hl(),f=pl(),{compareIdentifiers:c}=fl(),F=class{constructor(a,l){if(l=f(l),a instanceof F){if(a.loose===!!l.loose&&a.includePrerelease===!!l.includePrerelease)return a;a=a.version}else if("string"!=typeof a)throw new TypeError(`Invalid Version: ${a}`);if(a.length>n)throw new TypeError(`version is longer than ${n} characters`);u("SemVer",a,l),this.options=l,this.loose=!!l.loose,this.includePrerelease=!!l.includePrerelease;let h=a.trim().match(l.loose?s[i.LOOSE]:s[i.FULL]);if(!h)throw new TypeError(`Invalid Version: ${a}`);if(this.raw=a,this.major=+h[1],this.minor=+h[2],this.patch=+h[3],this.major>D||this.major<0)throw new TypeError("Invalid major version");if(this.minor>D||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>D||this.patch<0)throw new TypeError("Invalid patch version");h[4]?this.prerelease=h[4].split(".").map((C=>{if(/^[0-9]+$/.test(C)){let d=+C;if(d>=0&&d=0;)"number"==typeof this.prerelease[h]&&(this.prerelease[h]++,h=-2);-1===h&&this.prerelease.push(0)}l&&(0===c(this.prerelease[0],l)?isNaN(this.prerelease[1])&&(this.prerelease=[l,0]):this.prerelease=[l,0]);break;default:throw new Error(`invalid increment argument: ${a}`)}return this.format(),this.raw=this.version,this}};r.exports=F}}),Hr=I({"node_modules/semver/functions/compare.js"(e,r){q();var u=dl();r.exports=(D,s,i)=>new u(D,i).compare(new u(s,i))}}),El=I({"node_modules/semver/functions/lt.js"(e,r){q();var u=Hr();r.exports=(D,s,i)=>u(D,s,i)<0}}),Cl=I({"node_modules/semver/functions/gte.js"(e,r){q();var u=Hr();r.exports=(D,s,i)=>u(D,s,i)>=0}}),ml=I({"src/utils/arrayify.js"(e,r){q(),r.exports=(u,n)=>Object.entries(u).map((D=>{let[s,i]=D;return Object.assign({[n]:s},i)}))}}),gl=I({"package.json"(e,r){r.exports={version:"2.8.7"}}}),Fl=I({"node_modules/outdent/lib/index.js"(e,r){function u(){for(var g=[],N=0;N"string"==typeof l||"function"==typeof l,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:c,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:l=>"string"==typeof l||"object"==typeof l,cliName:"plugin",cliCategory:n},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:c,description:u` + Custom directory that contains prettier plugins in node_modules subdirectory. + Overrides default behavior when plugins are searched relatively to the location of Prettier. + Multiple values are accepted. + `,exception:l=>"string"==typeof l||"object"==typeof l,cliName:"plugin-search-dir",cliCategory:n},printWidth:{since:"0.0.0",category:c,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:F,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:u` + Format code ending at a given character offset (exclusive). + The range will extend forwards to the end of the selected statement. + This option cannot be used with --cursor-offset. + `,cliCategory:D},rangeStart:{since:"1.4.0",category:F,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:u` + Format code starting at a given character offset. + The range will extend backwards to the start of the first line containing the selected statement. + This option cannot be used with --cursor-offset. + `,cliCategory:D},requirePragma:{since:"1.7.0",category:F,type:"boolean",default:!1,description:u` + Require either '@prettier' or '@format' to be present in the file's first docblock comment + in order for it to be formatted. + `,cliCategory:i},tabWidth:{type:"int",category:c,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:c,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:c,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};r.exports={CATEGORY_CONFIG:n,CATEGORY_EDITOR:D,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:i,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:c,CATEGORY_SPECIAL:F,options:a}}}),vl=I({"src/main/support.js"(e,r){q();var u={compare:Hr(),lt:El(),gte:Cl()},n=ml(),D=gl().version,s=Al().options;r.exports={getSupportInfo:function i(){let{plugins:c=[],showUnreleased:F=!1,showDeprecated:a=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},h=D.split("-",1)[0],C=c.flatMap((g=>g.languages||[])).filter(m),d=n(Object.assign({},...c.map((g=>{let{options:N}=g;return N})),s),"name").filter((g=>m(g)&&T(g))).sort(((g,N)=>g.name===N.name?0:g.name{g=Object.assign({},g),Array.isArray(g.default)&&(g.default=1===g.default.length?g.default[0].value:g.default.filter(m).sort(((R,j)=>u.compare(j.since,R.since)))[0].value),Array.isArray(g.choices)&&(g.choices=g.choices.filter((R=>m(R)&&T(R))),"parser"===g.name&&function f(c,F,a){let l=new Set(c.choices.map((h=>h.value)));for(let h of F)if(h.parsers)for(let C of h.parsers)if(!l.has(C)){l.add(C);let d=a.find((T=>T.parsers&&T.parsers[C])),m=h.name;d&&d.name&&(m+=` (plugin: ${d.name})`),c.choices.push({value:C,description:m})}}(g,C,c));let N=Object.fromEntries(c.filter((R=>R.defaultOptions&&void 0!==R.defaultOptions[g.name])).map((R=>[R.name,R.defaultOptions[g.name]])));return Object.assign(Object.assign({},g),{},{pluginDefaults:N})}));return{languages:C,options:d};function m(g){return F||!("since"in g)||g.since&&u.gte(h,g.since)}function T(g){return a||!("deprecated"in g)||g.deprecated&&u.lt(h,g.deprecated)}}}}}),_l=I({"src/utils/is-non-empty-array.js"(e,r){q(),r.exports=function u(n){return Array.isArray(n)&&n.length>0}}});var yl=Ee({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){q()}});function Tl(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(function Sl(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,e?void 0:"g")}(),"")}var Bl=Ee({"node_modules/strip-ansi/index.js"(){q(),yl()}});function bl(e){return!!Number.isInteger(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141))}var wl=Ee({"node_modules/is-fullwidth-code-point/index.js"(){q()}}),Nl=I({"node_modules/emoji-regex/index.js"(e,r){q(),r.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),As={};function Ol(e){if("string"!=typeof e||0===e.length||0===(e=Tl(e)).length)return 0;e=e.replace((0,vs.default)()," ");let r=0;for(let u=0;u=127&&n<=159||n>=768&&n<=879||(n>65535&&u++,r+=bl(n)?2:1)}return r}ps(As,{default:()=>Ol});var vs,ql=Ee({"node_modules/string-width/index.js"(){var e,r,u;q(),Bl(),wl(),e=Nl(),u=null!=e?el(ul(e)):{},vs=fs(!r&&e&&e.__esModule?u:Je(u,"default",{value:e,enumerable:!0}),e)}}),Il=I({"src/utils/get-string-width.js"(e,r){q();var u=(ql(),ds(As)).default,n=/[^\x20-\x7F]/;r.exports=function D(s){return s?n.test(s)?u(s):s.length:0}}}),zr=I({"src/utils/text/skip.js"(e,r){function u(f){return(c,F,a)=>{let l=a&&a.backwards;if(!1===F)return!1;let{length:h}=c,C=F;for(;C>=0&&C2&&void 0!==arguments[2]?arguments[2]:{},b=c(v,B.backwards?y-1:y,B);return b!==C(v,b,B)}function R(v,y){let B=null,b=y;for(;b!==B;)B=b,b=F(v,b),b=l(v,b),b=c(v,b);return b=h(v,b),b=C(v,b),!1!==b&&w(v,b)}function _(v,y,B){return d(v,B(y))}function k(v,y){let b=0;for(let L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;L(v.match(U.regex)||[]).length?U:L}return G}function E(v,y,B){let b='"'===y?"'":'"',U=v.replace(/\\(.)|(["'])/gs,((G,W,ne)=>W===b?W:ne===y?"\\"+ne:ne||(B&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(W)?W:"\\"+W)));return y+U+y}function M(v,y){(v.comments||(v.comments=[])).push(y),y.printed=!1,y.nodeDescription=function J(v){let y=v.type||v.kind||"(unknown type)",B=String(v.name||v.id&&("object"==typeof v.id?v.id.name:v.id)||v.key&&("object"==typeof v.key?v.key.name:v.key)||v.value&&("object"==typeof v.value?"":String(v.value))||v.operator||"");return B.length>20&&(B=B.slice(0,19)+"…"),y+(B?" "+B:"")}(v)}r.exports={inferParserByLanguage:function H(v,y){let{languages:B}=D({plugins:y.plugins}),b=B.find((L=>{let{name:U}=L;return U.toLowerCase()===v}))||B.find((L=>{let{aliases:U}=L;return Array.isArray(U)&&U.includes(v)}))||B.find((L=>{let{extensions:U}=L;return Array.isArray(U)&&U.includes(`.${v}`)}));return b&&b.parsers[0]},getStringWidth:i,getMaxContinuousCount:function A(v,y){let B=v.match(new RegExp(`(${u(y)})+`,"g"));return null===B?0:B.reduce(((b,L)=>Math.max(b,L.length/y.length)),0)},getMinNotPresentContinuousCount:function P(v,y){let B=v.match(new RegExp(`(${u(y)})+`,"g"));if(null===B)return 0;let b=new Map,L=0;for(let U of B){let G=U.length/y.length;b.set(G,!0),G>L&&(L=G)}for(let U=1;Uv[v.length-2],getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:d,getNextNonSpaceNonCommentCharacterIndex:_,getNextNonSpaceNonCommentCharacter:function O(v,y,B){return v.charAt(_(v,y,B))},skip:function T(v){return(y,B,b)=>{let L=b&&b.backwards;if(!1===B)return!1;let{length:U}=y,G=B;for(;G>=0&&G2&&void 0!==arguments[2]?arguments[2]:{};return c(v,B.backwards?y-1:y,B)!==y},getAlignmentSize:k,getIndentSize:function $(v,y){let B=v.lastIndexOf("\n");return-1===B?0:k(v.slice(B+1).match(/^[\t ]*/)[0],y)},getPreferredQuote:t,printString:function o(v,y){let B=v.slice(1,-1);return E(B,"json"===y.parser||"json5"===y.parser&&"preserve"===y.quoteProps&&!y.singleQuote?'"':y.__isInHtmlAttribute?"'":t(B,y.singleQuote?"'":'"').quote,!("css"===y.parser||"less"===y.parser||"scss"===y.parser||y.__embeddedInHtml))},printNumber:function p(v){return v.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:E,addLeadingComment:function z(v,y){y.leading=!0,y.trailing=!1,M(v,y)},addDanglingComment:function V(v,y,B){y.leading=!1,y.trailing=!1,B&&(y.marker=B),M(v,y)},addTrailingComment:function X(v,y){y.leading=!1,y.trailing=!0,M(v,y)},isFrontMatterNode:function Q(v){return v&&"front-matter"===v.type},isNonEmptyArray:s,createGroupIdMapper:function K(v){let y=new WeakMap;return function(B){return y.has(B)||y.set(B,Symbol(v)),y.get(B)}}}}}),Pl=I({"vendors/html-tag-names.json"(e,r){r.exports={htmlTagNames:["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]}}}),Ts=I({"src/language-html/utils/array-to-map.js"(e,r){q(),r.exports=function u(n){let D=Object.create(null);for(let s of n)D[s]=!0;return D}}}),kl=I({"src/language-html/utils/html-tag-names.js"(e,r){q();var{htmlTagNames:u}=Pl(),D=Ts()(u);r.exports=D}}),Ll=I({"vendors/html-element-attributes.json"(e,r){r.exports={htmlElementAttributes:{"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["for","form"],legend:["align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","media","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","referrerpolicy","src","type"],select:["autocomplete","disabled","form","multiple","name","required","size"],slot:["name"],source:["height","media","sizes","src","srcset","type","width"],style:["media","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]}}}}),$l=I({"src/language-html/utils/map-object.js"(e,r){q(),r.exports=function u(n,D){let s=Object.create(null);for(let[i,f]of Object.entries(n))s[i]=D(f,i);return s}}}),Ml=I({"src/language-html/utils/html-elements-attributes.js"(e,r){q();var{htmlElementAttributes:u}=Ll(),s=$l()(u,Ts());r.exports=s}}),jl=I({"src/language-html/utils/is-unknown-namespace.js"(e,r){q(),r.exports=function u(n){return"element"===n.type&&!n.hasExplicitNamespace&&!["html","svg"].includes(n.namespace)}}}),Ul=I({"src/language-html/pragma.js"(e,r){q(),r.exports={hasPragma:function u(D){return/^\s*/.test(D)},insertPragma:function n(D){return"\x3c!-- @format --\x3e\n\n"+D.replace(/^\s*\n/,"")}}}}),Gl=I({"src/language-html/ast.js"(e,r){q();var u={attrs:!0,children:!0},n=new Set(["parent"]),D=class{constructor(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(let f of new Set([...n,...Object.keys(i)]))this.setProperty(f,i[f])}setProperty(i,f){if(this[i]!==f){if(i in u&&(f=f.map((c=>this.createChild(c)))),!n.has(i))return void(this[i]=f);Object.defineProperty(this,i,{value:f,enumerable:!1,configurable:!0})}}map(i){let f;for(let c in u){let F=this[c];if(F){let a=s(F,(l=>l.map(i)));f!==F&&(f||(f=new D({parent:this.parent})),f.setProperty(c,a))}}if(f)for(let c in this)c in u||(f[c]=this[c]);return i(f||this)}walk(i){for(let f in u){let c=this[f];if(c)for(let F=0;F[i.fullName,i.value])))}};function s(i,f){let c=i.map(f);return c.some(((F,a)=>F!==i[a]))?c:i}r.exports={Node:D}}}),Vl=I({"src/language-html/conditional-comment.js"(e,r){q();var{ParseSourceSpan:u}=Be(),n=[{regex:/^(\[if([^\]]*)]>)(.*?){try{return[!0,F(C,m).children]}catch{return[!1,[{type:"text",value:C,sourceSpan:new u(m,T)}]]}})();return{type:"ieConditionalComment",complete:w,children:g,condition:h.trim().replace(/\s+/g," "),sourceSpan:c.sourceSpan,startSourceSpan:new u(c.sourceSpan.start,m),endSourceSpan:new u(T,c.sourceSpan.end)}}},{regex:/^\[if([^\]]*)]>",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},e.NGSP_UNICODE="",e.NAMED_ENTITIES.ngsp=e.NGSP_UNICODE}}),Bs=I({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});var n,D,r=Ze(),u=class{constructor(){let{closedByChildren:i,implicitNamespacePrefix:f,contentType:c=r.TagContentType.PARSABLE_DATA,closedByParent:F=!1,isVoid:a=!1,ignoreFirstLf:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,i&&i.length>0&&i.forEach((h=>this.closedByChildren[h]=!0)),this.isVoid=a,this.closedByParent=F||a,this.implicitNamespacePrefix=f||null,this.contentType=c,this.ignoreFirstLf=l}isClosedByChild(i){return this.isVoid||i.toLowerCase()in this.closedByChildren}};e.HtmlTagDefinition=u,e.getHtmlTagDefinition=function s(i){return D||(n=new u,D={base:new u({isVoid:!0}),meta:new u({isVoid:!0}),area:new u({isVoid:!0}),embed:new u({isVoid:!0}),link:new u({isVoid:!0}),img:new u({isVoid:!0}),input:new u({isVoid:!0}),param:new u({isVoid:!0}),hr:new u({isVoid:!0}),br:new u({isVoid:!0}),source:new u({isVoid:!0}),track:new u({isVoid:!0}),wbr:new u({isVoid:!0}),p:new u({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new u({closedByChildren:["tbody","tfoot"]}),tbody:new u({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new u({closedByChildren:["tbody"],closedByParent:!0}),tr:new u({closedByChildren:["tr"],closedByParent:!0}),td:new u({closedByChildren:["td","th"],closedByParent:!0}),th:new u({closedByChildren:["td","th"],closedByParent:!0}),col:new u({isVoid:!0}),svg:new u({implicitNamespacePrefix:"svg"}),math:new u({implicitNamespacePrefix:"math"}),li:new u({closedByChildren:["li"],closedByParent:!0}),dt:new u({closedByChildren:["dt","dd"]}),dd:new u({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new u({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new u({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new u({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new u({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new u({closedByChildren:["optgroup"],closedByParent:!0}),option:new u({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new u({ignoreFirstLf:!0}),listing:new u({ignoreFirstLf:!0}),style:new u({contentType:r.TagContentType.RAW_TEXT}),script:new u({contentType:r.TagContentType.RAW_TEXT}),title:new u({contentType:r.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new u({contentType:r.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),D[i]||n}}}),Hl=I({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});e.AstPath=class{constructor(u){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;this.path=u,this.position=n}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(u){return u&&this.path[this.path.indexOf(u)-1]}childOf(u){return this.path[this.path.indexOf(u)+1]}first(u){for(let n=this.path.length-1;n>=0;n--){let D=this.path[n];if(D instanceof u)return D}}push(u){this.path.push(u)}pop(){return this.path.pop()}}}}),bs=I({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});var r=Hl();e.Text=class{constructor(d,m,T){this.value=d,this.sourceSpan=m,this.i18n=T,this.type="text"}visit(d,m){return d.visitText(this,m)}};e.CDATA=class{constructor(d,m){this.value=d,this.sourceSpan=m,this.type="cdata"}visit(d,m){return d.visitCdata(this,m)}};e.Expansion=class{constructor(d,m,T,w,g,N){this.switchValue=d,this.type=m,this.cases=T,this.sourceSpan=w,this.switchValueSourceSpan=g,this.i18n=N}visit(d,m){return d.visitExpansion(this,m)}};e.ExpansionCase=class{constructor(d,m,T,w,g){this.value=d,this.expression=m,this.sourceSpan=T,this.valueSourceSpan=w,this.expSourceSpan=g}visit(d,m){return d.visitExpansionCase(this,m)}};e.Attribute=class{constructor(d,m,T){let w=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,N=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.name=d,this.value=m,this.sourceSpan=T,this.valueSpan=w,this.nameSpan=g,this.i18n=N,this.type="attribute"}visit(d,m){return d.visitAttribute(this,m)}};var f=class{constructor(d,m,T,w){let g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,N=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,R=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,j=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;this.name=d,this.attrs=m,this.children=T,this.sourceSpan=w,this.startSourceSpan=g,this.endSourceSpan=N,this.nameSpan=R,this.i18n=j,this.type="element"}visit(d,m){return d.visitElement(this,m)}};e.Element=f;e.Comment=class{constructor(d,m){this.value=d,this.sourceSpan=m,this.type="comment"}visit(d,m){return d.visitComment(this,m)}};function a(d,m){let T=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,w=[],g=d.visit?N=>d.visit(N,T)||N.visit(d,T):N=>N.visit(d,T);return m.forEach((N=>{let R=g(N);R&&w.push(R)})),w}e.DocType=class{constructor(d,m){this.value=d,this.sourceSpan=m,this.type="docType"}visit(d,m){return d.visitDocType(this,m)}},e.visitAll=a;var l=class{constructor(){}visitElement(d,m){this.visitChildren(m,(T=>{T(d.attrs),T(d.children)}))}visitAttribute(d,m){}visitText(d,m){}visitCdata(d,m){}visitComment(d,m){}visitDocType(d,m){}visitExpansion(d,m){return this.visitChildren(m,(T=>{T(d.cases)}))}visitExpansionCase(d,m){}visitChildren(d,m){let T=[],w=this;return m((function g(N){N&&T.push(a(w,N,d))})),Array.prototype.concat.apply([],T)}};function h(d){let m=d.sourceSpan.start.offset,T=d.sourceSpan.end.offset;return d instanceof f&&(d.endSourceSpan?T=d.endSourceSpan.end.offset:d.children&&d.children.length&&(T=h(d.children[d.children.length-1]).end)),{start:m,end:T}}e.RecursiveVisitor=l,e.findNode=function C(d,m){let T=[];return a(new class extends l{visit(g,N){let R=h(g);if(!(R.start<=m&&m]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];e.assertInterpolationSymbols=function n(D,s){if(null!=s&&(!Array.isArray(s)||2!=s.length))throw new Error(`Expected '${D}' to be an array, [start, end].`);if(null!=s){let i=s[0],f=s[1];u.forEach((c=>{if(c.test(i)||c.test(f))throw new Error(`['${i}', '${f}'] contains unusable interpolation symbol.`)}))}}}}),Wl=I({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});var r=zl(),u=class{constructor(n,D){this.start=n,this.end=D}static fromArray(n){return n?(r.assertInterpolationSymbols("interpolation",n),new u(n[0],n[1])):e.DEFAULT_INTERPOLATION_CONFIG}};e.InterpolationConfig=u,e.DEFAULT_INTERPOLATION_CONFIG=new u("{{","}}")}}),Yl=I({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});var s,t,r=Es(),u=Be(),n=Wl(),D=Ze();(t=s=e.TokenType||(e.TokenType={}))[t.TAG_OPEN_START=0]="TAG_OPEN_START",t[t.TAG_OPEN_END=1]="TAG_OPEN_END",t[t.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",t[t.TAG_CLOSE=3]="TAG_CLOSE",t[t.TEXT=4]="TEXT",t[t.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",t[t.RAW_TEXT=6]="RAW_TEXT",t[t.COMMENT_START=7]="COMMENT_START",t[t.COMMENT_END=8]="COMMENT_END",t[t.CDATA_START=9]="CDATA_START",t[t.CDATA_END=10]="CDATA_END",t[t.ATTR_NAME=11]="ATTR_NAME",t[t.ATTR_QUOTE=12]="ATTR_QUOTE",t[t.ATTR_VALUE=13]="ATTR_VALUE",t[t.DOC_TYPE_START=14]="DOC_TYPE_START",t[t.DOC_TYPE_END=15]="DOC_TYPE_END",t[t.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",t[t.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",t[t.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",t[t.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",t[t.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",t[t.EOF=21]="EOF";var i=class{constructor(t,o,E){this.type=t,this.parts=o,this.sourceSpan=E}};e.Token=i;var f=class extends u.ParseError{constructor(t,o,E){super(E,t),this.tokenType=o}};e.TokenError=f;var c=class{constructor(t,o){this.tokens=t,this.errors=o}};e.TokenizeResult=c,e.tokenize=function F(t,o,E){let p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new d(new u.ParseSourceFile(t,o),E,p).tokenize()};var a=/\r\n?/g;function l(t){return`Unexpected character "${t===r.$EOF?"EOF":String.fromCharCode(t)}"`}function h(t){return`Unknown entity "${t}" - use the "&#;" or "&#x;" syntax`}var C=class{constructor(t){this.error=t}},d=class{constructor(t,o,E){this._getTagContentType=o,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=E.tokenizeExpansionForms||!1,this._interpolationConfig=E.interpolationConfig||n.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=E.leadingTriviaChars&&E.leadingTriviaChars.map((A=>A.codePointAt(0)||0)),this._canSelfClose=E.canSelfClose||!1,this._allowHtmComponentClosingTags=E.allowHtmComponentClosingTags||!1;let p=E.range||{endPos:t.content.length,startPos:0,startLine:0,startCol:0};this._cursor=E.escapedString?new k(t,p):new x(t,p);try{this._cursor.init()}catch(A){this.handleError(A)}}_processCarriageReturns(t){return t.replace(a,"\n")}tokenize(){for(;this._cursor.peek()!==r.$EOF;){let t=this._cursor.clone();try{if(this._attemptCharCode(r.$LT))if(this._attemptCharCode(r.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(t):this._attemptStr("--")?this._consumeComment(t):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(t):this._consumeBogusComment(t);else if(this._attemptCharCode(r.$SLASH))this._consumeTagClose(t);else{let o=this._cursor.clone();this._attemptCharCode(r.$QUESTION)?(this._cursor=o,this._consumeBogusComment(t)):this._consumeTagOpen(t)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(o){this.handleError(o)}}return this._beginToken(s.EOF),this._endToken([]),new c(function O(t){let E,o=[];for(let p=0;p1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();this._currentTokenStart=o,this._currentTokenType=t}_endToken(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();if(null===this._currentTokenStart)throw new f("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(o));if(null===this._currentTokenType)throw new f("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let E=new i(this._currentTokenType,t,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(E),this._currentTokenStart=null,this._currentTokenType=null,E}_createError(t,o){this._isInExpansionForm()&&(t+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');let E=new f(t,this._currentTokenType,o);return this._currentTokenStart=null,this._currentTokenType=null,new C(E)}handleError(t){if(t instanceof $&&(t=this._createError(t.msg,this._cursor.getSpan(t.cursor))),!(t instanceof C))throw t;this.errors.push(t.error)}_attemptCharCode(t){return this._cursor.peek()===t&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(t){return!!function j(t,o){return _(t)==_(o)}(this._cursor.peek(),t)&&(this._cursor.advance(),!0)}_requireCharCode(t){let o=this._cursor.clone();if(!this._attemptCharCode(t))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(o))}_attemptStr(t){let o=t.length;if(this._cursor.charsLeft()this._attemptStr("--\x3e"))),this._beginToken(s.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(t){this._beginToken(s.COMMENT_START,t),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===r.$GT)),this._beginToken(s.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(t){this._beginToken(s.CDATA_START,t),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("]]>"))),this._beginToken(s.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(t){this._beginToken(s.DOC_TYPE_START,t),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===r.$GT)),this._beginToken(s.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let E,t=this._cursor.clone(),o="";for(;this._cursor.peek()!==r.$COLON&&!w(this._cursor.peek());)this._cursor.advance();return this._cursor.peek()===r.$COLON?(o=this._cursor.getChars(t),this._cursor.advance(),E=this._cursor.clone()):E=t,this._requireCharCodeUntilFn(T,""===o?0:1),[o,this._cursor.getChars(E)]}_consumeTagOpen(t){let o,E,p,A=this.tokens.length,P=this._cursor.clone(),M=[];try{if(!r.isAsciiLetter(this._cursor.peek()))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(t));for(p=this._consumeTagOpenStart(t),E=p.parts[0],o=p.parts[1],this._attemptCharCodeUntilFn(m);this._cursor.peek()!==r.$SLASH&&this._cursor.peek()!==r.$GT;){let[V,X]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(m),this._attemptCharCode(r.$EQ)){this._attemptCharCodeUntilFn(m);let H=this._consumeAttributeValue();M.push({prefix:V,name:X,value:H})}else M.push({prefix:V,name:X});this._attemptCharCodeUntilFn(m)}this._consumeTagOpenEnd()}catch(V){if(V instanceof C)return this._cursor=P,p&&(this.tokens.length=A),this._beginToken(s.TEXT,t),void this._endToken(["<"]);throw V}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===s.TAG_OPEN_END_VOID)return;let z=this._getTagContentType(o,E,this._fullNameStack.length>0,M);this._handleFullNameStackForTagOpen(E,o),z===D.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(E,o,!1):z===D.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(E,o,!0)}_consumeRawTextWithTagClose(t,o,E){this._consumeRawText(E,(()=>!!(this._attemptCharCode(r.$LT)&&this._attemptCharCode(r.$SLASH)&&(this._attemptCharCodeUntilFn(m),this._attemptStrCaseInsensitive(t?`${t}:${o}`:o)))&&(this._attemptCharCodeUntilFn(m),this._attemptCharCode(r.$GT)))),this._beginToken(s.TAG_CLOSE),this._requireCharCodeUntilFn((A=>A===r.$GT),3),this._cursor.advance(),this._endToken([t,o]),this._handleFullNameStackForTagClose(t,o)}_consumeTagOpenStart(t){this._beginToken(s.TAG_OPEN_START,t);let o=this._consumePrefixAndName();return this._endToken(o)}_consumeAttributeName(){let t=this._cursor.peek();if(t===r.$SQ||t===r.$DQ)throw this._createError(l(t),this._cursor.getSpan());this._beginToken(s.ATTR_NAME);let o=this._consumePrefixAndName();return this._endToken(o),o}_consumeAttributeValue(){let t;if(this._cursor.peek()===r.$SQ||this._cursor.peek()===r.$DQ){this._beginToken(s.ATTR_QUOTE);let o=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(o)]),this._beginToken(s.ATTR_VALUE);let E=[];for(;this._cursor.peek()!==o;)E.push(this._readChar(!0));t=this._processCarriageReturns(E.join("")),this._endToken([t]),this._beginToken(s.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(o)])}else{this._beginToken(s.ATTR_VALUE);let o=this._cursor.clone();this._requireCharCodeUntilFn(T,1),t=this._processCarriageReturns(this._cursor.getChars(o)),this._endToken([t])}return t}_consumeTagOpenEnd(){let t=this._attemptCharCode(r.$SLASH)?s.TAG_OPEN_END_VOID:s.TAG_OPEN_END;this._beginToken(t),this._requireCharCode(r.$GT),this._endToken([])}_consumeTagClose(t){if(this._beginToken(s.TAG_CLOSE,t),this._attemptCharCodeUntilFn(m),this._allowHtmComponentClosingTags&&this._attemptCharCode(r.$SLASH))this._attemptCharCodeUntilFn(m),this._requireCharCode(r.$GT),this._endToken([]);else{let[o,E]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(m),this._requireCharCode(r.$GT),this._endToken([o,E]),this._handleFullNameStackForTagClose(o,E)}}_consumeExpansionFormStart(){this._beginToken(s.EXPANSION_FORM_START),this._requireCharCode(r.$LBRACE),this._endToken([]),this._expansionCaseStack.push(s.EXPANSION_FORM_START),this._beginToken(s.RAW_TEXT);let t=this._readUntil(r.$COMMA);this._endToken([t]),this._requireCharCode(r.$COMMA),this._attemptCharCodeUntilFn(m),this._beginToken(s.RAW_TEXT);let o=this._readUntil(r.$COMMA);this._endToken([o]),this._requireCharCode(r.$COMMA),this._attemptCharCodeUntilFn(m)}_consumeExpansionCaseStart(){this._beginToken(s.EXPANSION_CASE_VALUE);let t=this._readUntil(r.$LBRACE).trim();this._endToken([t]),this._attemptCharCodeUntilFn(m),this._beginToken(s.EXPANSION_CASE_EXP_START),this._requireCharCode(r.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.push(s.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(s.EXPANSION_CASE_EXP_END),this._requireCharCode(r.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(s.EXPANSION_FORM_END),this._requireCharCode(r.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let t=this._cursor.clone();this._beginToken(s.TEXT,t);let o=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(o.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(o.push(this._interpolationConfig.end),this._inInterpolation=!1):o.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(o.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===r.$LT||this._cursor.peek()===r.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===r.$RBRACE&&this._isInExpansionCase()))}_readUntil(t){let o=this._cursor.clone();return this._attemptUntilChar(t),this._cursor.getChars(o)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===s.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===s.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==r.$LBRACE)return!1;if(this._interpolationConfig){let t=this._cursor.clone(),o=this._attemptStr(this._interpolationConfig.start);return this._cursor=t,!o}return!0}_handleFullNameStackForTagOpen(t,o){let E=D.mergeNsAndName(t,o);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===E)&&this._fullNameStack.push(E)}_handleFullNameStackForTagClose(t,o){let E=D.mergeNsAndName(t,o);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===E&&this._fullNameStack.pop()}};function m(t){return!r.isWhitespace(t)||t===r.$EOF}function T(t){return r.isWhitespace(t)||t===r.$GT||t===r.$SLASH||t===r.$SQ||t===r.$DQ||t===r.$EQ}function w(t){return(tr.$9)}function g(t){return t==r.$SEMICOLON||t==r.$EOF||!r.isAsciiHexDigit(t)}function N(t){return t==r.$SEMICOLON||t==r.$EOF||!r.isAsciiLetter(t)}function _(t){return t>=r.$a&&t<=r.$z?t-r.$a+r.$A:t}var x=class{constructor(t,o){if(t instanceof x)this.file=t.file,this.input=t.input,this.end=t.end,this.state=Object.assign({},t.state);else{if(!o)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=t,this.input=t.content,this.end=o.endPos,this.state={peek:-1,offset:o.startPos,line:o.startLine,column:o.startCol}}}clone(){return new x(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(t){return this.state.offset-t.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(t,o){if(t=t||this,o)for(t=t.clone();this.diff(t)>0&&-1!==o.indexOf(t.peek());)t.advance();return new u.ParseSourceSpan(new u.ParseLocation(t.file,t.state.offset,t.state.line,t.state.column),new u.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new $('Unexpected character "EOF"',this);let o=this.charAt(t.offset);o===r.$LF?(t.line++,t.column=0):r.isNewLine(o)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?r.$EOF:this.charAt(t.offset)}},k=class extends x{constructor(t,o){t instanceof k?(super(t),this.internalState=Object.assign({},t.internalState)):(super(t,o),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new k(this)}getChars(t){let o=t.clone(),E="";for(;o.internalState.offsetthis.internalState.peek;if(t()===r.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),t()===r.$n)this.state.peek=r.$LF;else if(t()===r.$r)this.state.peek=r.$CR;else if(t()===r.$v)this.state.peek=r.$VTAB;else if(t()===r.$t)this.state.peek=r.$TAB;else if(t()===r.$b)this.state.peek=r.$BSPACE;else if(t()===r.$f)this.state.peek=r.$FF;else if(t()===r.$u)if(this.advanceState(this.internalState),t()===r.$LBRACE){this.advanceState(this.internalState);let o=this.clone(),E=0;for(;t()!==r.$RBRACE;)this.advanceState(this.internalState),E++;this.state.peek=this.decodeHexDigits(o,E)}else{let o=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(o,4)}else if(t()===r.$x){this.advanceState(this.internalState);let o=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(o,2)}else if(r.isOctalDigit(t())){let o="",E=0,p=this.clone();for(;r.isOctalDigit(t())&&E<3;)p=this.clone(),o+=String.fromCodePoint(t()),this.advanceState(this.internalState),E++;this.state.peek=parseInt(o,8),this.internalState=p.internalState}else r.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,o){let E=this.input.substr(t.internalState.offset,o),p=parseInt(E,16);if(isNaN(p))throw t.state=t.internalState,new $("Invalid hexadecimal escape sequence",t);return p}},$=class{constructor(t,o){this.msg=t,this.cursor=o}};e.CursorError=$}}),ls=I({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});var r=Be(),u=bs(),n=Yl(),D=Ze(),s=class extends r.ParseError{constructor(a,l,h){super(l,h),this.elementName=a}static create(a,l,h){return new s(a,l,h)}};e.TreeError=s;var i=class{constructor(a,l){this.rootNodes=a,this.errors=l}};e.ParseTreeResult=i;e.Parser=class{constructor(a){this.getTagDefinition=a}parse(a,l,h){let C=arguments.length>3&&void 0!==arguments[3]&&arguments[3],d=arguments.length>4?arguments[4]:void 0,m=x=>function(k){for(var $=arguments.length,t=new Array($>1?$-1:0),o=1;o<$;o++)t[o-1]=arguments[o];return x(k.toLowerCase(),...t)},T=C?this.getTagDefinition:m(this.getTagDefinition),w=x=>T(x).contentType,g=C?d:m(d),N=d?(x,k,$,t)=>{let o=g(x,k,$,t);return void 0!==o?o:w(x)}:w,R=n.tokenize(a,l,N,h),j=h&&h.canSelfClose||!1,_=h&&h.allowHtmComponentClosingTags||!1,O=new c(R.tokens,T,j,_,C).build();return new i(O.rootNodes,R.errors.concat(O.errors))}};var c=class{constructor(a,l,h,C,d){this.tokens=a,this.getTagDefinition=l,this.canSelfClose=h,this.allowHtmComponentClosingTags=C,this.isTagNameCaseSensitive=d,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==n.TokenType.EOF;)this._peek.type===n.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===n.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===n.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===n.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===n.TokenType.TEXT||this._peek.type===n.TokenType.RAW_TEXT||this._peek.type===n.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===n.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===n.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new i(this._rootNodes,this._errors)}_advance(){let a=this._peek;return this._index0)return this._errors=this._errors.concat(d.errors),null;let m=new r.ParseSourceSpan(a.sourceSpan.start,C.sourceSpan.end),T=new r.ParseSourceSpan(l.sourceSpan.start,C.sourceSpan.end);return new u.ExpansionCase(a.parts[0],d.rootNodes,m,a.sourceSpan,T)}_collectExpansionExpTokens(a){let l=[],h=[n.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===n.TokenType.EXPANSION_FORM_START||this._peek.type===n.TokenType.EXPANSION_CASE_EXP_START)&&h.push(this._peek.type),this._peek.type===n.TokenType.EXPANSION_CASE_EXP_END){if(!F(h,n.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(s.create(null,a.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(h.pop(),0==h.length)return l}if(this._peek.type===n.TokenType.EXPANSION_FORM_END){if(!F(h,n.TokenType.EXPANSION_FORM_START))return this._errors.push(s.create(null,a.sourceSpan,"Invalid ICU message. Missing '}'.")),null;h.pop()}if(this._peek.type===n.TokenType.EOF)return this._errors.push(s.create(null,a.sourceSpan,"Invalid ICU message. Missing '}'.")),null;l.push(this._advance())}}_getText(a){let l=a.parts[0];if(l.length>0&&"\n"==l[0]){let h=this._getParentElement();null!=h&&0==h.children.length&&this.getTagDefinition(h.name).ignoreFirstLf&&(l=l.substring(1))}return l}_consumeText(a){let l=this._getText(a);l.length>0&&this._addToParent(new u.Text(l,a.sourceSpan))}_closeVoidElement(){let a=this._getParentElement();a&&this.getTagDefinition(a.name).isVoid&&this._elementStack.pop()}_consumeStartTag(a){let l=a.parts[0],h=a.parts[1],C=[];for(;this._peek.type===n.TokenType.ATTR_NAME;)C.push(this._consumeAttr(this._advance()));let d=this._getElementFullName(l,h,this._getParentElement()),m=!1;if(this._peek.type===n.TokenType.TAG_OPEN_END_VOID){this._advance(),m=!0;let R=this.getTagDefinition(d);this.canSelfClose||R.canSelfClose||null!==D.getNsPrefix(d)||R.isVoid||this._errors.push(s.create(d,a.sourceSpan,`Only void and foreign elements can be self closed "${a.parts[1]}"`))}else this._peek.type===n.TokenType.TAG_OPEN_END&&(this._advance(),m=!1);let T=this._peek.sourceSpan.start,w=new r.ParseSourceSpan(a.sourceSpan.start,T),g=new r.ParseSourceSpan(a.sourceSpan.start.moveBy(1),a.sourceSpan.end),N=new u.Element(d,C,[],w,w,void 0,g);this._pushElement(N),m&&(this._popElement(d),N.endSourceSpan=w)}_pushElement(a){let l=this._getParentElement();l&&this.getTagDefinition(l.name).isClosedByChild(a.name)&&this._elementStack.pop(),this._addToParent(a),this._elementStack.push(a)}_consumeEndTag(a){let l=this.allowHtmComponentClosingTags&&0===a.parts.length?null:this._getElementFullName(a.parts[0],a.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=a.sourceSpan),l&&this.getTagDefinition(l).isVoid)this._errors.push(s.create(l,a.sourceSpan,`Void elements do not have end tags "${a.parts[1]}"`));else if(!this._popElement(l)){let h=`Unexpected closing tag "${l}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this._errors.push(s.create(l,a.sourceSpan,h))}}_popElement(a){for(let l=this._elementStack.length-1;l>=0;l--){let h=this._elementStack[l];if(!a||(D.getNsPrefix(h.name)?h.name==a:h.name.toLowerCase()==a.toLowerCase()))return this._elementStack.splice(l,this._elementStack.length-l),!0;if(!this.getTagDefinition(h.name).closedByParent)return!1}return!1}_consumeAttr(a){let d,m,l=D.mergeNsAndName(a.parts[0],a.parts[1]),h=a.sourceSpan.end,C="";if(this._peek.type===n.TokenType.ATTR_QUOTE&&(m=this._advance().sourceSpan.start),this._peek.type===n.TokenType.ATTR_VALUE){let T=this._advance();C=T.parts[0],h=T.sourceSpan.end,d=T.sourceSpan}return this._peek.type===n.TokenType.ATTR_QUOTE&&(h=this._advance().sourceSpan.end,d=new r.ParseSourceSpan(m,h)),new u.Attribute(l,C,new r.ParseSourceSpan(a.sourceSpan.start,h),d,a.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let a=null;for(let l=this._elementStack.length-1;l>=0;l--){if(!D.isNgContainer(this._elementStack[l].name))return{parent:this._elementStack[l],container:a};a=this._elementStack[l]}return{parent:null,container:a}}_addToParent(a){let l=this._getParentElement();null!=l?l.children.push(a):this._rootNodes.push(a)}_insertBeforeContainer(a,l,h){if(l){if(a){let C=a.children.indexOf(l);a.children[C]=h}else this._rootNodes.push(h);h.children.push(l),this._elementStack.splice(this._elementStack.indexOf(l),0,h)}else this._addToParent(h),this._elementStack.push(h)}_getElementFullName(a,l,h){return""===a&&(""===(a=this.getTagDefinition(l).implicitNamespacePrefix||"")&&null!=h&&(a=D.getNsPrefix(h.name))),D.mergeNsAndName(a,l)}};function F(a,l){return a.length>0&&a[a.length-1]===l}}}),Ql=I({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});var r=Bs(),u=ls(),n=ls();e.ParseTreeResult=n.ParseTreeResult,e.TreeError=n.TreeError;var D=class extends u.Parser{constructor(){super(r.getHtmlTagDefinition)}parse(s,i,f){let c=arguments.length>3&&void 0!==arguments[3]&&arguments[3],F=arguments.length>4?arguments[4]:void 0;return super.parse(s,i,f,c,F)}};e.HtmlParser=D}}),ws=I({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(e){q(),Object.defineProperty(e,"__esModule",{value:!0});var r=Ql(),u=Ze();e.TagContentType=u.TagContentType;var n=null;e.parse=function s(i){let f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{canSelfClose:c=!1,allowHtmComponentClosingTags:F=!1,isTagNameCaseSensitive:a=!1,getTagContentType:l}=f;return(n||(n=new r.HtmlParser),n).parse(i,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:c,allowHtmComponentClosingTags:F},a,l)}}});q();var{ParseSourceSpan:Qe,ParseLocation:cs,ParseSourceFile:Kl}=Be(),Jl=ol(),Zl=Cs(),ec=Dl(),{inferParserByLanguage:rc}=xl(),uc=kl(),Vr=Ml(),hs=jl(),{hasPragma:tc}=Ul(),{Node:nc}=Gl(),{parseIeConditionalComment:sc}=Vl(),{locStart:ic,locEnd:ac}=Xl();function oc(e,r,u){let{canSelfClose:n,normalizeTagName:D,normalizeAttributeName:s,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:f,getTagContentType:c}=r,F=ws(),{RecursiveVisitor:a,visitAll:l}=bs(),{ParseSourceSpan:h}=Be(),{getHtmlTagDefinition:C}=Bs(),{rootNodes:d,errors:m}=F.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:f,getTagContentType:c});if("vue"===u.parser)if(d.some((O=>"docType"===O.type&&"html"===O.value||"element"===O.type&&"html"===O.name.toLowerCase()))){n=!0,D=!0,s=!0,i=!0,f=!1;let O=F.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:f});d=O.rootNodes,m=O.errors}else{let O=x=>{if(!x||"element"!==x.type||"template"!==x.name)return!1;let k=x.attrs.find((t=>"lang"===t.name)),$=k&&k.value;return!$||"html"===rc($,u)};if(d.some(O)){let x,k=()=>F.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:f}),$=()=>x||(x=k()),t=o=>$().rootNodes.find((E=>{let{startSourceSpan:p}=E;return p&&p.start.offset===o.startSourceSpan.start.offset}));for(let o=0;o0){let{msg:_,span:{start:O,end:x}}=m[0];throw ec(_,{start:{line:O.line+1,column:O.col+1},end:{line:x.line+1,column:x.col+1}})}let T=_=>{let O=_.name.startsWith(":")?_.name.slice(1).split(":")[0]:null,x=_.nameSpan.toString(),k=null!==O&&x.startsWith(`${O}:`),$=k?x.slice(O.length+1):x;_.name=$,_.namespace=O,_.hasExplicitNamespace=k},g=(_,O)=>{let x=_.toLowerCase();return O(x)?x:_};return l(new class extends a{visit(_){(_=>{switch(_.type){case"element":T(_);for(let O of _.attrs)T(O),O.valueSpan?(O.value=O.valueSpan.toString(),/["']/.test(O.value[0])&&(O.value=O.value.slice(1,-1))):O.value=null;break;case"comment":_.value=_.sourceSpan.toString().slice(4,-3);break;case"text":_.value=_.sourceSpan.toString()}})(_),(_=>{if("element"===_.type){let O=C(f?_.name:_.name.toLowerCase());!_.namespace||_.namespace===O.implicitNamespacePrefix||hs(_)?_.tagDefinition=O:_.tagDefinition=C("")}})(_),(_=>{if("element"===_.type&&(D&&(!_.namespace||_.namespace===_.tagDefinition.implicitNamespacePrefix||hs(_))&&(_.name=g(_.name,(O=>O in uc))),s)){let O=Vr[_.name]||Object.create(null);for(let x of _.attrs)x.namespace||(x.name=g(x.name,(k=>_.name in Vr&&(k in Vr["*"]||k in O))))}})(_),(_=>{_.sourceSpan&&_.endSourceSpan&&(_.sourceSpan=new h(_.sourceSpan.start,_.endSourceSpan.end))})(_)}},d),d}function Ns(e,r,u){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{frontMatter:D,content:s}=n?Jl(e):{frontMatter:null,content:e},i=new Kl(e,r.filepath),f=new cs(i,0,0,0),c=f.moveBy(e.length),F={type:"root",sourceSpan:new Qe(f,c),children:oc(s,u,r)};if(D){let h=new cs(i,0,0,0),C=h.moveBy(D.raw.length);D.sourceSpan=new Qe(h,C),F.children.unshift(D)}let a=new nc(F),l=(h,C)=>{let{offset:d}=C,w=Ns(e.slice(0,d).replace(/[^\n\r]/g," ")+h,r,u,!1);w.sourceSpan=new Qe(C,Zl(w.children).sourceSpan.end);let g=w.children[0];return g.length===d?w.children.shift():(g.sourceSpan=new Qe(g.sourceSpan.start.moveBy(d),g.sourceSpan.end),g.value=g.value.slice(d)),w};return a.walk((h=>{if("comment"===h.type){let C=sc(h,l);C&&h.parent.replaceChild(h,C)}})),a}function Ke(){let{name:e,canSelfClose:r=!1,normalizeTagName:u=!1,normalizeAttributeName:n=!1,allowHtmComponentClosingTags:D=!1,isTagNameCaseSensitive:s=!1,getTagContentType:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{parse:(f,c,F)=>Ns(f,Object.assign({parser:e},F),{canSelfClose:r,normalizeTagName:u,normalizeAttributeName:n,allowHtmComponentClosingTags:D,isTagNameCaseSensitive:s,getTagContentType:i}),hasPragma:tc,astFormat:"html",locStart:ic,locEnd:ac}}Os.exports={parsers:{html:Ke({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Ke({name:"angular",canSelfClose:!0}),vue:Ke({name:"vue",canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(e,r,u,n)=>{if("html"!==e.toLowerCase()&&!u&&("template"!==e||n.some((D=>{let{name:s,value:i}=D;return"lang"===s&&"html"!==i&&""!==i&&void 0!==i}))))return ws().TagContentType.RAW_TEXT}}),lwc:Ke({name:"lwc"})}}}));return Dc()}))}}),require_standalone=(0,_chunk_NNAAFZ4U_mjs__WEBPACK_IMPORTED_MODULE_1__.E)({"node_modules/prettier/standalone.js"(exports,module){!function(e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&__webpack_require__.amdO)define(e);else{(typeof globalThis<"u"?globalThis:typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof self<"u"?self:this||{}).prettier=e()}}((function(){var xe=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),pt=xe(((r0,pu)=>{var ir=function(e){return e&&e.Math==Math&&e};pu.exports=ir("object"==typeof globalThis&&globalThis)||ir("object"==typeof window&&window)||ir("object"==typeof self&&self)||ir("object"==typeof __webpack_require__.g&&__webpack_require__.g)||function(){return this}()||Function("return this")()})),Dt=xe(((n0,fu)=>{fu.exports=function(e){try{return!!e()}catch{return!0}}})),yt=xe(((u0,Du)=>{var Mo=Dt();Du.exports=!Mo((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),ar=xe(((s0,mu)=>{var Ro=Dt();mu.exports=!Ro((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),At=xe(((i0,du)=>{var $o=ar(),or=Function.prototype.call;du.exports=$o?or.bind(or):function(){return or.apply(or,arguments)}})),vu=xe((hu=>{var gu={}.propertyIsEnumerable,yu=Object.getOwnPropertyDescriptor,Vo=yu&&!gu.call({1:2},1);hu.f=Vo?function(r){var t=yu(this,r);return!!t&&t.enumerable}:gu})),lr=xe(((o0,Cu)=>{Cu.exports=function(e,r){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:r}}})),mt=xe(((l0,Au)=>{var Eu=ar(),Fu=Function.prototype,Wr=Fu.call,Wo=Eu&&Fu.bind.bind(Wr,Wr);Au.exports=Eu?Wo:function(e){return function(){return Wr.apply(e,arguments)}}})),Vt=xe(((c0,xu)=>{var Su=mt(),Ho=Su({}.toString),Go=Su("".slice);xu.exports=function(e){return Go(Ho(e),8,-1)}})),Tu=xe(((p0,bu)=>{var Uo=mt(),Jo=Dt(),zo=Vt(),Hr=Object,Xo=Uo("".split);bu.exports=Jo((function(){return!Hr("z").propertyIsEnumerable(0)}))?function(e){return"String"==zo(e)?Xo(e,""):Hr(e)}:Hr})),cr=xe(((f0,Bu)=>{Bu.exports=function(e){return null==e}})),Gr=xe(((D0,Nu)=>{var Ko=cr(),Yo=TypeError;Nu.exports=function(e){if(Ko(e))throw Yo("Can't call method on "+e);return e}})),pr=xe(((m0,wu)=>{var Qo=Tu(),Zo=Gr();wu.exports=function(e){return Qo(Zo(e))}})),Jr=xe(((d0,_u)=>{var Ur="object"==typeof document&&document.all,el=typeof Ur>"u"&&void 0!==Ur;_u.exports={all:Ur,IS_HTMLDDA:el}})),ot=xe(((g0,Iu)=>{var Pu=Jr(),tl=Pu.all;Iu.exports=Pu.IS_HTMLDDA?function(e){return"function"==typeof e||e===tl}:function(e){return"function"==typeof e}})),St=xe(((y0,Ou)=>{var ku=ot(),Lu=Jr(),rl=Lu.all;Ou.exports=Lu.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:ku(e)||e===rl}:function(e){return"object"==typeof e?null!==e:ku(e)}})),Wt=xe(((h0,ju)=>{var zr=pt(),nl=ot();ju.exports=function(e,r){return arguments.length<2?function(e){return nl(e)?e:void 0}(zr[e]):zr[e]&&zr[e][r]}})),Xr=xe(((v0,qu)=>{var sl=mt();qu.exports=sl({}.isPrototypeOf)})),Ru=xe(((C0,Mu)=>{var il=Wt();Mu.exports=il("navigator","userAgent")||""})),Ju=xe(((E0,Uu)=>{var dt,fr,Gu=pt(),Kr=Ru(),$u=Gu.process,Vu=Gu.Deno,Wu=$u&&$u.versions||Vu&&Vu.version,Hu=Wu&&Wu.v8;Hu&&(fr=(dt=Hu.split("."))[0]>0&&dt[0]<4?1:+(dt[0]+dt[1])),!fr&&Kr&&((!(dt=Kr.match(/Edge\/(\d+)/))||dt[1]>=74)&&((dt=Kr.match(/Chrome\/(\d+)/))&&(fr=+dt[1]))),Uu.exports=fr})),Yr=xe(((F0,Xu)=>{var zu=Ju(),al=Dt();Xu.exports=!!Object.getOwnPropertySymbols&&!al((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&zu&&zu<41}))})),Qr=xe(((A0,Ku)=>{var ol=Yr();Ku.exports=ol&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),Zr=xe(((S0,Yu)=>{var ll=Wt(),cl=ot(),pl=Xr(),fl=Qr(),Dl=Object;Yu.exports=fl?function(e){return"symbol"==typeof e}:function(e){var r=ll("Symbol");return cl(r)&&pl(r.prototype,Dl(e))}})),Dr=xe(((x0,Qu)=>{var ml=String;Qu.exports=function(e){try{return ml(e)}catch{return"Object"}}})),Ht=xe(((b0,Zu)=>{var dl=ot(),gl=Dr(),yl=TypeError;Zu.exports=function(e){if(dl(e))return e;throw yl(gl(e)+" is not a function")}})),mr=xe(((T0,es)=>{var hl=Ht(),vl=cr();es.exports=function(e,r){var t=e[r];return vl(t)?void 0:hl(t)}})),rs=xe(((B0,ts)=>{var en=At(),tn=ot(),rn=St(),Cl=TypeError;ts.exports=function(e,r){var t,s;if("string"===r&&tn(t=e.toString)&&!rn(s=en(t,e))||tn(t=e.valueOf)&&!rn(s=en(t,e))||"string"!==r&&tn(t=e.toString)&&!rn(s=en(t,e)))return s;throw Cl("Can't convert object to primitive value")}})),us=xe(((N0,ns)=>{ns.exports=!1})),dr=xe(((w0,is)=>{var ss=pt(),El=Object.defineProperty;is.exports=function(e,r){try{El(ss,e,{value:r,configurable:!0,writable:!0})}catch{ss[e]=r}return r}})),gr=xe(((_0,os)=>{var Fl=pt(),Al=dr(),as="__core-js_shared__",Sl=Fl[as]||Al(as,{});os.exports=Sl})),nn=xe(((P0,cs)=>{var xl=us(),ls=gr();(cs.exports=function(e,r){return ls[e]||(ls[e]=void 0!==r?r:{})})("versions",[]).push({version:"3.26.1",mode:xl?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),yr=xe(((I0,ps)=>{var bl=Gr(),Tl=Object;ps.exports=function(e){return Tl(bl(e))}})),Ct=xe(((k0,fs)=>{var Bl=mt(),Nl=yr(),wl=Bl({}.hasOwnProperty);fs.exports=Object.hasOwn||function(r,t){return wl(Nl(r),t)}})),un=xe(((L0,Ds)=>{var _l=mt(),Pl=0,Il=Math.random(),kl=_l(1..toString);Ds.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+kl(++Pl+Il,36)}})),bt=xe(((O0,hs)=>{var Ll=pt(),Ol=nn(),ms=Ct(),jl=un(),ds=Yr(),ys=Qr(),It=Ol("wks"),xt=Ll.Symbol,gs=xt&&xt.for,ql=ys?xt:xt&&xt.withoutSetter||jl;hs.exports=function(e){if(!ms(It,e)||!ds&&"string"!=typeof It[e]){var r="Symbol."+e;ds&&ms(xt,e)?It[e]=xt[e]:It[e]=ys&&gs?gs(r):ql(r)}return It[e]}})),Fs=xe(((j0,Es)=>{var Ml=At(),vs=St(),Cs=Zr(),Rl=mr(),$l=rs(),Vl=bt(),Wl=TypeError,Hl=Vl("toPrimitive");Es.exports=function(e,r){if(!vs(e)||Cs(e))return e;var s,t=Rl(e,Hl);if(t){if(void 0===r&&(r="default"),s=Ml(t,e,r),!vs(s)||Cs(s))return s;throw Wl("Can't convert object to primitive value")}return void 0===r&&(r="number"),$l(e,r)}})),hr=xe(((q0,As)=>{var Gl=Fs(),Ul=Zr();As.exports=function(e){var r=Gl(e,"string");return Ul(r)?r:r+""}})),bs=xe(((M0,xs)=>{var Jl=pt(),Ss=St(),sn=Jl.document,zl=Ss(sn)&&Ss(sn.createElement);xs.exports=function(e){return zl?sn.createElement(e):{}}})),an=xe(((R0,Ts)=>{var Xl=yt(),Kl=Dt(),Yl=bs();Ts.exports=!Xl&&!Kl((function(){return 7!=Object.defineProperty(Yl("div"),"a",{get:function(){return 7}}).a}))})),on=xe((Ns=>{var Ql=yt(),Zl=At(),ec=vu(),tc=lr(),rc=pr(),nc=hr(),uc=Ct(),sc=an(),Bs=Object.getOwnPropertyDescriptor;Ns.f=Ql?Bs:function(r,t){if(r=rc(r),t=nc(t),sc)try{return Bs(r,t)}catch{}if(uc(r,t))return tc(!Zl(ec.f,r,t),r[t])}})),_s=xe(((V0,ws)=>{var ic=yt(),ac=Dt();ws.exports=ic&&ac((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),Tt=xe(((W0,Ps)=>{var oc=St(),lc=String,cc=TypeError;Ps.exports=function(e){if(oc(e))return e;throw cc(lc(e)+" is not an object")}})),kt=xe((ks=>{var pc=yt(),fc=an(),Dc=_s(),vr=Tt(),Is=hr(),mc=TypeError,ln=Object.defineProperty,dc=Object.getOwnPropertyDescriptor,cn="enumerable",pn="configurable",fn="writable";ks.f=pc?Dc?function(r,t,s){if(vr(r),t=Is(t),vr(s),"function"==typeof r&&"prototype"===t&&"value"in s&&fn in s&&!s[fn]){var a=dc(r,t);a&&a[fn]&&(r[t]=s.value,s={configurable:pn in s?s[pn]:a[pn],enumerable:cn in s?s[cn]:a[cn],writable:!1})}return ln(r,t,s)}:ln:function(r,t,s){if(vr(r),t=Is(t),vr(s),fc)try{return ln(r,t,s)}catch{}if("get"in s||"set"in s)throw mc("Accessors not supported");return"value"in s&&(r[t]=s.value),r}})),Dn=xe(((G0,Ls)=>{var gc=yt(),yc=kt(),hc=lr();Ls.exports=gc?function(e,r,t){return yc.f(e,r,hc(1,t))}:function(e,r,t){return e[r]=t,e}})),qs=xe(((U0,js)=>{var mn=yt(),vc=Ct(),Os=Function.prototype,Cc=mn&&Object.getOwnPropertyDescriptor,dn=vc(Os,"name"),Ec=dn&&"something"===function(){}.name,Fc=dn&&(!mn||mn&&Cc(Os,"name").configurable);js.exports={EXISTS:dn,PROPER:Ec,CONFIGURABLE:Fc}})),yn=xe(((J0,Ms)=>{var Ac=mt(),Sc=ot(),gn=gr(),xc=Ac(Function.toString);Sc(gn.inspectSource)||(gn.inspectSource=function(e){return xc(e)}),Ms.exports=gn.inspectSource})),Vs=xe(((z0,$s)=>{var bc=pt(),Tc=ot(),Rs=bc.WeakMap;$s.exports=Tc(Rs)&&/native code/.test(String(Rs))})),Gs=xe(((X0,Hs)=>{var Bc=nn(),Nc=un(),Ws=Bc("keys");Hs.exports=function(e){return Ws[e]||(Ws[e]=Nc(e))}})),hn=xe(((K0,Us)=>{Us.exports={}})),Ks=xe(((Y0,Xs)=>{var Cr,Gt,Er,gt,Bt,wc=Vs(),zs=pt(),_c=St(),Pc=Dn(),vn=Ct(),Cn=gr(),Ic=Gs(),kc=hn(),Js="Object already initialized",En=zs.TypeError,Lc=zs.WeakMap;wc||Cn.state?((gt=Cn.state||(Cn.state=new Lc)).get=gt.get,gt.has=gt.has,gt.set=gt.set,Cr=function(e,r){if(gt.has(e))throw En(Js);return r.facade=e,gt.set(e,r),r},Gt=function(e){return gt.get(e)||{}},Er=function(e){return gt.has(e)}):(kc[Bt=Ic("state")]=!0,Cr=function(e,r){if(vn(e,Bt))throw En(Js);return r.facade=e,Pc(e,Bt,r),r},Gt=function(e){return vn(e,Bt)?e[Bt]:{}},Er=function(e){return vn(e,Bt)}),Xs.exports={set:Cr,get:Gt,has:Er,enforce:function(e){return Er(e)?Gt(e):Cr(e,{})},getterFor:function(e){return function(r){var t;if(!_c(r)||(t=Gt(r)).type!==e)throw En("Incompatible receiver, "+e+" required");return t}}}})),An=xe(((Q0,Qs)=>{var qc=Dt(),Mc=ot(),Fr=Ct(),Fn=yt(),Rc=qs().CONFIGURABLE,$c=yn(),Ys=Ks(),Vc=Ys.enforce,Wc=Ys.get,Ar=Object.defineProperty,Hc=Fn&&!qc((function(){return 8!==Ar((function(){}),"length",{value:8}).length})),Gc=String(String).split("String"),Uc=Qs.exports=function(e,r,t){"Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),t&&t.getter&&(r="get "+r),t&&t.setter&&(r="set "+r),(!Fr(e,"name")||Rc&&e.name!==r)&&(Fn?Ar(e,"name",{value:r,configurable:!0}):e.name=r),Hc&&t&&Fr(t,"arity")&&e.length!==t.arity&&Ar(e,"length",{value:t.arity});try{t&&Fr(t,"constructor")&&t.constructor?Fn&&Ar(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var s=Vc(e);return Fr(s,"source")||(s.source=Gc.join("string"==typeof r?r:"")),e};Function.prototype.toString=Uc((function(){return Mc(this)&&Wc(this).source||$c(this)}),"toString")})),ei=xe(((Z0,Zs)=>{var Jc=ot(),zc=kt(),Xc=An(),Kc=dr();Zs.exports=function(e,r,t,s){s||(s={});var a=s.enumerable,n=void 0!==s.name?s.name:r;if(Jc(t)&&Xc(t,n,s),s.global)a?e[r]=t:Kc(r,t);else{try{s.unsafe?e[r]&&(a=!0):delete e[r]}catch{}a?e[r]=t:zc.f(e,r,{value:t,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}})),ri=xe(((ey,ti)=>{var Yc=Math.ceil,Qc=Math.floor;ti.exports=Math.trunc||function(r){var t=+r;return(t>0?Qc:Yc)(t)}})),Sr=xe(((ty,ni)=>{var Zc=ri();ni.exports=function(e){var r=+e;return r!=r||0===r?0:Zc(r)}})),si=xe(((ry,ui)=>{var ep=Sr(),tp=Math.max,rp=Math.min;ui.exports=function(e,r){var t=ep(e);return t<0?tp(t+r,0):rp(t,r)}})),ai=xe(((ny,ii)=>{var np=Sr(),up=Math.min;ii.exports=function(e){return e>0?up(np(e),9007199254740991):0}})),Lt=xe(((uy,oi)=>{var sp=ai();oi.exports=function(e){return sp(e.length)}})),pi=xe(((sy,ci)=>{var ip=pr(),ap=si(),op=Lt(),li=function(e){return function(r,t,s){var i,a=ip(r),n=op(a),u=ap(s,n);if(e&&t!=t){for(;n>u;)if((i=a[u++])!=i)return!0}else for(;n>u;u++)if((e||u in a)&&a[u]===t)return e||u||0;return!e&&-1}};ci.exports={includes:li(!0),indexOf:li(!1)}})),mi=xe(((iy,Di)=>{var lp=mt(),Sn=Ct(),cp=pr(),pp=pi().indexOf,fp=hn(),fi=lp([].push);Di.exports=function(e,r){var n,t=cp(e),s=0,a=[];for(n in t)!Sn(fp,n)&&Sn(t,n)&&fi(a,n);for(;r.length>s;)Sn(t,n=r[s++])&&(~pp(a,n)||fi(a,n));return a}})),gi=xe(((ay,di)=>{di.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),hi=xe((yi=>{var Dp=mi(),dp=gi().concat("length","prototype");yi.f=Object.getOwnPropertyNames||function(r){return Dp(r,dp)}})),Ci=xe((vi=>{vi.f=Object.getOwnPropertySymbols})),Fi=xe(((cy,Ei)=>{var gp=Wt(),yp=mt(),hp=hi(),vp=Ci(),Cp=Tt(),Ep=yp([].concat);Ei.exports=gp("Reflect","ownKeys")||function(r){var t=hp.f(Cp(r)),s=vp.f;return s?Ep(t,s(r)):t}})),xi=xe(((py,Si)=>{var Ai=Ct(),Fp=Fi(),Ap=on(),Sp=kt();Si.exports=function(e,r,t){for(var s=Fp(r),a=Sp.f,n=Ap.f,u=0;u{var xp=Dt(),bp=ot(),Tp=/#|\.prototype\./,Ut=function(e,r){var t=Np[Bp(e)];return t==_p||t!=wp&&(bp(r)?xp(r):!!r)},Bp=Ut.normalize=function(e){return String(e).replace(Tp,".").toLowerCase()},Np=Ut.data={},wp=Ut.NATIVE="N",_p=Ut.POLYFILL="P";bi.exports=Ut})),Jt=xe(((Dy,Bi)=>{var xn=pt(),Pp=on().f,Ip=Dn(),kp=ei(),Lp=dr(),Op=xi(),jp=Ti();Bi.exports=function(e,r){var u,i,l,p,y,t=e.target,s=e.global,a=e.stat;if(u=s?xn:a?xn[t]||Lp(t,{}):(xn[t]||{}).prototype)for(i in r){if(p=r[i],e.dontCallGetSet?l=(y=Pp(u,i))&&y.value:l=u[i],!jp(s?i:t+(a?".":"#")+i,e.forced)&&void 0!==l){if(typeof p==typeof l)continue;Op(p,l)}(e.sham||l&&l.sham)&&Ip(p,"sham",!0),kp(u,i,p,e)}}})),bn=xe(((my,Ni)=>{var qp=Vt();Ni.exports=Array.isArray||function(r){return"Array"==qp(r)}})),_i=xe(((dy,wi)=>{var Mp=TypeError;wi.exports=function(e){if(e>9007199254740991)throw Mp("Maximum allowed index exceeded");return e}})),Ii=xe(((gy,Pi)=>{var $p=Vt(),Vp=mt();Pi.exports=function(e){if("Function"===$p(e))return Vp(e)}})),Tn=xe(((yy,Li)=>{var ki=Ii(),Wp=Ht(),Hp=ar(),Gp=ki(ki.bind);Li.exports=function(e,r){return Wp(e),void 0===r?e:Hp?Gp(e,r):function(){return e.apply(r,arguments)}}})),Bn=xe(((hy,ji)=>{var Up=bn(),Jp=Lt(),zp=_i(),Xp=Tn(),Oi=function(e,r,t,s,a,n,u,i){for(var h,g,l=a,p=0,y=!!u&&Xp(u,i);p0&&Up(h)?(g=Jp(h),l=Oi(e,r,h,g,l,n-1)-1):(zp(l+1),e[l]=h),l++),p++;return l};ji.exports=Oi})),Ri=xe(((vy,Mi)=>{var qi={};qi[bt()("toStringTag")]="z",Mi.exports="[object z]"===String(qi)})),Nn=xe(((Cy,$i)=>{var Qp=Ri(),Zp=ot(),xr=Vt(),tf=bt()("toStringTag"),rf=Object,nf="Arguments"==xr(function(){return arguments}());$i.exports=Qp?xr:function(e){var r,t,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,r){try{return e[r]}catch{}}(r=rf(e),tf))?t:nf?xr(r):"Object"==(s=xr(r))&&Zp(r.callee)?"Arguments":s}})),Ji=xe(((Ey,Ui)=>{var sf=mt(),af=Dt(),Vi=ot(),of=Nn(),lf=Wt(),cf=yn(),Wi=function(){},pf=[],Hi=lf("Reflect","construct"),wn=/^\s*(?:class|function)\b/,ff=sf(wn.exec),Df=!wn.exec(Wi),zt=function(r){if(!Vi(r))return!1;try{return Hi(Wi,pf,r),!0}catch{return!1}},Gi=function(r){if(!Vi(r))return!1;switch(of(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Df||!!ff(wn,cf(r))}catch{return!0}};Gi.sham=!0,Ui.exports=!Hi||af((function(){var e;return zt(zt.call)||!zt(Object)||!zt((function(){e=!0}))||e}))?Gi:zt})),Yi=xe(((Fy,Ki)=>{var zi=bn(),mf=Ji(),df=St(),yf=bt()("species"),Xi=Array;Ki.exports=function(e){var r;return zi(e)&&(r=e.constructor,mf(r)&&(r===Xi||zi(r.prototype))?r=void 0:df(r)&&(null===(r=r[yf])&&(r=void 0))),void 0===r?Xi:r}})),_n=xe(((Ay,Qi)=>{var hf=Yi();Qi.exports=function(e,r){return new(hf(e))(0===r?0:r)}})),Zi=xe((()=>{var vf=Jt(),Cf=Bn(),Ef=Ht(),Ff=yr(),Af=Lt(),Sf=_n();vf({target:"Array",proto:!0},{flatMap:function(r){var a,t=Ff(this),s=Af(t);return Ef(r),(a=Sf(t,0)).length=Cf(a,t,t,s,0,1,r,arguments.length>1?arguments[1]:void 0),a}})})),Pn=xe(((by,ea)=>{ea.exports={}})),ra=xe(((Ty,ta)=>{var xf=bt(),bf=Pn(),Tf=xf("iterator"),Bf=Array.prototype;ta.exports=function(e){return void 0!==e&&(bf.Array===e||Bf[Tf]===e)}})),In=xe(((By,ua)=>{var Nf=Nn(),na=mr(),wf=cr(),_f=Pn(),If=bt()("iterator");ua.exports=function(e){if(!wf(e))return na(e,If)||na(e,"@@iterator")||_f[Nf(e)]}})),ia=xe(((Ny,sa)=>{var kf=At(),Lf=Ht(),Of=Tt(),jf=Dr(),qf=In(),Mf=TypeError;sa.exports=function(e,r){var t=arguments.length<2?qf(e):r;if(Lf(t))return Of(kf(t,e));throw Mf(jf(e)+" is not iterable")}})),la=xe(((wy,oa)=>{var Rf=At(),aa=Tt(),$f=mr();oa.exports=function(e,r,t){var s,a;aa(e);try{if(!(s=$f(e,"return"))){if("throw"===r)throw t;return t}s=Rf(s,e)}catch(n){a=!0,s=n}if("throw"===r)throw t;if(a)throw s;return aa(s),t}})),ma=xe(((_y,Da)=>{var Vf=Tn(),Wf=At(),Hf=Tt(),Gf=Dr(),Uf=ra(),Jf=Lt(),ca=Xr(),zf=ia(),Xf=In(),pa=la(),Kf=TypeError,br=function(e,r){this.stopped=e,this.result=r},fa=br.prototype;Da.exports=function(e,r,t){var p,y,h,g,c,f,F,s=t&&t.that,a=!(!t||!t.AS_ENTRIES),n=!(!t||!t.IS_RECORD),u=!(!t||!t.IS_ITERATOR),i=!(!t||!t.INTERRUPTED),l=Vf(r,s),_=function(E){return p&&pa(p,"normal",E),new br(!0,E)},w=function(E){return a?(Hf(E),i?l(E[0],E[1],_):l(E[0],E[1])):i?l(E,_):l(E)};if(n)p=e.iterator;else if(u)p=e;else{if(!(y=Xf(e)))throw Kf(Gf(e)+" is not iterable");if(Uf(y)){for(h=0,g=Jf(e);g>h;h++)if((c=w(e[h]))&&ca(fa,c))return c;return new br(!1)}p=zf(e,y)}for(f=n?e.next:p.next;!(F=Wf(f,p)).done;){try{c=w(F.value)}catch(E){pa(p,"throw",E)}if("object"==typeof c&&c&&ca(fa,c))return c}return new br(!1)}})),ga=xe(((Py,da)=>{var Yf=hr(),Qf=kt(),Zf=lr();da.exports=function(e,r,t){var s=Yf(r);s in e?Qf.f(e,s,Zf(0,t)):e[s]=t}})),ya=xe((()=>{var eD=Jt(),tD=ma(),rD=ga();eD({target:"Object",stat:!0},{fromEntries:function(r){var t={};return tD(r,(function(s,a){rD(t,s,a)}),{AS_ENTRIES:!0}),t}})})),Ca=xe(((Ly,va)=>{var ha=An(),nD=kt();va.exports=function(e,r,t){return t.get&&ha(t.get,r,{getter:!0}),t.set&&ha(t.set,r,{setter:!0}),nD.f(e,r,t)}})),Fa=xe(((Oy,Ea)=>{var uD=Tt();Ea.exports=function(){var e=uD(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}})),xa=xe((()=>{var sD=pt(),iD=yt(),aD=Ca(),oD=Fa(),lD=Dt(),Aa=sD.RegExp,Sa=Aa.prototype;iD&&lD((function(){var e=!0;try{Aa(".","d")}catch{e=!1}var r={},t="",s=e?"dgimsy":"gimsy",a=function(l,p){Object.defineProperty(r,l,{get:function(){return t+=p,!0}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var u in e&&(n.hasIndices="d"),n)a(u,n[u]);return Object.getOwnPropertyDescriptor(Sa,"flags").get.call(r)!==s||t!==s}))&&aD(Sa,"flags",{configurable:!0,get:oD})})),ba=xe((()=>{var pD=Jt(),kn=pt();pD({global:!0,forced:kn.globalThis!==kn},{globalThis:kn})})),Ta=xe((()=>{ba()})),Ba=xe((()=>{var fD=Jt(),DD=Bn(),mD=yr(),dD=Lt(),gD=Sr(),yD=_n();fD({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,t=mD(this),s=dD(t),a=yD(t,0);return a.length=DD(a,t,t,s,0,void 0===r?1:gD(r)),a}})})),e0=xe(((Uy,jo)=>{var hD=["cliName","cliCategory","cliDescription"],vD=["_"],CD=["languageId"];function Hn(e,r){if(null==e)return{};var s,a,t=function ED(e,r){if(null==e)return{};var a,n,t={},s=Object.keys(e);for(n=0;n=0)&&(t[a]=e[a]);return t}(e,r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,s)&&(t[s]=e[s])}return t}Zi(),ya(),xa(),Ta(),Ba();var wt,FD=Object.create,_r=Object.defineProperty,AD=Object.getOwnPropertyDescriptor,Gn=Object.getOwnPropertyNames,SD=Object.getPrototypeOf,xD=Object.prototype.hasOwnProperty,ht=(e,r)=>function(){return e&&(r=(0,e[Gn(e)[0]])(e=0)),r},te=(e,r)=>function(){return r||(0,e[Gn(e)[0]])((r={exports:{}}).exports,r),r.exports},Kt=(e,r)=>{for(var t in r)_r(e,t,{get:r[t],enumerable:!0})},Pa=(e,r,t,s)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let a of Gn(r))!xD.call(e,a)&&a!==t&&_r(e,a,{get:()=>r[a],enumerable:!(s=AD(r,a))||s.enumerable});return e},ft=e=>Pa(_r({},"__esModule",{value:!0}),e),ne=ht({""(){wt={env:{},argv:[]}}}),Ia=te({"package.json"(e,r){r.exports={version:"2.8.7"}}}),TD=te({"node_modules/diff/lib/diff/base.js"(e){function r(){}function t(a,n,u,i,l){for(var p=0,y=n.length,h=0,g=0;pw.length?N:w})),c.value=a.join(f)}else c.value=a.join(u.slice(h,h+c.count));h+=c.count,c.added||(g+=c.count)}}var _=n[y-1];return y>1&&"string"==typeof _.value&&(_.added||_.removed)&&a.equals("",_.value)&&(n[y-2].value+=_.value,n.pop()),n}ne(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,r.prototype={diff:function(n,u){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=i.callback;"function"==typeof i&&(l=i,i={}),this.options=i;var p=this;function y(N){return l?(setTimeout((function(){l(void 0,N)}),0),!0):N}n=this.castInput(n),u=this.castInput(u),n=this.removeEmpty(this.tokenize(n));var h=(u=this.removeEmpty(this.tokenize(u))).length,g=n.length,c=1,f=h+g,F=[{newPos:-1,components:[]}],_=this.extractCommon(F[0],u,n,0);if(F[0].newPos+1>=h&&_+1>=g)return y([{value:this.join(u),count:u.length}]);function w(){for(var N=-1*c;N<=c;N+=2){var x=void 0,I=F[N-1],P=F[N+1],$=(P?P.newPos:0)-N;I&&(F[N-1]=void 0);var D=I&&I.newPos+1=h&&$+1>=g)return y(t(p,x.components,u,n,p.useLongestToken));F[N]=x}else F[N]=void 0}var a;c++}if(l)!function N(){setTimeout((function(){if(c>f)return l();w()||N()}),0)}();else for(;c<=f;){var E=w();if(E)return E}},pushComponent:function(n,u,i){var l=n[n.length-1];l&&l.added===u&&l.removed===i?n[n.length-1]={count:l.count+1,added:u,removed:i}:n.push({count:1,added:u,removed:i})},extractCommon:function(n,u,i,l){for(var p=u.length,y=i.length,h=n.newPos,g=h-l,c=0;h+11&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:o.id,contents:C,break:Boolean(o.shouldBreak),expandedStates:o.expandedStates}}ne();var F={type:"break-parent"},w={type:"line",hard:!0},E={type:"line",hard:!0,literal:!0},I=t([w,F]),P=t([E,F]),$={type:"cursor",placeholder:Symbol("cursor")};r.exports={concat:t,join:function D(C,o){let d=[];for(let v=0;v2&&void 0!==arguments[2]?arguments[2]:{}).groupId}},trim:{type:"trim"},indent:s,indentIfBreak:function g(C,o){return{type:"indent-if-break",contents:C,groupId:o.groupId,negate:o.negate}},align:a,addAlignmentToDoc:function T(C,o,d){let v=C;if(o>0){for(let S=0;S=0?"\n"===u.charAt(i+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function s(u){switch(u){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function a(u,i){let l;switch(i){case"\n":l=/\n/g;break;case"\r":l=/\r/g;break;case"\r\n":l=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(i)}.`)}let p=u.match(l);return p?p.length:0},normalizeEndOfLine:function n(u){return u.replace(/\r\n?/g,"\n")}}}}),lt=te({"src/utils/get-last.js"(e,r){ne();r.exports=s=>s[s.length-1]}});var wD=ht({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){ne()}});function _D(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(function ND(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,e?void 0:"g")}(),"")}var PD=ht({"node_modules/strip-ansi/index.js"(){ne(),wD()}});function ID(e){return!!Number.isInteger(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141))}var kD=ht({"node_modules/is-fullwidth-code-point/index.js"(){ne()}}),LD=te({"node_modules/emoji-regex/index.js"(e,r){ne(),r.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),ka={};function OD(e){if("string"!=typeof e||0===e.length||0===(e=_D(e)).length)return 0;e=e.replace((0,La.default)()," ");let r=0;for(let t=0;t=127&&s<=159||s>=768&&s<=879||(s>65535&&t++,r+=ID(s)?2:1)}return r}Kt(ka,{default:()=>OD});var La,jD=ht({"node_modules/string-width/index.js"(){var e,r,t;ne(),PD(),kD(),e=LD(),t=null!=e?FD(SD(e)):{},La=Pa(!r&&e&&e.__esModule?t:_r(t,"default",{value:e,enumerable:!0}),e)}}),Oa=te({"src/utils/get-string-width.js"(e,r){ne();var t=(jD(),ft(ka)).default,s=/[^\x20-\x7F]/;r.exports=function a(n){return n?s.test(n)?t(n):n.length:0}}}),Yt=te({"src/document/doc-utils.js"(e,r){ne();var t=lt(),{literalline:s,join:a}=Un(),n=o=>Array.isArray(o)||o&&"concat"===o.type,u=o=>{if(Array.isArray(o))return o;if("concat"!==o.type&&"fill"!==o.type)throw new Error("Expect doc type to be `concat` or `fill`.");return o.parts},i={};function l(o,d,v,S){let b=[o];for(;b.length>0;){let B=b.pop();if(B!==i){if(v&&b.push(B,i),!d||!1!==d(B))if(n(B)||"fill"===B.type){let k=u(B);for(let R=k.length-1;R>=0;--R)b.push(k[R])}else if("if-break"===B.type)B.flatContents&&b.push(B.flatContents),B.breakContents&&b.push(B.breakContents);else if("group"===B.type&&B.expandedStates)if(S)for(let M=B.expandedStates.length-1;M>=0;--M)b.push(B.expandedStates[M]);else b.push(B.contents);else B.contents&&b.push(B.contents)}else v(b.pop())}}function p(o,d){let v=new Map;return S(o);function S(B){if(v.has(B))return v.get(B);let k=function b(B){if(Array.isArray(B))return d(B.map(S));if("concat"===B.type||"fill"===B.type){let k=B.parts.map(S);return d(Object.assign(Object.assign({},B),{},{parts:k}))}if("if-break"===B.type){let k=B.breakContents&&S(B.breakContents),M=B.flatContents&&S(B.flatContents);return d(Object.assign(Object.assign({},B),{},{breakContents:k,flatContents:M}))}if("group"===B.type&&B.expandedStates){let k=B.expandedStates.map(S),M=k[0];return d(Object.assign(Object.assign({},B),{},{contents:M,expandedStates:k}))}if(B.contents){let k=S(B.contents);return d(Object.assign(Object.assign({},B),{},{contents:k}))}return d(B)}(B);return v.set(B,k),k}}function y(o,d,v){let S=v,b=!1;return l(o,(function B(k){let M=d(k);if(void 0!==M&&(b=!0,S=M),b)return!1})),S}function h(o){if("group"===o.type&&o.break||"line"===o.type&&o.hard||"break-parent"===o.type)return!0}function c(o){if(o.length>0){let d=t(o);!d.expandedStates&&!d.break&&(d.break="propagated")}return null}function F(o){return"line"!==o.type||o.hard?"if-break"===o.type?o.flatContents||"":o:o.soft?"":" "}var w=(o,d)=>o&&"line"===o.type&&o.hard&&d&&"break-parent"===d.type;function E(o){if(!o)return o;if(n(o)||"fill"===o.type){let d=u(o);for(;d.length>1&&w(...d.slice(-2));)d.length-=2;if(d.length>0){let v=E(t(d));d[d.length-1]=v}return Array.isArray(o)?d:Object.assign(Object.assign({},o),{},{parts:d})}switch(o.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let d=E(o.contents);return Object.assign(Object.assign({},o),{},{contents:d})}case"if-break":{let d=E(o.breakContents),v=E(o.flatContents);return Object.assign(Object.assign({},o),{},{breakContents:d,flatContents:v})}}return o}function I(o){return p(o,(d=>function x(o){switch(o.type){case"fill":if(o.parts.every((v=>""===v)))return"";break;case"group":if(!(o.contents||o.id||o.break||o.expandedStates))return"";if("group"===o.contents.type&&o.contents.id===o.id&&o.contents.break===o.break&&o.contents.expandedStates===o.expandedStates)return o.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!o.contents)return"";break;case"if-break":if(!o.flatContents&&!o.breakContents)return""}if(!n(o))return o;let d=[];for(let v of u(o)){if(!v)continue;let[S,...b]=n(v)?u(v):[v];"string"==typeof S&&"string"==typeof t(d)?d[d.length-1]+=S:d.push(S),d.push(...b)}return 0===d.length?"":1===d.length?d[0]:Array.isArray(o)?d:Object.assign(Object.assign({},o),{},{parts:d})}(d)))}function P(o){let d=[],v=o.filter(Boolean);for(;v.length>0;){let S=v.shift();if(S){if(n(S)){v.unshift(...u(S));continue}if(d.length>0&&"string"==typeof t(d)&&"string"==typeof S){d[d.length-1]+=S;continue}d.push(S)}}return d}function T(o){return a(arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,o.split("\n")).parts}function m(o){if("line"===o.type)return!0}r.exports={isConcat:n,getDocParts:u,willBreak:function g(o){return y(o,h,!1)},traverseDoc:l,findInDoc:y,mapDoc:p,propagateBreaks:function f(o){let d=new Set,v=[];l(o,(function S(B){if("break-parent"===B.type&&c(v),"group"===B.type){if(v.push(B),d.has(B))return!1;d.add(B)}}),(function b(B){"group"===B.type&&v.pop().break&&c(v)}),!0)},removeLines:function _(o){return p(o,F)},stripTrailingHardline:function N(o){return E(I(o))},normalizeParts:P,normalizeDoc:function $(o){return p(o,(d=>Array.isArray(d)?P(d):d.parts?Object.assign(Object.assign({},d),{},{parts:P(d.parts)}):d))},cleanDoc:I,replaceTextEndOfLine:T,replaceEndOfLine:function D(o){return p(o,(d=>"string"==typeof d&&d.includes("\n")?T(d):d))},canBreak:function C(o){return y(o,m,!1)}}}}),qD=te({"src/document/doc-printer.js"(e,r){ne();var y,{convertEndOfLineToChars:t}=Jn(),s=lt(),a=Oa(),{fill:n,cursor:u,indent:i}=Un(),{isConcat:l,getDocParts:p}=Yt();function f(x,I){return _(x,{type:"indent"},I)}function F(x,I,P){return I===Number.NEGATIVE_INFINITY?x.root||{value:"",length:0,queue:[]}:I<0?_(x,{type:"dedent"},P):I?"root"===I.type?Object.assign(Object.assign({},x),{},{root:x}):_(x,{type:"string"==typeof I?"stringAlign":"numberAlign",n:I},P):x}function _(x,I,P){let $="dedent"===I.type?x.queue.slice(0,-1):[...x.queue,I],D="",T=0,m=0,C=0;for(let k of $)switch(k.type){case"indent":v(),P.useTabs?o(1):d(P.tabWidth);break;case"stringAlign":v(),D+=k.n,T+=k.n.length;break;case"numberAlign":m+=1,C+=k.n;break;default:throw new Error(`Unexpected type '${k.type}'`)}return b(),Object.assign(Object.assign({},x),{},{value:D,length:T,queue:$});function o(k){D+="\t".repeat(k),T+=P.tabWidth*k}function d(k){D+=" ".repeat(k),T+=k}function v(){P.useTabs?function S(){m>0&&o(m),B()}():b()}function b(){C>0&&d(C),B()}function B(){m=0,C=0}}function w(x){if(0===x.length)return 0;let I=0;for(;x.length>0&&"string"==typeof s(x)&&/^[\t ]*$/.test(s(x));)I+=x.pop().length;if(x.length>0&&"string"==typeof s(x)){let P=s(x).replace(/[\t ]*$/,"");I+=s(x).length-P.length,x[x.length-1]=P}return I}function E(x,I,P,$,D){let T=I.length,m=[x],C=[];for(;P>=0;){if(0===m.length){if(0===T)return!0;m.push(I[--T]);continue}let{mode:o,doc:d}=m.pop();if("string"==typeof d)C.push(d),P-=a(d);else if(l(d)||"fill"===d.type){let v=p(d);for(let S=v.length-1;S>=0;S--)m.push({mode:o,doc:v[S]})}else switch(d.type){case"indent":case"align":case"indent-if-break":case"label":m.push({mode:o,doc:d.contents});break;case"trim":P+=w(C);break;case"group":{if(D&&d.break)return!1;let v=d.break?1:o,S=d.expandedStates&&1===v?s(d.expandedStates):d.contents;m.push({mode:v,doc:S});break}case"if-break":{let S=1===(d.groupId?y[d.groupId]||2:o)?d.breakContents:d.flatContents;S&&m.push({mode:o,doc:S});break}case"line":if(1===o||d.hard)return!0;d.soft||(C.push(" "),P--);break;case"line-suffix":$=!0;break;case"line-suffix-boundary":if($)return!1}}return!1}r.exports={printDocToString:function N(x,I){y={};let P=I.printWidth,$=t(I.endOfLine),D=0,T=[{ind:{value:"",length:0,queue:[]},mode:1,doc:x}],m=[],C=!1,o=[];for(;T.length>0;){let{ind:v,mode:S,doc:b}=T.pop();if("string"==typeof b){let B="\n"!==$?b.replace(/\n/g,$):b;m.push(B),D+=a(B)}else if(l(b)){let B=p(b);for(let k=B.length-1;k>=0;k--)T.push({ind:v,mode:S,doc:B[k]})}else switch(b.type){case"cursor":m.push(u.placeholder);break;case"indent":T.push({ind:f(v,I),mode:S,doc:b.contents});break;case"align":T.push({ind:F(v,b.n,I),mode:S,doc:b.contents});break;case"trim":D-=w(m);break;case"group":switch(S){case 2:if(!C){T.push({ind:v,mode:b.break?1:2,doc:b.contents});break}case 1:{C=!1;let B={ind:v,mode:2,doc:b.contents},k=P-D,M=o.length>0;if(!b.break&&E(B,T,k,M))T.push(B);else if(b.expandedStates){let R=s(b.expandedStates);if(b.break){T.push({ind:v,mode:1,doc:R});break}for(let q=1;q=b.expandedStates.length){T.push({ind:v,mode:1,doc:R});break}{let L={ind:v,mode:2,doc:b.expandedStates[q]};if(E(L,T,k,M)){T.push(L);break}}}}else T.push({ind:v,mode:1,doc:b.contents});break}}b.id&&(y[b.id]=s(T).mode);break;case"fill":{let B=P-D,{parts:k}=b;if(0===k.length)break;let[M,R]=k,q={ind:v,mode:2,doc:M},J={ind:v,mode:1,doc:M},L=E(q,[],B,o.length>0,!0);if(1===k.length){L?T.push(q):T.push(J);break}let Q={ind:v,mode:2,doc:R},V={ind:v,mode:1,doc:R};if(2===k.length){L?T.push(Q,q):T.push(V,J);break}k.splice(0,2);let j={ind:v,mode:S,doc:n(k)};E({ind:v,mode:2,doc:[M,R,k[0]]},[],B,o.length>0,!0)?T.push(j,Q,q):L?T.push(j,V,q):T.push(j,V,J);break}case"if-break":case"indent-if-break":{let B=b.groupId?y[b.groupId]:S;if(1===B){let k="if-break"===b.type?b.breakContents:b.negate?b.contents:i(b.contents);k&&T.push({ind:v,mode:S,doc:k})}if(2===B){let k="if-break"===b.type?b.flatContents:b.negate?i(b.contents):b.contents;k&&T.push({ind:v,mode:S,doc:k})}break}case"line-suffix":o.push({ind:v,mode:S,doc:b.contents});break;case"line-suffix-boundary":o.length>0&&T.push({ind:v,mode:S,doc:{type:"line",hard:!0}});break;case"line":switch(S){case 2:if(!b.hard){b.soft||(m.push(" "),D+=1);break}C=!0;case 1:if(o.length>0){T.push({ind:v,mode:S,doc:b},...o.reverse()),o.length=0;break}b.literal?v.root?(m.push($,v.root.value),D=v.root.length):(m.push($),D=0):(D-=w(m),m.push($+v.value),D=v.length)}break;case"label":T.push({ind:v,mode:S,doc:b.contents})}0===T.length&&o.length>0&&(T.push(...o.reverse()),o.length=0)}let d=m.indexOf(u.placeholder);if(-1!==d){let v=m.indexOf(u.placeholder,d+1),S=m.slice(0,d).join(""),b=m.slice(d+1,v).join("");return{formatted:S+b+m.slice(v+1).join(""),cursorNodeStart:S.length,cursorNodeText:b}}return{formatted:m.join("")}}}}}),MD=te({"src/document/doc-debug.js"(e,r){ne();var{isConcat:t,getDocParts:s}=Yt();function a(u){if(!u)return"";if(t(u)){let i=[];for(let l of s(u))if(t(l))i.push(...a(l).parts);else{let p=a(l);""!==p&&i.push(p)}return{type:"concat",parts:i}}return"if-break"===u.type?Object.assign(Object.assign({},u),{},{breakContents:a(u.breakContents),flatContents:a(u.flatContents)}):"group"===u.type?Object.assign(Object.assign({},u),{},{contents:a(u.contents),expandedStates:u.expandedStates&&u.expandedStates.map(a)}):"fill"===u.type?{type:"fill",parts:u.parts.map(a)}:u.contents?Object.assign(Object.assign({},u),{},{contents:a(u.contents)}):u}r.exports={printDocToDebug:function n(u){let i=Object.create(null),l=new Set;return function p(h,g,c){if("string"==typeof h)return JSON.stringify(h);if(t(h)){let f=s(h).map(p).filter(Boolean);return 1===f.length?f[0]:`[${f.join(", ")}]`}if("line"===h.type){let f=Array.isArray(c)&&c[g+1]&&"break-parent"===c[g+1].type;return h.literal?f?"literalline":"literallineWithoutBreakParent":h.hard?f?"hardline":"hardlineWithoutBreakParent":h.soft?"softline":"line"}if("break-parent"===h.type)return Array.isArray(c)&&c[g-1]&&"line"===c[g-1].type&&c[g-1].hard?void 0:"breakParent";if("trim"===h.type)return"trim";if("indent"===h.type)return"indent("+p(h.contents)+")";if("align"===h.type)return h.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+p(h.contents)+")":h.n<0?"dedent("+p(h.contents)+")":"root"===h.n.type?"markAsRoot("+p(h.contents)+")":"align("+JSON.stringify(h.n)+", "+p(h.contents)+")";if("if-break"===h.type)return"ifBreak("+p(h.breakContents)+(h.flatContents?", "+p(h.flatContents):"")+(h.groupId?(h.flatContents?"":', ""')+`, { groupId: ${y(h.groupId)} }`:"")+")";if("indent-if-break"===h.type){let f=[];h.negate&&f.push("negate: true"),h.groupId&&f.push(`groupId: ${y(h.groupId)}`);let F=f.length>0?`, { ${f.join(", ")} }`:"";return`indentIfBreak(${p(h.contents)}${F})`}if("group"===h.type){let f=[];h.break&&"propagated"!==h.break&&f.push("shouldBreak: true"),h.id&&f.push(`id: ${y(h.id)}`);let F=f.length>0?`, { ${f.join(", ")} }`:"";return h.expandedStates?`conditionalGroup([${h.expandedStates.map((_=>p(_))).join(",")}]${F})`:`group(${p(h.contents)}${F})`}if("fill"===h.type)return`fill([${h.parts.map((f=>p(f))).join(", ")}])`;if("line-suffix"===h.type)return"lineSuffix("+p(h.contents)+")";if("line-suffix-boundary"===h.type)return"lineSuffixBoundary";if("label"===h.type)return`label(${JSON.stringify(h.label)}, ${p(h.contents)})`;throw new Error("Unknown doc type "+h.type)}(a(u));function y(h){if("symbol"!=typeof h)return JSON.stringify(String(h));if(h in i)return i[h];let g=String(h).slice(7,-1)||"symbol";for(let c=0;;c++){let f=g+(c>0?` #${c}`:"");if(!l.has(f))return l.add(f),i[h]=`Symbol.for(${JSON.stringify(f)})`}}}}}}),qe=te({"src/document/index.js"(e,r){ne(),r.exports={builders:Un(),printer:qD(),utils:Yt(),debug:MD()}}}),ja={};function RD(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}Kt(ja,{default:()=>RD});var $D=ht({"node_modules/escape-string-regexp/index.js"(){ne()}}),qa=te({"node_modules/semver/internal/debug.js"(e,r){ne();var t="object"==typeof wt&&wt.env&&wt.env.NODE_DEBUG&&/\bsemver\b/i.test(wt.env.NODE_DEBUG)?function(){for(var s=arguments.length,a=new Array(s),n=0;n{};r.exports=t}}),Ma=te({"node_modules/semver/internal/constants.js"(e,r){ne();var a=Number.MAX_SAFE_INTEGER||9007199254740991;r.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:a,MAX_SAFE_COMPONENT_LENGTH:16}}}),VD=te({"node_modules/semver/internal/re.js"(e,r){ne();var{MAX_SAFE_COMPONENT_LENGTH:t}=Ma(),s=qa(),a=(e=r.exports={}).re=[],n=e.src=[],u=e.t={},i=0,l=(p,y,h)=>{let g=i++;s(p,g,y),u[p]=g,n[g]=y,a[g]=new RegExp(y,h?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${n[u.NUMERICIDENTIFIER]})\\.(${n[u.NUMERICIDENTIFIER]})\\.(${n[u.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${n[u.NUMERICIDENTIFIERLOOSE]})\\.(${n[u.NUMERICIDENTIFIERLOOSE]})\\.(${n[u.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${n[u.NUMERICIDENTIFIER]}|${n[u.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${n[u.NUMERICIDENTIFIERLOOSE]}|${n[u.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${n[u.PRERELEASEIDENTIFIER]}(?:\\.${n[u.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${n[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${n[u.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${n[u.BUILDIDENTIFIER]}(?:\\.${n[u.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${n[u.MAINVERSION]}${n[u.PRERELEASE]}?${n[u.BUILD]}?`),l("FULL",`^${n[u.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${n[u.MAINVERSIONLOOSE]}${n[u.PRERELEASELOOSE]}?${n[u.BUILD]}?`),l("LOOSE",`^${n[u.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${n[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${n[u.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${n[u.XRANGEIDENTIFIER]})(?:\\.(${n[u.XRANGEIDENTIFIER]})(?:\\.(${n[u.XRANGEIDENTIFIER]})(?:${n[u.PRERELEASE]})?${n[u.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${n[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[u.XRANGEIDENTIFIERLOOSE]})(?:${n[u.PRERELEASELOOSE]})?${n[u.BUILD]}?)?)?`),l("XRANGE",`^${n[u.GTLT]}\\s*${n[u.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${n[u.GTLT]}\\s*${n[u.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?(?:$|[^\\d])`),l("COERCERTL",n[u.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${n[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",l("TILDE",`^${n[u.LONETILDE]}${n[u.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${n[u.LONETILDE]}${n[u.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${n[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",l("CARET",`^${n[u.LONECARET]}${n[u.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${n[u.LONECARET]}${n[u.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${n[u.GTLT]}\\s*(${n[u.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${n[u.GTLT]}\\s*(${n[u.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${n[u.GTLT]}\\s*(${n[u.LOOSEPLAIN]}|${n[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${n[u.XRANGEPLAIN]})\\s+-\\s+(${n[u.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${n[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${n[u.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),WD=te({"node_modules/semver/internal/parse-options.js"(e,r){ne();var t=["includePrerelease","loose","rtl"];r.exports=a=>a?"object"!=typeof a?{loose:!0}:t.filter((n=>a[n])).reduce(((n,u)=>(n[u]=!0,n)),{}):{}}}),HD=te({"node_modules/semver/internal/identifiers.js"(e,r){ne();var t=/^[0-9]+$/,s=(n,u)=>{let i=t.test(n),l=t.test(u);return i&&l&&(n=+n,u=+u),n===u?0:i&&!l?-1:l&&!i?1:ns(u,n)}}}),GD=te({"node_modules/semver/classes/semver.js"(e,r){ne();var t=qa(),{MAX_LENGTH:s,MAX_SAFE_INTEGER:a}=Ma(),{re:n,t:u}=VD(),i=WD(),{compareIdentifiers:l}=HD(),p=class{constructor(y,h){if(h=i(h),y instanceof p){if(y.loose===!!h.loose&&y.includePrerelease===!!h.includePrerelease)return y;y=y.version}else if("string"!=typeof y)throw new TypeError(`Invalid Version: ${y}`);if(y.length>s)throw new TypeError(`version is longer than ${s} characters`);t("SemVer",y,h),this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease;let g=y.trim().match(h.loose?n[u.LOOSE]:n[u.FULL]);if(!g)throw new TypeError(`Invalid Version: ${y}`);if(this.raw=y,this.major=+g[1],this.minor=+g[2],this.patch=+g[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");g[4]?this.prerelease=g[4].split(".").map((c=>{if(/^[0-9]+$/.test(c)){let f=+c;if(f>=0&&f=0;)"number"==typeof this.prerelease[g]&&(this.prerelease[g]++,g=-2);-1===g&&this.prerelease.push(0)}h&&(0===l(this.prerelease[0],h)?isNaN(this.prerelease[1])&&(this.prerelease=[h,0]):this.prerelease=[h,0]);break;default:throw new Error(`invalid increment argument: ${y}`)}return this.format(),this.raw=this.version,this}};r.exports=p}}),zn=te({"node_modules/semver/functions/compare.js"(e,r){ne();var t=GD();r.exports=(a,n,u)=>new t(a,u).compare(new t(n,u))}}),UD=te({"node_modules/semver/functions/lt.js"(e,r){ne();var t=zn();r.exports=(a,n,u)=>t(a,n,u)<0}}),JD=te({"node_modules/semver/functions/gte.js"(e,r){ne();var t=zn();r.exports=(a,n,u)=>t(a,n,u)>=0}}),zD=te({"src/utils/arrayify.js"(e,r){ne(),r.exports=(t,s)=>Object.entries(t).map((a=>{let[n,u]=a;return Object.assign({[s]:n},u)}))}}),XD=te({"node_modules/outdent/lib/index.js"(e,r){function t(){for(var E=[],N=0;N"string"==typeof h||"function"==typeof h,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:l,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:h=>"string"==typeof h||"object"==typeof h,cliName:"plugin",cliCategory:s},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:l,description:t` + Custom directory that contains prettier plugins in node_modules subdirectory. + Overrides default behavior when plugins are searched relatively to the location of Prettier. + Multiple values are accepted. + `,exception:h=>"string"==typeof h||"object"==typeof h,cliName:"plugin-search-dir",cliCategory:s},printWidth:{since:"0.0.0",category:l,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:p,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t` + Format code ending at a given character offset (exclusive). + The range will extend forwards to the end of the selected statement. + This option cannot be used with --cursor-offset. + `,cliCategory:a},rangeStart:{since:"1.4.0",category:p,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t` + Format code starting at a given character offset. + The range will extend backwards to the start of the first line containing the selected statement. + This option cannot be used with --cursor-offset. + `,cliCategory:a},requirePragma:{since:"1.7.0",category:p,type:"boolean",default:!1,description:t` + Require either '@prettier' or '@format' to be present in the file's first docblock comment + in order for it to be formatted. + `,cliCategory:u},tabWidth:{type:"int",category:l,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:l,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:l,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};r.exports={CATEGORY_CONFIG:s,CATEGORY_EDITOR:a,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:u,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:l,CATEGORY_SPECIAL:p,options:y}}}),Xn=te({"src/main/support.js"(e,r){ne();var t={compare:zn(),lt:UD(),gte:JD()},s=zD(),a=Ia().version,n=KD().options;r.exports={getSupportInfo:function u(){let{plugins:l=[],showUnreleased:p=!1,showDeprecated:y=!1,showInternal:h=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},g=a.split("-",1)[0],c=l.flatMap((E=>E.languages||[])).filter(F),f=s(Object.assign({},...l.map((E=>{let{options:N}=E;return N})),n),"name").filter((E=>F(E)&&_(E))).sort(((E,N)=>E.name===N.name?0:E.name{E=Object.assign({},E),Array.isArray(E.default)&&(E.default=1===E.default.length?E.default[0].value:E.default.filter(F).sort(((x,I)=>t.compare(I.since,x.since)))[0].value),Array.isArray(E.choices)&&(E.choices=E.choices.filter((x=>F(x)&&_(x))),"parser"===E.name&&function i(l,p,y){let h=new Set(l.choices.map((g=>g.value)));for(let g of p)if(g.parsers)for(let c of g.parsers)if(!h.has(c)){h.add(c);let f=y.find((_=>_.parsers&&_.parsers[c])),F=g.name;f&&f.name&&(F+=` (plugin: ${f.name})`),l.choices.push({value:c,description:F})}}(E,c,l));let N=Object.fromEntries(l.filter((x=>x.defaultOptions&&void 0!==x.defaultOptions[E.name])).map((x=>[x.name,x.defaultOptions[E.name]])));return Object.assign(Object.assign({},E),{},{pluginDefaults:N})}));return{languages:c,options:f};function F(E){return p||!("since"in E)||E.since&&t.gte(g,E.since)}function _(E){return y||!("deprecated"in E)||E.deprecated&&t.lt(g,E.deprecated)}}}}}),Kn=te({"src/utils/is-non-empty-array.js"(e,r){ne(),r.exports=function t(s){return Array.isArray(s)&&s.length>0}}}),Pr=te({"src/utils/text/skip.js"(e,r){function t(i){return(l,p,y)=>{let h=y&&y.backwards;if(!1===p)return!1;let{length:g}=l,c=p;for(;c>=0&&c2&&void 0!==arguments[2]?arguments[2]:{},ie=l(V,Y.backwards?j-1:j,Y);return ie!==c(V,ie,Y)}function x(V,j){let Y=null,ie=j;for(;ie!==Y;)Y=ie,ie=p(V,ie),ie=h(V,ie),ie=l(V,ie);return ie=g(V,ie),ie=c(V,ie),!1!==ie&&w(V,ie)}function P(V,j,Y){return f(V,Y(j))}function T(V,j){let ie=0;for(let ee=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;ee(V.match(ce.regex)||[]).length?ce:ee}return W}function d(V,j,Y){let ie='"'===j?"'":'"',ce=V.replace(/\\(.)|(["'])/gs,((W,K,de)=>K===ie?K:de===j?"\\"+de:de||(Y&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(K)?K:"\\"+K)));return j+ce+j}function B(V,j){(V.comments||(V.comments=[])).push(j),j.printed=!1,j.nodeDescription=function Q(V){let j=V.type||V.kind||"(unknown type)",Y=String(V.name||V.id&&("object"==typeof V.id?V.id.name:V.id)||V.key&&("object"==typeof V.key?V.key.name:V.key)||V.value&&("object"==typeof V.value?"":String(V.value))||V.operator||"");return Y.length>20&&(Y=Y.slice(0,19)+"…"),j+(Y?" "+Y:"")}(V)}r.exports={inferParserByLanguage:function q(V,j){let{languages:Y}=a({plugins:j.plugins}),ie=Y.find((ee=>{let{name:ce}=ee;return ce.toLowerCase()===V}))||Y.find((ee=>{let{aliases:ce}=ee;return Array.isArray(ce)&&ce.includes(V)}))||Y.find((ee=>{let{extensions:ce}=ee;return Array.isArray(ce)&&ce.includes(`.${V}`)}));return ie&&ie.parsers[0]},getStringWidth:u,getMaxContinuousCount:function S(V,j){let Y=V.match(new RegExp(`(${t(j)})+`,"g"));return null===Y?0:Y.reduce(((ie,ee)=>Math.max(ie,ee.length/j.length)),0)},getMinNotPresentContinuousCount:function b(V,j){let Y=V.match(new RegExp(`(${t(j)})+`,"g"));if(null===Y)return 0;let ie=new Map,ee=0;for(let ce of Y){let W=ce.length/j.length;ie.set(W,!0),W>ee&&(ee=W)}for(let ce=1;ceV[V.length-2],getLast:s,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:P,getNextNonSpaceNonCommentCharacter:function $(V,j,Y){return V.charAt(P(V,j,Y))},skip:function _(V){return(j,Y,ie)=>{let ee=ie&&ie.backwards;if(!1===Y)return!1;let{length:ce}=j,W=Y;for(;W>=0&&W2&&void 0!==arguments[2]?arguments[2]:{};return l(V,Y.backwards?j-1:j,Y)!==j},getAlignmentSize:T,getIndentSize:function m(V,j){let Y=V.lastIndexOf("\n");return-1===Y?0:T(V.slice(Y+1).match(/^[\t ]*/)[0],j)},getPreferredQuote:C,printString:function o(V,j){let Y=V.slice(1,-1);return d(Y,"json"===j.parser||"json5"===j.parser&&"preserve"===j.quoteProps&&!j.singleQuote?'"':j.__isInHtmlAttribute?"'":C(Y,j.singleQuote?"'":'"').quote,!("css"===j.parser||"less"===j.parser||"scss"===j.parser||j.__embeddedInHtml))},printNumber:function v(V){return V.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:d,addLeadingComment:function k(V,j){j.leading=!0,j.trailing=!1,B(V,j)},addDanglingComment:function M(V,j,Y){j.leading=!1,j.trailing=!1,Y&&(j.marker=Y),B(V,j)},addTrailingComment:function R(V,j){j.leading=!1,j.trailing=!0,B(V,j)},isFrontMatterNode:function J(V){return V&&"front-matter"===V.type},isNonEmptyArray:n,createGroupIdMapper:function L(V){let j=new WeakMap;return function(Y){return j.has(Y)||j.set(Y,Symbol(V)),j.get(Y)}}}}}),Wa={};function Ha(e,r){for(var t=0,s=e.length-1;s>=0;s--){var a=e[s];"."===a?e.splice(s,1):".."===a?(e.splice(s,1),t++):t&&(e.splice(s,1),t--)}if(r)for(;t--;t)e.unshift("..");return e}function wr(){for(var e="",r=!1,t=arguments.length-1;t>=-1&&!r;t--){var s=t>=0?arguments[t]:"/";if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,r="/"===s.charAt(0))}return(r?"/":"")+(e=Ha(Zn(e.split("/"),(function(a){return!!a})),!r).join("/"))||"."}function Yn(e){var r=Qn(e),t="/"===Ya(e,-1);return!(e=Ha(Zn(e.split("/"),(function(s){return!!s})),!r).join("/"))&&!r&&(e="."),e&&t&&(e+="/"),(r?"/":"")+e}function Qn(e){return"/"===e.charAt(0)}function Ga(){return Yn(Zn(Array.prototype.slice.call(arguments,0),(function(r,t){if("string"!=typeof r)throw new TypeError("Arguments to path.join must be strings");return r})).join("/"))}function Ua(e,r){function t(p){for(var y=0;y=0&&""===p[h];h--);return y>h?[]:p.slice(y,h-y+1)}e=wr(e).substr(1),r=wr(r).substr(1);for(var s=t(e.split("/")),a=t(r.split("/")),n=Math.min(s.length,a.length),u=n,i=0;iza,default:()=>Ka,delimiter:()=>Mn,dirname:()=>Ja,extname:()=>Xa,isAbsolute:()=>Qn,join:()=>Ga,normalize:()=>Yn,relative:()=>Ua,resolve:()=>wr,sep:()=>qn});var Na,Ir,qn,Mn,Ka,Ya,QD=ht({"node-modules-polyfills:path"(){ne(),Na=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Ir=function(e){return Na.exec(e).slice(1)},Ka={extname:Xa,basename:za,dirname:Ja,sep:qn="/",delimiter:Mn=":",relative:Ua,join:Ga,isAbsolute:Qn,normalize:Yn,resolve:wr},Ya=function(e,r,t){return e.substr(r,t)}}}),ZD=te({"node-modules-polyfills-commonjs:path"(e,r){ne();var t=(QD(),ft(Wa));if(t&&t.default){r.exports=t.default;for(let s in t)r.exports[s]=t[s]}else t&&(r.exports=t)}}),Qt=te({"src/common/errors.js"(e,r){ne();var t=class extends Error{},s=class extends Error{},a=class extends Error{},n=class extends Error{};r.exports={ConfigError:t,DebugError:s,UndefinedParserError:a,ArgExpansionBailout:n}}}),vt={};function em(e,r){function t(){this.constructor=e}Br(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}function tm(e,r){var t={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&r.indexOf(s)<0&&(t[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(s=Object.getOwnPropertySymbols(e);a=0;i--)(u=e[i])&&(n=(a<3?u(n):a>3?u(r,t,n):u(r,t))||n);return a>3&&n&&Object.defineProperty(r,t,n),n}function nm(e,r){return function(t,s){r(t,s,e)}}function um(e,r){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,r)}function sm(e,r,t,s){return new(t||(t=Promise))((function(n,u){function i(y){try{p(s.next(y))}catch(h){u(h)}}function l(y){try{p(s.throw(y))}catch(h){u(h)}}function p(y){y.done?n(y.value):function a(n){return n instanceof t?n:new t((function(u){u(n)}))}(y.value).then(i,l)}p((s=s.apply(e,r||[])).next())}))}function im(e,r){var s,a,n,u,t={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return u={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function i(p){return function(y){return function l(p){if(s)throw new TypeError("Generator is already executing.");for(;t;)try{if(s=1,a&&(n=2&p[0]?a.return:p[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,p[1])).done)return n;switch(a=0,n&&(p=[2&p[0],n.value]),p[0]){case 0:case 1:n=p;break;case 4:return t.label++,{value:p[1],done:!1};case 5:t.label++,a=p[1],p=[0];continue;case 7:p=t.ops.pop(),t.trys.pop();continue;default:if(!(n=(n=t.trys).length>0&&n[n.length-1])&&(6===p[0]||2===p[0])){t=0;continue}if(3===p[0]&&(!n||p[1]>n[0]&&p[1]=e.length&&(e=void 0),{value:e&&e[s++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qa(e,r){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var a,u,s=t.call(e),n=[];try{for(;(void 0===r||r-- >0)&&!(a=s.next()).done;)n.push(a.value)}catch(i){u={error:i}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(u)throw u.error}}return n}function lm(){for(var e=[],r=0;r1||i(g,c)}))})}function i(g,c){try{!function l(g){g.value instanceof Xt?Promise.resolve(g.value.v).then(p,y):h(n[0][2],g)}(s[g](c))}catch(f){h(n[0][3],f)}}function p(g){i("next",g)}function y(g){i("throw",g)}function h(g,c){g(c),n.shift(),n.length&&i(n[0][0],n[0][1])}}function fm(e){var r,t;return r={},s("next"),s("throw",(function(a){throw a})),s("return"),r[Symbol.iterator]=function(){return this},r;function s(a,n){r[a]=e[a]?function(u){return(t=!t)?{value:Xt(e[a](u)),done:"return"===a}:n?n(u):u}:n}}function Dm(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=Rn(e),t={},s("next"),s("throw"),s("return"),t[Symbol.asyncIterator]=function(){return this},t);function s(n){t[n]=e[n]&&function(u){return new Promise((function(i,l){(function a(n,u,i,l){Promise.resolve(l).then((function(p){n({value:p,done:i})}),u)})(i,l,(u=e[n](u)).done,u.value)}))}}}function mm(e,r){return Object.defineProperty?Object.defineProperty(e,"raw",{value:r}):e.raw=r,e}function dm(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}function gm(e){return e&&e.__esModule?e:{default:e}}function ym(e,r){if(!r.has(e))throw new TypeError("attempted to get private field on non-instance");return r.get(e)}function hm(e,r,t){if(!r.has(e))throw new TypeError("attempted to set private field on non-instance");return r.set(e,t),t}Kt(vt,{__assign:()=>Nr,__asyncDelegator:()=>fm,__asyncGenerator:()=>pm,__asyncValues:()=>Dm,__await:()=>Xt,__awaiter:()=>sm,__classPrivateFieldGet:()=>ym,__classPrivateFieldSet:()=>hm,__createBinding:()=>am,__decorate:()=>rm,__exportStar:()=>om,__extends:()=>em,__generator:()=>im,__importDefault:()=>gm,__importStar:()=>dm,__makeTemplateObject:()=>mm,__metadata:()=>um,__param:()=>nm,__read:()=>Qa,__rest:()=>tm,__spread:()=>lm,__spreadArrays:()=>cm,__values:()=>Rn});var Br,Nr,Et=ht({"node_modules/tslib/tslib.es6.js"(){ne(),Br=function(e,r){return(Br=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var a in s)s.hasOwnProperty(a)&&(t[a]=s[a])})(e,r)},Nr=function(){return Nr=Object.assign||function(r){for(var t,s=1,a=arguments.length;s/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(r)?r:JSON.stringify(r),value(r){if(null===r||"object"!=typeof r)return JSON.stringify(r);if(Array.isArray(r))return`[${r.map((s=>e.apiDescriptor.value(s))).join(", ")}]`;let t=Object.keys(r);return 0===t.length?"{}":`{ ${t.map((s=>`${e.apiDescriptor.key(s)}: ${e.apiDescriptor.value(r[s])}`)).join(", ")} }`},pair:r=>{let{key:t,value:s}=r;return e.apiDescriptor.value({[t]:s})}}}}),vm=te({"node_modules/vnopts/lib/descriptors/index.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0}),(Et(),ft(vt)).__exportStar(Za(),e)}}),kr=te({"scripts/build/shims/chalk.cjs"(e,r){ne();var t=s=>s;t.grey=t,t.red=t,t.bold=t,t.yellow=t,t.blue=t,t.default=t,r.exports=t}}),eo=te({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=kr();e.commonDeprecatedHandler=(t,s,a)=>{let{descriptor:n}=a,u=[`${r.default.yellow("string"==typeof t?n.key(t):n.pair(t))} is deprecated`];return s&&u.push(`we now treat it as ${r.default.blue("string"==typeof s?n.key(s):n.pair(s))}`),u.join("; ")+"."}}}),Cm=te({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0}),(Et(),ft(vt)).__exportStar(eo(),e)}}),Em=te({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=kr();e.commonInvalidHandler=(t,s,a)=>[`Invalid ${r.default.red(a.descriptor.key(t))} value.`,`Expected ${r.default.blue(a.schemas[t].expected(a))},`,`but received ${r.default.red(a.descriptor.value(s))}.`].join(" ")}}),to=te({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0}),(Et(),ft(vt)).__exportStar(Em(),e)}}),Fm=te({"node_modules/vnopts/node_modules/leven/index.js"(e,r){ne();var t=[],s=[];r.exports=function(a,n){if(a===n)return 0;var u=a;a.length>n.length&&(a=n,n=u);var i=a.length,l=n.length;if(0===i)return l;if(0===l)return i;for(;i>0&&a.charCodeAt(~-i)===n.charCodeAt(~-l);)i--,l--;if(0===i)return l;for(var p=0;ph?c>h?h+1:c:c>g?g+1:c;return h}}}),ro=te({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=kr(),t=Fm();e.levenUnknownHandler=(s,a,n)=>{let{descriptor:u,logger:i,schemas:l}=n,p=[`Ignored unknown option ${r.default.yellow(u.pair({key:s,value:a}))}.`],y=Object.keys(l).sort().find((h=>t(s,h)<3));y&&p.push(`Did you mean ${r.default.blue(u.key(y))}?`),i.warn(p.join(" "))}}}),Am=te({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0}),(Et(),ft(vt)).__exportStar(ro(),e)}}),Sm=te({"node_modules/vnopts/lib/handlers/index.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=(Et(),ft(vt));r.__exportStar(Cm(),e),r.__exportStar(to(),e),r.__exportStar(Am(),e)}}),Ft=te({"node_modules/vnopts/lib/schema.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function t(n,u){let i=new n(u),l=Object.create(i);for(let p of r)p in u&&(l[p]=a(u[p],i,s.prototype[p].length));return l}e.createSchema=t;var s=class{constructor(n){this.name=n.name}static create(n){return t(this,n)}default(n){}expected(n){return"nothing"}validate(n,u){return!1}deprecated(n,u){return!1}forward(n,u){}redirect(n,u){}overlap(n,u,i){return n}preprocess(n,u){return n}postprocess(n,u){return n}};function a(n,u,i){return"function"==typeof n?function(){for(var l=arguments.length,p=new Array(l),y=0;yn}e.Schema=s}}),xm=te({"node_modules/vnopts/lib/schemas/alias.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=Ft(),t=class extends r.Schema{constructor(s){super(s),this._sourceName=s.sourceName}expected(s){return s.schemas[this._sourceName].expected(s)}validate(s,a){return a.schemas[this._sourceName].validate(s,a)}redirect(s,a){return this._sourceName}};e.AliasSchema=t}}),bm=te({"node_modules/vnopts/lib/schemas/any.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=Ft(),t=class extends r.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=t}}),Tm=te({"node_modules/vnopts/lib/schemas/array.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=(Et(),ft(vt)),t=Ft(),s=class extends t.Schema{constructor(n){var{valueSchema:u,name:i=u.name}=n,l=r.__rest(n,["valueSchema","name"]);super(Object.assign({},l,{name:i})),this._valueSchema=u}expected(n){return`an array of ${this._valueSchema.expected(n)}`}validate(n,u){if(!Array.isArray(n))return!1;let i=[];for(let l of n){let p=u.normalizeValidateResult(this._valueSchema.validate(l,u),l);!0!==p&&i.push(p.value)}return 0===i.length||{value:i}}deprecated(n,u){let i=[];for(let l of n){let p=u.normalizeDeprecatedResult(this._valueSchema.deprecated(l,u),l);!1!==p&&i.push(...p.map((y=>{let{value:h}=y;return{value:[h]}})))}return i}forward(n,u){let i=[];for(let l of n){let p=u.normalizeForwardResult(this._valueSchema.forward(l,u),l);i.push(...p.map(a))}return i}redirect(n,u){let i=[],l=[];for(let p of n){let y=u.normalizeRedirectResult(this._valueSchema.redirect(p,u),p);"remain"in y&&i.push(y.remain),l.push(...y.redirect.map(a))}return 0===i.length?{redirect:l}:{redirect:l,remain:i}}overlap(n,u){return n.concat(u)}};function a(n){let{from:u,to:i}=n;return{from:[u],to:i}}e.ArraySchema=s}}),Bm=te({"node_modules/vnopts/lib/schemas/boolean.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=Ft(),t=class extends r.Schema{expected(){return"true or false"}validate(s){return"boolean"==typeof s}};e.BooleanSchema=t}}),eu=te({"node_modules/vnopts/lib/utils.js"(e){function y(c,f){return"string"==typeof c||"key"in c?{from:f,to:c}:"from"in c?{from:c.from,to:c.to}:{from:f,to:c.to}}function h(c,f){return void 0===c?[]:Array.isArray(c)?c.map((F=>y(F,f))):[y(c,f)]}ne(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=function r(c,f){let F=Object.create(null);for(let _ of c){let w=_[f];if(F[w])throw new Error(`Duplicate ${f} ${JSON.stringify(w)}`);F[w]=_}return F},e.mapFromArray=function t(c,f){let F=new Map;for(let _ of c){let w=_[f];if(F.has(w))throw new Error(`Duplicate ${f} ${JSON.stringify(w)}`);F.set(w,_)}return F},e.createAutoChecklist=function s(){let c=Object.create(null);return f=>{let F=JSON.stringify(f);return!!c[F]||(c[F]=!0,!1)}},e.partition=function a(c,f){let F=[],_=[];for(let w of c)f(w)?F.push(w):_.push(w);return[F,_]},e.isInt=function n(c){return c===Math.floor(c)},e.comparePrimitive=function u(c,f){if(c===f)return 0;let F=typeof c,_=typeof f,w=["undefined","object","boolean","number","string"];return F!==_?w.indexOf(F)-w.indexOf(_):"string"!==F?Number(c)-Number(f):c.localeCompare(f)},e.normalizeDefaultResult=function i(c){return void 0===c?{}:c},e.normalizeValidateResult=function l(c,f){return!0===c||(!1===c?{value:f}:c)},e.normalizeDeprecatedResult=function p(c,f){return!1!==c&&(!0===c?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:f}]:"value"in c?[c]:0!==c.length&&c)},e.normalizeTransferResult=y,e.normalizeForwardResult=h,e.normalizeRedirectResult=function g(c,f){let F=h("object"==typeof c&&"redirect"in c?c.redirect:c,f);return 0===F.length?{remain:f,redirect:F}:"object"==typeof c&&"remain"in c?{remain:c.remain,redirect:F}:{redirect:F}}}}),Nm=te({"node_modules/vnopts/lib/schemas/choice.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=Ft(),t=eu(),s=class extends r.Schema{constructor(a){super(a),this._choices=t.mapFromArray(a.choices.map((n=>n&&"object"==typeof n?n:{value:n})),"value")}expected(a){let{descriptor:n}=a,u=Array.from(this._choices.keys()).map((p=>this._choices.get(p))).filter((p=>!p.deprecated)).map((p=>p.value)).sort(t.comparePrimitive).map(n.value),i=u.slice(0,-2),l=u.slice(-2);return i.concat(l.join(" or ")).join(", ")}validate(a){return this._choices.has(a)}deprecated(a){let n=this._choices.get(a);return!(!n||!n.deprecated)&&{value:a}}forward(a){let n=this._choices.get(a);return n?n.forward:void 0}redirect(a){let n=this._choices.get(a);return n?n.redirect:void 0}};e.ChoiceSchema=s}}),no=te({"node_modules/vnopts/lib/schemas/number.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=Ft(),t=class extends r.Schema{expected(){return"a number"}validate(s,a){return"number"==typeof s}};e.NumberSchema=t}}),wm=te({"node_modules/vnopts/lib/schemas/integer.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=eu(),t=no(),s=class extends t.NumberSchema{expected(){return"an integer"}validate(a,n){return!0===n.normalizeValidateResult(super.validate(a,n),a)&&r.isInt(a)}};e.IntegerSchema=s}}),_m=te({"node_modules/vnopts/lib/schemas/string.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=Ft(),t=class extends r.Schema{expected(){return"a string"}validate(s){return"string"==typeof s}};e.StringSchema=t}}),Pm=te({"node_modules/vnopts/lib/schemas/index.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=(Et(),ft(vt));r.__exportStar(xm(),e),r.__exportStar(bm(),e),r.__exportStar(Tm(),e),r.__exportStar(Bm(),e),r.__exportStar(Nm(),e),r.__exportStar(wm(),e),r.__exportStar(no(),e),r.__exportStar(_m(),e)}}),Im=te({"node_modules/vnopts/lib/defaults.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=Za(),t=eo(),s=to(),a=ro();e.defaultDescriptor=r.apiDescriptor,e.defaultUnknownHandler=a.levenUnknownHandler,e.defaultInvalidHandler=s.commonInvalidHandler,e.defaultDeprecatedHandler=t.commonDeprecatedHandler}}),km=te({"node_modules/vnopts/lib/normalize.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=Im(),t=eu();e.normalize=(a,n,u)=>new s(n,u).normalize(a);var s=class{constructor(a,n){let{logger:u=console,descriptor:i=r.defaultDescriptor,unknown:l=r.defaultUnknownHandler,invalid:p=r.defaultInvalidHandler,deprecated:y=r.defaultDeprecatedHandler}=n||{};this._utils={descriptor:i,logger:u||{warn:()=>{}},schemas:t.recordFromArray(a,"name"),normalizeDefaultResult:t.normalizeDefaultResult,normalizeDeprecatedResult:t.normalizeDeprecatedResult,normalizeForwardResult:t.normalizeForwardResult,normalizeRedirectResult:t.normalizeRedirectResult,normalizeValidateResult:t.normalizeValidateResult},this._unknownHandler=l,this._invalidHandler=p,this._deprecatedHandler=y,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=t.createAutoChecklist()}normalize(a){let n={},u=[a],i=()=>{for(;0!==u.length;){let l=u.shift(),p=this._applyNormalization(l,n);u.push(...p)}};i();for(let l of Object.keys(this._utils.schemas)){let p=this._utils.schemas[l];if(!(l in n)){let y=t.normalizeDefaultResult(p.default(this._utils));"value"in y&&u.push({[l]:y.value})}}i();for(let l of Object.keys(this._utils.schemas)){let p=this._utils.schemas[l];l in n&&(n[l]=p.postprocess(n[l],this._utils))}return n}_applyNormalization(a,n){let u=[],[i,l]=t.partition(Object.keys(a),(p=>p in this._utils.schemas));for(let p of i){let y=this._utils.schemas[p],h=y.preprocess(a[p],this._utils),g=t.normalizeValidateResult(y.validate(h,this._utils),h);if(!0!==g){let{value:w}=g,E=this._invalidHandler(p,w,this._utils);throw"string"==typeof E?new Error(E):E}let c=w=>{let{from:E,to:N}=w;u.push("string"==typeof N?{[N]:E}:{[N.key]:N.value})},f=w=>{let{value:E,redirectTo:N}=w,x=t.normalizeDeprecatedResult(y.deprecated(E,this._utils),h,!0);if(!1!==x)if(!0===x)this._hasDeprecationWarned(p)||this._utils.logger.warn(this._deprecatedHandler(p,N,this._utils));else for(let{value:I}of x){let P={key:p,value:I};if(!this._hasDeprecationWarned(P)){let $="string"==typeof N?{key:N,value:I}:N;this._utils.logger.warn(this._deprecatedHandler(P,$,this._utils))}}};t.normalizeForwardResult(y.forward(h,this._utils),h).forEach(c);let _=t.normalizeRedirectResult(y.redirect(h,this._utils),h);if(_.redirect.forEach(c),"remain"in _){let w=_.remain;n[p]=p in n?y.overlap(n[p],w,this._utils):w,f({value:w})}for(let{from:w,to:E}of _.redirect)f({value:w,redirectTo:E})}for(let p of l){let y=a[p],h=this._unknownHandler(p,y,this._utils);if(h)for(let g of Object.keys(h)){let c={[g]:h[g]};g in this._utils.schemas?u.push(c):Object.assign(n,c)}}return u}};e.Normalizer=s}}),Lm=te({"node_modules/vnopts/lib/index.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=(Et(),ft(vt));r.__exportStar(vm(),e),r.__exportStar(Sm(),e),r.__exportStar(Pm(),e),r.__exportStar(km(),e),r.__exportStar(Ft(),e)}}),Om=te({"src/main/options-normalizer.js"(e,r){ne();var u,t=Lm(),s=lt(),a={key:g=>1===g.length?`-${g}`:`--${g}`,value:g=>t.apiDescriptor.value(g),pair:g=>{let{key:c,value:f}=g;return!1===f?`--no-${c}`:!0===f?a.key(c):""===f?`${a.key(c)} without an argument`:`${a.key(c)}=${f}`}},n=g=>{let{colorsModule:c,levenshteinDistance:f}=g;return class extends t.ChoiceSchema{constructor(_){let{name:w,flags:E}=_;super({name:w,choices:E}),this._flags=[...E].sort()}preprocess(_,w){if("string"==typeof _&&_.length>0&&!this._flags.includes(_)){let E=this._flags.find((N=>f(N,_)<3));if(E)return w.logger.warn([`Unknown flag ${c.yellow(w.descriptor.value(_))},`,`did you mean ${c.blue(w.descriptor.value(E))}?`].join(" ")),E}return _}expected(){return"a flag"}}};function i(g,c){let{logger:f=!1,isCLI:F=!1,passThrough:_=!1,colorsModule:w=null,levenshteinDistance:E=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},N=_?Array.isArray(_)?(T,m)=>_.includes(T)?{[T]:m}:void 0:(T,m)=>({[T]:m}):(T,m,C)=>{let v=Hn(C.schemas,vD);return t.levenUnknownHandler(T,m,Object.assign(Object.assign({},C),{},{schemas:v}))},x=F?a:t.apiDescriptor,I=function l(g,c){let{isCLI:f,colorsModule:F,levenshteinDistance:_}=c,w=[];f&&w.push(t.AnySchema.create({name:"_"}));for(let E of g)w.push(p(E,{isCLI:f,optionInfos:g,colorsModule:F,levenshteinDistance:_})),E.alias&&f&&w.push(t.AliasSchema.create({name:E.alias,sourceName:E.name}));return w}(c,{isCLI:F,colorsModule:w,levenshteinDistance:E}),P=new t.Normalizer(I,{logger:f,unknown:N,descriptor:x}),$=!1!==f;$&&u&&(P._hasDeprecationWarned=u);let D=P.normalize(g);return $&&(u=P._hasDeprecationWarned),F&&!1===D["plugin-search"]&&(D["plugin-search-dir"]=!1),D}function p(g,c){let{isCLI:f,optionInfos:F,colorsModule:_,levenshteinDistance:w}=c,{name:E}=g;if("plugin-search-dir"===E||"pluginSearchDirs"===E)return t.AnySchema.create({name:E,preprocess:P=>(!1===P||(P=Array.isArray(P)?P:[P]),P),validate:P=>!1===P||P.every(($=>"string"==typeof $)),expected:()=>"false or paths to plugin search dir"});let x,N={name:E},I={};switch(g.type){case"int":x=t.IntegerSchema,f&&(N.preprocess=Number);break;case"string":case"path":x=t.StringSchema;break;case"choice":x=t.ChoiceSchema,N.choices=g.choices.map((P=>"object"==typeof P&&P.redirect?Object.assign(Object.assign({},P),{},{redirect:{to:{key:g.name,value:P.redirect}}}):P));break;case"boolean":x=t.BooleanSchema;break;case"flag":x=n({colorsModule:_,levenshteinDistance:w}),N.flags=F.flatMap((P=>[P.alias,P.description&&P.name,P.oppositeDescription&&`no-${P.name}`].filter(Boolean)));break;default:throw new Error(`Unexpected type ${g.type}`)}if(g.exception?N.validate=(P,$,D)=>g.exception(P)||$.validate(P,D):N.validate=(P,$,D)=>void 0===P||$.validate(P,D),g.redirect&&(I.redirect=P=>P?{to:{key:g.redirect.option,value:g.redirect.value}}:void 0),g.deprecated&&(I.deprecated=!0),f&&!g.array){let P=N.preprocess||($=>$);N.preprocess=($,D,T)=>D.preprocess(P(Array.isArray($)?s($):$),T)}return g.array?t.ArraySchema.create(Object.assign(Object.assign(Object.assign({},f?{preprocess:P=>Array.isArray(P)?P:[P]}:{}),I),{},{valueSchema:x.create(N)})):x.create(Object.assign(Object.assign({},N),I))}r.exports={normalizeApiOptions:function y(g,c,f){return i(g,c,f)},normalizeCliOptions:function h(g,c,f){return i(g,c,Object.assign({isCLI:!0},f))}}}}),ut=te({"src/language-js/loc.js"(e,r){ne();var t=Kn();function s(l){var p,y;let h=l.range?l.range[0]:l.start,g=null!==(p=null===(y=l.declaration)||void 0===y?void 0:y.decorators)&&void 0!==p?p:l.decorators;return t(g)?Math.min(s(g[0]),h):h}function a(l){return l.range?l.range[1]:l.end}function n(l,p){let y=s(l);return Number.isInteger(y)&&y===s(p)}r.exports={locStart:s,locEnd:a,hasSameLocStart:n,hasSameLoc:function i(l,p){return n(l,p)&&function u(l,p){let y=a(l);return Number.isInteger(y)&&y===a(p)}(l,p)}}}}),jm=te({"src/main/load-parser.js"(e,r){ne(),r.exports=()=>{}}}),qm=te({"scripts/build/shims/babel-highlight.cjs"(e,r){ne();var t=kr(),s={shouldHighlight:()=>!1,getChalk:()=>t};r.exports=s}}),Mm=te({"node_modules/@babel/code-frame/lib/index.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=u,e.default=function i(l,p,y){let h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!t){t=!0;let c="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(wt.emitWarning)wt.emitWarning(c,"DeprecationWarning");else{new Error(c).name="DeprecationWarning",console.warn(new Error(c))}}return y=Math.max(y,0),u(l,{start:{column:y,line:p}},h)};var r=qm(),t=!1;var a=/\r\n|[\n\r\u2028\u2029]/;function u(l,p){let y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},h=(y.highlightCode||y.forceColor)&&(0,r.shouldHighlight)(y),g=(0,r.getChalk)(y),c=function s(l){return{gutter:l.grey,marker:l.red.bold,message:l.red.bold}}(g),f=($,D)=>h?$(D):D,F=l.split(a),{start:_,end:w,markerLines:E}=function n(l,p,y){let h=Object.assign({column:0,line:-1},l.start),g=Object.assign({},h,l.end),{linesAbove:c=2,linesBelow:f=3}=y||{},F=h.line,_=h.column,w=g.line,E=g.column,N=Math.max(F-(c+1),0),x=Math.min(p.length,w+f);-1===F&&(N=0),-1===w&&(x=p.length);let I=w-F,P={};if(I)for(let $=0;$<=I;$++){let D=$+F;if(_)if(0===$){let T=p[D-1].length;P[D]=[_,T-_+1]}else if($===I)P[D]=[0,E];else{let T=p[D-$].length;P[D]=[0,T]}else P[D]=!0}else P[F]=_===E?!_||[_,0]:[_,E-_];return{start:N,end:x,markerLines:P}}(p,F,y),N=p.start&&"number"==typeof p.start.column,x=String(w).length,P=(h?(0,r.default)(l,y):l).split(a,w).slice(_,w).map((($,D)=>{let T=_+1+D,C=` ${` ${T}`.slice(-x)} |`,o=E[T],d=!E[T+1];if(o){let v="";if(Array.isArray(o)){let S=$.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," "),b=o[1]||1;v=["\n ",f(c.gutter,C.replace(/\d/g," "))," ",S,f(c.marker,"^").repeat(b)].join(""),d&&y.message&&(v+=" "+f(c.message,y.message))}return[f(c.marker,">"),f(c.gutter,C),$.length>0?` ${$}`:"",v].join("")}return` ${f(c.gutter,C)}${$.length>0?` ${$}`:""}`})).join("\n");return y.message&&!N&&(P=`${" ".repeat(x+1)}${y.message}\n${P}`),h?g.reset(P):P}}}),tu=te({"src/main/parser.js"(e,r){ne();var{ConfigError:t}=Qt(),s=ut();jm();var{locStart:n,locEnd:u}=s,i=Object.getOwnPropertyNames,l=Object.getOwnPropertyDescriptor;function p(g){let c={};for(let f of g.plugins)if(f.parsers)for(let F of i(f.parsers))Object.defineProperty(c,F,l(f.parsers,F));return c}function y(g){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p(g);if("function"==typeof g.parser)return{parse:g.parser,astFormat:"estree",locStart:n,locEnd:u};if("string"==typeof g.parser){if(Object.prototype.hasOwnProperty.call(c,g.parser))return c[g.parser];throw new t(`Couldn't resolve parser "${g.parser}". Parsers must be explicitly added to the standalone bundle.`)}}r.exports={parse:function h(g,c){let f=p(c),F=Object.defineProperties({},Object.fromEntries(Object.keys(f).map((w=>[w,{enumerable:!0,get:()=>f[w].parse}])))),_=y(c,f);try{return _.preprocess&&(g=_.preprocess(g,c)),{text:g,ast:_.parse(g,F,c)}}catch(w){let{loc:E}=w;if(E){let{codeFrameColumns:N}=Mm();throw w.codeFrame=N(g,E,{highlightCode:!0}),w.message+="\n"+w.codeFrame,w}throw w}},resolveParser:y}}}),uo=te({"src/main/options.js"(e,r){ne();var t=ZD(),{UndefinedParserError:s}=Qt(),{getSupportInfo:a}=Xn(),n=Om(),{resolveParser:u}=tu(),i={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function y(h,g){let c=t.basename(h).toLowerCase(),F=a({plugins:g}).languages.filter((_=>null!==_.since)).find((_=>_.extensions&&_.extensions.some((w=>c.endsWith(w)))||_.filenames&&_.filenames.some((w=>w.toLowerCase()===c))));return F&&F.parsers[0]}r.exports={normalize:function l(h){let g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=Object.assign({},h),f=a({plugins:h.plugins,showUnreleased:!0,showDeprecated:!0}).options,F=Object.assign(Object.assign({},i),Object.fromEntries(f.filter((x=>void 0!==x.default)).map((x=>[x.name,x.default]))));if(!c.parser)if(c.filepath){if(c.parser=y(c.filepath,c.plugins),!c.parser)throw new s(`No parser could be inferred for file: ${c.filepath}`)}else(g.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),c.parser="babel";let _=u(n.normalizeApiOptions(c,[f.find((x=>"parser"===x.name))],{passThrough:!0,logger:!1}));c.astFormat=_.astFormat,c.locEnd=_.locEnd,c.locStart=_.locStart;let w=function p(h){let{astFormat:g}=h;if(!g)throw new Error("getPlugin() requires astFormat to be set");let c=h.plugins.find((f=>f.printers&&f.printers[g]));if(!c)throw new Error(`Couldn't find plugin for AST format "${g}"`);return c}(c);c.printer=w.printers[c.astFormat];let E=Object.fromEntries(f.filter((x=>x.pluginDefaults&&void 0!==x.pluginDefaults[w.name])).map((x=>[x.name,x.pluginDefaults[w.name]]))),N=Object.assign(Object.assign({},F),E);for(let[x,I]of Object.entries(N))(null===c[x]||void 0===c[x])&&(c[x]=I);return"json"===c.parser&&(c.trailingComma="none"),n.normalizeApiOptions(c,f,Object.assign({passThrough:Object.keys(i)},g))},hiddenDefaults:i,inferParser:y}}}),Rm=te({"src/main/massage-ast.js"(e,r){ne(),r.exports=function t(s,a,n){if(Array.isArray(s))return s.map((p=>t(p,a,n))).filter(Boolean);if(!s||"object"!=typeof s)return s;let i,u=a.printer.massageAstNode;i=u&&u.ignoredProperties?u.ignoredProperties:new Set;let l={};for(let[p,y]of Object.entries(s))!i.has(p)&&"function"!=typeof y&&(l[p]=t(y,a,s));if(u){let p=u(s,l,n);if(null===p)return;if(p)return p}return l}}}),Zt=te({"scripts/build/shims/assert.cjs"(e,r){ne();var t=()=>{};t.ok=t,t.strictEqual=t,r.exports=t}}),et=te({"src/main/comments.js"(e,r){ne();var t=Zt(),{builders:{line:s,hardline:a,breakParent:n,indent:u,lineSuffix:i,join:l,cursor:p}}=qe(),{hasNewline:y,skipNewline:h,skipSpaces:g,isPreviousLineEmpty:c,addLeadingComment:f,addDanglingComment:F,addTrailingComment:_}=Ue(),w=new WeakMap;function E(k,M,R){if(!k)return;let{printer:q,locStart:J,locEnd:L}=M;if(R){if(q.canAttachComment&&q.canAttachComment(k)){let V;for(V=R.length-1;V>=0&&!(J(R[V])<=J(k)&&L(R[V])<=L(k));--V);return void R.splice(V+1,0,k)}}else if(w.has(k))return w.get(k);let Q=q.getCommentChildNodes&&q.getCommentChildNodes(k,M)||"object"==typeof k&&Object.entries(k).filter((V=>{let[j]=V;return"enclosingNode"!==j&&"precedingNode"!==j&&"followingNode"!==j&&"tokens"!==j&&"comments"!==j&&"parent"!==j})).map((V=>{let[,j]=V;return j}));if(Q){R||(R=[],w.set(k,R));for(let V of Q)E(V,M,R);return R}}function N(k,M,R,q){let Y,ie,{locStart:J,locEnd:L}=R,Q=J(M),V=L(M),j=E(k,R),ee=0,ce=j.length;for(;ee>1,K=j[W],de=J(K),ue=L(K);if(de<=Q&&V<=ue)return N(K,M,R,K);if(ue<=Q)Y=K,ee=W+1;else{if(!(V<=de))throw new Error("Comment location overlaps with node location");ie=K,ce=W}}if(q&&"TemplateLiteral"===q.type){let{quasis:W}=q,K=C(W,M,R);Y&&C(W,Y,R)!==K&&(Y=null),ie&&C(W,ie,R)!==K&&(ie=null)}return{enclosingNode:q,precedingNode:Y,followingNode:ie}}var x=()=>!1;var P=k=>!/[\S\n\u2028\u2029]/.test(k);function $(k,M,R,q){let{comment:J,precedingNode:L}=R[q],{locStart:Q,locEnd:V}=M,j=Q(J);if(L)for(let Y=q-1;Y>=0;Y--){let{comment:ie,precedingNode:ee}=R[Y];if(ee!==L||!P(k.slice(V(ie),j)))break;j=Q(ie)}return y(k,j,{backwards:!0})}function D(k,M,R,q){let{comment:J,followingNode:L}=R[q],{locStart:Q,locEnd:V}=M,j=V(J);if(L)for(let Y=q+1;Y0;--Y){let{comment:ie,precedingNode:ee,followingNode:ce}=k[Y-1];t.strictEqual(ee,J),t.strictEqual(ce,L);let W=M.slice(R.locEnd(ie),j);if(!V.test(W))break;j=R.locStart(ie)}for(let[ie,{comment:ee}]of k.entries())ie1&&ie.comments.sort(((ee,ce)=>R.locStart(ee)-R.locStart(ce)));k.length=0}function m(k,M){return k.getValue().printed=!0,M.printer.printComment(k,M)}function C(k,M,R){let q=R.locStart(M)-1;for(let J=1;J!R.has(j))));let L=q===M.cursorNode;if(0===J.length){let j=L?p:"";return{leading:j,trailing:j}}let Q=[],V=[];return k.each((()=>{let j=k.getValue();if(R&&R.has(j))return;let{leading:Y,trailing:ie}=j;Y?Q.push(function o(k,M){let R=k.getValue(),q=[m(k,M)],{printer:J,originalText:L,locStart:Q,locEnd:V}=M;if(J.isBlockComment&&J.isBlockComment(R)){let ie=y(L,V(R))?y(L,Q(R),{backwards:!0})?a:s:" ";q.push(ie)}else q.push(a);let Y=h(L,g(L,V(R)));return!1!==Y&&y(L,Y)&&q.push(a),q}(k,M)):ie&&V.push(function d(k,M){let R=k.getValue(),q=m(k,M),{printer:J,originalText:L,locStart:Q}=M,V=J.isBlockComment&&J.isBlockComment(R);if(y(L,Q(R),{backwards:!0})){let Y=c(L,R,Q);return i([a,Y?a:"",q])}let j=[" ",q];return V||(j=[i(j),n]),j}(k,M))}),"comments"),L&&(Q.unshift(p),V.push(p)),{leading:Q,trailing:V}}r.exports={attach:function I(k,M,R,q){if(!Array.isArray(k))return;let J=[],{locStart:L,locEnd:Q,printer:{handleComments:V={}}}=q,{avoidAstMutation:j,ownLine:Y=x,endOfLine:ie=x,remaining:ee=x}=V,ce=k.map(((W,K)=>Object.assign(Object.assign({},N(M,W,q)),{},{comment:W,text:R,options:q,ast:M,isLastComment:k.length-1===K})));for(let[W,K]of ce.entries()){let ge,{comment:de,precedingNode:ue,enclosingNode:Fe,followingNode:z,text:U,options:Z,ast:se,isLastComment:fe}=K;if("json"===Z.parser||"json5"===Z.parser||"__js_expression"===Z.parser||"__vue_expression"===Z.parser||"__vue_ts_expression"===Z.parser){if(L(de)-L(se)<=0){f(se,de);continue}if(Q(de)-Q(se)>=0){_(se,de);continue}}if(j?ge=[K]:(de.enclosingNode=Fe,de.precedingNode=ue,de.followingNode=z,ge=[de,U,Z,se,fe]),$(U,Z,ce,W))de.placement="ownLine",Y(...ge)||(z?f(z,de):ue?_(ue,de):F(Fe||se,de));else if(D(U,Z,ce,W))de.placement="endOfLine",ie(...ge)||(ue?_(ue,de):z?f(z,de):F(Fe||se,de));else if(de.placement="remaining",!ee(...ge))if(ue&&z){let he=J.length;he>0&&J[he-1].followingNode!==z&&T(J,U,Z),J.push(K)}else ue?_(ue,de):z?f(z,de):F(Fe||se,de)}if(T(J,R,q),!j)for(let W of k)delete W.precedingNode,delete W.enclosingNode,delete W.followingNode},printComments:function b(k,M,R,q){let{leading:J,trailing:L}=S(k,R,q);return J||L?[J,M,L]:M},printCommentsSeparately:S,printDanglingComments:function v(k,M,R,q){let J=[],L=k.getValue();return L&&L.comments&&(k.each((()=>{let Q=k.getValue();!Q.leading&&!Q.trailing&&(!q||q(Q))&&J.push(m(k,M))}),"comments"),0!==J.length)?R?l(a,J):u([a,l(a,J)]):""},getSortedChildNodes:E,ensureAllCommentsPrinted:function B(k){if(k)for(let M of k){if(!M.printed)throw new Error('Comment "'+M.value.trim()+'" was not printed. Please report this error!');delete M.printed}}}}}),$m=te({"src/common/ast-path.js"(e,r){ne();var t=lt();function s(u,i){let l=a(u.stack,i);return-1===l?null:u.stack[l]}function a(u,i){for(let l=u.length-1;l>=0;l-=2){let p=u[l];if(p&&!Array.isArray(p)&&--i<0)return l}return-1}r.exports=class{constructor(u){this.stack=[u]}getName(){let{stack:u}=this,{length:i}=u;return i>1?u[i-2]:null}getValue(){return t(this.stack)}getNode(){return s(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return s(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(u){let{stack:i}=this,{length:l}=i,p=t(i);for(var y=arguments.length,h=new Array(y>1?y-1:0),g=1;g1&&void 0!==arguments[1]?arguments[1]:0,l=a(this.stack,i+1),p=this.stack.splice(l+1),y=u(this);return this.stack.push(...p),y}each(u){let{stack:i}=this,{length:l}=i,p=t(i);for(var y=arguments.length,h=new Array(y>1?y-1:0),g=1;g1?l-1:0),y=1;y{i[g]=u(h,g,c)}),...p),i}try(u){let{stack:i}=this,l=[...i];try{return u()}finally{i.length=0,i.push(...l)}}match(){let u=this.stack.length-1,i=null,l=this.stack[u--];for(var p=arguments.length,y=new Array(p),h=0;hfunction u(i,l,p,y){let{stripTrailingHardline:h=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},g=s(Object.assign(Object.assign(Object.assign({},p),l),{},{parentParser:p.parser,originalText:i}),{passThrough:!0}),c=tu().parse(i,g),{ast:f}=c;i=c.text;let F=f.comments;delete f.comments,a.attach(F,f,i,g),g[Symbol.for("comments")]=F||[],g[Symbol.for("tokens")]=f.tokens||[];let _=y(f,g);return a.ensureAllCommentsPrinted(F),h?"string"==typeof _?_.replace(/(?:\r?\n)*$/,""):t(_):_}(h,g,p,y,c)),p)}}}}),Wm=te({"src/main/ast-to-doc.js"(e,r){ne();var t=$m(),{builders:{hardline:s,addAlignmentToDoc:a},utils:{propagateBreaks:n}}=qe(),{printComments:u}=et(),i=Vm();function l(h,g){let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:f}=g;f.preprocess&&(h=f.preprocess(h,g));let F=new Map,_=new t(h),w=E();return c>0&&(w=a([s,w],c,g.tabWidth)),n(w),w;function E(x,I){return void 0===x||x===_?N(I):Array.isArray(x)?_.call((()=>N(I)),...x):_.call((()=>N(I)),x)}function N(x){let I=_.getValue(),P=I&&"object"==typeof I&&void 0===x;if(P&&F.has(I))return F.get(I);let $=function y(h,g,c,f){let w,E,F=h.getValue(),{printer:_}=g;if(_.hasPrettierIgnore&&_.hasPrettierIgnore(h))({doc:w,printedComments:E}=function p(h,g){let{originalText:c,[Symbol.for("comments")]:f,locStart:F,locEnd:_}=g,w=F(h),E=_(h),N=new Set;for(let x of f)F(x)>=w&&_(x)<=E&&(x.printed=!0,N.add(x));return{doc:c.slice(w,E),printedComments:N}}(F,g));else{if(F)try{w=i.printSubtree(h,c,g,l)}catch(N){if(globalThis.PRETTIER_DEBUG)throw N}w||(w=_.print(h,g,c,f))}return(!_.willPrintOwnComments||!_.willPrintOwnComments(h,g))&&(w=u(h,w,g,E)),w}(_,g,E,x);return P&&F.set(I,$),$}}r.exports=l}}),Hm=te({"src/main/range-util.js"(e,r){ne();var t=Zt(),s=et();function u(f){let F=f.length-1;for(;;){let _=f[F];if(!_||"Program"!==_.type&&"File"!==_.type)break;F--}return f.slice(0,F+1)}function l(f,F,_,w){let E=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],N=arguments.length>5?arguments[5]:void 0,{locStart:x,locEnd:I}=_,P=x(f),$=I(f);if(!(F>$||Fw);let I=f.slice(w,E).search(/\S/),P=-1===I;if(!P)for(w+=I;E>w&&!/\S/.test(f[E-1]);--E);let T,m,$=l(_,w,F,((C,o)=>g(F,C,o)),[],"rangeStart"),D=P?$:l(_,E,F,(C=>g(F,C)),[],"rangeEnd");if(!$||!D)return{rangeStart:0,rangeEnd:0};if((f=>{let{parser:F}=f;return"json"===F||"json5"===F||"json-stringify"===F})(F)){let C=function n(f,F){let _=[f.node,...f.parentNodes],w=new Set([F.node,...F.parentNodes]);return _.find((E=>y.has(E.type)&&w.has(E)))}($,D);T=C,m=C}else({startNode:T,endNode:m}=function i(f,F,_){let{locStart:w,locEnd:E}=_,N=f.node,x=F.node;if(N===x)return{startNode:N,endNode:x};let I=w(f.node);for(let $ of u(F.parentNodes)){if(!(w($)>=I))break;x=$}let P=E(F.node);for(let $ of u(f.parentNodes)){if(!(E($)<=P))break;if(N=$,N===x)break}return{startNode:N,endNode:x}}($,D,F));return{rangeStart:Math.min(N(T),N(m)),rangeEnd:Math.max(x(T),x(m))}},findNodeAtOffset:l}}}),Gm=te({"src/main/core.js"(e,r){ne();var{diffArrays:t}=BD(),{printer:{printDocToString:s},debug:{printDocToDebug:a}}=qe(),{getAlignmentSize:n}=Ue(),{guessEndOfLine:u,convertEndOfLineToChars:i,countEndOfLineChars:l,normalizeEndOfLine:p}=Jn(),y=uo().normalize,h=Rm(),g=et(),c=tu(),f=Wm(),F=Hm(),w=Symbol("cursor");function E(m,C,o){let d=C.comments;return d&&(delete C.comments,g.attach(d,C,m,o)),o[Symbol.for("comments")]=d||[],o[Symbol.for("tokens")]=C.tokens||[],o.originalText=m,d}function N(m,C){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!m||0===m.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:d,text:v}=c.parse(m,C);if(C.cursorOffset>=0){let k=F.findNodeAtOffset(d,C.cursorOffset,C);k&&k.node&&(C.cursorNode=k.node)}let S=E(v,d,C),b=f(d,C,o),B=s(b,C);if(g.ensureAllCommentsPrinted(S),o>0){let k=B.formatted.trim();void 0!==B.cursorNodeStart&&(B.cursorNodeStart-=B.formatted.indexOf(k)),B.formatted=k+i(C.endOfLine)}if(C.cursorOffset>=0){let k,M,R,q,J;if(C.cursorNode&&B.cursorNodeText?(k=C.locStart(C.cursorNode),M=v.slice(k,C.locEnd(C.cursorNode)),R=C.cursorOffset-k,q=B.cursorNodeStart,J=B.cursorNodeText):(k=0,M=v,R=C.cursorOffset,q=0,J=B.formatted),M===J)return{formatted:B.formatted,cursorOffset:q+R,comments:S};let L=[...M];L.splice(R,0,w);let Q=[...J],V=t(L,Q),j=q;for(let Y of V)if(Y.removed){if(Y.value.includes(w))break}else j+=Y.count;return{formatted:B.formatted,cursorOffset:j,comments:S}}return{formatted:B.formatted,cursorOffset:-1,comments:S}}function I(m,C,o){return"number"!=typeof C||Number.isNaN(C)||C<0||C>m.length?o:C}function P(m,C){let{cursorOffset:o,rangeStart:d,rangeEnd:v}=C;return o=I(m,o,-1),d=I(m,d,0),v=I(m,v,m.length),Object.assign(Object.assign({},C),{},{cursorOffset:o,rangeStart:d,rangeEnd:v})}function $(m,C){let{cursorOffset:o,rangeStart:d,rangeEnd:v,endOfLine:S}=P(m,C),b="\ufeff"===m.charAt(0);if(b&&(m=m.slice(1),o--,d--,v--),"auto"===S&&(S=u(m)),m.includes("\r")){let B=k=>l(m.slice(0,Math.max(k,0)),"\r\n");o-=B(o),d-=B(d),v-=B(v),m=p(m)}return{hasBOM:b,text:m,options:P(m,Object.assign(Object.assign({},C),{},{cursorOffset:o,rangeStart:d,rangeEnd:v,endOfLine:S}))}}function D(m,C){let o=c.resolveParser(C);return!o.hasPragma||o.hasPragma(m)}function T(m,C){let S,{hasBOM:o,text:d,options:v}=$(m,y(C));return v.rangeStart>=v.rangeEnd&&""!==d||v.requirePragma&&!D(d,v)?{formatted:m,cursorOffset:C.cursorOffset,comments:[]}:(v.rangeStart>0||v.rangeEndv&&C.cursorOffset<=S?C.cursorOffset-v:-1,endOfLine:"lf"}),M),q=R.formatted.trimEnd(),{cursorOffset:J}=C;J>S?J+=q.length-b.length:R.cursorOffset>=0&&(J=R.cursorOffset+v);let L=d.slice(0,v)+q+d.slice(S);if("lf"!==C.endOfLine){let Q=i(C.endOfLine);J>=0&&"\r\n"===Q&&(J+=l(L.slice(0,J),"\n")),L=L.replace(/\n/g,Q)}return{formatted:L,cursorOffset:J,comments:R.comments}}(d,v):(!v.requirePragma&&v.insertPragma&&v.printer.insertPragma&&!D(d,v)&&(d=v.printer.insertPragma(d)),S=N(d,v)),o&&(S.formatted="\ufeff"+S.formatted,S.cursorOffset>=0&&S.cursorOffset++),S)}r.exports={formatWithCursor:T,parse(m,C,o){let{text:d,options:v}=$(m,y(C)),S=c.parse(d,v);return o&&(S.ast=h(S.ast,v)),S},formatAST(m,C){C=y(C);let o=f(m,C);return s(o,C)},formatDoc:(m,C)=>T(a(m),Object.assign(Object.assign({},C),{},{parser:"__js_expression"})).formatted,printToDoc(m,C){C=y(C);let{ast:o,text:d}=c.parse(m,C);return E(d,o,C),f(o,C)},printDocToString:(m,C)=>s(m,y(C))}}}),Um=te({"src/common/util-shared.js"(e,r){ne();var{getMaxContinuousCount:t,getStringWidth:s,getAlignmentSize:a,getIndentSize:n,skip:u,skipWhitespace:i,skipSpaces:l,skipNewline:p,skipToLineEnd:y,skipEverythingButNewLine:h,skipInlineComment:g,skipTrailingComment:c,hasNewline:f,hasNewlineInRange:F,hasSpaces:_,isNextLineEmpty:w,isNextLineEmptyAfterIndex:E,isPreviousLineEmpty:N,getNextNonSpaceNonCommentCharacterIndex:x,makeString:I,addLeadingComment:P,addDanglingComment:$,addTrailingComment:D}=Ue();r.exports={getMaxContinuousCount:t,getStringWidth:s,getAlignmentSize:a,getIndentSize:n,skip:u,skipWhitespace:i,skipSpaces:l,skipNewline:p,skipToLineEnd:y,skipEverythingButNewLine:h,skipInlineComment:g,skipTrailingComment:c,hasNewline:f,hasNewlineInRange:F,hasSpaces:_,isNextLineEmpty:w,isNextLineEmptyAfterIndex:E,isPreviousLineEmpty:N,getNextNonSpaceNonCommentCharacterIndex:x,makeString:I,addLeadingComment:P,addDanglingComment:$,addTrailingComment:D}}}),_t=te({"src/utils/create-language.js"(e,r){ne(),r.exports=function(t,s){let{languageId:a}=t,n=Hn(t,CD);return Object.assign(Object.assign({linguistLanguageId:a},n),s(t))}}}),Jm=te({"node_modules/esutils/lib/ast.js"(e,r){ne(),function(){function a(l){if(null==l)return!1;switch(l.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function u(l){switch(l.type){case"IfStatement":return null!=l.alternate?l.alternate:l.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return l.body}return null}r.exports={isExpression:function t(l){if(null==l)return!1;switch(l.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:a,isIterationStatement:function s(l){if(null==l)return!1;switch(l.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function n(l){return a(l)||null!=l&&"FunctionDeclaration"===l.type},isProblematicIfStatement:function i(l){var p;if("IfStatement"!==l.type||null==l.alternate)return!1;p=l.consequent;do{if("IfStatement"===p.type&&null==p.alternate)return!0;p=u(p)}while(p);return!1},trailingStatement:u}}()}}),so=te({"node_modules/esutils/lib/code.js"(e,r){ne(),function(){var t,s,a,n,u,i;function c(E){return E<=65535?String.fromCharCode(E):String.fromCharCode(Math.floor((E-65536)/1024)+55296)+String.fromCharCode((E-65536)%1024+56320)}for(s={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},a=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],n=new Array(128),i=0;i<128;++i)n[i]=i>=97&&i<=122||i>=65&&i<=90||36===i||95===i;for(u=new Array(128),i=0;i<128;++i)u[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||36===i||95===i;r.exports={isDecimalDigit:function l(E){return 48<=E&&E<=57},isHexDigit:function p(E){return 48<=E&&E<=57||97<=E&&E<=102||65<=E&&E<=70},isOctalDigit:function y(E){return E>=48&&E<=55},isWhiteSpace:function h(E){return 32===E||9===E||11===E||12===E||160===E||E>=5760&&a.indexOf(E)>=0},isLineTerminator:function g(E){return 10===E||13===E||8232===E||8233===E},isIdentifierStartES5:function f(E){return E<128?n[E]:s.NonAsciiIdentifierStart.test(c(E))},isIdentifierPartES5:function F(E){return E<128?u[E]:s.NonAsciiIdentifierPart.test(c(E))},isIdentifierStartES6:function _(E){return E<128?n[E]:t.NonAsciiIdentifierStart.test(c(E))},isIdentifierPartES6:function w(E){return E<128?u[E]:t.NonAsciiIdentifierPart.test(c(E))}}}()}}),zm=te({"node_modules/esutils/lib/keyword.js"(e,r){ne(),function(){var t=so();function a(f,F){return!(!F&&"yield"===f)&&n(f,F)}function n(f,F){if(F&&function s(f){switch(f){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(f))return!0;switch(f.length){case 2:return"if"===f||"in"===f||"do"===f;case 3:return"var"===f||"for"===f||"new"===f||"try"===f;case 4:return"this"===f||"else"===f||"case"===f||"void"===f||"with"===f||"enum"===f;case 5:return"while"===f||"break"===f||"catch"===f||"throw"===f||"const"===f||"yield"===f||"class"===f||"super"===f;case 6:return"return"===f||"typeof"===f||"delete"===f||"switch"===f||"export"===f||"import"===f;case 7:return"default"===f||"finally"===f||"extends"===f;case 8:return"function"===f||"continue"===f||"debugger"===f;case 10:return"instanceof"===f;default:return!1}}function u(f,F){return"null"===f||"true"===f||"false"===f||a(f,F)}function i(f,F){return"null"===f||"true"===f||"false"===f||n(f,F)}function p(f){var F,_,w;if(0===f.length||(w=f.charCodeAt(0),!t.isIdentifierStartES5(w)))return!1;for(F=1,_=f.length;F<_;++F)if(w=f.charCodeAt(F),!t.isIdentifierPartES5(w))return!1;return!0}function y(f,F){return 1024*(f-55296)+(F-56320)+65536}function h(f){var F,_,w,E,N;if(0===f.length)return!1;for(N=t.isIdentifierStartES6,F=0,_=f.length;F<_;++F){if(55296<=(w=f.charCodeAt(F))&&w<=56319){if(++F>=_||!(56320<=(E=f.charCodeAt(F))&&E<=57343))return!1;w=y(w,E)}if(!N(w))return!1;N=t.isIdentifierPartES6}return!0}r.exports={isKeywordES5:a,isKeywordES6:n,isReservedWordES5:u,isReservedWordES6:i,isRestrictedWord:function l(f){return"eval"===f||"arguments"===f},isIdentifierNameES5:p,isIdentifierNameES6:h,isIdentifierES5:function g(f,F){return p(f)&&!u(f,F)},isIdentifierES6:function c(f,F){return h(f)&&!i(f,F)}}}()}}),Xm=te({"node_modules/esutils/lib/utils.js"(e){ne(),e.ast=Jm(),e.code=so(),e.keyword=zm()}}),Pt=te({"src/language-js/utils/is-block-comment.js"(e,r){ne();var t=new Set(["Block","CommentBlock","MultiLine"]);r.exports=a=>t.has(a?.type)}}),Km=te({"src/language-js/utils/is-node-matches.js"(e,r){ne(),r.exports=function s(a,n){return n.some((u=>function t(a,n){let u=n.split(".");for(let i=u.length-1;i>=0;i--){let l=u[i];if(0===i)return"Identifier"===a.type&&a.name===l;if("MemberExpression"!==a.type||a.optional||a.computed||"Identifier"!==a.property.type||a.property.name!==l)return!1;a=a.object}}(a,u)))}}}),Ke=te({"src/language-js/utils/index.js"(e,r){ne();var t=Xm().keyword.isIdentifierNameES5,{getLast:s,hasNewline:a,skipWhitespace:n,isNonEmptyArray:u,isNextLineEmptyAfterIndex:i,getStringWidth:l}=Ue(),{locStart:p,locEnd:y,hasSameLocStart:h}=ut(),g=Pt(),c=Km(),f="(?:(?=.)\\s)",F=new RegExp(`^${f}*:`),_=new RegExp(`^${f}*::`);function $(O){return O=new Set(O),me=>O.has(me?.type)}var D=$(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),T=$(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);var C=$(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function o(O){return"NumericLiteral"===O.type||"Literal"===O.type&&"number"==typeof O.value}function v(O){return"StringLiteral"===O.type||"Literal"===O.type&&"string"==typeof O.value}var S=$(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),b=$(["FunctionExpression","ArrowFunctionExpression"]);function k(O){return de(O)&&"Identifier"===O.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(O.callee.name)}var M=$(["JSXElement","JSXFragment"]);function q(O){return"get"===O.kind||"set"===O.kind}function J(O){return q(O)||h(O,O.value)}var V=$(["BinaryExpression","LogicalExpression","NGPipeExpression"]);var Y=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);var ce=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];var de=$(["CallExpression","OptionalCallExpression"]),ue=$(["MemberExpression","OptionalMemberExpression"]);function fe(O){return/^(?:\d+|\d+\.\d+)$/.test(O)}function he(O){return O.quasis.some((me=>me.value.raw.includes("\n")))}function oe(O){var me,_e;return null!==(me=null===(_e=O.extra)||void 0===_e?void 0:_e.raw)&&void 0!==me?me:O.raw}var Ae={"==":!0,"!=":!0,"===":!0,"!==":!0},Ee={"*":!0,"/":!0,"%":!0},De={">>":!0,">>>":!0,"<<":!0};var G=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap(((O,me)=>O.map((_e=>[_e,me])))));function re(O){return G.get(O)}var Be=new WeakMap;function ve(O){if(Be.has(O))return Be.get(O);let me=[];return O.this&&me.push(O.this),Array.isArray(O.parameters)?me.push(...O.parameters):Array.isArray(O.params)&&me.push(...O.params),O.rest&&me.push(O.rest),Be.set(O,me),me}var be=new WeakMap;function Ye(O){if(be.has(O))return be.get(O);let me=O.arguments;return"ImportExpression"===O.type&&(me=[O.source],O.attributes&&me.push(O.attributes)),be.set(O,me),me}function Ie(O){return"prettier-ignore"===O.value.trim()&&!O.unignore}function Oe(O){return O&&(O.prettierIgnore||Me(O,Te.PrettierIgnore))}var Te={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},je=(O,me)=>{if("function"==typeof O&&(me=O,O=0),O||me)return(_e,He,Ge)=>!(O&Te.Leading&&!_e.leading||O&Te.Trailing&&!_e.trailing||O&Te.Dangling&&(_e.leading||_e.trailing)||O&Te.Block&&!g(_e)||O&Te.Line&&!D(_e)||O&Te.First&&0!==He||O&Te.Last&&He!==Ge.length-1||O&Te.PrettierIgnore&&!Ie(_e)||me&&!me(_e))};function Me(O,me,_e){if(!u(O?.comments))return!1;let He=je(me,_e);return!He||O.comments.some(He)}function ae(O,me,_e){if(!Array.isArray(O?.comments))return[];let He=je(me,_e);return He?O.comments.filter(He):O.comments}function tt(O){return de(O)||"NewExpression"===O.type||"ImportExpression"===O.type}var Xe=Symbol("ifWithoutBlockAndSameLineComment");function st(O){return"TSAsExpression"===O.type||"TSSatisfiesExpression"===O.type}r.exports={getFunctionParameters:ve,iterateFunctionParametersPath:function ze(O,me){let _e=O.getValue(),He=0,Ge=it=>me(it,He++);_e.this&&O.call(Ge,"this"),Array.isArray(_e.parameters)?O.each(Ge,"parameters"):Array.isArray(_e.params)&&O.each(Ge,"params"),_e.rest&&O.call(Ge,"rest")},getCallArguments:Ye,iterateCallArgumentsPath:function Se(O,me){let _e=O.getValue();"ImportExpression"===_e.type?(O.call((He=>me(He,0)),"source"),_e.attributes&&O.call((He=>me(He,1)),"attributes")):O.each(me,"arguments")},hasRestParameter:function Ce(O){var me;if(O.rest)return!0;let _e=ve(O);return"RestElement"===(null===(me=s(_e))||void 0===me?void 0:me.type)},getLeftSide:function I(O){var me,_e,He,Ge,it,Qe;return O.expressions?O.expressions[0]:null!==(me=null!==(_e=null!==(He=null!==(Ge=null!==(it=null!==(Qe=O.left)&&void 0!==Qe?Qe:O.test)&&void 0!==it?it:O.callee)&&void 0!==Ge?Ge:O.object)&&void 0!==He?He:O.tag)&&void 0!==_e?_e:O.argument)&&void 0!==me?me:O.expression},getLeftSidePathName:function P(O,me){if(me.expressions)return["expressions",0];if(me.left)return["left"];if(me.test)return["test"];if(me.object)return["object"];if(me.callee)return["callee"];if(me.tag)return["tag"];if(me.argument)return["argument"];if(me.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function m(O){let me=O.getParentNode();return"declaration"===O.getName()&&T(me)?me:null},getTypeScriptMappedTypeModifier:function z(O,me){return"+"===O||"-"===O?O+me:me},hasFlowAnnotationComment:function E(O){let me=O?.[0];return g(me)&&_.test(me.value)},hasFlowShorthandAnnotationComment:function w(O){var me,_e;return(null===(me=O.extra)||void 0===me?void 0:me.parenthesized)&&g(null===(_e=O.trailingComments)||void 0===_e?void 0:_e[0])&&F.test(O.trailingComments[0].value)},hasLeadingOwnLineComment:function Z(O,me){return M(me)?Oe(me):Me(me,Te.Leading,(_e=>a(O,y(_e))))},hasNakedLeftSide:function x(O){return"AssignmentExpression"===O.type||"BinaryExpression"===O.type||"LogicalExpression"===O.type||"NGPipeExpression"===O.type||"ConditionalExpression"===O.type||de(O)||ue(O)||"SequenceExpression"===O.type||"TaggedTemplateExpression"===O.type||"BindExpression"===O.type||"UpdateExpression"===O.type&&!O.prefix||st(O)||"TSNonNullExpression"===O.type},hasNode:function N(O,me){if(!O||"object"!=typeof O)return!1;if(Array.isArray(O))return O.some((He=>N(He,me)));let _e=me(O);return"boolean"==typeof _e?_e:Object.values(O).some((He=>N(He,me)))},hasIgnoreComment:function Je(O){return Oe(O.getValue())},hasNodeIgnoreComment:Oe,identity:function H(O){return O},isBinaryish:V,isCallLikeExpression:tt,isEnabledHackPipeline:function We(O){return Boolean(O.__isUsingHackPipeline)},isLineComment:D,isPrettierIgnoreComment:Ie,isCallExpression:de,isMemberExpression:ue,isExportDeclaration:T,isFlowAnnotationComment:function U(O,me){let _e=p(me),He=n(O,y(me));return!1!==He&&"/*"===O.slice(_e,_e+2)&&"*/"===O.slice(He,He+2)},isFunctionCompositionArgs:function Re(O){if(O.length<=1)return!1;let me=0;for(let _e of O)if(b(_e)){if(me+=1,me>1)return!0}else if(de(_e))for(let He of _e.arguments)if(b(He))return!0;return!1},isFunctionNotation:J,isFunctionOrArrowExpression:b,isGetterOrSetter:q,isJestEachTemplateLiteral:function ge(O,me){let _e=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===me.type&&me.quasi===O&&"MemberExpression"===me.tag.type&&"Identifier"===me.tag.property.type&&"each"===me.tag.property.name&&("Identifier"===me.tag.object.type&&_e.test(me.tag.object.name)||"MemberExpression"===me.tag.object.type&&"Identifier"===me.tag.object.property.type&&("only"===me.tag.object.property.name||"skip"===me.tag.object.property.name)&&"Identifier"===me.tag.object.object.type&&_e.test(me.tag.object.object.name))},isJsxNode:M,isLiteral:C,isLongCurriedCallExpression:function Ne(O){let me=O.getValue(),_e=O.getParentNode();return de(me)&&de(_e)&&_e.callee===me&&me.arguments.length>_e.arguments.length&&_e.arguments.length>0},isSimpleCallArgument:function Pe(O,me){if(me>=2)return!1;let _e=Qe=>Pe(Qe,me+1),He="Literal"===O.type&&"regex"in O&&O.regex.pattern||"RegExpLiteral"===O.type&&O.pattern;return!(He&&l(He)>5)&&("Literal"===O.type||"BigIntLiteral"===O.type||"DecimalLiteral"===O.type||"BooleanLiteral"===O.type||"NullLiteral"===O.type||"NumericLiteral"===O.type||"RegExpLiteral"===O.type||"StringLiteral"===O.type||"Identifier"===O.type||"ThisExpression"===O.type||"Super"===O.type||"PrivateName"===O.type||"PrivateIdentifier"===O.type||"ArgumentPlaceholder"===O.type||"Import"===O.type||("TemplateLiteral"===O.type?O.quasis.every((Qe=>!Qe.value.raw.includes("\n")))&&O.expressions.every(_e):"ObjectExpression"===O.type?O.properties.every((Qe=>!Qe.computed&&(Qe.shorthand||Qe.value&&_e(Qe.value)))):"ArrayExpression"===O.type?O.elements.every((Qe=>null===Qe||_e(Qe))):tt(O)?("ImportExpression"===O.type||Pe(O.callee,me))&&Ye(O).every(_e):ue(O)?Pe(O.object,me)&&Pe(O.property,me):"UnaryExpression"===O.type&&{"!":!0,"-":!0,"+":!0,"~":!0}[O.operator]||"UpdateExpression"===O.type&&{"++":!0,"--":!0}[O.operator]?Pe(O.argument,me):"TSNonNullExpression"===O.type&&Pe(O.expression,me)))},isMemberish:function j(O){return ue(O)||"BindExpression"===O.type&&Boolean(O.object)},isNumericLiteral:o,isSignedNumericLiteral:function d(O){return"UnaryExpression"===O.type&&("+"===O.operator||"-"===O.operator)&&o(O.argument)},isObjectProperty:function Ve(O){return O&&("ObjectProperty"===O.type||"Property"===O.type&&!O.method&&"init"===O.kind)},isObjectType:S,isObjectTypePropertyAFunction:function L(O){return!("ObjectTypeProperty"!==O.type&&"ObjectTypeInternalSlot"!==O.type||"FunctionTypeAnnotation"!==O.value.type||O.static||J(O))},isSimpleType:function ie(O){return!!O&&!(("GenericTypeAnnotation"!==O.type&&"TSTypeReference"!==O.type||O.typeParameters)&&!Y.has(O.type))},isSimpleNumber:fe,isSimpleTemplateLiteral:function Fe(O){let me="expressions";"TSTemplateLiteralType"===O.type&&(me="types");let _e=O[me];return 0!==_e.length&&_e.every((He=>{if(Me(He))return!1;if("Identifier"===He.type||"ThisExpression"===He.type)return!0;if(ue(He)){let Ge=He;for(;ue(Ge);)if("Identifier"!==Ge.property.type&&"Literal"!==Ge.property.type&&"StringLiteral"!==Ge.property.type&&"NumericLiteral"!==Ge.property.type||(Ge=Ge.object,Me(Ge)))return!1;return"Identifier"===Ge.type||"ThisExpression"===Ge.type}return!1}))},isStringLiteral:v,isStringPropSafeToUnquote:function se(O,me){return"json"!==me.parser&&v(O.key)&&oe(O.key).slice(1,-1)===O.key.value&&(t(O.key.value)&&!("babel-ts"===me.parser&&"ClassProperty"===O.type||"typescript"===me.parser&&"PropertyDefinition"===O.type)||fe(O.key.value)&&String(Number(O.key.value))===O.key.value&&("babel"===me.parser||"acorn"===me.parser||"espree"===me.parser||"meriyah"===me.parser||"__babel_estree"===me.parser))},isTemplateOnItsOwnLine:function we(O,me){return("TemplateLiteral"===O.type&&he(O)||"TaggedTemplateExpression"===O.type&&he(O.quasi))&&!a(me,p(O),{backwards:!0})},isTestCall:function K(O,me){if("CallExpression"!==O.type)return!1;if(1===O.arguments.length){if(k(O)&&me&&K(me))return b(O.arguments[0]);if(function ee(O){return"Identifier"===O.callee.type&&/^(?:before|after)(?:Each|All)$/.test(O.callee.name)&&1===O.arguments.length}(O))return k(O.arguments[0])}else if((2===O.arguments.length||3===O.arguments.length)&&("TemplateLiteral"===O.arguments[0].type||v(O.arguments[0]))&&function W(O){return c(O,ce)}(O.callee))return!(O.arguments[2]&&!o(O.arguments[2]))&&((2===O.arguments.length?b(O.arguments[1]):function B(O){return"FunctionExpression"===O.type||"ArrowFunctionExpression"===O.type&&"BlockStatement"===O.body.type}(O.arguments[1])&&ve(O.arguments[1]).length<=1)||k(O.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function R(O,me){if("markdown"!==O.parentParser&&"mdx"!==O.parentParser)return!1;let _e=me.getNode();if(!_e.expression||!M(_e.expression))return!1;let He=me.getParentNode();return"Program"===He.type&&1===He.body.length},isTSXFile:function pe(O){return O.filepath&&/\.tsx$/i.test(O.filepath)},isTypeAnnotationAFunction:function Q(O){return!("TypeAnnotation"!==O.type&&"TSTypeAnnotation"!==O.type||"FunctionTypeAnnotation"!==O.typeAnnotation.type||O.static||h(O,O.typeAnnotation))},isNextLineEmpty:(O,me)=>{let{originalText:_e}=me;return i(_e,y(O))},needsHardlineAfterDanglingComment:function ke(O){if(!Me(O))return!1;let me=s(ae(O,Te.Dangling));return me&&!g(me)},rawText:oe,shouldPrintComma:function X(O){let me=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===O.trailingComma&&"es5"===me||"all"===O.trailingComma&&("all"===me||"es5"===me)},isBitwiseOperator:function ye(O){return Boolean(De[O])||"|"===O||"^"===O||"&"===O},shouldFlatten:function A(O,me){return!(re(me)!==re(O)||"**"===O||Ae[O]&&Ae[me]||"%"===me&&Ee[O]||"%"===O&&Ee[me]||me!==O&&Ee[me]&&Ee[O]||De[O]&&De[me])},startsWithNoLookaheadToken:function le(O,me){switch(O.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return le(O.left,me);case"MemberExpression":case"OptionalMemberExpression":return le(O.object,me);case"TaggedTemplateExpression":return"FunctionExpression"!==O.tag.type&&le(O.tag,me);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==O.callee.type&&le(O.callee,me);case"ConditionalExpression":return le(O.test,me);case"UpdateExpression":return!O.prefix&&le(O.argument,me);case"BindExpression":return O.object&&le(O.object,me);case"SequenceExpression":return le(O.expressions[0],me);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return le(O.expression,me);default:return me(O)}},getPrecedence:re,hasComment:Me,getComments:ae,CommentCheckFlags:Te,markerForIfWithoutBlockAndSameLineComment:Xe,isTSTypeExpression:st}}}),jt=te({"src/language-js/print/template-literal.js"(e,r){ne();var t=lt(),{getStringWidth:s,getIndentSize:a}=Ue(),{builders:{join:n,hardline:u,softline:i,group:l,indent:p,align:y,lineSuffixBoundary:h,addAlignmentToDoc:g},printer:{printDocToString:c},utils:{mapDoc:f}}=qe(),{isBinaryish:F,isJestEachTemplateLiteral:_,isSimpleTemplateLiteral:w,hasComment:E,isMemberExpression:N,isTSTypeExpression:x}=Ke();function m(C){return C.replace(/([\\`]|\${)/g,"\\$1")}r.exports={printTemplateLiteral:function I(C,o,d){let v=C.getValue();if("TemplateLiteral"===v.type&&_(v,C.getParentNode())){let R=function P(C,o,d){let v=C.getNode(),S=v.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(S.length>1||S.some((b=>b.length>0))){o.__inJestEach=!0;let b=C.map(d,"expressions");o.__inJestEach=!1;let B=[],k=b.map((L=>"${"+c(L,Object.assign(Object.assign({},o),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}")),M=[{hasLineBreak:!1,cells:[]}];for(let L=1;LL.cells.length))),q=Array.from({length:R}).fill(0),J=[{cells:S},...M.filter((L=>L.cells.length>0))];for(let{cells:L}of J.filter((Q=>!Q.hasLineBreak)))for(let[Q,V]of L.entries())q[Q]=Math.max(q[Q],s(V));return B.push(h,"`",p([u,n(u,J.map((L=>n(" | ",L.cells.map(((Q,V)=>L.hasLineBreak?Q:Q+" ".repeat(q[V]-s(Q))))))))]),u,"`"),B}}(C,d,o);if(R)return R}let b="expressions";"TSTemplateLiteralType"===v.type&&(b="types");let B=[],k=C.map(o,b),M=w(v);return M&&(k=k.map((R=>c(R,Object.assign(Object.assign({},d),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),B.push(h,"`"),C.each((R=>{let q=R.getName();if(B.push(o()),qfunction $(C,o){let d=C.getValue(),v=o();return E(d)&&(v=l([p([i,v]),i])),["${",v,h,"}"]}(d,o)),"expressions")},escapeTemplateCharacters:function T(C,o){return f(C,(d=>"string"==typeof d?o?d.replace(/(\\*)`/g,"$1$1\\`"):m(d):d))},uncookTemplateElementValue:m}}}),Ym=te({"src/language-js/embed/markdown.js"(e,r){ne();var{builders:{indent:t,softline:s,literalline:a,dedentToRoot:n}}=qe(),{escapeTemplateCharacters:u}=jt();r.exports=function i(p,y,h){let c=p.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((w,E)=>"\\".repeat(E.length/2)+"`")),f=function l(p){let y=p.match(/^([^\S\n]*)\S/m);return null===y?"":y[1]}(c),F=""!==f;F&&(c=c.replace(new RegExp(`^${f}`,"gm"),""));let _=u(h(c,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",F?t([s,_]):[a,n(_)],s,"`"]}}}),Qm=te({"src/language-js/embed/css.js"(e,r){ne();var{isNonEmptyArray:t}=Ue(),{builders:{indent:s,hardline:a,softline:n},utils:{mapDoc:u,replaceEndOfLine:i,cleanDoc:l}}=qe(),{printTemplateExpressions:p}=jt();r.exports=function y(c,f,F){let _=c.getValue(),w=_.quasis.map((P=>P.value.raw)),E=0;return function h(c,f,F){if(1===f.quasis.length&&!f.quasis[0].value.raw.trim())return"``";let w=function g(c,f){if(!t(f))return c;let F=0,_=u(l(c),(w=>"string"==typeof w&&w.includes("@prettier-placeholder")?w.split(/@prettier-placeholder-(\d+)-id/).map(((E,N)=>N%2==0?i(E):(F++,f[E]))):w));return f.length===F?_:null}(c,F);if(!w)throw new Error("Couldn't insert all the expressions");return["`",s([a,w]),n,"`"]}(F(w.reduce(((P,$,D)=>0===D?$:P+"@prettier-placeholder-"+E+++"-id"+$),""),{parser:"scss"},{stripTrailingHardline:!0}),_,p(c,f))}}}),Zm=te({"src/language-js/embed/graphql.js"(e,r){ne();var{builders:{indent:t,join:s,hardline:a}}=qe(),{escapeTemplateCharacters:n,printTemplateExpressions:u}=jt();function l(p){let y=[],h=!1,g=p.map((c=>c.trim()));for(let[c,f]of g.entries())""!==f&&(""===g[c-1]&&h?y.push([a,f]):y.push(f),h=!0);return 0===y.length?null:s(a,y)}r.exports=function i(p,y,h){let g=p.getValue(),c=g.quasis.length;if(1===c&&""===g.quasis[0].value.raw.trim())return"``";let f=u(p,y),F=[];for(let _=0;_2&&""===I[0].trim()&&""===I[1].trim(),T=P>2&&""===I[P-1].trim()&&""===I[P-2].trim(),m=I.every((o=>/^\s*(?:#[^\n\r]*)?$/.test(o)));if(!N&&/#[^\n\r]*$/.test(I[P-1]))return null;let C=null;C=m?l(I):h(x,{parser:"graphql"},{stripTrailingHardline:!0}),C?(C=n(C,!1),!E&&D&&F.push(""),F.push(C),!N&&T&&F.push("")):!E&&!N&&D&&F.push(""),$&&F.push($)}return["`",t([a,s(a,F)]),a,"`"]}}}),ed=te({"src/language-js/embed/html.js"(e,r){ne();var{builders:{indent:t,line:s,hardline:a,group:n},utils:{mapDoc:u}}=qe(),{printTemplateExpressions:i,uncookTemplateElementValue:l}=jt(),p=0;r.exports=function y(h,g,c,f,F){let{parser:_}=F,w=h.getValue(),E=p;p=p+1>>>0;let N=d=>`PRETTIER_HTML_PLACEHOLDER_${d}_${E}_IN_JS`,x=w.quasis.map(((d,v,S)=>v===S.length-1?d.value.cooked:d.value.cooked+N(v))).join(""),I=i(h,g);if(0===I.length&&0===x.trim().length)return"``";let P=new RegExp(N("(\\d+)"),"g"),$=0,D=c(x,{parser:_,__onHtmlRoot(d){$=d.children.length}},{stripTrailingHardline:!0}),T=u(D,(d=>{if("string"!=typeof d)return d;let v=[],S=d.split(P);for(let b=0;b1?t(n(T)):n(T),C,"`"])}}}),td=te({"src/language-js/embed.js"(e,r){ne();var{hasComment:t,CommentCheckFlags:s,isObjectProperty:a}=Ke(),n=Ym(),u=Qm(),i=Zm(),l=ed();function p(D){return function g(D){let T=D.getValue(),m=D.getParentNode(),C=D.getParentNode(1);return C&&T.quasis&&"JSXExpressionContainer"===m.type&&"JSXElement"===C.type&&"style"===C.openingElement.name.name&&C.openingElement.attributes.some((o=>"jsx"===o.name.name))||m&&"TaggedTemplateExpression"===m.type&&"Identifier"===m.tag.type&&"css"===m.tag.name||m&&"TaggedTemplateExpression"===m.type&&"MemberExpression"===m.tag.type&&"css"===m.tag.object.name&&("global"===m.tag.property.name||"resolve"===m.tag.property.name)}(D)||function _(D){let T=D.getParentNode();if(!T||"TaggedTemplateExpression"!==T.type)return!1;let m="ParenthesizedExpression"===T.tag.type?T.tag.expression:T.tag;switch(m.type){case"MemberExpression":return E(m.object)||N(m);case"CallExpression":return E(m.callee)||"MemberExpression"===m.callee.type&&("MemberExpression"===m.callee.object.type&&(E(m.callee.object.object)||N(m.callee.object))||"CallExpression"===m.callee.object.type&&E(m.callee.object.callee));case"Identifier":return"css"===m.name;default:return!1}}(D)||function w(D){let T=D.getParentNode(),m=D.getParentNode(1);return m&&"JSXExpressionContainer"===T.type&&"JSXAttribute"===m.type&&"JSXIdentifier"===m.name.type&&"css"===m.name.name}(D)||function c(D){return D.match((T=>"TemplateLiteral"===T.type),((T,m)=>"ArrayExpression"===T.type&&"elements"===m),((T,m)=>a(T)&&"Identifier"===T.key.type&&"styles"===T.key.name&&"value"===m),...F)}(D)?"css":function x(D){let T=D.getValue(),m=D.getParentNode();return I(T,"GraphQL")||m&&("TaggedTemplateExpression"===m.type&&("MemberExpression"===m.tag.type&&"graphql"===m.tag.object.name&&"experimental"===m.tag.property.name||"Identifier"===m.tag.type&&("gql"===m.tag.name||"graphql"===m.tag.name))||"CallExpression"===m.type&&"Identifier"===m.callee.type&&"graphql"===m.callee.name)}(D)?"graphql":function P(D){return I(D.getValue(),"HTML")||D.match((T=>"TemplateLiteral"===T.type),((T,m)=>"TaggedTemplateExpression"===T.type&&"Identifier"===T.tag.type&&"html"===T.tag.name&&"quasi"===m))}(D)?"html":function f(D){return D.match((T=>"TemplateLiteral"===T.type),((T,m)=>a(T)&&"Identifier"===T.key.type&&"template"===T.key.name&&"value"===m),...F)}(D)?"angular":function h(D){let T=D.getValue(),m=D.getParentNode();return m&&"TaggedTemplateExpression"===m.type&&1===T.quasis.length&&"Identifier"===m.tag.type&&("md"===m.tag.name||"markdown"===m.tag.name)}(D)?"markdown":void 0}var F=[(D,T)=>"ObjectExpression"===D.type&&"properties"===T,(D,T)=>"CallExpression"===D.type&&"Identifier"===D.callee.type&&"Component"===D.callee.name&&"arguments"===T,(D,T)=>"Decorator"===D.type&&"expression"===T];function E(D){return"Identifier"===D.type&&"styled"===D.name}function N(D){return/^[A-Z]/.test(D.object.name)&&"extend"===D.property.name}function I(D,T){return t(D,s.Block|s.Leading,(m=>{let{value:C}=m;return C===` ${T} `}))}r.exports=function y(D,T,m,C){let o=D.getValue();if("TemplateLiteral"!==o.type||function $(D){let{quasis:T}=D;return T.some((m=>{let{value:{cooked:C}}=m;return null===C}))}(o))return;let d=p(D);if(d){if("markdown"===d)return n(D,T,m);if("css"===d)return u(D,T,m);if("graphql"===d)return i(D,T,m);if("html"===d||"angular"===d)return l(D,T,m,C,{parser:d})}}}}),rd=te({"src/language-js/clean.js"(e,r){ne();var t=Pt(),s=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),a=u=>{for(let i of u.quasis)delete i.value};function n(u,i,l){if("Program"===u.type&&delete i.sourceType,("BigIntLiteral"===u.type||"BigIntLiteralTypeAnnotation"===u.type)&&i.value&&(i.value=i.value.toLowerCase()),("BigIntLiteral"===u.type||"Literal"===u.type)&&i.bigint&&(i.bigint=i.bigint.toLowerCase()),"DecimalLiteral"===u.type&&(i.value=Number(i.value)),"Literal"===u.type&&i.decimal&&(i.decimal=Number(i.decimal)),"EmptyStatement"===u.type||"JSXText"===u.type||"JSXExpressionContainer"===u.type&&("Literal"===u.expression.type||"StringLiteral"===u.expression.type)&&" "===u.expression.value)return null;if(("Property"===u.type||"ObjectProperty"===u.type||"MethodDefinition"===u.type||"ClassProperty"===u.type||"ClassMethod"===u.type||"PropertyDefinition"===u.type||"TSDeclareMethod"===u.type||"TSPropertySignature"===u.type||"ObjectTypeProperty"===u.type)&&"object"==typeof u.key&&u.key&&("Literal"===u.key.type||"NumericLiteral"===u.key.type||"StringLiteral"===u.key.type||"Identifier"===u.key.type)&&delete i.key,"JSXElement"===u.type&&"style"===u.openingElement.name.name&&u.openingElement.attributes.some((h=>"jsx"===h.name.name)))for(let{type:h,expression:g}of i.children)"JSXExpressionContainer"===h&&"TemplateLiteral"===g.type&&a(g);"JSXAttribute"===u.type&&"css"===u.name.name&&"JSXExpressionContainer"===u.value.type&&"TemplateLiteral"===u.value.expression.type&&a(i.value.expression),"JSXAttribute"===u.type&&u.value&&"Literal"===u.value.type&&/["']|"|'/.test(u.value.value)&&(i.value.value=i.value.value.replace(/["']|"|'/g,'"'));let p=u.expression||u.callee;if("Decorator"===u.type&&"CallExpression"===p.type&&"Component"===p.callee.name&&1===p.arguments.length){let h=u.expression.arguments[0].properties;for(let[g,c]of i.expression.arguments[0].properties.entries())switch(h[g].key.name){case"styles":"ArrayExpression"===c.value.type&&a(c.value.elements[0]);break;case"template":"TemplateLiteral"===c.value.type&&a(c.value)}}var y;("TaggedTemplateExpression"===u.type&&("MemberExpression"===u.tag.type||"Identifier"===u.tag.type&&("gql"===u.tag.name||"graphql"===u.tag.name||"css"===u.tag.name||"md"===u.tag.name||"markdown"===u.tag.name||"html"===u.tag.name)||"CallExpression"===u.tag.type)&&a(i.quasi),"TemplateLiteral"===u.type)&&((null!==(y=u.leadingComments)&&void 0!==y&&y.some((g=>t(g)&&["GraphQL","HTML"].some((c=>g.value===` ${c} `))))||"CallExpression"===l.type&&"graphql"===l.callee.name||!u.leadingComments)&&a(i));return"InterpreterDirective"===u.type&&(i.value=i.value.trimEnd()),"TSIntersectionType"!==u.type&&"TSUnionType"!==u.type||1!==u.types.length?void 0:i.types[0]}n.ignoredProperties=s,r.exports=n}}),io={};function ao(){if(typeof Tr>"u"){var e=new ArrayBuffer(2),r=new Uint8Array(e),t=new Uint16Array(e);if(r[0]=1,r[1]=2,258===t[0])Tr="BE";else{if(513!==t[0])throw new Error("unable to figure out endianess");Tr="LE"}}return Tr}function oo(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function lo(){return[]}function co(){return 0}function po(){return Number.MAX_VALUE}function fo(){return Number.MAX_VALUE}function Do(){return[]}function mo(){return"Browser"}function go(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function yo(){}function ho(){}function nd(){return"javascript"}function ud(){return"browser"}function $n(){return"/tmp"}Kt(io,{EOL:()=>Wn,arch:()=>nd,cpus:()=>Do,default:()=>vo,endianness:()=>ao,freemem:()=>po,getNetworkInterfaces:()=>ho,hostname:()=>oo,loadavg:()=>lo,networkInterfaces:()=>yo,platform:()=>ud,release:()=>go,tmpDir:()=>$n,tmpdir:()=>Vn,totalmem:()=>fo,type:()=>mo,uptime:()=>co});var Tr,Vn,Wn,vo,sd=ht({"node-modules-polyfills:os"(){ne(),vo={EOL:Wn="\n",tmpdir:Vn=$n,tmpDir:$n,networkInterfaces:yo,getNetworkInterfaces:ho,release:go,type:mo,cpus:Do,totalmem:fo,freemem:po,uptime:co,loadavg:lo,hostname:oo,endianness:ao}}}),id=te({"node-modules-polyfills-commonjs:os"(e,r){ne();var t=(sd(),ft(io));if(t&&t.default){r.exports=t.default;for(let s in t)r.exports[s]=t[s]}else t&&(r.exports=t)}}),ad=te({"node_modules/detect-newline/index.js"(e,r){ne();var t=s=>{if("string"!=typeof s)throw new TypeError("Expected a string");let a=s.match(/(?:\r?\n)/g)||[];if(0===a.length)return;let n=a.filter((i=>"\r\n"===i)).length;return n>a.length-n?"\r\n":"\n"};r.exports=t,r.exports.graceful=s=>"string"==typeof s&&t(s)||"\n"}}),od=te({"node_modules/jest-docblock/build/index.js"(e){function r(){let N=id();return r=function(){return N},N}function t(){let N=function s(N){return N&&N.__esModule?N:{default:N}}(ad());return t=function(){return N},N}ne(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function c(N){let x=N.match(u);return x?x[0].trimLeft():""},e.parse=function F(N){return _(N).pragmas},e.parseWithComments=_,e.print=function w(N){let{comments:x="",pragmas:I={}}=N,P=(0,t().default)(x)||r().EOL,D=" *",m=Object.keys(I),C=m.map((d=>E(d,I[d]))).reduce(((d,v)=>d.concat(v)),[]).map((d=>`${D} ${d}${P}`)).join("");if(!x){if(0===m.length)return"";if(1===m.length&&!Array.isArray(I[m[0]])){let d=I[m[0]];return`/** ${E(m[0],d)[0]} */`}}let o=x.split(P).map((d=>`${D} ${d}`)).join(P)+P;return"/**"+P+(x?o:"")+(x&&m.length?D+P:"")+C+" */"},e.strip=function f(N){let x=N.match(u);return x&&x[0]?N.substring(x[0].length):N};var a=/\*\/$/,n=/^\/\*\*?/,u=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,i=/(^|\s+)\/\/([^\r\n]*)/g,l=/^(\r?\n)+/,p=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,y=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,g=[];function _(N){let x=(0,t().default)(N)||r().EOL;N=N.replace(n,"").replace(a,"").replace(h,"$1");let I="";for(;I!==N;)I=N,N=N.replace(p,`${x}$1 $2${x}`);N=N.replace(l,"").trimRight();let D,P=Object.create(null),$=N.replace(y,"").replace(l,"").trimRight();for(;D=y.exec(N);){let T=D[2].replace(i,"");"string"==typeof P[D[1]]||Array.isArray(P[D[1]])?P[D[1]]=g.concat(P[D[1]],T):P[D[1]]=T}return{comments:$,pragmas:P}}function E(N,x){return g.concat(x).map((I=>`@${N} ${I}`.trim()))}}}),ld=te({"src/language-js/utils/get-shebang.js"(e,r){ne(),r.exports=function t(s){if(!s.startsWith("#!"))return"";let a=s.indexOf("\n");return-1===a?s:s.slice(0,a)}}}),Co=te({"src/language-js/pragma.js"(e,r){ne();var{parseWithComments:t,strip:s,extract:a,print:n}=od(),{normalizeEndOfLine:u}=Jn(),i=ld();function l(h){let g=i(h);g&&(h=h.slice(g.length+1));let c=a(h),{pragmas:f,comments:F}=t(c);return{shebang:g,text:h,pragmas:f,comments:F}}r.exports={hasPragma:function p(h){let g=Object.keys(l(h).pragmas);return g.includes("prettier")||g.includes("format")},insertPragma:function y(h){let{shebang:g,text:c,pragmas:f,comments:F}=l(h),_=s(c),w=n({pragmas:Object.assign({format:""},f),comments:F.trimStart()});return(g?`${g}\n`:"")+u(w)+(_.startsWith("\n")?"\n":"\n\n")+_}}}}),cd=te({"src/language-js/utils/is-type-cast-comment.js"(e,r){ne();var t=Pt();r.exports=function s(a){return t(a)&&"*"===a.value[0]&&/@(?:type|satisfies)\b/.test(a.value)}}}),Eo=te({"src/language-js/comments.js"(e,r){ne();var{getLast:t,hasNewline:s,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:a,getNextNonSpaceNonCommentCharacter:n,hasNewlineInRange:u,addLeadingComment:i,addTrailingComment:l,addDanglingComment:p,getNextNonSpaceNonCommentCharacterIndex:y,isNonEmptyArray:h}=Ue(),{getFunctionParameters:g,isPrettierIgnoreComment:c,isJsxNode:f,hasFlowShorthandAnnotationComment:F,hasFlowAnnotationComment:_,hasIgnoreComment:w,isCallLikeExpression:E,getCallArguments:N,isCallExpression:x,isMemberExpression:I,isObjectProperty:P,isLineComment:$,getComments:D,CommentCheckFlags:T,markerForIfWithoutBlockAndSameLineComment:m}=Ke(),{locStart:C,locEnd:o}=ut(),d=Pt(),v=cd();function k(De,A){let G=(De.body||De.properties).find((re=>{let{type:ye}=re;return"EmptyStatement"!==ye}));G?i(G,A):p(De,A)}function M(De,A){"BlockStatement"===De.type?k(De,A):i(De,A)}function R(De){let{comment:A,followingNode:G}=De;return!(!G||!v(A))&&(i(G,A),!0)}function q(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye,text:Ce}=De;if("IfStatement"!==re?.type||!ye)return!1;if(")"===n(Ce,A,o))return l(G,A),!0;if(G===re.consequent&&ye===re.alternate){if("BlockStatement"===G.type)l(G,A);else{let ve="SingleLine"===A.type||A.loc.start.line===A.loc.end.line,ze=A.loc.start.line===G.loc.start.line;ve&&ze?p(G,A,m):p(re,A)}return!0}return"BlockStatement"===ye.type?(k(ye,A),!0):"IfStatement"===ye.type?(M(ye.consequent,A),!0):re.consequent===ye&&(i(ye,A),!0)}function J(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye,text:Ce}=De;return!("WhileStatement"!==re?.type||!ye)&&(")"===n(Ce,A,o)?(l(G,A),!0):"BlockStatement"===ye.type?(k(ye,A),!0):re.body===ye&&(i(ye,A),!0))}function L(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye}=De;return!("TryStatement"!==re?.type&&"CatchClause"!==re?.type||!ye)&&("CatchClause"===re.type&&G?(l(G,A),!0):"BlockStatement"===ye.type?(k(ye,A),!0):"TryStatement"===ye.type?(M(ye.finalizer,A),!0):"CatchClause"===ye.type&&(M(ye.body,A),!0))}function Q(De){let{comment:A,enclosingNode:G,followingNode:re}=De;return!(!I(G)||"Identifier"!==re?.type)&&(i(G,A),!0)}function V(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye,text:Ce}=De,Be=G&&!u(Ce,o(G),C(A));return!(G&&Be||"ConditionalExpression"!==re?.type&&"TSConditionalType"!==re?.type||!ye)&&(i(ye,A),!0)}function j(De){let{comment:A,precedingNode:G,enclosingNode:re}=De;return!(!P(re)||!re.shorthand||re.key!==G||"AssignmentPattern"!==re.value.type)&&(l(re.value.left,A),!0)}var Y=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function ie(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye}=De;if(Y.has(re?.type)){if(h(re.decorators)&&(!ye||"Decorator"!==ye.type))return l(t(re.decorators),A),!0;if(re.body&&ye===re.body)return k(re.body,A),!0;if(ye){if(re.superClass&&ye===re.superClass&&G&&(G===re.id||G===re.typeParameters))return l(G,A),!0;for(let Ce of["implements","extends","mixins"])if(re[Ce]&&ye===re[Ce][0])return!G||G!==re.id&&G!==re.typeParameters&&G!==re.superClass?p(re,A,Ce):l(G,A),!0}}return!1}var ee=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function ce(De){let{comment:A,precedingNode:G,enclosingNode:re,text:ye}=De;return!!(re&&G&&"("===n(ye,A,o)&&("Property"===re.type||"TSDeclareMethod"===re.type||"TSAbstractMethodDefinition"===re.type)&&"Identifier"===G.type&&re.key===G&&":"!==n(ye,G,o)||"Decorator"===G?.type&&ee.has(re?.type))&&(l(G,A),!0)}var W=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function K(De){let{comment:A,precedingNode:G,enclosingNode:re,text:ye}=De;return"("===n(ye,A,o)&&(!(!G||!W.has(re?.type))&&(l(G,A),!0))}function de(De){let{comment:A,enclosingNode:G,text:re}=De;if("ArrowFunctionExpression"!==G?.type)return!1;let ye=y(re,A,o);return!1!==ye&&"=>"===re.slice(ye,ye+2)&&(p(G,A),!0)}function ue(De){let{comment:A,enclosingNode:G,text:re}=De;return")"===n(re,A,o)&&(G&&(le(G)&&0===g(G).length||E(G)&&0===N(G).length)?(p(G,A),!0):("MethodDefinition"===G?.type||"TSAbstractMethodDefinition"===G?.type)&&0===g(G.value).length&&(p(G.value,A),!0))}function Fe(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye,text:Ce}=De;if("FunctionTypeParam"===G?.type&&"FunctionTypeAnnotation"===re?.type&&"FunctionTypeParam"!==ye?.type||("Identifier"===G?.type||"AssignmentPattern"===G?.type)&&re&&le(re)&&")"===n(Ce,A,o))return l(G,A),!0;if("FunctionDeclaration"===re?.type&&"BlockStatement"===ye?.type){let Be=(()=>{let ve=g(re);if(ve.length>0)return a(Ce,o(t(ve)));let ze=a(Ce,o(re.id));return!1!==ze&&a(Ce,ze+1)})();if(C(A)>Be)return k(ye,A),!0}return!1}function z(De){let{comment:A,enclosingNode:G}=De;return"LabeledStatement"===G?.type&&(i(G,A),!0)}function U(De){let{comment:A,enclosingNode:G}=De;return!("ContinueStatement"!==G?.type&&"BreakStatement"!==G?.type||G.label)&&(l(G,A),!0)}function Z(De){let{comment:A,precedingNode:G,enclosingNode:re}=De;return!!(x(re)&&G&&re.callee===G&&re.arguments.length>0)&&(i(re.arguments[0],A),!0)}function se(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye}=De;return"UnionTypeAnnotation"===re?.type||"TSUnionType"===re?.type?(c(A)&&(ye.prettierIgnore=!0,A.unignore=!0),!!G&&(l(G,A),!0)):(("UnionTypeAnnotation"===ye?.type||"TSUnionType"===ye?.type)&&c(A)&&(ye.types[0].prettierIgnore=!0,A.unignore=!0),!1)}function fe(De){let{comment:A,enclosingNode:G}=De;return!!P(G)&&(i(G,A),!0)}function ge(De){let{comment:A,enclosingNode:G,followingNode:re,ast:ye,isLastComment:Ce}=De;return ye&&ye.body&&0===ye.body.length?(Ce?p(ye,A):i(ye,A),!0):"Program"!==G?.type||0!==G?.body.length||h(G.directives)?"Program"===re?.type&&0===re?.body.length&&"ModuleExpression"===G?.type&&(p(re,A),!0):(Ce?p(G,A):i(G,A),!0)}function he(De){let{comment:A,enclosingNode:G}=De;return("ForInStatement"===G?.type||"ForOfStatement"===G?.type)&&(i(G,A),!0)}function we(De){let{comment:A,precedingNode:G,enclosingNode:re,text:ye}=De;return"ImportSpecifier"===re?.type||"ExportSpecifier"===re?.type?(i(re,A),!0):!(!("ImportSpecifier"===G?.type&&"ImportDeclaration"===re?.type)&&!("ExportSpecifier"===G?.type&&"ExportNamedDeclaration"===re?.type)||!s(ye,o(A)))&&(l(G,A),!0)}function ke(De){let{comment:A,enclosingNode:G}=De;return"AssignmentPattern"===G?.type&&(i(G,A),!0)}var Re=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),Ne=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Pe(De){let{comment:A,enclosingNode:G,followingNode:re}=De;return!(!Re.has(G?.type)||!re||!Ne.has(re.type)&&!d(A))&&(i(re,A),!0)}function oe(De){let{comment:A,enclosingNode:G,followingNode:re,text:ye}=De;return!(re||"TSMethodSignature"!==G?.type&&"TSDeclareFunction"!==G?.type&&"TSAbstractMethodDefinition"!==G?.type||";"!==n(ye,A,o))&&(l(G,A),!0)}function H(De){let{comment:A,enclosingNode:G,followingNode:re}=De;if(c(A)&&"TSMappedType"===G?.type&&"TSTypeParameter"===re?.type&&re.constraint)return G.prettierIgnore=!0,A.unignore=!0,!0}function pe(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye}=De;return"TSMappedType"===re?.type&&("TSTypeParameter"===ye?.type&&ye.name?(i(ye.name,A),!0):!("TSTypeParameter"!==G?.type||!G.constraint)&&(l(G.constraint,A),!0))}function X(De){let{comment:A,enclosingNode:G,followingNode:re}=De;return!(!G||"SwitchCase"!==G.type||G.test||!re||re!==G.consequent[0])&&("BlockStatement"===re.type&&$(A)?k(re,A):p(G,A),!0)}function le(De){return"ArrowFunctionExpression"===De.type||"FunctionExpression"===De.type||"FunctionDeclaration"===De.type||"ObjectMethod"===De.type||"ClassMethod"===De.type||"TSDeclareFunction"===De.type||"TSCallSignatureDeclaration"===De.type||"TSConstructSignatureDeclaration"===De.type||"TSMethodSignature"===De.type||"TSConstructorType"===De.type||"TSFunctionType"===De.type||"TSDeclareMethod"===De.type}r.exports={handleOwnLineComment:function S(De){return[H,Fe,Q,q,J,L,ie,he,se,ge,we,ke,ce,z,U].some((A=>A(De)))},handleEndOfLineComment:function b(De){return[R,Fe,V,we,q,J,L,ie,z,Z,fe,ge,Pe,U,X].some((A=>A(De)))},handleRemainingComment:function B(De){return[H,q,J,j,ue,ce,ge,de,K,pe,U,oe].some((A=>A(De)))},getCommentChildNodes:function Ae(De,A){if(("typescript"===A.parser||"flow"===A.parser||"acorn"===A.parser||"espree"===A.parser||"meriyah"===A.parser||"__babel_estree"===A.parser)&&"MethodDefinition"===De.type&&De.value&&"FunctionExpression"===De.value.type&&0===g(De.value).length&&!De.value.returnType&&!h(De.value.typeParameters)&&De.value.body)return[...De.decorators||[],De.key,De.value.body]},willPrintOwnComments:function Ee(De){let A=De.getValue(),G=De.getParentNode();return(A&&(f(A)||F(A)||x(G)&&(_(D(ye=A,T.Leading))||_(D(ye,T.Trailing))))||G&&("JSXSpreadAttribute"===G.type||"JSXSpreadChild"===G.type||"UnionTypeAnnotation"===G.type||"TSUnionType"===G.type||("ClassDeclaration"===G.type||"ClassExpression"===G.type)&&G.superClass===A))&&(!w(De)||"UnionTypeAnnotation"===G.type||"TSUnionType"===G.type);var ye}}}}),qt=te({"src/language-js/needs-parens.js"(e,r){ne();var t=lt(),s=Kn(),{getFunctionParameters:a,getLeftSidePathName:n,hasFlowShorthandAnnotationComment:u,hasNakedLeftSide:i,hasNode:l,isBitwiseOperator:p,startsWithNoLookaheadToken:y,shouldFlatten:h,getPrecedence:g,isCallExpression:c,isMemberExpression:f,isObjectProperty:F,isTSTypeExpression:_}=Ke();function w(D,T){let m=D.getParentNode();if(!m)return!1;let C=D.getName(),o=D.getNode();if(T.__isInHtmlInterpolation&&!T.bracketSpacing&&function I(D){if("ObjectExpression"===D.type)return!0;return!1}(o)&&P(D))return!0;if(function E(D){return"BlockStatement"===D.type||"BreakStatement"===D.type||"ClassBody"===D.type||"ClassDeclaration"===D.type||"ClassMethod"===D.type||"ClassProperty"===D.type||"PropertyDefinition"===D.type||"ClassPrivateProperty"===D.type||"ContinueStatement"===D.type||"DebuggerStatement"===D.type||"DeclareClass"===D.type||"DeclareExportAllDeclaration"===D.type||"DeclareExportDeclaration"===D.type||"DeclareFunction"===D.type||"DeclareInterface"===D.type||"DeclareModule"===D.type||"DeclareModuleExports"===D.type||"DeclareVariable"===D.type||"DoWhileStatement"===D.type||"EnumDeclaration"===D.type||"ExportAllDeclaration"===D.type||"ExportDefaultDeclaration"===D.type||"ExportNamedDeclaration"===D.type||"ExpressionStatement"===D.type||"ForInStatement"===D.type||"ForOfStatement"===D.type||"ForStatement"===D.type||"FunctionDeclaration"===D.type||"IfStatement"===D.type||"ImportDeclaration"===D.type||"InterfaceDeclaration"===D.type||"LabeledStatement"===D.type||"MethodDefinition"===D.type||"ReturnStatement"===D.type||"SwitchStatement"===D.type||"ThrowStatement"===D.type||"TryStatement"===D.type||"TSDeclareFunction"===D.type||"TSEnumDeclaration"===D.type||"TSImportEqualsDeclaration"===D.type||"TSInterfaceDeclaration"===D.type||"TSModuleDeclaration"===D.type||"TSNamespaceExportDeclaration"===D.type||"TypeAlias"===D.type||"VariableDeclaration"===D.type||"WhileStatement"===D.type||"WithStatement"===D.type}(o))return!1;if("flow"!==T.parser&&u(D.getValue()))return!0;if("Identifier"===o.type){if(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(o.name)||"left"===C&&("async"===o.name&&!m.await||"let"===o.name)&&"ForOfStatement"===m.type)return!0;if("let"===o.name){var d;let S=null===(d=D.findAncestor((b=>"ForOfStatement"===b.type)))||void 0===d?void 0:d.left;if(S&&y(S,(b=>b===o)))return!0}if("object"===C&&"let"===o.name&&"MemberExpression"===m.type&&m.computed&&!m.optional){let S=D.findAncestor((B=>"ExpressionStatement"===B.type||"ForStatement"===B.type||"ForInStatement"===B.type)),b=S?"ExpressionStatement"===S.type?S.expression:"ForStatement"===S.type?S.init:S.left:void 0;if(b&&y(b,(B=>B===o)))return!0}return!1}if("ObjectExpression"===o.type||"FunctionExpression"===o.type||"ClassExpression"===o.type||"DoExpression"===o.type){var v;let S=null===(v=D.findAncestor((b=>"ExpressionStatement"===b.type)))||void 0===v?void 0:v.expression;if(S&&y(S,(b=>b===o)))return!0}switch(m.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===C&&("ArrowFunctionExpression"===o.type||"AssignmentExpression"===o.type||"AwaitExpression"===o.type||"BinaryExpression"===o.type||"ConditionalExpression"===o.type||"LogicalExpression"===o.type||"NewExpression"===o.type||"ObjectExpression"===o.type||"SequenceExpression"===o.type||"TaggedTemplateExpression"===o.type||"UnaryExpression"===o.type||"UpdateExpression"===o.type||"YieldExpression"===o.type||"TSNonNullExpression"===o.type))return!0;break;case"ExportDefaultDeclaration":return $(D,T)||"SequenceExpression"===o.type;case"Decorator":if("expression"===C){if(f(o)&&o.computed)return!0;let S=!1,b=!1,B=o;for(;B;)switch(B.type){case"MemberExpression":b=!0,B=B.object;break;case"CallExpression":if(b||S)return"typescript"!==T.parser;S=!0,B=B.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==T.parser;default:return!0}return!0}break;case"ArrowFunctionExpression":if("body"===C&&"SequenceExpression"!==o.type&&y(o,(S=>"ObjectExpression"===S.type)))return!0}switch(o.type){case"UpdateExpression":if("UnaryExpression"===m.type)return o.prefix&&("++"===o.operator&&"+"===m.operator||"--"===o.operator&&"-"===m.operator);case"UnaryExpression":switch(m.type){case"UnaryExpression":return o.operator===m.operator&&("+"===o.operator||"-"===o.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===C;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===C;case"BinaryExpression":return"left"===C&&"**"===m.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===m.type||"in"===o.operator&&function N(D){let T=0,m=D.getValue();for(;m;){let C=D.getParentNode(T++);if(C&&"ForStatement"===C.type&&C.init===m)return!0;m=C}return!1}(D))return!0;if("|>"===o.operator&&o.extra&&o.extra.parenthesized){let S=D.getParentNode(1);if("BinaryExpression"===S.type&&"|>"===S.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(m.type){case"TSSatisfiesExpression":case"TSAsExpression":return!_(o);case"ConditionalExpression":return _(o);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===C;case"ClassExpression":case"ClassDeclaration":return"superClass"===C;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===C;case"AssignmentExpression":case"AssignmentPattern":return"left"===C&&("TSTypeAssertion"===o.type||_(o));case"LogicalExpression":if("LogicalExpression"===o.type)return m.operator!==o.operator;case"BinaryExpression":{let{operator:S,type:b}=o;if(!S&&"TSTypeAssertion"!==b)return!0;let B=g(S),k=m.operator,M=g(k);return M>B||"right"===C&&M===B||M===B&&!h(k,S)||(M"===m.operator);default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if("extendsType"===C&&"TSConditionalType"===m.type){if("TSConditionalType"===o.type)return!0;let{typeAnnotation:S}=o.returnType||o.typeAnnotation;if("TSTypePredicate"===S.type&&S.typeAnnotation&&(S=S.typeAnnotation.typeAnnotation),"TSInferType"===S.type&&S.typeParameter.constraint)return!0}if("checkType"===C&&"TSConditionalType"===m.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===m.type||"TSIntersectionType"===m.type)&&m.types.length>1&&(!o.types||o.types.length>1))return!0;case"TSInferType":if("TSInferType"===o.type&&"TSRestType"===m.type)return!1;case"TSTypeOperator":return"TSArrayType"===m.type||"TSOptionalType"===m.type||"TSRestType"===m.type||"objectType"===C&&"TSIndexedAccessType"===m.type||"TSTypeOperator"===m.type||"TSTypeAnnotation"===m.type&&D.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return"objectType"===C&&"TSIndexedAccessType"===m.type||"elementType"===C&&"TSArrayType"===m.type;case"TypeofTypeAnnotation":return"objectType"===C&&("IndexedAccessType"===m.type||"OptionalIndexedAccessType"===m.type)||"elementType"===C&&"ArrayTypeAnnotation"===m.type;case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===m.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===m.type||"NullableTypeAnnotation"===m.type||"IntersectionTypeAnnotation"===m.type||"UnionTypeAnnotation"===m.type||"objectType"===C&&("IndexedAccessType"===m.type||"OptionalIndexedAccessType"===m.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===m.type||"objectType"===C&&("IndexedAccessType"===m.type||"OptionalIndexedAccessType"===m.type);case"FunctionTypeAnnotation":{let S="NullableTypeAnnotation"===m.type?D.getParentNode(1):m;return"UnionTypeAnnotation"===S.type||"IntersectionTypeAnnotation"===S.type||"ArrayTypeAnnotation"===S.type||"objectType"===C&&("IndexedAccessType"===S.type||"OptionalIndexedAccessType"===S.type)||"NullableTypeAnnotation"===S.type||"FunctionTypeParam"===m.type&&null===m.name&&a(o).some((b=>b.typeAnnotation&&"NullableTypeAnnotation"===b.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===C&&"IndexedAccessType"===m.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof o.value&&"ExpressionStatement"===m.type&&!m.directive){let S=D.getParentNode(1);return"Program"===S.type||"BlockStatement"===S.type}return"object"===C&&"MemberExpression"===m.type&&"number"==typeof o.value;case"AssignmentExpression":{let S=D.getParentNode(1);return"body"===C&&"ArrowFunctionExpression"===m.type||("key"!==C||"ClassProperty"!==m.type&&"PropertyDefinition"!==m.type||!m.computed)&&("init"!==C&&"update"!==C||"ForStatement"!==m.type)&&("ExpressionStatement"===m.type?"ObjectPattern"===o.left.type:!("key"===C&&"TSPropertySignature"===m.type||"AssignmentExpression"===m.type||"SequenceExpression"===m.type&&S&&"ForStatement"===S.type&&(S.init===m||S.update===m)||"value"===C&&"Property"===m.type&&S&&"ObjectPattern"===S.type&&S.properties.includes(m)||"NGChainedExpression"===m.type))}case"ConditionalExpression":switch(m.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===C;case"ConditionalExpression":return"test"===C;case"MemberExpression":case"OptionalMemberExpression":return"object"===C;default:return!1}case"FunctionExpression":switch(m.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===C;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(m.type){case"BinaryExpression":return"|>"!==m.operator||o.extra&&o.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===C;case"MemberExpression":case"OptionalMemberExpression":return"object"===C;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===C;default:return!1}case"ClassExpression":return!!s(o.decorators)||"NewExpression"===m.type&&"callee"===C;case"OptionalMemberExpression":case"OptionalCallExpression":{let S=D.getParentNode(1);if("object"===C&&"MemberExpression"===m.type||"callee"===C&&("CallExpression"===m.type||"NewExpression"===m.type)||"TSNonNullExpression"===m.type&&"MemberExpression"===S.type&&S.object===m)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===C&&("BindExpression"===m.type||"NewExpression"===m.type)){let S=o;for(;S;)switch(S.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":S=S.object;break;case"TaggedTemplateExpression":S=S.tag;break;case"TSNonNullExpression":S=S.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===C&&("BindExpression"===m.type||"NewExpression"===m.type)||"object"===C&&f(m);case"NGPipeExpression":return!("NGRoot"===m.type||"NGMicrosyntaxExpression"===m.type||"ObjectProperty"===m.type&&(!o.extra||!o.extra.parenthesized)||"ArrayExpression"===m.type||c(m)&&m.arguments[C]===o||"right"===C&&"NGPipeExpression"===m.type||"property"===C&&"MemberExpression"===m.type||"AssignmentExpression"===m.type);case"JSXFragment":case"JSXElement":return"callee"===C||"left"===C&&"BinaryExpression"===m.type&&"<"===m.operator||"ArrayExpression"!==m.type&&"ArrowFunctionExpression"!==m.type&&"AssignmentExpression"!==m.type&&"AssignmentPattern"!==m.type&&"BinaryExpression"!==m.type&&"NewExpression"!==m.type&&"ConditionalExpression"!==m.type&&"ExpressionStatement"!==m.type&&"JsExpressionRoot"!==m.type&&"JSXAttribute"!==m.type&&"JSXElement"!==m.type&&"JSXExpressionContainer"!==m.type&&"JSXFragment"!==m.type&&"LogicalExpression"!==m.type&&!c(m)&&!F(m)&&"ReturnStatement"!==m.type&&"ThrowStatement"!==m.type&&"TypeCastExpression"!==m.type&&"VariableDeclarator"!==m.type&&"YieldExpression"!==m.type;case"TypeAnnotation":return"returnType"===C&&"ArrowFunctionExpression"===m.type&&function x(D){return l(D,(T=>"ObjectTypeAnnotation"===T.type&&l(T,(m=>"FunctionTypeAnnotation"===m.type||void 0))||void 0))}(o)}return!1}function P(D){let T=D.getValue(),m=D.getParentNode(),C=D.getName();switch(m.type){case"NGPipeExpression":if("number"==typeof C&&m.arguments[C]===T&&m.arguments.length-1===C)return D.callParent(P);break;case"ObjectProperty":if("value"===C){let o=D.getParentNode(1);return t(o.properties)===m}break;case"BinaryExpression":case"LogicalExpression":if("right"===C)return D.callParent(P);break;case"ConditionalExpression":if("alternate"===C)return D.callParent(P);break;case"UnaryExpression":if(m.prefix)return D.callParent(P)}return!1}function $(D,T){let m=D.getValue(),C=D.getParentNode();return"FunctionExpression"===m.type||"ClassExpression"===m.type?"ExportDefaultDeclaration"===C.type||!w(D,T):!(!i(m)||"ExportDefaultDeclaration"!==C.type&&w(D,T))&&D.call((o=>$(o,T)),...n(D,m))}r.exports=w}}),Fo=te({"src/language-js/print-preprocess.js"(e,r){ne(),r.exports=function t(s,a){switch(a.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},s),{},{type:a.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:s,comments:[],rootMarker:a.rootMarker});default:return s}}}}),pd=te({"src/language-js/print/html-binding.js"(e,r){ne();var{builders:{join:t,line:s,group:a,softline:n,indent:u}}=qe();r.exports={isVueEventBindingExpression:function l(p){switch(p.type){case"MemberExpression":switch(p.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return l(p.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function i(p,y,h){let g=p.getValue();if(y.__onHtmlBindingRoot&&null===p.getName()&&y.__onHtmlBindingRoot(g,y),"File"===g.type){if(y.__isVueForBindingLeft)return p.call((c=>{let f=t([",",s],c.map(h,"params")),{params:F}=c.getValue();return 1===F.length?f:["(",u([n,a(f)]),n,")"]}),"program","body",0);if(y.__isVueBindings)return p.call((c=>t([",",s],c.map(h,"params"))),"program","body",0)}}}}}),ru=te({"src/language-js/print/binaryish.js"(e,r){ne();var{printComments:t}=et(),{getLast:s}=Ue(),{builders:{join:a,line:n,softline:u,group:i,indent:l,align:p,indentIfBreak:y},utils:{cleanDoc:h,getDocParts:g,isConcat:c}}=qe(),{hasLeadingOwnLineComment:f,isBinaryish:F,isJsxNode:_,shouldFlatten:w,hasComment:E,CommentCheckFlags:N,isCallExpression:x,isMemberExpression:I,isObjectProperty:P,isEnabledHackPipeline:$}=Ke(),D=0;function m(o,d,v,S,b){let B=o.getValue();if(!F(B))return[i(d())];let k=[];w(B.operator,B.left.operator)?k=o.call((Y=>m(Y,d,v,!0,b)),"left"):k.push(i(d("left")));let L,M=C(B),R=("|>"===B.operator||"NGPipeExpression"===B.type||"|"===B.operator&&"__vue_expression"===v.parser)&&!f(v.originalText,B.right),q="NGPipeExpression"===B.type?"|":B.operator,J="NGPipeExpression"===B.type&&B.arguments.length>0?i(l([n,": ",a([n,": "],o.map(d,"arguments").map((Y=>p(2,i(Y)))))])):"";if(M)L=[q," ",d("right"),J];else{let ie=$(v)&&"|>"===q?o.call((ee=>m(ee,d,v,!0,b)),"right"):d("right");L=[R?n:"",q,R?" ":n,ie,J]}let Q=o.getParentNode(),V=E(B.left,N.Trailing|N.Line),j=V||!(b&&"LogicalExpression"===B.type)&&Q.type!==B.type&&B.left.type!==B.type&&B.right.type!==B.type;if(k.push(R?"":" ",j?i(L,{shouldBreak:V}):L),S&&E(B)){let Y=h(t(o,k,v));return c(Y)||"fill"===Y.type?g(Y):[Y]}return k}function C(o){return"LogicalExpression"===o.type&&!!("ObjectExpression"===o.right.type&&o.right.properties.length>0||"ArrayExpression"===o.right.type&&o.right.elements.length>0||_(o.right))}r.exports={printBinaryishExpression:function T(o,d,v){let S=o.getValue(),b=o.getParentNode(),B=o.getParentNode(1),k=S!==b.body&&("IfStatement"===b.type||"WhileStatement"===b.type||"SwitchStatement"===b.type||"DoWhileStatement"===b.type),M=$(d)&&"|>"===S.operator,R=m(o,v,d,!1,k);if(k)return R;if(M)return i(R);if(x(b)&&b.callee===S||"UnaryExpression"===b.type||I(b)&&!b.computed)return i([l([u,...R]),u]);let q="ReturnStatement"===b.type||"ThrowStatement"===b.type||"JSXExpressionContainer"===b.type&&"JSXAttribute"===B.type||"|"!==S.operator&&"JsExpressionRoot"===b.type||"NGPipeExpression"!==S.type&&("NGRoot"===b.type&&"__ng_binding"===d.parser||"NGMicrosyntaxExpression"===b.type&&"NGMicrosyntax"===B.type&&1===B.body.length)||S===b.body&&"ArrowFunctionExpression"===b.type||S!==b.body&&"ForStatement"===b.type||"ConditionalExpression"===b.type&&"ReturnStatement"!==B.type&&"ThrowStatement"!==B.type&&!x(B)||"TemplateLiteral"===b.type,J="AssignmentExpression"===b.type||"VariableDeclarator"===b.type||"ClassProperty"===b.type||"PropertyDefinition"===b.type||"TSAbstractPropertyDefinition"===b.type||"ClassPrivateProperty"===b.type||P(b),L=F(S.left)&&w(S.operator,S.left.operator);if(q||C(S)&&!L||!C(S)&&J)return i(R);if(0===R.length)return"";let Q=_(S.right),V=R.findIndex((W=>"string"!=typeof W&&!Array.isArray(W)&&"group"===W.type)),j=R.slice(0,-1===V?1:V+1),Y=R.slice(j.length,Q?-1:void 0),ie=Symbol("logicalChain-"+ ++D),ee=i([...j,l(Y)],{id:ie});if(!Q)return ee;let ce=s(R);return i([ee,y(ce,{groupId:ie})])},shouldInlineLogicalExpression:C}}}),fd=te({"src/language-js/print/angular.js"(e,r){ne();var{builders:{join:t,line:s,group:a}}=qe(),{hasNode:n,hasComment:u,getComments:i}=Ke(),{printBinaryishExpression:l}=ru();function y(g,c,f){return"NGMicrosyntaxKeyedExpression"===g.type&&"of"===g.key.name&&1===c&&"NGMicrosyntaxLet"===f.body[0].type&&null===f.body[0].value}r.exports={printAngular:function p(g,c,f){let F=g.getValue();if(F.type.startsWith("NG"))switch(F.type){case"NGRoot":return[f("node"),u(F.node)?" //"+i(F.node)[0].value.trimEnd():""];case"NGPipeExpression":return l(g,c,f);case"NGChainedExpression":return a(t([";",s],g.map((_=>function h(g){return n(g.getValue(),(c=>{switch(c.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}(_)?f():["(",f(),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[F.prefix,": ",F.value.trim()];case"NGMicrosyntax":return g.map(((_,w)=>[0===w?"":y(_.getValue(),w,F)?" ":[";",s],f()]),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(F.name)?F.name:JSON.stringify(F.name);case"NGMicrosyntaxExpression":return[f("expression"),null===F.alias?"":[" as ",f("alias")]];case"NGMicrosyntaxKeyedExpression":{let _=g.getName(),w=g.getParentNode(),E=y(F,_,w)||(1===_&&("then"===F.key.name||"else"===F.key.name)||2===_&&"else"===F.key.name&&"NGMicrosyntaxKeyedExpression"===w.body[_-1].type&&"then"===w.body[_-1].key.name)&&"NGMicrosyntaxExpression"===w.body[0].type;return[f("key"),E?" ":": ",f("expression")]}case"NGMicrosyntaxLet":return["let ",f("key"),null===F.value?"":[" = ",f("value")]];case"NGMicrosyntaxAs":return[f("key")," as ",f("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(F.type)}.`)}}}}}),Dd=te({"src/language-js/print/jsx.js"(e,r){ne();var{printComments:t,printDanglingComments:s,printCommentsSeparately:a}=et(),{builders:{line:n,hardline:u,softline:i,group:l,indent:p,conditionalGroup:y,fill:h,ifBreak:g,lineSuffixBoundary:c,join:f},utils:{willBreak:F}}=qe(),{getLast:_,getPreferredQuote:w}=Ue(),{isJsxNode:E,rawText:N,isCallExpression:x,isStringLiteral:I,isBinaryish:P,hasComment:$,CommentCheckFlags:D,hasNodeIgnoreComment:T}=Ke(),m=qt(),{willPrintOwnComments:C}=Eo(),o=U=>""===U||U===n||U===u||U===i;function d(U,Z,se){let fe=U.getValue();if("JSXElement"===fe.type&&function de(U){if(0===U.children.length)return!0;if(U.children.length>1)return!1;let Z=U.children[0];return"JSXText"===Z.type&&!ue(Z)}(fe))return[se("openingElement"),se("closingElement")];let ge="JSXElement"===fe.type?se("openingElement"):se("openingFragment"),he="JSXElement"===fe.type?se("closingElement"):se("closingFragment");if(1===fe.children.length&&"JSXExpressionContainer"===fe.children[0].type&&("TemplateLiteral"===fe.children[0].expression.type||"TaggedTemplateExpression"===fe.children[0].expression.type))return[ge,...U.map(se,"children"),he];fe.children=fe.children.map((A=>function Fe(U){return"JSXExpressionContainer"===U.type&&I(U.expression)&&" "===U.expression.value&&!$(U.expression)}(A)?{type:"JSXText",value:" ",raw:" "}:A));let we=fe.children.some(E),ke=fe.children.filter((A=>"JSXExpressionContainer"===A.type)).length>1,Re="JSXElement"===fe.type&&fe.openingElement.attributes.length>1,Ne=F(ge)||we||Re||ke,Pe="mdx"===U.getParentNode().rootMarker,oe=Z.singleQuote?"{' '}":'{" "}',H=Pe?" ":g([oe,i]," "),X=function v(U,Z,se,fe,ge){let he=[];return U.each(((we,ke,Re)=>{let Ne=we.getValue();if("JSXText"===Ne.type){let Pe=N(Ne);if(ue(Ne)){let H,oe=Pe.split(ce);if(""===oe[0]){if(he.push(""),oe.shift(),/\n/.test(oe[0])){let pe=Re[ke+1];he.push(b(ge,oe[1],Ne,pe))}else he.push(fe);oe.shift()}if(""===_(oe)&&(oe.pop(),H=oe.pop()),0===oe.length)return;for(let[pe,X]of oe.entries())pe%2==1?he.push(n):he.push(X);if(void 0!==H)if(/\n/.test(H)){let pe=Re[ke+1];he.push(b(ge,_(he),Ne,pe))}else he.push(fe);else{let pe=Re[ke+1];he.push(S(ge,_(he),Ne,pe))}}else/\n/.test(Pe)?Pe.match(/\n/g).length>1&&he.push("",u):he.push("",fe)}else{let Pe=se();he.push(Pe);let oe=Re[ke+1];if(oe&&ue(oe)){let pe=K(N(oe)).split(ce)[0];he.push(S(ge,pe,Ne,oe))}else he.push(u)}}),"children"),he}(U,0,se,H,fe.openingElement&&fe.openingElement.name&&"fbt"===fe.openingElement.name.name),le=fe.children.some((A=>ue(A)));for(let A=X.length-2;A>=0;A--){let G=""===X[A]&&""===X[A+1],re=X[A]===u&&""===X[A+1]&&X[A+2]===u,ye=(X[A]===i||X[A]===u)&&""===X[A+1]&&X[A+2]===H,Ce=X[A]===H&&""===X[A+1]&&(X[A+2]===i||X[A+2]===u),Be=X[A]===H&&""===X[A+1]&&X[A+2]===H,ve=X[A]===i&&""===X[A+1]&&X[A+2]===u||X[A]===u&&""===X[A+1]&&X[A+2]===i;re&&le||G||ye||Be||ve?X.splice(A,2):Ce&&X.splice(A+1,2)}for(;X.length>0&&o(_(X));)X.pop();for(;X.length>1&&o(X[0])&&o(X[1]);)X.shift(),X.shift();let Ae=[];for(let[A,G]of X.entries()){if(G===H){if(1===A&&""===X[A-1]){if(2===X.length){Ae.push(oe);continue}Ae.push([oe,u]);continue}if(A===X.length-1){Ae.push(oe);continue}if(""===X[A-1]&&X[A-2]===u){Ae.push(oe);continue}}Ae.push(G),F(G)&&(Ne=!0)}let Ee=le?h(Ae):l(Ae,{shouldBreak:!0});if(Pe)return Ee;let De=l([ge,p([u,Ee]),u,he]);return Ne?De:y([l([ge,...X,he]),De])}function S(U,Z,se,fe){return U?"":"JSXElement"===se.type&&!se.closingElement||fe&&"JSXElement"===fe.type&&!fe.closingElement?1===Z.length?i:u:i}function b(U,Z,se,fe){return U?u:1===Z.length?"JSXElement"===se.type&&!se.closingElement||fe&&"JSXElement"===fe.type&&!fe.closingElement?u:i:u}function q(U,Z,se){return U.selfClosing?[n,"/>"]:function J(U,Z,se){let fe=U.attributes.length>0&&$(_(U.attributes),D.Trailing);return 0===U.attributes.length&&!se||(Z.bracketSameLine||Z.jsxBracketSameLine)&&(!se||U.attributes.length>0)&&!fe}(U,Z,se)?[">"]:[i,">"]}function V(U,Z,se){return function B(U,Z,se){let fe=U.getParentNode();if(!fe||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[fe.type])return Z;let he=U.match(void 0,(ke=>"ArrowFunctionExpression"===ke.type),x,(ke=>"JSXExpressionContainer"===ke.type)),we=m(U,se);return l([we?"":g("("),p([i,Z]),i,we?"":g(")")],{shouldBreak:he})}(U,t(U,d(U,Z,se),Z),Z)}function Y(U,Z,se){let fe=U.getValue();return["{",U.call((ge=>{let he=["...",se()],we=ge.getValue();return $(we)&&C(ge)?[p([i,t(ge,he,Z)]),i]:he}),"JSXSpreadAttribute"===fe.type?"argument":"expression"),"}"]}var ce=new RegExp("([ \n\r\t]+)"),W=new RegExp("[^ \n\r\t]"),K=U=>U.replace(new RegExp("(?:^"+ce.source+"|"+ce.source+"$)"),"");function ue(U){return"JSXText"===U.type&&(W.test(N(U))||!/\n/.test(N(U)))}r.exports={hasJsxIgnoreComment:function z(U){let Z=U.getValue(),se=U.getParentNode();if(!(se&&Z&&E(Z)&&E(se)))return!1;let ge=null;for(let he=se.children.indexOf(Z);he>0;he--){let we=se.children[he-1];if("JSXText"!==we.type||ue(we)){ge=we;break}}return ge&&"JSXExpressionContainer"===ge.type&&"JSXEmptyExpression"===ge.expression.type&&T(ge.expression)},printJsx:function ie(U,Z,se){let fe=U.getValue();if(fe.type.startsWith("JSX"))switch(fe.type){case"JSXAttribute":return function k(U,Z,se){let fe=U.getValue(),ge=[];if(ge.push(se("name")),fe.value){let he;if(I(fe.value)){let ke=N(fe.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:Re,quote:Ne,regex:Pe}=w(ke,Z.jsxSingleQuote?"'":'"');ke=ke.replace(Pe,Re);let{leading:oe,trailing:H}=U.call((()=>a(U,Z)),"value");he=[oe,Ne,ke,Ne,H]}else he=se("value");ge.push("=",he)}return ge}(U,Z,se);case"JSXIdentifier":return String(fe.name);case"JSXNamespacedName":return f(":",[se("namespace"),se("name")]);case"JSXMemberExpression":return f(".",[se("object"),se("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return Y(U,Z,se);case"JSXExpressionContainer":return function M(U,Z,se){let fe=U.getValue(),ge=(he,we)=>"JSXEmptyExpression"===he.type||!$(he)&&("ArrayExpression"===he.type||"ObjectExpression"===he.type||"ArrowFunctionExpression"===he.type||"AwaitExpression"===he.type&&(ge(he.argument,he)||"JSXElement"===he.argument.type)||x(he)||"FunctionExpression"===he.type||"TemplateLiteral"===he.type||"TaggedTemplateExpression"===he.type||"DoExpression"===he.type||E(we)&&("ConditionalExpression"===he.type||P(he)));return ge(fe.expression,U.getParentNode(0))?l(["{",se("expression"),c,"}"]):l(["{",p([i,se("expression")]),i,c,"}"])}(U,0,se);case"JSXFragment":case"JSXElement":return V(U,Z,se);case"JSXOpeningElement":return function R(U,Z,se){let fe=U.getValue(),ge=fe.name&&$(fe.name)||fe.typeParameters&&$(fe.typeParameters);if(fe.selfClosing&&0===fe.attributes.length&&!ge)return["<",se("name"),se("typeParameters")," />"];if(fe.attributes&&1===fe.attributes.length&&fe.attributes[0].value&&I(fe.attributes[0].value)&&!fe.attributes[0].value.value.includes("\n")&&!ge&&!$(fe.attributes[0]))return l(["<",se("name"),se("typeParameters")," ",...U.map(se,"attributes"),fe.selfClosing?" />":">"]);let he=fe.attributes&&fe.attributes.some((ke=>ke.value&&I(ke.value)&&ke.value.value.includes("\n"))),we=Z.singleAttributePerLine&&fe.attributes.length>1?u:n;return l(["<",se("name"),se("typeParameters"),p(U.map((()=>[we,se()]),"attributes")),...q(fe,Z,ge)],{shouldBreak:he})}(U,Z,se);case"JSXClosingElement":return function L(U,Z,se){let fe=U.getValue(),ge=[];ge.push(""),ge}(U,0,se);case"JSXOpeningFragment":case"JSXClosingFragment":return function Q(U,Z){let se=U.getValue(),fe=$(se),ge=$(se,D.Line),he="JSXOpeningFragment"===se.type;return[he?"<":""]}(U,Z);case"JSXEmptyExpression":return function j(U,Z){let se=U.getValue(),fe=$(se,D.Line);return[s(U,Z,!fe),fe?u:""]}(U,Z);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(fe.type)}.`)}}}}}),ct=te({"src/language-js/print/misc.js"(e,r){ne();var{isNonEmptyArray:t}=Ue(),{builders:{indent:s,join:a,line:n}}=qe(),{isFlowAnnotationComment:u}=Ke();function y(_,w,E){let N=_.getValue();if(!N.typeAnnotation)return"";let x=_.getParentNode(),I="DeclareFunction"===x.type&&x.id===N;return u(w.originalText,N.typeAnnotation)?[" /*: ",E("typeAnnotation")," */"]:[I?"":": ",E("typeAnnotation")]}r.exports={printOptionalToken:function i(_){let w=_.getValue();return!w.optional||"Identifier"===w.type&&w===_.getParentNode().key?"":"OptionalCallExpression"===w.type||"OptionalMemberExpression"===w.type&&w.computed?"?.":"?"},printDefiniteToken:function l(_){return _.getValue().definite||_.match(void 0,((w,E)=>"id"===E&&"VariableDeclarator"===w.type&&w.definite))?"!":""},printFunctionTypeParameters:function p(_,w,E){let N=_.getValue();return N.typeArguments?E("typeArguments"):N.typeParameters?E("typeParameters"):""},printBindExpressionCallee:function h(_,w,E){return["::",E("callee")]},printTypeScriptModifiers:function g(_,w,E){let N=_.getValue();return t(N.modifiers)?[a(" ",_.map(E,"modifiers"))," "]:""},printTypeAnnotation:y,printRestSpread:function f(_,w,E){return["...",E("argument"),y(_,w,E)]},adjustClause:function c(_,w,E){return"EmptyStatement"===_.type?";":"BlockStatement"===_.type||E?[" ",w]:s([n,w])},printDirective:function F(_,w){let E=_.slice(1,-1);if(E.includes('"')||E.includes("'"))return _;let N=w.singleQuote?"'":'"';return N+E+N}}}}),er=te({"src/language-js/print/array.js"(e,r){ne();var{printDanglingComments:t}=et(),{builders:{line:s,softline:a,hardline:n,group:u,indent:i,ifBreak:l,fill:p}}=qe(),{getLast:y,hasNewline:h}=Ue(),{shouldPrintComma:g,hasComment:c,CommentCheckFlags:f,isNextLineEmpty:F,isNumericLiteral:_,isSignedNumericLiteral:w}=Ke(),{locStart:E}=ut(),{printOptionalToken:N,printTypeAnnotation:x}=ct();function P(T,m){return T.elements.length>1&&T.elements.every((C=>C&&(_(C)||w(C)&&!c(C.argument))&&!c(C,f.Trailing|f.Line,(o=>!h(m.originalText,E(o),{backwards:!0})))))}function $(T,m,C,o){let d=[],v=[];return T.each((S=>{d.push(v,u(o())),v=[",",s],S.getValue()&&F(S.getValue(),m)&&v.push(a)}),C),d}function D(T,m,C,o){let d=[];return T.each(((v,S,b)=>{let B=S===b.length-1;d.push([C(),B?o:","]),B||d.push(F(v.getValue(),m)?[n,n]:c(b[S+1],f.Leading|f.Line)?n:s)}),"elements"),p(d)}r.exports={printArray:function I(T,m,C){let o=T.getValue(),d=[],v="TupleExpression"===o.type?"#[":"[";if(0===o.elements.length)c(o,f.Dangling)?d.push(u([v,t(T,m),a,"]"])):d.push(v,"]");else{let b=y(o.elements),B=!(b&&"RestElement"===b.type),k=null===b,M=Symbol("array"),R=!m.__inJestEach&&o.elements.length>1&&o.elements.every(((L,Q,V)=>{let j=L&&L.type;if("ArrayExpression"!==j&&"ObjectExpression"!==j)return!1;let Y=V[Q+1];if(Y&&j!==Y.type)return!1;let ie="ArrayExpression"===j?"elements":"properties";return L[ie]&&L[ie].length>1})),q=P(o,m),J=B?k?",":g(m)?q?l(",","",{groupId:M}):l(","):"":"";d.push(u([v,i([a,q?D(T,m,C,J):[$(T,m,"elements",C),J],t(T,m,!0)]),a,"]"],{shouldBreak:R,id:M}))}return d.push(N(T),x(T,m,C)),d},printArrayItems:$,isConciselyPrintedArray:P}}}),Ao=te({"src/language-js/print/call-arguments.js"(e,r){ne();var{printDanglingComments:t}=et(),{getLast:s,getPenultimate:a}=Ue(),{getFunctionParameters:n,hasComment:u,CommentCheckFlags:i,isFunctionCompositionArgs:l,isJsxNode:p,isLongCurriedCallExpression:y,shouldPrintComma:h,getCallArguments:g,iterateCallArgumentsPath:c,isNextLineEmpty:f,isCallExpression:F,isStringLiteral:_,isObjectProperty:w,isTSTypeExpression:E}=Ke(),{builders:{line:N,hardline:x,softline:I,group:P,indent:$,conditionalGroup:D,ifBreak:T,breakParent:m},utils:{willBreak:C}}=qe(),{ArgExpansionBailout:o}=Qt(),{isConciselyPrintedArray:d}=er();function S(q){let J=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===q.type&&(q.properties.length>0||u(q))||"ArrayExpression"===q.type&&(q.elements.length>0||u(q))||"TSTypeAssertion"===q.type&&S(q.expression)||E(q)&&S(q.expression)||"FunctionExpression"===q.type||"ArrowFunctionExpression"===q.type&&(!q.returnType||!q.returnType.typeAnnotation||"TSTypeReference"!==q.returnType.typeAnnotation.type||function M(q){return"BlockStatement"===q.type&&(q.body.some((J=>"EmptyStatement"!==J.type))||u(q,i.Dangling))}(q.body))&&("BlockStatement"===q.body.type||"ArrowFunctionExpression"===q.body.type&&S(q.body,!0)||"ObjectExpression"===q.body.type||"ArrayExpression"===q.body.type||!J&&(F(q.body)||"ConditionalExpression"===q.body.type)||p(q.body))||"DoExpression"===q.type||"ModuleExpression"===q.type}r.exports=function v(q,J,L){let Q=q.getValue(),V="ImportExpression"===Q.type,j=g(Q);if(0===j.length)return["(",t(q,J,!0),")"];if(function k(q){return 2===q.length&&"ArrowFunctionExpression"===q[0].type&&0===n(q[0]).length&&"BlockStatement"===q[0].body.type&&"ArrayExpression"===q[1].type&&!q.some((J=>u(J)))}(j))return["(",L(["arguments",0]),", ",L(["arguments",1]),")"];let Y=!1,ie=!1,ee=j.length-1,ce=[];c(q,((z,U)=>{let Z=z.getNode(),se=[L()];U===ee||(f(Z,J)?(0===U&&(ie=!0),Y=!0,se.push(",",x,x)):se.push(",",N)),ce.push(se)}));let W=V||Q.callee&&"Import"===Q.callee.type||!h(J,"all")?"":",";function K(){return P(["(",$([N,...ce]),W,N,")"],{shouldBreak:!0})}if(Y||"Decorator"!==q.getParentNode().type&&l(j))return K();let de=function B(q){if(2!==q.length)return!1;let[J,L]=q;return!("ModuleExpression"!==J.type||!function R(q){return"ObjectExpression"===q.type&&1===q.properties.length&&w(q.properties[0])&&"Identifier"===q.properties[0].key.type&&"type"===q.properties[0].key.name&&_(q.properties[0].value)&&"module"===q.properties[0].value.value}(L))||!u(J)&&("FunctionExpression"===J.type||"ArrowFunctionExpression"===J.type&&"BlockStatement"===J.body.type)&&"FunctionExpression"!==L.type&&"ArrowFunctionExpression"!==L.type&&"ConditionalExpression"!==L.type&&!S(L)}(j),ue=function b(q,J){let L=s(q),Q=a(q);return!u(L,i.Leading)&&!u(L,i.Trailing)&&S(L)&&(!Q||Q.type!==L.type)&&(2!==q.length||"ArrowFunctionExpression"!==Q.type||"ArrayExpression"!==L.type)&&!(q.length>1&&"ArrayExpression"===L.type&&d(L,J))}(j,J);if(de||ue){if(de?ce.slice(1).some(C):ce.slice(0,-1).some(C))return K();let z=[];try{q.try((()=>{c(q,((U,Z)=>{de&&0===Z&&(z=[[L([],{expandFirstArg:!0}),ce.length>1?",":"",ie?x:N,ie?x:""],...ce.slice(1)]),ue&&Z===ee&&(z=[...ce.slice(0,-1),L([],{expandLastArg:!0})])}))}))}catch(U){if(U instanceof o)return K();throw U}return[ce.some(C)?m:"",D([["(",...z,")"],de?["(",P(z[0],{shouldBreak:!0}),...z.slice(1),")"]:["(",...ce.slice(0,-1),P(s(z),{shouldBreak:!0}),")"],K()])]}let Fe=["(",$([I,...ce]),T(W),I,")"];return y(q)?Fe:P(Fe,{shouldBreak:ce.some(C)||Y})}}}),So=te({"src/language-js/print/member.js"(e,r){ne();var{builders:{softline:t,group:s,indent:a,label:n}}=qe(),{isNumericLiteral:u,isMemberExpression:i,isCallExpression:l}=Ke(),{printOptionalToken:p}=ct();function h(g,c,f){let F=f("property"),_=g.getValue(),w=p(g);return _.computed?!_.property||u(_.property)?[w,"[",F,"]"]:s([w,"[",a([t,F]),t,"]"]):[w,".",F]}r.exports={printMemberExpression:function y(g,c,f){let w,F=g.getValue(),_=g.getParentNode(),E=0;do{w=g.getParentNode(E),E++}while(w&&(i(w)||"TSNonNullExpression"===w.type));let N=f("object"),x=h(g,c,f),I=w&&("NewExpression"===w.type||"BindExpression"===w.type||"AssignmentExpression"===w.type&&"Identifier"!==w.left.type)||F.computed||"Identifier"===F.object.type&&"Identifier"===F.property.type&&!i(_)||("AssignmentExpression"===_.type||"VariableDeclarator"===_.type)&&(l(F.object)&&F.object.arguments.length>0||"TSNonNullExpression"===F.object.type&&l(F.object.expression)&&F.object.expression.arguments.length>0||"member-chain"===N.label);return n("member-chain"===N.label?"member-chain":"member",[N,I?x:s(a([t,x]))])},printMemberLookup:h}}}),md=te({"src/language-js/print/member-chain.js"(e,r){ne();var{printComments:t}=et(),{getLast:s,isNextLineEmptyAfterIndex:a,getNextNonSpaceNonCommentCharacterIndex:n}=Ue(),u=qt(),{isCallExpression:i,isMemberExpression:l,isFunctionOrArrowExpression:p,isLongCurriedCallExpression:y,isMemberish:h,isNumericLiteral:g,isSimpleCallArgument:c,hasComment:f,CommentCheckFlags:F,isNextLineEmpty:_}=Ke(),{locEnd:w}=ut(),{builders:{join:E,hardline:N,group:x,indent:I,conditionalGroup:P,breakParent:$,label:D},utils:{willBreak:T}}=qe(),m=Ao(),{printMemberLookup:C}=So(),{printOptionalToken:o,printFunctionTypeParameters:d,printBindExpressionCallee:v}=ct();r.exports=function S(b,B,k){let M=b.getParentNode(),R=!M||"ExpressionStatement"===M.type,q=[];function J(Ne){let{originalText:Pe}=B,oe=n(Pe,Ne,w);return")"===Pe.charAt(oe)?!1!==oe&&a(Pe,oe+1):_(Ne,B)}function L(Ne){let Pe=Ne.getValue();i(Pe)&&(h(Pe.callee)||i(Pe.callee))?(q.unshift({node:Pe,printed:[t(Ne,[o(Ne),d(Ne,B,k),m(Ne,B,k)],B),J(Pe)?N:""]}),Ne.call((oe=>L(oe)),"callee")):h(Pe)?(q.unshift({node:Pe,needsParens:u(Ne,B),printed:t(Ne,l(Pe)?C(Ne,B,k):v(Ne,B,k),B)}),Ne.call((oe=>L(oe)),"object")):"TSNonNullExpression"===Pe.type?(q.unshift({node:Pe,printed:t(Ne,"!",B)}),Ne.call((oe=>L(oe)),"expression")):q.unshift({node:Pe,printed:k()})}let Q=b.getValue();q.unshift({node:Q,printed:[o(b),d(b,B,k),m(b,B,k)]}),Q.callee&&b.call((Ne=>L(Ne)),"callee");let V=[],j=[q[0]],Y=1;for(;Y0&&V.push(j);let K=V.length>=2&&!f(V[1][0].node)&&function W(Ne){let Pe=Ne[1].length>0&&Ne[1][0].node.computed;if(1===Ne[0].length){let H=Ne[0][0].node;return"ThisExpression"===H.type||"Identifier"===H.type&&(ee(H.name)||R&&function ce(Ne){return Ne.length<=B.tabWidth}(H.name)||Pe)}let oe=s(Ne[0]).node;return l(oe)&&"Identifier"===oe.property.type&&(ee(oe.property.name)||Pe)}(V);function de(Ne){let Pe=Ne.map((oe=>oe.printed));return Ne.length>0&&s(Ne).needsParens?["(",...Pe,")"]:Pe}let Fe=V.map(de),z=Fe,U=K?3:2,Z=V.flat(),se=Z.slice(1,-1).some((Ne=>f(Ne.node,F.Leading)))||Z.slice(0,-1).some((Ne=>f(Ne.node,F.Trailing)))||V[U]&&f(V[U][0].node,F.Leading);if(V.length<=U&&!se)return y(b)?z:x(z);let Re,fe=s(V[K?1:0]).node,ge=!i(fe)&&J(fe),he=[de(V[0]),K?V.slice(1,2).map(de):"",ge?N:"",function ue(Ne){return 0===Ne.length?"":I(x([N,E(N,Ne.map(de))]))}(V.slice(K?2:1))],we=q.map((Ne=>{let{node:Pe}=Ne;return Pe})).filter(i);return Re=se||we.length>2&&we.some((Ne=>!Ne.arguments.every((Pe=>c(Pe,0)))))||Fe.slice(0,-1).some(T)||function ke(){let Ne=s(s(V)).node,Pe=s(Fe);return i(Ne)&&T(Pe)&&we.slice(0,-1).some((oe=>oe.arguments.some(p)))}()?x(he):[T(z)||ge?$:"",P([z,he])],D("member-chain",Re)}}}),xo=te({"src/language-js/print/call-expression.js"(e,r){ne();var{builders:{join:t,group:s}}=qe(),a=qt(),{getCallArguments:n,hasFlowAnnotationComment:u,isCallExpression:i,isMemberish:l,isStringLiteral:p,isTemplateOnItsOwnLine:y,isTestCall:h,iterateCallArgumentsPath:g}=Ke(),c=md(),f=Ao(),{printOptionalToken:F,printFunctionTypeParameters:_}=ct();r.exports={printCallExpression:function w(N,x,I){let P=N.getValue(),$=N.getParentNode(),D="NewExpression"===P.type,T="ImportExpression"===P.type,m=F(N),C=n(P);if(C.length>0&&(!T&&!D&&function E(N,x){if("Identifier"!==N.callee.type)return!1;if("require"===N.callee.name)return!0;if("define"===N.callee.name){let I=n(N);return"ExpressionStatement"===x.type&&(1===I.length||2===I.length&&"ArrayExpression"===I[0].type||3===I.length&&p(I[0])&&"ArrayExpression"===I[1].type)}return!1}(P,$)||1===C.length&&y(C[0],x.originalText)||!D&&h(P,$))){let v=[];return g(N,(()=>{v.push(I())})),[D?"new ":"",I("callee"),m,_(N,x,I),"(",t(", ",v),")"]}let o=("babel"===x.parser||"babel-flow"===x.parser)&&P.callee&&"Identifier"===P.callee.type&&u(P.callee.trailingComments);if(o&&(P.callee.trailingComments[0].printed=!0),!T&&!D&&l(P.callee)&&!N.call((v=>a(v,x)),"callee"))return c(N,x,I);let d=[D?"new ":"",T?"import":I("callee"),m,o?`/*:: ${P.callee.trailingComments[0].value.slice(2).trim()} */`:"",_(N,x,I),f(N,x,I)];return T||i(P.callee)?s(d):d}}}}),tr=te({"src/language-js/print/assignment.js"(e,r){ne();var{isNonEmptyArray:t,getStringWidth:s}=Ue(),{builders:{line:a,group:n,indent:u,indentIfBreak:i,lineSuffixBoundary:l},utils:{cleanDoc:p,willBreak:y,canBreak:h}}=qe(),{hasLeadingOwnLineComment:g,isBinaryish:c,isStringLiteral:f,isLiteral:F,isNumericLiteral:_,isCallExpression:w,isMemberExpression:E,getCallArguments:N,rawText:x,hasComment:I,isSignedNumericLiteral:P,isObjectProperty:$}=Ke(),{shouldInlineLogicalExpression:D}=ru(),{printCallExpression:T}=xo();function m(W,K,de,ue,Fe,z){let U=function d(W,K,de,ue,Fe){let z=W.getValue(),U=z[Fe];if(!U)return"only-left";let Z=!b(U);if(W.match(b,B,(he=>!Z||"ExpressionStatement"!==he.type&&"VariableDeclaration"!==he.type)))return Z?"ArrowFunctionExpression"===U.type&&"ArrowFunctionExpression"===U.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!Z&&b(U.right)||g(K.originalText,U))return"break-after-operator";if("CallExpression"===U.type&&"require"===U.callee.name||"json5"===K.parser||"json"===K.parser)return"never-break-after-operator";if(function S(W){if(B(W)){let K=W.left||W.id;return"ObjectPattern"===K.type&&K.properties.length>2&&K.properties.some((de=>$(de)&&(!de.shorthand||de.value&&"AssignmentPattern"===de.value.type)))}return!1}(z)||function k(W){let K=function M(W){return function R(W){return"TSTypeAliasDeclaration"===W.type||"TypeAlias"===W.type}(W)&&W.typeParameters&&W.typeParameters.params?W.typeParameters.params:null}(W);if(t(K)){let de="TSTypeAliasDeclaration"===W.type?"constraint":"bound";if(K.length>1&&K.some((ue=>ue[de]||ue.default)))return!0}return!1}(z)||function q(W){if("VariableDeclarator"!==W.type)return!1;let{typeAnnotation:K}=W.id;if(!K||!K.typeAnnotation)return!1;let de=L(K.typeAnnotation);return t(de)&&de.length>1&&de.some((ue=>t(L(ue))||"TSConditionalType"===ue.type))}(z)||J(z)&&h(ue))return"break-lhs";let ge=function ie(W,K,de){if(!$(W))return!1;K=p(K);let ue=3;return"string"==typeof K&&s(K)function v(W,K,de,ue){let Fe=W.getValue();if(c(Fe)&&!D(Fe))return!0;switch(Fe.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:Z}=Fe;return c(Z)&&!D(Z)}case"ClassExpression":return t(Fe.decorators)}if(ue)return!1;let z=Fe,U=[];for(;;)if("UnaryExpression"===z.type)z=z.argument,U.push("argument");else{if("TSNonNullExpression"!==z.type)break;z=z.expression,U.push("expression")}return!(!f(z)&&!W.call((()=>V(W,K,de)),...U))}(W,K,de,ge)),Fe)?"break-after-operator":ge||"TemplateLiteral"===U.type||"TaggedTemplateExpression"===U.type||"BooleanLiteral"===U.type||_(U)||"ClassExpression"===U.type?"never-break-after-operator":"fluid"}(W,K,de,ue,z),Z=de(z,{assignmentLayout:U});switch(U){case"break-after-operator":return n([n(ue),Fe,n(u([a,Z]))]);case"never-break-after-operator":return n([n(ue),Fe," ",Z]);case"fluid":{let se=Symbol("assignment");return n([n(ue),Fe,n(u(a),{id:se}),l,i(Z,{groupId:se})])}case"break-lhs":return n([ue,Fe," ",n(Z)]);case"chain":return[n(ue),Fe,a,Z];case"chain-tail":return[n(ue),Fe,u([a,Z])];case"chain-tail-arrow-chain":return[n(ue),Fe,Z];case"only-left":return ue}}function b(W){return"AssignmentExpression"===W.type}function B(W){return b(W)||"VariableDeclarator"===W.type}function J(W){return"VariableDeclarator"===W.type&&W.init&&"ArrowFunctionExpression"===W.init.type}function L(W){return function Q(W){return"TSTypeReference"===W.type||"GenericTypeAnnotation"===W.type}(W)&&W.typeParameters&&W.typeParameters.params?W.typeParameters.params:null}function V(W,K,de){let ue=arguments.length>3&&void 0!==arguments[3]&&arguments[3],Fe=W.getValue(),z=()=>V(W,K,de,!0);if("TSNonNullExpression"===Fe.type)return W.call(z,"expression");if(w(Fe)){if("member-chain"===T(W,K,de).label)return!1;let Z=N(Fe);return!(!(0===Z.length||1===Z.length&&function Y(W,K){let{printWidth:de}=K;if(I(W))return!1;let ue=.25*de;if("ThisExpression"===W.type||"Identifier"===W.type&&W.name.length<=ue||P(W)&&!I(W.argument))return!0;let Fe="Literal"===W.type&&"regex"in W&&W.regex.pattern||"RegExpLiteral"===W.type&&W.pattern;return Fe?Fe.length<=ue:f(W)?x(W).length<=ue:"TemplateLiteral"===W.type?0===W.expressions.length&&W.quasis[0].value.raw.length<=ue&&!W.quasis[0].value.raw.includes("\n"):F(W)}(Z[0],K))||function ee(W,K){let de=function ce(W){return W.typeParameters&&W.typeParameters.params||W.typeArguments&&W.typeArguments.params}(W);if(t(de)){if(de.length>1)return!0;if(1===de.length){let Fe=de[0];if("TSUnionType"===Fe.type||"UnionTypeAnnotation"===Fe.type||"TSIntersectionType"===Fe.type||"IntersectionTypeAnnotation"===Fe.type||"TSTypeLiteral"===Fe.type||"ObjectTypeAnnotation"===Fe.type)return!0}let ue=W.typeParameters?"typeParameters":"typeArguments";if(y(K(ue)))return!0}return!1}(Fe,de))&&W.call(z,"callee")}return E(Fe)?W.call(z,"object"):ue&&("Identifier"===Fe.type||"ThisExpression"===Fe.type)}r.exports={printVariableDeclarator:function o(W,K,de){return m(W,K,de,de("id")," =","init")},printAssignmentExpression:function C(W,K,de){let ue=W.getValue();return m(W,K,de,de("left"),[" ",ue.operator],"right")},printAssignment:m,isArrowFunctionVariableDeclarator:J}}}),Lr=te({"src/language-js/print/function-parameters.js"(e,r){ne();var{getNextNonSpaceNonCommentCharacter:t}=Ue(),{printDanglingComments:s}=et(),{builders:{line:a,hardline:n,softline:u,group:i,indent:l,ifBreak:p},utils:{removeLines:y,willBreak:h}}=qe(),{getFunctionParameters:g,iterateFunctionParametersPath:c,isSimpleType:f,isTestCall:F,isTypeAnnotationAFunction:_,isObjectType:w,isObjectTypePropertyAFunction:E,hasRestParameter:N,shouldPrintComma:x,hasComment:I,isNextLineEmpty:P}=Ke(),{locEnd:$}=ut(),{ArgExpansionBailout:D}=Qt(),{printFunctionTypeParameters:T}=ct();function C(v){if(!v)return!1;let S=g(v);if(1!==S.length)return!1;let[b]=S;return!I(b)&&("ObjectPattern"===b.type||"ArrayPattern"===b.type||"Identifier"===b.type&&b.typeAnnotation&&("TypeAnnotation"===b.typeAnnotation.type||"TSTypeAnnotation"===b.typeAnnotation.type)&&w(b.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===b.type&&w(b.typeAnnotation)||"AssignmentPattern"===b.type&&("ObjectPattern"===b.left.type||"ArrayPattern"===b.left.type)&&("Identifier"===b.right.type||"ObjectExpression"===b.right.type&&0===b.right.properties.length||"ArrayExpression"===b.right.type&&0===b.right.elements.length))}r.exports={printFunctionParameters:function m(v,S,b,B,k){let M=v.getValue(),R=g(M),q=k?T(v,b,S):"";if(0===R.length)return[q,"(",s(v,b,!0,(ie=>")"===t(b.originalText,ie,$))),")"];let J=v.getParentNode(),L=F(J),Q=C(M),V=[];if(c(v,((ie,ee)=>{let ce=ee===R.length-1;ce&&M.rest&&V.push("..."),V.push(S()),!ce&&(V.push(","),L||Q?V.push(" "):P(R[ee],b)?V.push(n,n):V.push(a))})),B){if(h(q)||h(V))throw new D;return i([y(q),"(",y(V),")"])}let j=R.every((ie=>!ie.decorators));return Q&&j||L?[q,"(",...V,")"]:(E(J)||_(J)||"TypeAlias"===J.type||"UnionTypeAnnotation"===J.type||"TSUnionType"===J.type||"IntersectionTypeAnnotation"===J.type||"FunctionTypeAnnotation"===J.type&&J.returnType===M)&&1===R.length&&null===R[0].name&&M.this!==R[0]&&R[0].typeAnnotation&&null===M.typeParameters&&f(R[0].typeAnnotation)&&!M.rest?"always"===b.arrowParens?["(",...V,")"]:V:[q,"(",l([u,...V]),p(!N(M)&&x(b,"all")?",":""),u,")"]},shouldHugFunctionParameters:C,shouldGroupFunctionParameters:function d(v,S){let b=function o(v){let S;return v.returnType?(S=v.returnType,S.typeAnnotation&&(S=S.typeAnnotation)):v.typeAnnotation&&(S=v.typeAnnotation),S}(v);if(!b)return!1;let B=v.typeParameters&&v.typeParameters.params;if(B){if(B.length>1)return!1;if(1===B.length){let k=B[0];if(k.constraint||k.default)return!1}}return 1===g(v).length&&(w(b)||h(S))}}}}),Or=te({"src/language-js/print/type-annotation.js"(e,r){ne();var{printComments:t,printDanglingComments:s}=et(),{isNonEmptyArray:a}=Ue(),{builders:{group:n,join:u,line:i,softline:l,indent:p,align:y,ifBreak:h}}=qe(),g=qt(),{locStart:c}=ut(),{isSimpleType:f,isObjectType:F,hasLeadingOwnLineComment:_,isObjectTypePropertyAFunction:w,shouldPrintComma:E}=Ke(),{printAssignment:N}=tr(),{printFunctionParameters:x,shouldGroupFunctionParameters:I}=Lr(),{printArrayItems:P}=er();function $(b){if(f(b)||F(b))return!0;if("UnionTypeAnnotation"===b.type||"TSUnionType"===b.type){let B=b.types.filter((M=>"VoidTypeAnnotation"===M.type||"TSVoidKeyword"===M.type||"NullLiteralTypeAnnotation"===M.type||"TSNullKeyword"===M.type)).length,k=b.types.some((M=>"ObjectTypeAnnotation"===M.type||"TSTypeLiteral"===M.type||"GenericTypeAnnotation"===M.type||"TSTypeReference"===M.type));if(b.types.length-1===B&&k)return!0}return!1}r.exports={printOpaqueType:function D(b,B,k){let M=B.semi?";":"",R=b.getValue(),q=[];return q.push("opaque type ",k("id"),k("typeParameters")),R.supertype&&q.push(": ",k("supertype")),R.impltype&&q.push(" = ",k("impltype")),q.push(M),q},printTypeAlias:function T(b,B,k){let M=B.semi?";":"",R=b.getValue(),q=[];R.declare&&q.push("declare "),q.push("type ",k("id"),k("typeParameters"));let J="TSTypeAliasDeclaration"===R.type?"typeAnnotation":"right";return[N(b,B,k,q," =",J),M]},printIntersectionType:function m(b,B,k){let M=b.getValue(),R=b.map(k,"types"),q=[],J=!1;for(let L=0;L1&&(J=!0),q.push(" & ",L>1?p(R[L]):R[L])):q.push(p([" &",i,R[L]]));return n(q)},printUnionType:function C(b,B,k){let M=b.getValue(),R=b.getParentNode(),q=!("TypeParameterInstantiation"===R.type||"TSTypeParameterInstantiation"===R.type||"GenericTypeAnnotation"===R.type||"TSTypeReference"===R.type||"TSTypeAssertion"===R.type||"TupleTypeAnnotation"===R.type||"TSTupleType"===R.type||"FunctionTypeParam"===R.type&&!R.name&&b.getParentNode(1).this!==R||("TypeAlias"===R.type||"VariableDeclarator"===R.type||"TSTypeAliasDeclaration"===R.type)&&_(B.originalText,M)),J=$(M),L=b.map((j=>{let Y=k();return J||(Y=y(2,Y)),t(j,Y,B)}),"types");if(J)return u(" | ",L);let Q=q&&!_(B.originalText,M),V=[h([Q?i:"","| "]),u([i,"| "],L)];return g(b,B)?n([p(V),l]):"TupleTypeAnnotation"===R.type&&R.types.length>1||"TSTupleType"===R.type&&R.elementTypes.length>1?n([p([h(["(",l]),V]),l,h(")")]):n(q?p(V):V)},printFunctionType:function o(b,B,k){let M=b.getValue(),R=[],q=b.getParentNode(0),J=b.getParentNode(1),L=b.getParentNode(2),Q="TSFunctionType"===M.type||!(("ObjectTypeProperty"===q.type||"ObjectTypeInternalSlot"===q.type)&&!q.variance&&!q.optional&&c(q)===c(M)||"ObjectTypeCallProperty"===q.type||L&&"DeclareFunction"===L.type),V=Q&&("TypeAnnotation"===q.type||"TSTypeAnnotation"===q.type),j=V&&Q&&("TypeAnnotation"===q.type||"TSTypeAnnotation"===q.type)&&"ArrowFunctionExpression"===J.type;w(q)&&(Q=!0,V=!0),j&&R.push("(");let Y=x(b,k,B,!1,!0),ie=M.returnType||M.predicate||M.typeAnnotation?[Q?" => ":": ",k("returnType"),k("predicate"),k("typeAnnotation")]:"",ee=I(M,ie);return R.push(ee?n(Y):Y),ie&&R.push(ie),j&&R.push(")"),n(R)},printTupleType:function d(b,B,k){let M=b.getValue(),R="TSTupleType"===M.type?"elementTypes":"types",q=M[R],J=a(q),L=J?l:"";return n(["[",p([L,P(b,B,R,k)]),h(J&&E(B,"all")?",":""),s(b,B,!0),L,"]"])},printIndexedAccessType:function v(b,B,k){let M=b.getValue(),R="OptionalIndexedAccessType"===M.type&&M.optional?"?.[":"[";return[k("objectType"),R,k("indexType"),"]"]},shouldHugType:$,printJSDocType:function S(b,B,k){let M=b.getValue();return[M.postfix?"":k,B("typeAnnotation"),M.postfix?k:""]}}}}),jr=te({"src/language-js/print/type-parameters.js"(e,r){ne();var{printDanglingComments:t}=et(),{builders:{join:s,line:a,hardline:n,softline:u,group:i,indent:l,ifBreak:p}}=qe(),{isTestCall:y,hasComment:h,CommentCheckFlags:g,isTSXFile:c,shouldPrintComma:f,getFunctionParameters:F,isObjectType:_,getTypeScriptMappedTypeModifier:w}=Ke(),{createGroupIdMapper:E}=Ue(),{shouldHugType:N}=Or(),{isArrowFunctionVariableDeclarator:x}=tr(),I=E("typeParameters");function $(T,m){let C=T.getValue();if(!h(C,g.Dangling))return"";let o=!h(C,g.Line),d=t(T,m,o);return o?d:[d,n]}r.exports={printTypeParameter:function D(T,m,C){let o=T.getValue(),d=["TSTypeParameter"===o.type&&o.const?"const ":""],v=T.getParentNode();return"TSMappedType"===v.type?(v.readonly&&d.push(w(v.readonly,"readonly")," "),d.push("[",C("name")),o.constraint&&d.push(" in ",C("constraint")),v.nameType&&d.push(" as ",T.callParent((()=>C("nameType")))),d.push("]"),d):(o.variance&&d.push(C("variance")),o.in&&d.push("in "),o.out&&d.push("out "),d.push(C("name")),o.bound&&d.push(": ",C("bound")),o.constraint&&d.push(" extends ",C("constraint")),o.default&&d.push(" = ",C("default")),d)},printTypeParameters:function P(T,m,C,o){let d=T.getValue();if(!d[o])return"";if(!Array.isArray(d[o]))return C(o);let v=T.getNode(2),S=v&&y(v),b=T.match((M=>!(1===M[o].length&&_(M[o][0]))),void 0,((M,R)=>"typeAnnotation"===R),(M=>"Identifier"===M.type),x);if(0===d[o].length||!b&&(S||1===d[o].length&&("NullableTypeAnnotation"===d[o][0].type||N(d[o][0]))))return["<",s(", ",T.map(C,o)),$(T,m),">"];let k="TSTypeParameterInstantiation"===d.type?"":1===F(d).length&&c(m)&&!d[o][0].constraint&&"ArrowFunctionExpression"===T.getParentNode().type?",":f(m,"all")?p(","):"";return i(["<",l([u,s([",",a],T.map(C,o))]),k,u,">"],{id:I(d)})},getTypeParametersGroupId:I}}}),rr=te({"src/language-js/print/property.js"(e,r){ne();var{printComments:t}=et(),{printString:s,printNumber:a}=Ue(),{isNumericLiteral:n,isSimpleNumber:u,isStringLiteral:i,isStringPropSafeToUnquote:l,rawText:p}=Ke(),{printAssignment:y}=tr(),h=new WeakMap;function g(f,F,_){let w=f.getNode();if(w.computed)return["[",_("key"),"]"];let E=f.getParentNode(),{key:N}=w;if("consistent"===F.quoteProps&&!h.has(E)){let x=(E.properties||E.body||E.members).some((I=>!I.computed&&I.key&&i(I.key)&&!l(I,F)));h.set(E,x)}if(("Identifier"===N.type||n(N)&&u(a(p(N)))&&String(N.value)===a(p(N))&&"typescript"!==F.parser&&"babel-ts"!==F.parser)&&("json"===F.parser||"consistent"===F.quoteProps&&h.get(E))){let x=s(JSON.stringify("Identifier"===N.type?N.name:N.value.toString()),F);return f.call((I=>t(I,x,F)),"key")}return l(w,F)&&("as-needed"===F.quoteProps||"consistent"===F.quoteProps&&!h.get(E))?f.call((x=>t(x,/^\d/.test(N.value)?a(N.value):N.value,F)),"key"):_("key")}r.exports={printProperty:function c(f,F,_){return f.getValue().shorthand?_("value"):y(f,F,_,g(f,F,_),":","value")},printPropertyKey:g}}}),qr=te({"src/language-js/print/function.js"(e,r){ne();var t=Zt(),{printDanglingComments:s,printCommentsSeparately:a}=et(),n=lt(),{getNextNonSpaceNonCommentCharacterIndex:u}=Ue(),{builders:{line:i,softline:l,group:p,indent:y,ifBreak:h,hardline:g,join:c,indentIfBreak:f},utils:{removeLines:F,willBreak:_}}=qe(),{ArgExpansionBailout:w}=Qt(),{getFunctionParameters:E,hasLeadingOwnLineComment:N,isFlowAnnotationComment:x,isJsxNode:I,isTemplateOnItsOwnLine:P,shouldPrintComma:$,startsWithNoLookaheadToken:D,isBinaryish:T,isLineComment:m,hasComment:C,getComments:o,CommentCheckFlags:d,isCallLikeExpression:v,isCallExpression:S,getCallArguments:b,hasNakedLeftSide:B,getLeftSide:k}=Ke(),{locEnd:M}=ut(),{printFunctionParameters:R,shouldGroupFunctionParameters:q}=Lr(),{printPropertyKey:J}=rr(),{printFunctionTypeParameters:L}=ct();function j(U,Z,se){let fe=U.getNode(),ge=R(U,se,Z),he=K(U,se,Z),we=q(fe,he),ke=[L(U,Z,se),p([we?p(ge):ge,he])];return fe.body?ke.push(" ",se("body")):ke.push(Z.semi?";":""),ke}function W(U,Z){if("always"===Z.arrowParens)return!1;if("avoid"===Z.arrowParens){return function ce(U){let Z=E(U);return!(1!==Z.length||U.typeParameters||C(U,d.Dangling)||"Identifier"!==Z[0].type||Z[0].typeAnnotation||C(Z[0])||Z[0].optional||U.predicate||U.returnType)}(U.getValue())}return!1}function K(U,Z,se){let fe=U.getValue(),ge=Z("returnType");if(fe.returnType&&x(se.originalText,fe.returnType))return[" /*: ",ge," */"];let he=[ge];return fe.returnType&&fe.returnType.typeAnnotation&&he.unshift(": "),fe.predicate&&he.push(fe.returnType?" ":": ",Z("predicate")),he}function de(U,Z,se){let fe=U.getValue(),ge=Z.semi?";":"",he=[];fe.argument&&(function z(U,Z){if(N(U.originalText,Z))return!0;if(B(Z)){let fe,se=Z;for(;fe=k(se);)if(se=fe,N(U.originalText,se))return!0}return!1}(Z,fe.argument)?he.push([" (",y([g,se("argument")]),g,")"]):T(fe.argument)||"SequenceExpression"===fe.argument.type?he.push(p([h(" ("," "),y([l,se("argument")]),l,h(")")])):he.push(" ",se("argument")));let we=o(fe),ke=n(we),Re=ke&&m(ke);return Re&&he.push(ge),C(fe,d.Dangling)&&he.push(" ",s(U,Z,!0)),Re||he.push(ge),he}r.exports={printFunction:function Q(U,Z,se,fe){let ge=U.getValue(),he=!1;if(("FunctionDeclaration"===ge.type||"FunctionExpression"===ge.type)&&fe&&fe.expandLastArg){let Pe=U.getParentNode();S(Pe)&&b(Pe).length>1&&(he=!0)}let we=[];"TSDeclareFunction"===ge.type&&ge.declare&&we.push("declare "),ge.async&&we.push("async "),ge.generator?we.push("function* "):we.push("function "),ge.id&&we.push(Z("id"));let ke=R(U,Z,se,he),Re=K(U,Z,se),Ne=q(ge,Re);return we.push(L(U,se,Z),p([Ne?p(ke):ke,Re]),ge.body?" ":"",Z("body")),se.semi&&(ge.declare||!ge.body)&&we.push(";"),we},printArrowFunction:function ee(U,Z,se,fe){let ge=U.getValue(),he=[],we=[],ke=!1;if(function H(){let pe=function Y(U,Z,se,fe){let he=[];if(U.getValue().async&&he.push("async "),W(U,Z))he.push(se(["params",0]));else{let ke=fe&&(fe.expandLastArg||fe.expandFirstArg),Re=K(U,se,Z);if(ke){if(_(Re))throw new w;Re=p(F(Re))}he.push(p([R(U,se,Z,ke,!0),Re]))}let we=s(U,Z,!0,(ke=>{let Re=u(Z.originalText,ke,M);return!1!==Re&&"=>"===Z.originalText.slice(Re,Re+2)}));return we&&he.push(" ",we),he}(U,Z,se,fe);if(0===he.length)he.push(pe);else{let{leading:X,trailing:le}=a(U,Z);he.push([X,pe]),we.unshift(le)}ke=ke||ge.returnType&&E(ge).length>0||ge.typeParameters||E(ge).some((X=>"Identifier"!==X.type)),"ArrowFunctionExpression"!==ge.body.type||fe&&fe.expandLastArg?we.unshift(se("body",fe)):(ge=ge.body,U.call(H,"body"))}(),he.length>1)return function ie(U,Z,se,fe,ge,he){let we=U.getName(),ke=U.getParentNode(),Re=v(ke)&&"callee"===we,Ne=Boolean(Z&&Z.assignmentLayout),Pe="BlockStatement"!==he.body.type&&"ObjectExpression"!==he.body.type&&"SequenceExpression"!==he.body.type,oe=Re&&Pe||Z&&"chain-tail-arrow-chain"===Z.assignmentLayout,H=Symbol("arrow-chain");return"SequenceExpression"===he.body.type&&(ge=p(["(",y([l,ge]),l,")"])),p([p(y([Re||Ne?l:"",p(c([" =>",i],se),{shouldBreak:fe})]),{id:H,shouldBreak:oe})," =>",f(Pe?y([i,ge]):[" ",ge],{groupId:H}),Re?h(l,"",{groupId:H}):""])}(U,fe,he,ke,we,ge);let Re=he;if(Re.push(" =>"),!N(Z.originalText,ge.body)&&("ArrayExpression"===ge.body.type||"ObjectExpression"===ge.body.type||"BlockStatement"===ge.body.type||I(ge.body)||P(ge.body,Z.originalText)||"ArrowFunctionExpression"===ge.body.type||"DoExpression"===ge.body.type))return p([...Re," ",we]);if("SequenceExpression"===ge.body.type)return p([...Re,p([" (",y([l,we]),l,")"])]);let Ne=(fe&&fe.expandLastArg||"JSXExpressionContainer"===U.getParentNode().type)&&!C(ge),Pe=fe&&fe.expandLastArg&&$(Z,"all"),oe="ConditionalExpression"===ge.body.type&&!D(ge.body,(H=>"ObjectExpression"===H.type));return p([...Re,p([y([i,oe?h("","("):"",we,oe?h("",")"):""]),Ne?[h(Pe?",":""),l]:""])])},printMethod:function V(U,Z,se){let fe=U.getNode(),{kind:ge}=fe,he=fe.value||fe,we=[];return ge&&"init"!==ge&&"method"!==ge&&"constructor"!==ge?(t.ok("get"===ge||"set"===ge),we.push(ge," ")):he.async&&we.push("async "),he.generator&&we.push("*"),we.push(J(U,Z,se),fe.optional||fe.key.optional?"?":""),fe===he?we.push(j(U,Z,se)):"FunctionExpression"===he.type?we.push(U.call((ke=>j(ke,Z,se)),"value")):we.push(se("value")),we},printReturnStatement:function ue(U,Z,se){return["return",de(U,Z,se)]},printThrowStatement:function Fe(U,Z,se){return["throw",de(U,Z,se)]},printMethodInternal:j,shouldPrintParamsWithoutParens:W}}}),nu=te({"src/language-js/print/decorators.js"(e,r){ne();var{isNonEmptyArray:t,hasNewline:s}=Ue(),{builders:{line:a,hardline:n,join:u,breakParent:i,group:l}}=qe(),{locStart:p,locEnd:y}=ut(),{getParentExportDeclaration:h}=Ke();function F(w,E){return w.decorators.some((N=>s(E.originalText,y(N))))}function _(w){if("ExportDefaultDeclaration"!==w.type&&"ExportNamedDeclaration"!==w.type&&"DeclareExportDeclaration"!==w.type)return!1;let E=w.declaration&&w.declaration.decorators;return t(E)&&p(w)===p(E[0])}r.exports={printDecorators:function f(w,E,N){let x=w.getValue(),{decorators:I}=x;if(!t(I)||_(w.getParentNode()))return;let P="ClassExpression"===x.type||"ClassDeclaration"===x.type||F(x,E);return[h(w)?n:P?i:"",u(a,w.map(N,"decorators")),a]},printClassMemberDecorators:function g(w,E,N){let x=w.getValue();return l([u(a,w.map(N,"decorators")),F(x,E)?n:a])},printDecoratorsBeforeExport:function c(w,E,N){return[u(n,w.map(N,"declaration","decorators")),n]},hasDecoratorsBeforeExport:_}}}),nr=te({"src/language-js/print/class.js"(e,r){ne();var{isNonEmptyArray:t,createGroupIdMapper:s}=Ue(),{printComments:a,printDanglingComments:n}=et(),{builders:{join:u,line:i,hardline:l,softline:p,group:y,indent:h,ifBreak:g}}=qe(),{hasComment:c,CommentCheckFlags:f}=Ke(),{getTypeParametersGroupId:F}=jr(),{printMethod:_}=qr(),{printOptionalToken:w,printTypeAnnotation:E,printDefiniteToken:N}=ct(),{printPropertyKey:x}=rr(),{printAssignment:I}=tr(),{printClassMemberDecorators:P}=nu();var D=s("heritageGroup");function C(b){return b.typeParameters&&!c(b.typeParameters,f.Trailing|f.Line)&&!function m(b){return["superClass","extends","mixins","implements"].filter((B=>Boolean(b[B]))).length>1}(b)}function o(b,B,k,M){let R=b.getValue();if(!t(R[M]))return"";let q=n(b,B,!0,(J=>{let{marker:L}=J;return L===M}));return[C(R)?g(" ",i,{groupId:F(R.typeParameters)}):i,q,q&&l,M,y(h([i,u([",",i],b.map(k,M))]))]}function d(b,B,k){let M=k("superClass");return"AssignmentExpression"===b.getParentNode().type?y(g(["(",h([p,M]),p,")"],M)):M}r.exports={printClass:function $(b,B,k){let M=b.getValue(),R=[];M.declare&&R.push("declare "),M.abstract&&R.push("abstract "),R.push("class");let q=M.id&&c(M.id,f.Trailing)||M.typeParameters&&c(M.typeParameters,f.Trailing)||M.superClass&&c(M.superClass)||t(M.extends)||t(M.mixins)||t(M.implements),J=[],L=[];if(M.id&&J.push(" ",k("id")),J.push(k("typeParameters")),M.superClass){let Q=[d(b,B,k),k("superTypeParameters")],V=b.call((j=>["extends ",a(j,Q,B)]),"superClass");q?L.push(i,y(V)):L.push(" ",V)}else L.push(o(b,B,k,"extends"));if(L.push(o(b,B,k,"mixins"),o(b,B,k,"implements")),q){let Q;Q=C(M)?[...J,h(L)]:h([...J,L]),R.push(y(Q,{id:D(M)}))}else R.push(...J,...L);return R.push(" ",k("body")),R},printClassMethod:function v(b,B,k){let M=b.getValue(),R=[];return t(M.decorators)&&R.push(P(b,B,k)),M.accessibility&&R.push(M.accessibility+" "),M.readonly&&R.push("readonly "),M.declare&&R.push("declare "),M.static&&R.push("static "),("TSAbstractMethodDefinition"===M.type||M.abstract)&&R.push("abstract "),M.override&&R.push("override "),R.push(_(b,B,k)),R},printClassProperty:function S(b,B,k){let M=b.getValue(),R=[],q=B.semi?";":"";return t(M.decorators)&&R.push(P(b,B,k)),M.accessibility&&R.push(M.accessibility+" "),M.declare&&R.push("declare "),M.static&&R.push("static "),("TSAbstractPropertyDefinition"===M.type||"TSAbstractAccessorProperty"===M.type||M.abstract)&&R.push("abstract "),M.override&&R.push("override "),M.readonly&&R.push("readonly "),M.variance&&R.push(k("variance")),("ClassAccessorProperty"===M.type||"AccessorProperty"===M.type||"TSAbstractAccessorProperty"===M.type)&&R.push("accessor "),R.push(x(b,B,k),w(b),N(b),E(b,B,k)),[I(b,B,k,R," =","value"),q]},printHardlineAfterHeritage:function T(b){return g(l,"",{groupId:D(b)})}}}}),bo=te({"src/language-js/print/interface.js"(e,r){ne();var{isNonEmptyArray:t}=Ue(),{builders:{join:s,line:a,group:n,indent:u,ifBreak:i}}=qe(),{hasComment:l,identity:p,CommentCheckFlags:y}=Ke(),{getTypeParametersGroupId:h}=jr(),{printTypeScriptModifiers:g}=ct();r.exports={printInterface:function c(f,F,_){let w=f.getValue(),E=[];w.declare&&E.push("declare "),"TSInterfaceDeclaration"===w.type&&E.push(w.abstract?"abstract ":"",g(f,F,_)),E.push("interface");let N=[],x=[];"InterfaceTypeAnnotation"!==w.type&&N.push(" ",_("id"),_("typeParameters"));let I=w.typeParameters&&!l(w.typeParameters,y.Trailing|y.Line);return t(w.extends)&&x.push(I?i(" ",a,{groupId:h(w.typeParameters)}):a,"extends ",(1===w.extends.length?p:u)(s([",",a],f.map(_,"extends")))),w.id&&l(w.id,y.Trailing)||t(w.extends)?I?E.push(n([...N,u(x)])):E.push(n(u([...N,...x]))):E.push(...N,...x),E.push(" ",_("body")),n(E)}}}}),To=te({"src/language-js/print/module.js"(e,r){ne();var{isNonEmptyArray:t}=Ue(),{builders:{softline:s,group:a,indent:n,join:u,line:i,ifBreak:l,hardline:p}}=qe(),{printDanglingComments:y}=et(),{hasComment:h,CommentCheckFlags:g,shouldPrintComma:c,needsHardlineAfterDanglingComment:f,isStringLiteral:F,rawText:_}=Ke(),{locStart:w,hasSameLoc:E}=ut(),{hasDecoratorsBeforeExport:N,printDecoratorsBeforeExport:x}=nu();function T(S,b,B){let k=S.getValue();if(!k.source)return"";let M=[];return C(k,b)||M.push(" from"),M.push(" ",B("source")),M}function m(S,b,B){let k=S.getValue();if(C(k,b))return"";let M=[" "];if(t(k.specifiers)){let R=[],q=[];S.each((()=>{let J=S.getValue().type;if("ExportNamespaceSpecifier"===J||"ExportDefaultSpecifier"===J||"ImportNamespaceSpecifier"===J||"ImportDefaultSpecifier"===J)R.push(B());else{if("ExportSpecifier"!==J&&"ImportSpecifier"!==J)throw new Error(`Unknown specifier type ${JSON.stringify(J)}`);q.push(B())}}),"specifiers"),M.push(u(", ",R)),q.length>0&&(R.length>0&&M.push(", "),q.length>1||R.length>0||k.specifiers.some((L=>h(L)))?M.push(a(["{",n([b.bracketSpacing?i:s,u([",",i],q)]),l(c(b)?",":""),b.bracketSpacing?i:s,"}"])):M.push(["{",b.bracketSpacing?" ":"",...q,b.bracketSpacing?" ":"","}"]))}else M.push("{}");return M}function C(S,b){let{type:B,importKind:k,source:M,specifiers:R}=S;return"ImportDeclaration"===B&&!t(R)&&"type"!==k&&!/{\s*}/.test(b.originalText.slice(w(S),w(M)))}function o(S,b,B){let k=S.getNode();return t(k.assertions)?[" assert {",b.bracketSpacing?" ":"",u(", ",S.map(B,"assertions")),b.bracketSpacing?" ":"","}"]:""}r.exports={printImportDeclaration:function I(S,b,B){let k=S.getValue(),M=b.semi?";":"",R=[],{importKind:q}=k;return R.push("import"),q&&"value"!==q&&R.push(" ",q),R.push(m(S,b,B),T(S,b,B),o(S,b,B),M),R},printExportDeclaration:function P(S,b,B){let k=S.getValue(),M=[];N(k)&&M.push(x(S,b,B));let{type:R,exportKind:q,declaration:J}=k;return M.push("export"),(k.default||"ExportDefaultDeclaration"===R)&&M.push(" default"),h(k,g.Dangling)&&(M.push(" ",y(S,b,!0)),f(k)&&M.push(p)),J?M.push(" ",B("declaration")):M.push("type"===q?" type":"",m(S,b,B),T(S,b,B),o(S,b,B)),function D(S,b){if(!b.semi)return!1;let{type:B,declaration:k}=S,M=S.default||"ExportDefaultDeclaration"===B;if(!k)return!0;let{type:R}=k;return!(!M||"ClassDeclaration"===R||"FunctionDeclaration"===R||"TSInterfaceDeclaration"===R||"DeclareClass"===R||"DeclareFunction"===R||"TSDeclareFunction"===R||"EnumDeclaration"===R)}(k,b)&&M.push(";"),M},printExportAllDeclaration:function $(S,b,B){let k=S.getValue(),M=b.semi?";":"",R=[],{exportKind:q,exported:J}=k;return R.push("export"),"type"===q&&R.push(" type"),R.push(" *"),J&&R.push(" as ",B("exported")),R.push(T(S,b,B),o(S,b,B),M),R},printModuleSpecifier:function d(S,b,B){let k=S.getNode(),{type:M}=k,R=[],q="ImportSpecifier"===M?k.importKind:k.exportKind;q&&"value"!==q&&R.push(q," ");let J=M.startsWith("Import"),L=J?"imported":"local",Q=J?"local":"exported",V=k[L],j=k[Q],Y="",ie="";return"ExportNamespaceSpecifier"===M||"ImportNamespaceSpecifier"===M?Y="*":V&&(Y=B(L)),j&&!function v(S){if("ImportSpecifier"!==S.type&&"ExportSpecifier"!==S.type)return!1;let{local:b,["ImportSpecifier"===S.type?"imported":"exported"]:B}=S;if(b.type!==B.type||!E(b,B))return!1;if(F(b))return b.value===B.value&&_(b)===_(B);if("Identifier"===b.type)return b.name===B.name;return!1}(k)&&(ie=B(Q)),R.push(Y,Y&&ie?" as ":"",ie),R}}}}),uu=te({"src/language-js/print/object.js"(e,r){ne();var{printDanglingComments:t}=et(),{builders:{line:s,softline:a,group:n,indent:u,ifBreak:i,hardline:l}}=qe(),{getLast:p,hasNewlineInRange:y,hasNewline:h,isNonEmptyArray:g}=Ue(),{shouldPrintComma:c,hasComment:f,getComments:F,CommentCheckFlags:_,isNextLineEmpty:w}=Ke(),{locStart:E,locEnd:N}=ut(),{printOptionalToken:x,printTypeAnnotation:I}=ct(),{shouldHugFunctionParameters:P}=Lr(),{shouldHugType:$}=Or(),{printHardlineAfterHeritage:D}=nr();r.exports={printObject:function T(m,C,o){let S,d=C.semi?";":"",v=m.getValue();S="TSTypeLiteral"===v.type?"members":"TSInterfaceBody"===v.type?"body":"properties";let b="ObjectTypeAnnotation"===v.type,B=[S];b&&B.push("indexers","callProperties","internalSlots");let k=B.map((W=>v[W][0])).sort(((W,K)=>E(W)-E(K)))[0],M=m.getParentNode(0),R=b&&M&&("InterfaceDeclaration"===M.type||"DeclareInterface"===M.type||"DeclareClass"===M.type)&&"body"===m.getName(),q="TSInterfaceBody"===v.type||R||"ObjectPattern"===v.type&&"FunctionDeclaration"!==M.type&&"FunctionExpression"!==M.type&&"ArrowFunctionExpression"!==M.type&&"ObjectMethod"!==M.type&&"ClassMethod"!==M.type&&"ClassPrivateMethod"!==M.type&&"AssignmentPattern"!==M.type&&"CatchClause"!==M.type&&v.properties.some((W=>W.value&&("ObjectPattern"===W.value.type||"ArrayPattern"===W.value.type)))||"ObjectPattern"!==v.type&&k&&y(C.originalText,E(v),E(k)),J=R?";":"TSInterfaceBody"===v.type||"TSTypeLiteral"===v.type?i(d,";"):",",L="RecordExpression"===v.type?"#{":v.exact?"{|":"{",Q=v.exact?"|}":"}",V=[];for(let W of B)m.each((K=>{let de=K.getValue();V.push({node:de,printed:o(),loc:E(de)})}),W);B.length>1&&V.sort(((W,K)=>W.loc-K.loc));let j=[],Y=V.map((W=>{let K=[...j,n(W.printed)];return j=[J,s],("TSPropertySignature"===W.node.type||"TSMethodSignature"===W.node.type||"TSConstructSignatureDeclaration"===W.node.type)&&f(W.node,_.PrettierIgnore)&&j.shift(),w(W.node,C)&&j.push(l),K}));if(v.inexact){let W;if(f(v,_.Dangling)){let K=f(v,_.Line);W=[t(m,C,!0),K||h(C.originalText,N(p(F(v))))?l:s,"..."]}else W=["..."];Y.push([...j,...W])}let ce,ie=p(v[S]),ee=!(v.inexact||ie&&"RestElement"===ie.type||ie&&("TSPropertySignature"===ie.type||"TSCallSignatureDeclaration"===ie.type||"TSMethodSignature"===ie.type||"TSConstructSignatureDeclaration"===ie.type)&&f(ie,_.PrettierIgnore));if(0===Y.length){if(!f(v,_.Dangling))return[L,Q,I(m,C,o)];ce=n([L,t(m,C),a,Q,x(m),I(m,C,o)])}else ce=[R&&g(v.properties)?D(M):"",L,u([C.bracketSpacing?s:a,...Y]),i(ee&&(","!==J||c(C))?J:""),C.bracketSpacing?s:a,Q,x(m),I(m,C,o)];return m.match((W=>"ObjectPattern"===W.type&&!W.decorators),((W,K,de)=>P(W)&&("params"===K||"parameters"===K||"this"===K||"rest"===K)&&0===de))||m.match($,((W,K)=>"typeAnnotation"===K),((W,K)=>"typeAnnotation"===K),((W,K,de)=>P(W)&&("params"===K||"parameters"===K||"this"===K||"rest"===K)&&0===de))||!q&&m.match((W=>"ObjectPattern"===W.type),(W=>"AssignmentExpression"===W.type||"VariableDeclarator"===W.type))?ce:n(ce,{shouldBreak:q})}}}}),dd=te({"src/language-js/print/flow.js"(e,r){ne();var t=Zt(),{printDanglingComments:s}=et(),{printString:a,printNumber:n}=Ue(),{builders:{hardline:u,softline:i,group:l,indent:p}}=qe(),{getParentExportDeclaration:y,isFunctionNotation:h,isGetterOrSetter:g,rawText:c,shouldPrintComma:f}=Ke(),{locStart:F,locEnd:_}=ut(),{replaceTextEndOfLine:w}=Yt(),{printClass:E}=nr(),{printOpaqueType:N,printTypeAlias:x,printIntersectionType:I,printUnionType:P,printFunctionType:$,printTupleType:D,printIndexedAccessType:T}=Or(),{printInterface:m}=bo(),{printTypeParameter:C,printTypeParameters:o}=jr(),{printExportDeclaration:d,printExportAllDeclaration:v}=To(),{printArrayItems:S}=er(),{printObject:b}=uu(),{printPropertyKey:B}=rr(),{printOptionalToken:k,printTypeAnnotation:M,printRestSpread:R}=ct();function J(L,Q){let V=y(L);return V?(t.strictEqual(V.type,"DeclareExportDeclaration"),Q):["declare ",Q]}r.exports={printFlow:function q(L,Q,V){let j=L.getValue(),Y=Q.semi?";":"",ie=[];switch(j.type){case"DeclareClass":return J(L,E(L,Q,V));case"DeclareFunction":return J(L,["function ",V("id"),j.predicate?" ":"",V("predicate"),Y]);case"DeclareModule":return J(L,["module ",V("id")," ",V("body")]);case"DeclareModuleExports":return J(L,["module.exports",": ",V("typeAnnotation"),Y]);case"DeclareVariable":return J(L,["var ",V("id"),Y]);case"DeclareOpaqueType":return J(L,N(L,Q,V));case"DeclareInterface":return J(L,m(L,Q,V));case"DeclareTypeAlias":return J(L,x(L,Q,V));case"DeclareExportDeclaration":return J(L,d(L,Q,V));case"DeclareExportAllDeclaration":return J(L,v(L,Q,V));case"OpaqueType":return N(L,Q,V);case"TypeAlias":return x(L,Q,V);case"IntersectionTypeAnnotation":return I(L,Q,V);case"UnionTypeAnnotation":return P(L,Q,V);case"FunctionTypeAnnotation":return $(L,Q,V);case"TupleTypeAnnotation":return D(L,Q,V);case"GenericTypeAnnotation":return[V("id"),o(L,Q,V,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return T(L,Q,V);case"TypeAnnotation":return V("typeAnnotation");case"TypeParameter":return C(L,Q,V);case"TypeofTypeAnnotation":return["typeof ",V("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[V("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(j.value);case"EnumDeclaration":return["enum ",V("id")," ",V("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===j.type||j.explicitType){let ee=null;switch(j.type){case"EnumBooleanBody":ee="boolean";break;case"EnumNumberBody":ee="number";break;case"EnumStringBody":ee="string";break;case"EnumSymbolBody":ee="symbol"}ie.push("of ",ee," ")}if(0!==j.members.length||j.hasUnknownMembers){let ee=j.members.length>0?[u,S(L,Q,"members",V),j.hasUnknownMembers||f(Q)?",":""]:[];ie.push(l(["{",p([...ee,...j.hasUnknownMembers?[u,"..."]:[]]),s(L,Q,!0),u,"}"]))}else ie.push(l(["{",s(L,Q),i,"}"]));return ie;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[V("id")," = ","object"==typeof j.init?V("init"):String(j.init)];case"EnumDefaultedMember":return V("id");case"FunctionTypeParam":{let ee=j.name?V("name"):L.getParentNode().this===j?"this":"";return[ee,k(L),ee?": ":"",V("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return m(L,Q,V);case"ClassImplements":case"InterfaceExtends":return[V("id"),V("typeParameters")];case"NullableTypeAnnotation":return["?",V("typeAnnotation")];case"Variance":{let{kind:ee}=j;return t.ok("plus"===ee||"minus"===ee),"plus"===ee?"+":"-"}case"ObjectTypeCallProperty":return j.static&&ie.push("static "),ie.push(V("value")),ie;case"ObjectTypeIndexer":return[j.static?"static ":"",j.variance?V("variance"):"","[",V("id"),j.id?": ":"",V("key"),"]: ",V("value")];case"ObjectTypeProperty":{let ee="";return j.proto?ee="proto ":j.static&&(ee="static "),[ee,g(j)?j.kind+" ":"",j.variance?V("variance"):"",B(L,Q,V),k(L),h(j)?"":": ",V("value")]}case"ObjectTypeAnnotation":return b(L,Q,V);case"ObjectTypeInternalSlot":return[j.static?"static ":"","[[",V("id"),"]]",k(L),j.method?"":": ",V("value")];case"ObjectTypeSpreadProperty":return R(L,Q,V);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[V("qualification"),".",V("id")];case"StringLiteralTypeAnnotation":return w(a(c(j),Q));case"NumberLiteralTypeAnnotation":t.strictEqual(typeof j.value,"number");case"BigIntLiteralTypeAnnotation":return j.extra?n(j.extra.raw):n(j.raw);case"TypeCastExpression":return["(",V("expression"),M(L,Q,V),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let ee=o(L,Q,V,"params");if("flow"===Q.parser){let ce=F(j),W=_(j),K=Q.originalText.lastIndexOf("/*",ce),de=Q.originalText.indexOf("*/",W);if(-1!==K&&-1!==de){let ue=Q.originalText.slice(K+2,de).trim();if(ue.startsWith("::")&&!ue.includes("/*")&&!ue.includes("*/"))return["/*:: ",ee," */"]}}return ee}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",V("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(j.type))}}}}}),gd=te({"src/language-js/utils/is-ts-keyword-type.js"(e,r){ne(),r.exports=function t(s){let{type:a}=s;return a.startsWith("TS")&&a.endsWith("Keyword")}}}),Bo=te({"src/language-js/print/ternary.js"(e,r){ne();var{hasNewlineInRange:t}=Ue(),{isJsxNode:s,getComments:a,isCallExpression:n,isMemberExpression:u,isTSTypeExpression:i}=Ke(),{locStart:l,locEnd:p}=ut(),y=Pt(),{builders:{line:h,softline:g,group:c,indent:f,align:F,ifBreak:_,dedent:w,breakParent:E}}=qe();function x(D,T,m){let C=D.getValue(),o="ConditionalExpression"===C.type,d=o?"alternate":"falseType",v=D.getParentNode(),S=o?m("test"):[m("checkType")," ","extends"," ",m("extendsType")];return v.type===C.type&&v[d]===C?F(2,S):S}var I=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);r.exports={printTernary:function $(D,T,m){let L,Q,C=D.getValue(),o="ConditionalExpression"===C.type,d=o?"consequent":"trueType",v=o?"alternate":"falseType",S=o?["test"]:["checkType","extendsType"],b=C[d],B=C[v],k=[],M=!1,R=D.getParentNode(),q=R.type===C.type&&S.some((ue=>R[ue]===C)),J=R.type===C.type&&!q,V=0;do{Q=L||C,L=D.getParentNode(V),V++}while(L&&L.type===C.type&&S.every((ue=>L[ue]!==Q)));let j=L||R,Y=Q;if(o&&(s(C[S[0]])||s(b)||s(B)||function N(D){let T=[D];for(let m=0;m[_("("),f([g,z]),g,_(")")],Fe=z=>"NullLiteral"===z.type||"Literal"===z.type&&null===z.value||"Identifier"===z.type&&"undefined"===z.name;k.push(" ? ",Fe(b)?m(d):ue(m(d))," : ",B.type===C.type||Fe(B)?m(v):ue(m(v)))}else{let ue=[h,"? ",b.type===C.type?_("","("):"",F(2,m(d)),b.type===C.type?_("",")"):"",h,": ",B.type===C.type?m(v):F(2,m(v))];k.push(R.type!==C.type||R[v]===C||q?ue:T.useTabs?w(f(ue)):F(Math.max(0,T.tabWidth-2),ue))}let ee=[...S.map((ue=>a(C[ue]))),a(b),a(B)].flat().some((ue=>y(ue)&&t(T.originalText,l(ue),p(ue)))),W=!M&&(u(R)||"NGPipeExpression"===R.type&&R.left===C)&&!R.computed,K=function P(D){let T=D.getValue();if("ConditionalExpression"!==T.type)return!1;let m,C=T;for(let o=0;!m;o++){let d=D.getParentNode(o);n(d)&&d.callee===C||u(d)&&d.object===C||"TSNonNullExpression"===d.type&&d.expression===C?C=d:"NewExpression"===d.type&&d.callee===C||i(d)&&d.expression===C?(m=D.getParentNode(o+1),C=d):m=d}return C!==T&&m[I.get(m.type)]===C}(D),de=(ue=[x(D,0,m),J?k:f(k),o&&W&&!K?g:""],R===j?c(ue,{shouldBreak:ee}):ee?[ue,E]:ue);var ue;return q||K?c([f([g,de]),g]):de}}}}),No=te({"src/language-js/print/statement.js"(e,r){ne();var{builders:{hardline:t}}=qe(),s=qt(),{getLeftSidePathName:a,hasNakedLeftSide:n,isJsxNode:u,isTheOnlyJsxElementInMarkdown:i,hasComment:l,CommentCheckFlags:p,isNextLineEmpty:y}=Ke(),{shouldPrintParamsWithoutParens:h}=qr();function g(x,I,P,$){let D=x.getValue(),T=[],m="ClassBody"===D.type,C=function c(x){for(let I=x.length-1;I>=0;I--){let P=x[I];if("EmptyStatement"!==P.type)return P}}(D[$]);return x.each(((o,d,v)=>{let S=o.getValue();if("EmptyStatement"===S.type)return;let b=P();I.semi||m||i(I,o)||!function f(x,I){return"ExpressionStatement"===x.getNode().type&&x.call(($=>F($,I)),"expression")}(o,I)?T.push(b):l(S,p.Leading)?T.push(P([],{needsSemi:!0})):T.push(";",b),!I.semi&&m&&E(S)&&function N(x,I){let{type:P,name:$}=x.key;if(!(x.computed||"Identifier"!==P||"static"!==$&&"get"!==$&&"set"!==$&&"accessor"!==$||x.value||x.typeAnnotation))return!0;if(!I||I.static||I.accessibility)return!1;if(!I.computed){let D=I.key&&I.key.name;if("in"===D||"instanceof"===D)return!0}if(E(I)&&I.variance&&!I.static&&!I.declare)return!0;switch(I.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return I.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((I.value?I.value.async:I.async)||"get"===I.kind||"set"===I.kind)return!1;let T=I.value?I.value.generator:I.generator;return!(!I.computed&&!T)}case"TSIndexSignature":return!0}return!1}(S,v[d+1])&&T.push(";"),S!==C&&(T.push(t),y(S,I)&&T.push(t))}),$),T}function F(x,I){let P=x.getValue();switch(P.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!h(x,I))return!0;break;case"UnaryExpression":{let{prefix:$,operator:D}=P;if($&&("+"===D||"-"===D))return!0;break}case"BindExpression":if(!P.object)return!0;break;case"Literal":if(P.regex)return!0;break;default:if(u(P))return!0}return!!s(x,I)||!!n(P)&&x.call(($=>F($,I)),...a(x,P))}var E=x=>{let{type:I}=x;return"ClassProperty"===I||"PropertyDefinition"===I||"ClassPrivateProperty"===I||"ClassAccessorProperty"===I||"AccessorProperty"===I||"TSAbstractPropertyDefinition"===I||"TSAbstractAccessorProperty"===I};r.exports={printBody:function _(x,I,P){return g(x,I,P,"body")},printSwitchCaseConsequent:function w(x,I,P){return g(x,I,P,"consequent")}}}}),wo=te({"src/language-js/print/block.js"(e,r){ne();var{printDanglingComments:t}=et(),{isNonEmptyArray:s}=Ue(),{builders:{hardline:a,indent:n}}=qe(),{hasComment:u,CommentCheckFlags:i,isNextLineEmpty:l}=Ke(),{printHardlineAfterHeritage:p}=nr(),{printBody:y}=No();function g(c,f,F){let _=c.getValue(),w=s(_.directives),E=_.body.some((I=>"EmptyStatement"!==I.type)),N=u(_,i.Dangling);if(!w&&!E&&!N)return"";let x=[];if(w&&c.each(((I,P,$)=>{x.push(F()),(P<$.length-1||E||N)&&(x.push(a),l(I.getValue(),f)&&x.push(a))}),"directives"),E&&x.push(y(c,f,F)),N&&x.push(t(c,f,!0)),"Program"===_.type){let I=c.getParentNode();(!I||"ModuleExpression"!==I.type)&&x.push(a)}return x}r.exports={printBlock:function h(c,f,F){let _=c.getValue(),w=[];if("StaticBlock"===_.type&&w.push("static "),"ClassBody"===_.type&&s(_.body)){let N=c.getParentNode();w.push(p(N))}w.push("{");let E=g(c,f,F);if(E)w.push(n([a,E]),a);else{let N=c.getParentNode(),x=c.getParentNode(1);"ArrowFunctionExpression"===N.type||"FunctionExpression"===N.type||"FunctionDeclaration"===N.type||"ObjectMethod"===N.type||"ClassMethod"===N.type||"ClassPrivateMethod"===N.type||"ForStatement"===N.type||"WhileStatement"===N.type||"DoWhileStatement"===N.type||"DoExpression"===N.type||"CatchClause"===N.type&&!x.finalizer||"TSModuleDeclaration"===N.type||"TSDeclareFunction"===N.type||"StaticBlock"===_.type||"ClassBody"===_.type||w.push(a)}return w.push("}"),w},printBlockBody:g}}}),yd=te({"src/language-js/print/typescript.js"(e,r){ne();var{printDanglingComments:t}=et(),{hasNewlineInRange:s}=Ue(),{builders:{join:a,line:n,hardline:u,softline:i,group:l,indent:p,conditionalGroup:y,ifBreak:h}}=qe(),{isStringLiteral:g,getTypeScriptMappedTypeModifier:c,shouldPrintComma:f,isCallExpression:F,isMemberExpression:_}=Ke(),w=gd(),{locStart:E,locEnd:N}=ut(),{printOptionalToken:x,printTypeScriptModifiers:I}=ct(),{printTernary:P}=Bo(),{printFunctionParameters:$,shouldGroupFunctionParameters:D}=Lr(),{printTemplateLiteral:T}=jt(),{printArrayItems:m}=er(),{printObject:C}=uu(),{printClassProperty:o,printClassMethod:d}=nr(),{printTypeParameter:v,printTypeParameters:S}=jr(),{printPropertyKey:b}=rr(),{printFunction:B,printMethodInternal:k}=qr(),{printInterface:M}=bo(),{printBlock:R}=wo(),{printTypeAlias:q,printIntersectionType:J,printUnionType:L,printFunctionType:Q,printTupleType:V,printIndexedAccessType:j,printJSDocType:Y}=Or();r.exports={printTypescript:function ie(ee,ce,W){let K=ee.getValue();if(!K.type.startsWith("TS"))return;if(w(K))return K.type.slice(2,-7).toLowerCase();let de=ce.semi?";":"",ue=[];switch(K.type){case"TSThisType":return"this";case"TSTypeAssertion":{let Fe=!("ArrayExpression"===K.expression.type||"ObjectExpression"===K.expression.type),z=l(["<",p([i,W("typeAnnotation")]),i,">"]),U=[h("("),p([i,W("expression")]),i,h(")")];return Fe?y([[z,W("expression")],[z,l(U,{shouldBreak:!0})],[z,W("expression")]]):l([z,W("expression")])}case"TSDeclareFunction":return B(ee,W,ce);case"TSExportAssignment":return["export = ",W("expression"),de];case"TSModuleBlock":return R(ee,ce,W);case"TSInterfaceBody":case"TSTypeLiteral":return C(ee,ce,W);case"TSTypeAliasDeclaration":return q(ee,ce,W);case"TSQualifiedName":return a(".",[W("left"),W("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return d(ee,ce,W);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return o(ee,ce,W);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return ue.push(W("expression")),K.typeParameters&&ue.push(W("typeParameters")),ue;case"TSTemplateLiteralType":return T(ee,W,ce);case"TSNamedTupleMember":return[W("label"),K.optional?"?":"",": ",W("elementType")];case"TSRestType":return["...",W("typeAnnotation")];case"TSOptionalType":return[W("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return M(ee,ce,W);case"TSClassImplements":case"TSInstantiationExpression":return[W("expression"),W("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return S(ee,ce,W,"params");case"TSTypeParameter":return v(ee,ce,W);case"TSSatisfiesExpression":case"TSAsExpression":{let Fe="TSAsExpression"===K.type?"as":"satisfies";ue.push(W("expression"),` ${Fe} `,W("typeAnnotation"));let z=ee.getParentNode();return F(z)&&z.callee===K||_(z)&&z.object===K?l([p([i,...ue]),i]):ue}case"TSArrayType":return[W("elementType"),"[]"];case"TSPropertySignature":return K.readonly&&ue.push("readonly "),ue.push(b(ee,ce,W),x(ee)),K.typeAnnotation&&ue.push(": ",W("typeAnnotation")),K.initializer&&ue.push(" = ",W("initializer")),ue;case"TSParameterProperty":return K.accessibility&&ue.push(K.accessibility+" "),K.export&&ue.push("export "),K.static&&ue.push("static "),K.override&&ue.push("override "),K.readonly&&ue.push("readonly "),ue.push(W("parameter")),ue;case"TSTypeQuery":return["typeof ",W("exprName"),W("typeParameters")];case"TSIndexSignature":{let Fe=ee.getParentNode(),z=K.parameters.length>1?h(f(ce)?",":""):"",U=l([p([i,a([", ",i],ee.map(W,"parameters"))]),z,i]);return[K.export?"export ":"",K.accessibility?[K.accessibility," "]:"",K.static?"static ":"",K.readonly?"readonly ":"",K.declare?"declare ":"","[",K.parameters?U:"",K.typeAnnotation?"]: ":"]",K.typeAnnotation?W("typeAnnotation"):"","ClassBody"===Fe.type?de:""]}case"TSTypePredicate":return[K.asserts?"asserts ":"",W("parameterName"),K.typeAnnotation?[" is ",W("typeAnnotation")]:""];case"TSNonNullExpression":return[W("expression"),"!"];case"TSImportType":return[K.isTypeOf?"typeof ":"","import(",W(K.parameter?"parameter":"argument"),")",K.qualifier?[".",W("qualifier")]:"",S(ee,ce,W,"typeParameters")];case"TSLiteralType":return W("literal");case"TSIndexedAccessType":return j(ee,ce,W);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===K.type&&K.abstract&&ue.push("abstract "),"TSCallSignatureDeclaration"!==K.type&&ue.push("new "),ue.push(l($(ee,W,ce,!1,!0))),K.returnType||K.typeAnnotation){let Fe="TSConstructorType"===K.type;ue.push(Fe?" => ":": ",W("returnType"),W("typeAnnotation"))}return ue;case"TSTypeOperator":return[K.operator," ",W("typeAnnotation")];case"TSMappedType":{let Fe=s(ce.originalText,E(K),N(K));return l(["{",p([ce.bracketSpacing?n:i,W("typeParameter"),K.optional?c(K.optional,"?"):"",K.typeAnnotation?": ":"",W("typeAnnotation"),h(de)]),t(ee,ce,!0),ce.bracketSpacing?n:i,"}"],{shouldBreak:Fe})}case"TSMethodSignature":{let Fe=K.kind&&"method"!==K.kind?`${K.kind} `:"";ue.push(K.accessibility?[K.accessibility," "]:"",Fe,K.export?"export ":"",K.static?"static ":"",K.readonly?"readonly ":"",K.abstract?"abstract ":"",K.declare?"declare ":"",K.computed?"[":"",W("key"),K.computed?"]":"",x(ee));let z=$(ee,W,ce,!1,!0),U=K.returnType?"returnType":"typeAnnotation",Z=K[U],se=Z?W(U):"",fe=D(K,se);return ue.push(fe?l(z):z),Z&&ue.push(": ",l(se)),l(ue)}case"TSNamespaceExportDeclaration":return ue.push("export as namespace ",W("id")),ce.semi&&ue.push(";"),l(ue);case"TSEnumDeclaration":return K.declare&&ue.push("declare "),K.modifiers&&ue.push(I(ee,ce,W)),K.const&&ue.push("const "),ue.push("enum ",W("id")," "),0===K.members.length?ue.push(l(["{",t(ee,ce),i,"}"])):ue.push(l(["{",p([u,m(ee,ce,"members",W),f(ce,"es5")?",":""]),t(ee,ce,!0),u,"}"])),ue;case"TSEnumMember":return K.computed?ue.push("[",W("id"),"]"):ue.push(W("id")),K.initializer&&ue.push(" = ",W("initializer")),ue;case"TSImportEqualsDeclaration":return K.isExport&&ue.push("export "),ue.push("import "),K.importKind&&"value"!==K.importKind&&ue.push(K.importKind," "),ue.push(W("id")," = ",W("moduleReference")),ce.semi&&ue.push(";"),l(ue);case"TSExternalModuleReference":return["require(",W("expression"),")"];case"TSModuleDeclaration":{let Fe=ee.getParentNode(),z=g(K.id),U="TSModuleDeclaration"===Fe.type,Z=K.body&&"TSModuleDeclaration"===K.body.type;if(U)ue.push(".");else{K.declare&&ue.push("declare "),ue.push(I(ee,ce,W));let se=ce.originalText.slice(E(K),E(K.id));"Identifier"===K.id.type&&"global"===K.id.name&&!/namespace|module/.test(se)||ue.push(z||/(?:^|\s)module(?:\s|$)/.test(se)?"module ":"namespace ")}return ue.push(W("id")),Z?ue.push(W("body")):K.body?ue.push(" ",l(W("body"))):ue.push(de),ue}case"TSConditionalType":return P(ee,ce,W);case"TSInferType":return["infer"," ",W("typeParameter")];case"TSIntersectionType":return J(ee,ce,W);case"TSUnionType":return L(ee,ce,W);case"TSFunctionType":return Q(ee,ce,W);case"TSTupleType":return V(ee,ce,W);case"TSTypeReference":return[W("typeName"),S(ee,ce,W,"typeParameters")];case"TSTypeAnnotation":return W("typeAnnotation");case"TSEmptyBodyFunctionExpression":return k(ee,ce,W);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Y(ee,W,"?");case"TSJSDocNonNullableType":return Y(ee,W,"!");default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(K.type)}.`)}}}}}),hd=te({"src/language-js/print/comment.js"(e,r){ne();var{hasNewline:t}=Ue(),{builders:{join:s,hardline:a},utils:{replaceTextEndOfLine:n}}=qe(),{isLineComment:u}=Ke(),{locStart:i,locEnd:l}=ut(),p=Pt();r.exports={printComment:function y(c,f){let F=c.getValue();if(u(F))return f.originalText.slice(i(F),l(F)).trimEnd();if(p(F)){if(function h(c){let f=`*${c.value}*`.split("\n");return f.length>1&&f.every((F=>"*"===F.trim()[0]))}(F)){let E=function g(c){let f=c.value.split("\n");return["/*",s(a,f.map(((F,_)=>0===_?F.trimEnd():" "+(_{let{marker:Je}=Oe;return Je===C}));return[ve("expression"),x(Be,Ce)?"":Ye,Ie?[" ",Ie]:""]}case"ParenthesizedExpression":return E(be.expression)||"ObjectExpression"!==be.expression.type&&"ArrayExpression"!==be.expression.type?l(["(",p([i,ve("expression")]),i,")"]):["(",ve("expression"),")"];case"AssignmentExpression":return oe(Ce,Be,ve);case"VariableDeclarator":return Pe(Ce,Be,ve);case"BinaryExpression":case"LogicalExpression":return H(Ce,Be,ve);case"AssignmentPattern":return[ve("left")," = ",ve("right")];case"OptionalMemberExpression":case"MemberExpression":return X(Ce,Be,ve);case"MetaProperty":return[ve("meta"),".",ve("property")];case"BindExpression":return be.object&&Se.push(ve("object")),Se.push(l(p([i,L(Ce,Be,ve)]))),Se;case"Identifier":return[be.name,J(Ce),Y(Ce),Q(Ce,Be,ve)];case"V8IntrinsicIdentifier":return["%",be.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return j(Ce,Be,ve);case"FunctionDeclaration":case"FunctionExpression":return ge(Ce,ve,Be,ze);case"ArrowFunctionExpression":return he(Ce,Be,ve,ze);case"YieldExpression":return Se.push("yield"),be.delegate&&Se.push("*"),be.argument&&Se.push(" ",ve("argument")),Se;case"AwaitExpression":if(Se.push("await"),be.argument){Se.push(" ",ve("argument"));let Ie=Ce.getParentNode();if(T(Ie)&&Ie.callee===be||m(Ie)&&Ie.object===be){Se=[p([i,...Se]),i];let Oe=Ce.findAncestor((Je=>"AwaitExpression"===Je.type||"BlockStatement"===Je.type));if(!Oe||"AwaitExpression"!==Oe.type)return l(Se)}}return Se;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return ce(Ce,Be,ve);case"ExportAllDeclaration":return W(Ce,Be,ve);case"ImportDeclaration":return ee(Ce,Be,ve);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return K(Ce,Be,ve);case"ImportAttribute":return[ve("key"),": ",ve("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return le(Ce,Be,ve);case"ThrowStatement":return Re(Ce,Be,ve);case"ReturnStatement":return ke(Ce,Be,ve);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Ne(Ce,Be,ve);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return z(Ce,Be,ve);case"ObjectProperty":case"Property":return be.method||"get"===be.kind||"set"===be.kind?we(Ce,Be,ve):fe(Ce,Be,ve);case"ObjectMethod":return we(Ce,Be,ve);case"Decorator":return["@",ve("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Fe(Ce,Be,ve);case"SequenceExpression":{let Ie=Ce.getParentNode(0);if("ExpressionStatement"===Ie.type||"ForStatement"===Ie.type){let Oe=[];return Ce.each(((Je,Te)=>{0===Te?Oe.push(ve()):Oe.push(",",p([n,ve()]))}),"expressions"),l(Oe)}return l(a([",",n],Ce.map(ve,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[ve("value"),Ye];case"DirectiveLiteral":return ie(be.extra.raw,Be);case"UnaryExpression":return Se.push(be.operator),/[a-z]$/.test(be.operator)&&Se.push(" "),E(be.argument)?Se.push(l(["(",p([i,ve("argument")]),i,")"])):Se.push(ve("argument")),Se;case"UpdateExpression":return Se.push(ve("argument"),be.operator),be.prefix&&Se.reverse(),Se;case"ConditionalExpression":return de(Ce,Be,ve);case"VariableDeclaration":{let je,Ie=Ce.map(ve,"declarations"),Oe=Ce.getParentNode(),Je="ForStatement"===Oe.type||"ForInStatement"===Oe.type||"ForOfStatement"===Oe.type,Te=be.declarations.some((Me=>Me.init));return 1!==Ie.length||E(be.declarations[0])?Ie.length>0&&(je=p(Ie[0])):je=Ie[0],Se=[be.declare?"declare ":"",be.kind,je?[" ",je]:"",p(Ie.slice(1).map((Me=>[",",Te&&!Je?u:n,Me])))],Je&&Oe.body!==be||Se.push(Ye),l(Se)}case"WithStatement":return l(["with (",ve("object"),")",V(be.body,ve("body"))]);case"IfStatement":{let Ie=V(be.consequent,ve("consequent")),Oe=l(["if (",l([p([i,ve("test")]),i]),")",Ie]);if(Se.push(Oe),be.alternate){let Je=E(be.consequent,N.Trailing|N.Line)||$(be),Te="BlockStatement"===be.consequent.type&&!Je;Se.push(Te?" ":u),E(be,N.Dangling)&&Se.push(t(Ce,Be,!0),Je?u:" "),Se.push("else",l(V(be.alternate,ve("alternate"),"IfStatement"===be.alternate.type)))}return Se}case"ForStatement":{let Ie=V(be.body,ve("body")),Oe=t(Ce,Be,!0),Je=Oe?[Oe,i]:"";return be.init||be.test||be.update?[Je,l(["for (",l([p([i,ve("init"),";",n,ve("test"),";",n,ve("update")]),i]),")",Ie])]:[Je,l(["for (;;)",Ie])]}case"WhileStatement":return l(["while (",l([p([i,ve("test")]),i]),")",V(be.body,ve("body"))]);case"ForInStatement":return l(["for (",ve("left")," in ",ve("right"),")",V(be.body,ve("body"))]);case"ForOfStatement":return l(["for",be.await?" await":""," (",ve("left")," of ",ve("right"),")",V(be.body,ve("body"))]);case"DoWhileStatement":{let Ie=V(be.body,ve("body"));return Se=[l(["do",Ie])],"BlockStatement"===be.body.type?Se.push(" "):Se.push(u),Se.push("while (",l([p([i,ve("test")]),i]),")",Ye),Se}case"DoExpression":return[be.async?"async ":"","do ",ve("body")];case"BreakStatement":return Se.push("break"),be.label&&Se.push(" ",ve("label")),Se.push(Ye),Se;case"ContinueStatement":return Se.push("continue"),be.label&&Se.push(" ",ve("label")),Se.push(Ye),Se;case"LabeledStatement":return"EmptyStatement"===be.body.type?[ve("label"),":;"]:[ve("label"),": ",ve("body")];case"TryStatement":return["try ",ve("block"),be.handler?[" ",ve("handler")]:"",be.finalizer?[" finally ",ve("finalizer")]:""];case"CatchClause":if(be.param){let Ie=E(be.param,(Je=>!v(Je)||Je.leading&&s(Be.originalText,d(Je))||Je.trailing&&s(Be.originalText,o(Je),{backwards:!0}))),Oe=ve("param");return["catch ",Ie?["(",p([i,Oe]),i,") "]:["(",Oe,") "],ve("body")]}return["catch ",ve("body")];case"SwitchStatement":return[l(["switch (",p([i,ve("discriminant")]),i,")"])," {",be.cases.length>0?p([u,a(u,Ce.map(((Ie,Oe,Je)=>{let Te=Ie.getValue();return[ve(),Oe!==Je.length-1&&P(Te,Be)?u:""]}),"cases"))]):"",u,"}"];case"SwitchCase":{be.test?Se.push("case ",ve("test"),":"):Se.push("default:"),E(be,N.Dangling)&&Se.push(" ",t(Ce,Be,!0));let Ie=be.consequent.filter((Oe=>"EmptyStatement"!==Oe.type));if(Ie.length>0){let Oe=pe(Ce,Be,ve);Se.push(1===Ie.length&&"BlockStatement"===Ie[0].type?[" ",Oe]:p([u,Oe]))}return Se}case"DebuggerStatement":return["debugger",Ye];case"ClassDeclaration":case"ClassExpression":return U(Ce,Be,ve);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Z(Ce,Be,ve);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return se(Ce,Be,ve);case"TemplateElement":return y(be.value.raw);case"TemplateLiteral":return ue(Ce,ve,Be);case"TaggedTemplateExpression":return[ve("tag"),ve("typeParameters"),ve("quasi")];case"PrivateIdentifier":return["#",ve("name")];case"PrivateName":return["#",ve("id")];case"InterpreterDirective":return Se.push("#!",be.value,u),P(be,Be)&&Se.push(u),Se;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{Se.push("module {");let Ie=ve("body");return Ie&&Se.push(p([u,Ie]),u),Se.push("}"),Se}default:throw new Error("unknown type: "+JSON.stringify(be.type))}}(Ce,Be,ve,ze);if(!be)return"";let Ye=Ce.getValue(),{type:Se}=Ye;if("ClassMethod"===Se||"ClassPrivateMethod"===Se||"ClassProperty"===Se||"ClassAccessorProperty"===Se||"AccessorProperty"===Se||"TSAbstractAccessorProperty"===Se||"PropertyDefinition"===Se||"TSAbstractPropertyDefinition"===Se||"ClassPrivateProperty"===Se||"MethodDefinition"===Se||"TSAbstractMethodDefinition"===Se||"TSDeclareMethod"===Se)return be;let Ie=[be],Oe=A(Ce,Be,ve),Je="ClassExpression"===Ye.type&&Oe;if(Oe&&(Ie=[...Oe,be],!Je))return l(Ie);if(!F(Ce,Be))return ze&&ze.needsSemi&&Ie.unshift(";"),1===Ie.length&&Ie[0]===be?be:Ie;if(Je&&(Ie=[p([n,...Ie])]),Ie.unshift("("),ze&&ze.needsSemi&&Ie.unshift(";"),w(Ye)){let[je]=Ye.trailingComments;Ie.push(" /*",je.value.trimStart(),"*/"),je.printed=!0}return Je&&Ie.push(n),Ie.push(")"),Ie},embed:h,insertPragma:c,massageAstNode:g,hasPrettierIgnore:Ce=>D(Ce)||M(Ce),willPrintOwnComments:f.willPrintOwnComments,canAttachComment:function ye(Ce){return Ce.type&&!v(Ce)&&!I(Ce)&&"EmptyStatement"!==Ce.type&&"TemplateElement"!==Ce.type&&"Import"!==Ce.type&&"TSEmptyBodyFunctionExpression"!==Ce.type},printComment:Ee,isBlockComment:v,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),Ed=te({"src/language-js/printer-estree-json.js"(e,r){ne();var{builders:{hardline:t,indent:s,join:a}}=qe(),n=Fo();function i(y){return"key"===y.getName()&&"ObjectProperty"===y.getParentNode().type}var l=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function p(y,h){let{type:g}=y;if("ObjectProperty"!==g){if("UnaryExpression"===g&&"+"===y.operator)return h.argument;if("ArrayExpression"!==g)return"TemplateLiteral"===g?{type:"StringLiteral",value:y.quasis[0].value.cooked}:void 0;for(let[c,f]of y.elements.entries())null===f&&h.elements.splice(c,0,{type:"NullLiteral"})}else{let{key:c}=y;"Identifier"===c.type?h.key={type:"StringLiteral",value:c.name}:"NumericLiteral"===c.type&&(h.key={type:"StringLiteral",value:String(c.value)})}}p.ignoredProperties=l,r.exports={preprocess:n,print:function u(y,h,g){let c=y.getValue();switch(c.type){case"JsonRoot":return[g("node"),t];case"ArrayExpression":{if(0===c.elements.length)return"[]";let f=y.map((()=>null===y.getValue()?"null":g()),"elements");return["[",s([t,a([",",t],f)]),t,"]"]}case"ObjectExpression":return 0===c.properties.length?"{}":["{",s([t,a([",",t],y.map(g,"properties"))]),t,"}"];case"ObjectProperty":return[g("key"),": ",g("value")];case"UnaryExpression":return["+"===c.operator?"":c.operator,g("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return c.value?"true":"false";case"StringLiteral":return JSON.stringify(c.value);case"NumericLiteral":return i(y)?JSON.stringify(String(c.value)):JSON.stringify(c.value);case"Identifier":return i(y)?JSON.stringify(c.name):c.name;case"TemplateLiteral":return g(["quasis",0]);case"TemplateElement":return JSON.stringify(c.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(c.type))}},massageAstNode:p}}}),Mt=te({"src/common/common-options.js"(e,r){ne();var t="Common";r.exports={bracketSpacing:{since:"0.0.0",category:t,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:t,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:t,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:t,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:t,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Fd=te({"src/language-js/options.js"(e,r){ne();var t=Mt(),s="JavaScript";r.exports={arrowParens:{since:"1.9.0",category:s,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:t.bracketSameLine,bracketSpacing:t.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:s,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:s,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:t.singleQuote,jsxSingleQuote:{since:"1.15.0",category:s,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:s,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:s,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:t.singleAttributePerLine}}}),Ad=te({"src/language-js/parse/parsers.js"(){ne()}}),Ln=te({"node_modules/linguist-languages/data/JavaScript.json"(e,r){r.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),Sd=te({"node_modules/linguist-languages/data/TypeScript.json"(e,r){r.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),xd=te({"node_modules/linguist-languages/data/TSX.json"(e,r){r.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),wa=te({"node_modules/linguist-languages/data/JSON.json"(e,r){r.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),bd=te({"node_modules/linguist-languages/data/JSON with Comments.json"(e,r){r.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),Td=te({"node_modules/linguist-languages/data/JSON5.json"(e,r){r.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Bd=te({"src/language-js/index.js"(e,r){ne();var t=_t(),s=Cd(),a=Ed(),n=Fd(),u=Ad(),i=[t(Ln(),(p=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...p.interpreters,"zx"],extensions:[...p.extensions.filter((y=>".jsx"!==y)),".wxs"]}))),t(Ln(),(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),t(Ln(),(()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}))),t(Sd(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}))),t(xd(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),t(wa(),(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]}))),t(wa(),(p=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:p.extensions.filter((y=>".jsonl"!==y))}))),t(bd(),(p=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...p.filenames,".eslintrc",".swcrc"]}))),t(Td(),(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],l={estree:s,"estree-json":a};r.exports={languages:i,options:n,printers:l,parsers:u}}}),Nd=te({"src/language-css/clean.js"(e,r){ne();var{isFrontMatterNode:t}=Ue(),s=lt(),a=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function n(i,l,p){if(t(i)&&"yaml"===i.lang&&delete l.value,"css-comment"===i.type&&"css-root"===p.type&&p.nodes.length>0&&((p.nodes[0]===i||t(p.nodes[0])&&p.nodes[1]===i)&&(delete l.text,/^\*\s*@(?:format|prettier)\s*$/.test(i.text))||"css-root"===p.type&&s(p.nodes)===i))return null;if("value-root"===i.type&&delete l.text,("media-query"===i.type||"media-query-list"===i.type||"media-feature-expression"===i.type)&&delete l.value,"css-rule"===i.type&&delete l.params,"selector-combinator"===i.type&&(l.value=l.value.replace(/\s+/g," ")),"media-feature"===i.type&&(l.value=l.value.replace(/ /g,"")),("value-word"===i.type&&(i.isColor&&i.isHex||["initial","inherit","unset","revert"].includes(l.value.replace().toLowerCase()))||"media-feature"===i.type||"selector-root-invalid"===i.type||"selector-pseudo"===i.type)&&(l.value=l.value.toLowerCase()),"css-decl"===i.type&&(l.prop=l.prop.toLowerCase()),("css-atrule"===i.type||"css-import"===i.type)&&(l.name=l.name.toLowerCase()),"value-number"===i.type&&(l.unit=l.unit.toLowerCase()),("media-feature"===i.type||"media-keyword"===i.type||"media-type"===i.type||"media-unknown"===i.type||"media-url"===i.type||"media-value"===i.type||"selector-attribute"===i.type||"selector-string"===i.type||"selector-class"===i.type||"selector-combinator"===i.type||"value-string"===i.type)&&l.value&&(l.value=function u(i){return i.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}(l.value)),"selector-attribute"===i.type&&(l.attribute=l.attribute.trim(),l.namespace&&"string"==typeof l.namespace&&(l.namespace=l.namespace.trim(),0===l.namespace.length&&(l.namespace=!0)),l.value&&(l.value=l.value.trim().replace(/^["']|["']$/g,""),delete l.quoted)),("media-value"===i.type||"media-type"===i.type||"value-number"===i.type||"selector-root-invalid"===i.type||"selector-class"===i.type||"selector-combinator"===i.type||"selector-tag"===i.type)&&l.value&&(l.value=l.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,((y,h,g)=>{let c=Number(h);return Number.isNaN(c)?y:c+g.toLowerCase()}))),"selector-tag"===i.type){let y=i.value.toLowerCase();["from","to"].includes(y)&&(l.value=y)}if("css-atrule"===i.type&&"supports"===i.name.toLowerCase()&&delete l.value,"selector-unknown"===i.type&&delete l.value,"value-comma_group"===i.type){let y=i.groups.findIndex((h=>"value-number"===h.type&&"..."===h.unit));-1!==y&&(l.groups[y].unit="",l.groups.splice(y+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}return"value-comma_group"===i.type&&i.groups.some((y=>"value-atword"===y.type&&y.value.endsWith("[")||"value-word"===y.type&&y.value.startsWith("]")))?{type:"value-atword",value:i.groups.map((y=>y.value)).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}:void 0}n.ignoredProperties=a,r.exports=n}}),su=te({"src/utils/front-matter/print.js"(e,r){ne();var{builders:{hardline:t,markAsRoot:s}}=qe();r.exports=function a(n,u){if("yaml"===n.lang){let i=n.value.trim(),l=i?u(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return s([n.startDelimiter,t,l,l?t:"",n.endDelimiter])}}}}),wd=te({"src/language-css/embed.js"(e,r){ne();var{builders:{hardline:t}}=qe(),s=su();r.exports=function a(n,u,i){let l=n.getValue();if("front-matter"===l.type){let p=s(l,i);return p?[p,t]:""}}}}),_o=te({"src/utils/front-matter/parse.js"(e,r){ne();var t=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");r.exports=function s(a){let n=a.match(t);if(!n)return{content:a};let{startDelimiter:u,language:i,value:l="",endDelimiter:p}=n.groups,y=i.trim()||"yaml";if("+++"===u&&(y="toml"),"yaml"!==y&&u!==p)return{content:a};let[h]=n;return{frontMatter:{type:"front-matter",lang:y,value:l,startDelimiter:u,endDelimiter:p,raw:h.replace(/\n$/,"")},content:h.replace(/[^\n]/g," ")+a.slice(h.length)}}}}),_d=te({"src/language-css/pragma.js"(e,r){ne();var t=Co(),s=_o();r.exports={hasPragma:function a(u){return t.hasPragma(s(u).content)},insertPragma:function n(u){let{frontMatter:i,content:l}=s(u);return(i?i.raw+"\n\n":"")+t.insertPragma(l)}}}}),Pd=te({"src/language-css/utils/index.js"(e,r){ne();var t=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function s(z,U){let fe,Z=Array.isArray(U)?U:[U],se=-1;for(;fe=z.getParentNode(++se);)if(Z.includes(fe.type))return se;return-1}function a(z,U){let Z=s(z,U);return-1===Z?null:z.getParentNode(Z)}var u=new Set(["initial","inherit","unset","revert"]);function x(z){return"value-operator"===z.type&&"*"===z.value}function I(z){return"value-operator"===z.type&&"/"===z.value}function P(z){return"value-operator"===z.type&&"+"===z.value}function $(z){return"value-operator"===z.type&&"-"===z.value}function D(z){return"value-operator"===z.type&&"%"===z.value}function R(z){var U,Z;return"value-comma_group"===z.type&&"value-colon"===(null===(U=z.groups)||void 0===U||null===(Z=U[1])||void 0===Z?void 0:Z.type)}function q(z){var U;return"value-paren_group"===z.type&&(null===(U=z.groups)||void 0===U?void 0:U[0])&&R(z.groups[0])}function ie(z){return"value-colon"===z?.type}r.exports={getAncestorCounter:s,getAncestorNode:a,getPropOfDeclNode:function n(z){var U;let Z=a(z,"css-decl");return null==Z||null===(U=Z.prop)||void 0===U?void 0:U.toLowerCase()},maybeToLowerCase:function p(z){return z.includes("$")||z.includes("@")||z.includes("#")||z.startsWith("%")||z.startsWith("--")||z.startsWith(":--")||z.includes("(")&&z.includes(")")?z:z.toLowerCase()},insideValueFunctionNode:function y(z,U){var Z;let se=a(z,"value-func");return(null==se||null===(Z=se.value)||void 0===Z?void 0:Z.toLowerCase())===U},insideICSSRuleNode:function h(z){var U;let Z=a(z,"css-rule"),se=null==Z||null===(U=Z.raws)||void 0===U?void 0:U.selector;return se&&(se.startsWith(":import")||se.startsWith(":export"))},insideAtRuleNode:function g(z,U){let Z=Array.isArray(U)?U:[U],se=a(z,"css-atrule");return se&&Z.includes(se.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function c(z){let U=z.getValue(),Z=a(z,"css-atrule");return"import"===Z?.name&&"url"===U.groups[0].value&&2===U.groups.length},isKeyframeAtRuleKeywords:function l(z,U){let Z=a(z,"css-atrule");return Z?.name&&Z.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(U.toLowerCase())},isWideKeywords:function i(z){return u.has(z.toLowerCase())},isLastNode:function F(z,U){var Z;let se=null===(Z=z.getParentNode())||void 0===Z?void 0:Z.nodes;return se&&se.indexOf(U)===se.length-1},isSCSSControlDirectiveNode:function o(z){return"css-atrule"===z.type&&["if","else","for","each","while"].includes(z.name)},isDetachedRulesetDeclarationNode:function _(z){let{selector:U}=z;return!!U&&("string"==typeof U&&/^@.+:.*$/.test(U)||U.value&&/^@.+:.*$/.test(U.value))},isRelationalOperatorNode:function C(z){return"value-word"===z.type&&["<",">","<=",">="].includes(z.value)},isEqualityOperatorNode:function m(z){return"value-word"===z.type&&["==","!="].includes(z.value)},isMultiplicationNode:x,isDivisionNode:I,isAdditionNode:P,isSubtractionNode:$,isModuloNode:D,isMathOperatorNode:function T(z){return x(z)||I(z)||P(z)||$(z)||D(z)},isEachKeywordNode:function N(z){return"value-word"===z.type&&"in"===z.value},isForKeywordNode:function w(z){return"value-word"===z.type&&["from","through","end"].includes(z.value)},isURLFunctionNode:function f(z){return"value-func"===z.type&&"url"===z.value.toLowerCase()},isIfElseKeywordNode:function E(z){return"value-word"===z.type&&["and","or","not"].includes(z.value)},hasComposesNode:function B(z){var U,Z;return"value-root"===(null===(U=z.value)||void 0===U?void 0:U.type)&&"value-value"===(null===(Z=z.value.group)||void 0===Z?void 0:Z.type)&&"composes"===z.prop.toLowerCase()},hasParensAroundNode:function k(z){var U,Z,se;return"value-paren_group"===(null===(U=z.value)||void 0===U||null===(Z=U.group)||void 0===Z||null===(se=Z.group)||void 0===se?void 0:se.type)&&null!==z.value.group.group.open&&null!==z.value.group.group.close},hasEmptyRawBefore:function M(z){var U;return""===(null===(U=z.raws)||void 0===U?void 0:U.before)},isDetachedRulesetCallNode:function d(z){var U;return(null===(U=z.raws)||void 0===U?void 0:U.params)&&/^\(\s*\)$/.test(z.raws.params)},isTemplatePlaceholderNode:function v(z){return z.name.startsWith("prettier-placeholder")},isTemplatePropNode:function S(z){return z.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function b(z,U){return"$$"===z.value&&"value-func"===z.type&&"value-word"===U?.type&&!U.raws.before},isKeyValuePairNode:R,isKeyValuePairInParenGroupNode:q,isKeyInValuePairNode:function ee(z,U){if(!R(U))return!1;let{groups:Z}=U,se=Z.indexOf(z);return-1!==se&&ie(Z[se+1])},isSCSSMapItemNode:function J(z){var U;let Z=z.getValue();if(0===Z.groups.length)return!1;let se=z.getParentNode(1);if(!(q(Z)||se&&q(se)))return!1;let fe=a(z,"css-decl");return!!(null!=fe&&null!==(U=fe.prop)&&void 0!==U&&U.startsWith("$")||q(se)||"value-func"===se.type)},isInlineValueCommentNode:function L(z){return"value-comment"===z.type&&z.inline},isHashNode:function Q(z){return"value-word"===z.type&&"#"===z.value},isLeftCurlyBraceNode:function V(z){return"value-word"===z.type&&"{"===z.value},isRightCurlyBraceNode:function j(z){return"value-word"===z.type&&"}"===z.value},isWordNode:function Y(z){return["value-word","value-atword"].includes(z.type)},isColonNode:ie,isMediaAndSupportsKeywords:function ce(z){return z.value&&["not","and","or"].includes(z.value.toLowerCase())},isColorAdjusterFuncNode:function W(z){return"value-func"===z.type&&t.has(z.value.toLowerCase())},lastLineHasInlineComment:function K(z){return/\/\//.test(z.split(/[\n\r]/).pop())},isAtWordPlaceholderNode:function de(z){return"value-atword"===z?.type&&z.value.startsWith("prettier-placeholder-")},isConfigurationNode:function ue(z,U){var Z,se;if("("!==(null===(Z=z.open)||void 0===Z?void 0:Z.value)||")"!==(null===(se=z.close)||void 0===se?void 0:se.value)||z.groups.some((fe=>"value-comma_group"!==fe.type)))return!1;if("value-comma_group"===U.type){let fe=U.groups.indexOf(z)-1,ge=U.groups[fe];if("value-word"===ge?.type&&"with"===ge.value)return!0}return!1},isParenGroupNode:function Fe(z){var U,Z;return"value-paren_group"===z.type&&"("===(null===(U=z.open)||void 0===U?void 0:U.value)&&")"===(null===(Z=z.close)||void 0===Z?void 0:Z.value)}}}}),Id=te({"src/utils/line-column-to-index.js"(e,r){ne(),r.exports=function(t,s){let a=0;for(let n=0;n{let We=Ve[tt-1];if(We&&"css-comment"===We.type&&"prettier-ignore"===We.text.trim()){let Xe=nt.getValue();ae.push(je.originalText.slice(Ae(Xe),Ee(Xe)))}else ae.push(Me());tt!==Ve.length-1&&("css-comment"===Ve[tt+1].type&&!n(je.originalText,Ae(Ve[tt+1]),{backwards:!0})&&!u(Ve[tt])||"css-atrule"===Ve[tt+1].type&&"else"===Ve[tt+1].name&&"css-comment"!==Ve[tt].type?ae.push(" "):(ae.push(je.__isHTMLStyleAttribute?y:h),i(je.originalText,nt.getValue(),Ee)&&!u(Ve[tt])&&ae.push(h)))}),"nodes"),ae}var Be=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ye=new RegExp(Be.source+`|(${/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source})?(${/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source})(${/[A-Za-z]+/g.source})?`,"g");function Se(Te,je){return Te.replace(Be,(Me=>a(Me,je)))}function Ie(Te,je){let Me=je.singleQuote?"'":'"';return Te.includes('"')||Te.includes("'")?Te:Me+Te+Me}function Oe(Te){return Te.replace(Ye,((je,Me,ae,nt,tt)=>!ae&&nt?Je(nt)+m(tt||""):je))}function Je(Te){return s(Te).replace(/\.0(?=$|e)/,"")}r.exports={print:function ye(Te,je,Me){let ae=Te.getValue();if(!ae)return"";if("string"==typeof ae)return ae;switch(ae.type){case"front-matter":return[ae.raw,h];case"css-root":{let Ve=Ce(Te,je,Me),We=ae.raws.after.trim();return We.startsWith(";")&&(We=We.slice(1).trim()),[Ve,We?` ${We}`:"",x(Ve).length>0?h:""]}case"css-comment":{let Ve=ae.inline||ae.raws.inline,We=je.originalText.slice(Ae(ae),Ee(ae));return Ve?We.trimEnd():We}case"css-rule":return[Me("selector"),ae.important?" !important":"",ae.nodes?[ae.selector&&"selector-unknown"===ae.selector.type&&H(ae.selector.value)?y:" ","{",ae.nodes.length>0?F([h,Ce(Te,je,Me)]):"",h,"}",M(ae)?";":""]:";"];case"css-decl":{let Ve=Te.getParentNode(),{between:We}=ae.raws,Xe=We.trim(),st=":"===Xe,O=W(ae)?N(Me("value")):Me("value");return!st&&H(Xe)&&(O=F([h,_(O)])),[ae.raws.before.replace(/[\s;]/g,""),"css-atrule"===Ve.type&&Ve.variable||o(Te)?ae.prop:m(ae.prop),Xe.startsWith("//")?" ":"",Xe,ae.extend?"":" ",De(je)&&ae.extend&&ae.selector?["extend(",Me("selector"),")"]:"",O,ae.raws.important?ae.raws.important.replace(/\s*!\s*important/i," !important"):ae.important?" !important":"",ae.raws.scssDefault?ae.raws.scssDefault.replace(/\s*!default/i," !default"):ae.scssDefault?" !default":"",ae.raws.scssGlobal?ae.raws.scssGlobal.replace(/\s*!global/i," !global"):ae.scssGlobal?" !global":"",ae.nodes?[" {",F([g,Ce(Te,je,Me)]),g,"}"]:Z(ae)&&!Ve.raws.semicolon&&";"!==je.originalText[Ee(ae)-1]?"":je.__isHTMLStyleAttribute&&B(Te,ae)?w(";"):";"]}case"css-atrule":{let Ve=Te.getParentNode(),We=U(ae)&&!Ve.raws.semicolon&&";"!==je.originalText[Ee(ae)-1];if(De(je)){if(ae.mixin)return[Me("selector"),ae.important?" !important":"",We?"":";"];if(ae.function)return[ae.name,Me("params"),We?"":";"];if(ae.variable)return["@",ae.name,": ",ae.value?Me("value"):"",ae.raws.between.trim()?ae.raws.between.trim()+" ":"",ae.nodes?["{",F([ae.nodes.length>0?g:"",Ce(Te,je,Me)]),g,"}"]:"",We?"":";"]}return["@",z(ae)||ae.name.endsWith(":")?ae.name:m(ae.name),ae.params?[z(ae)?"":U(ae)?""===ae.raws.afterName?"":ae.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(ae.raws.afterName)?[h,h]:/^\s*\n/.test(ae.raws.afterName)?h:" ":" ",Me("params")]:"",ae.selector?F([" ",Me("selector")]):"",ae.value?c([" ",Me("value"),k(ae)?K(ae)?" ":y:""]):"else"===ae.name?" ":"",ae.nodes?[k(ae)?"":ae.selector&&!ae.selector.nodes&&"string"==typeof ae.selector.value&&H(ae.selector.value)||!ae.selector&&"string"==typeof ae.params&&H(ae.params)?y:" ","{",F([ae.nodes.length>0?g:"",Ce(Te,je,Me)]),g,"}"]:We?"":";"]}case"media-query-list":{let Ve=[];return Te.each((We=>{let Xe=We.getValue();"media-query"===Xe.type&&""===Xe.value||Ve.push(Me())}),"nodes"),c(F(p(y,Ve)))}case"media-query":return[p(" ",Te.map(Me,"nodes")),B(Te,ae)?"":","];case"media-type":case"media-value":return Oe(Se(ae.value,je));case"media-feature-expression":return ae.nodes?["(",...Te.map(Me,"nodes"),")"]:ae.value;case"media-feature":return m(Se(ae.value.replace(/ +/g," "),je));case"media-colon":case"value-comma":return[ae.value," "];case"media-keyword":case"selector-string":return Se(ae.value,je);case"media-url":return Se(ae.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),je);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return ae.value;case"selector-root":return c([d(Te,"custom-selector")?[D(Te,"css-atrule").customSelector,y]:"",p([",",d(Te,["extend","custom-selector","nest"])?y:h],Te.map(Me,"nodes"))]);case"selector-selector":return c(F(Te.map(Me,"nodes")));case"selector-tag":{let Ve=Te.getParentNode(),We=Ve&&Ve.nodes.indexOf(ae),Xe=We&&Ve.nodes[We-1];return[ae.namespace?[!0===ae.namespace?"":ae.namespace.trim(),"|"]:"","selector-nesting"===Xe.type?ae.value:Oe(S(Te,ae.value)?ae.value.toLowerCase():ae.value)]}case"selector-id":return["#",ae.value];case"selector-class":return[".",Oe(Se(ae.value,je))];case"selector-attribute":var nt;return["[",ae.namespace?[!0===ae.namespace?"":ae.namespace.trim(),"|"]:"",ae.attribute.trim(),null!==(nt=ae.operator)&&void 0!==nt?nt:"",ae.value?Ie(Se(ae.value.trim(),je),je):"",ae.insensitive?" i":"","]"];case"selector-combinator":if("+"===ae.value||">"===ae.value||"~"===ae.value||">>>"===ae.value){let Xe=Te.getParentNode();return["selector-selector"===Xe.type&&Xe.nodes[0]===ae?"":y,ae.value,B(Te,ae)?"":" "]}return[ae.value.trim().startsWith("(")?y:"",Oe(Se(ae.value.trim(),je))||y];case"selector-universal":return[ae.namespace?[!0===ae.namespace?"":ae.namespace.trim(),"|"]:"",ae.value];case"selector-pseudo":return[m(ae.value),l(ae.nodes)?c(["(",F([g,p([",",y],Te.map(Me,"nodes"))]),g,")"]):""];case"selector-unknown":{let Ve=D(Te,"css-rule");if(Ve&&Ve.isSCSSNesterProperty)return Oe(Se(m(ae.value),je));let We=Te.getParentNode();if(We.raws&&We.raws.selector){let st=Ae(We),O=st+We.raws.selector.length;return je.originalText.slice(st,O).trim()}let Xe=Te.getParentNode(1);if("value-paren_group"===We.type&&Xe&&"value-func"===Xe.type&&"selector"===Xe.value){let st=Ee(We.open)+1,O=Ae(We.close),me=je.originalText.slice(st,O).trim();return H(me)?[E,me]:me}return ae.value}case"value-value":case"value-root":return Me("group");case"value-comment":return je.originalText.slice(Ae(ae),Ee(ae));case"value-comma_group":{let Ve=Te.getParentNode(),We=Te.getParentNode(1),Xe=T(Te),st=Xe&&"value-value"===Ve.type&&("grid"===Xe||Xe.startsWith("grid-template")),O=D(Te,"css-atrule"),me=O&&k(O),_e=ae.groups.some((at=>ge(at))),He=Te.map(Me,"groups"),Ge=[],it=C(Te,"url"),Qe=!1,rt=!1;for(let at=0;atVr:-1!==$r?Qe=!0:-1!==Vr&&(Qe=!1)}if(Qe||Ne(Le)||Ne($e)||"value-atword"===Le.type&&(""===Le.value||Le.value.endsWith("["))||"value-word"===$e.type&&$e.value.startsWith("]")||"~"===Le.value||Le.value&&Le.value.includes("\\")&&$e&&"value-comment"!==$e.type||Ze&&Ze.value&&Ze.value.indexOf("\\")===Ze.value.length-1&&"value-operator"===Le.type&&"/"===Le.value||"\\"===Le.value||se(Le,$e)||he(Le)||we(Le)||ke($e)||we($e)&&de($e)||ke(Le)&&de($e)||"--"===Le.value&&he($e))continue;let Rr=j(Le),ou=j($e);if((Rr&&he($e)||ou&&ke(Le))&&de($e)||!Ze&&L(Le)||C(Te,"calc")&&(Q(Le)||Q($e)||V(Le)||V($e))&&de($e))continue;let qo=(Q(Le)||V(Le))&&0===at&&("value-number"===$e.type||$e.isHex)&&We&&oe(We)&&!de($e),lu=sr&&"value-func"===sr.type||sr&&Re(sr)||"value-func"===Le.type||Re(Le),cu="value-func"===$e.type||Re($e)||Ze&&"value-func"===Ze.type||Ze&&Re(Ze);if((J($e)||J(Le)||C(Te,"calc")||qo||!(L($e)&&!lu||L(Le)&&!cu||Q($e)&&!lu||Q(Le)&&!cu||V($e)||V(Le))||!(de($e)||Rr&&(!Ze||Ze&&j(Ze))))&&("scss"!==je.parser&&"less"!==je.parser||!Rr||"-"!==Le.value||!le($e)||Ee(Le)!==Ae($e.open)||"("!==$e.open.value)){if(ge(Le)){if("value-paren_group"===Ve.type){Ge.push(_(h));continue}Ge.push(h);continue}if(me&&(q($e)||R($e)||ce($e)||Y(Le)||ie(Le))){Ge.push(" ");continue}if(O&&"namespace"===O.name.toLowerCase()){Ge.push(" ");continue}if(st){Le.source&&$e.source&&Le.source.start.line!==$e.source.start.line?(Ge.push(h),rt=!0):Ge.push(" ");continue}if(ou){Ge.push(" ");continue}if(!($e&&"..."===$e.value||pe(Le)&&pe($e)&&Ee(Le)===Ae($e))){if(pe(Le)&&le($e)&&Ee(Le)===Ae($e.open)){Ge.push(g);continue}if("with"===Le.value&&le($e)){Ge.push(" ");continue}null!==(tt=Le.value)&&void 0!==tt&&tt.endsWith("#")&&"{"===$e.value&&le($e.group)||Ge.push(y)}}}return _e&&Ge.push(E),rt&&Ge.unshift(h),me?c(F(Ge)):v(Te)?c(f(Ge)):c(F(f(Ge)))}case"value-paren_group":{let Ve=Te.getParentNode();if(Ve&&ee(Ve)&&(1===ae.groups.length||ae.groups.length>0&&"value-comma_group"===ae.groups[0].type&&ae.groups[0].groups.length>0&&"value-word"===ae.groups[0].groups[0].type&&ae.groups[0].groups[0].value.startsWith("data:")))return[ae.open?Me("open"):"",p(",",Te.map(Me,"groups")),ae.close?Me("close"):""];if(!ae.open){let it=Te.map(Me,"groups"),Qe=[];for(let rt=0;rt{let rt=it.getValue(),at=Qe===ae.groups.length-1,Ze=[Me(),at?"":","];if(ue(rt)&&"value-comma_group"===rt.type&&rt.groups&&"value-paren_group"!==rt.groups[0].type&&rt.groups[2]&&"value-paren_group"===rt.groups[2].type){let Le=x(Ze[0].contents.contents);Le[1]=c(Le[1]),Ze=[c(_(Ze))]}if(!at&&"value-comma_group"===rt.type&&l(rt.groups)){let Le=t(rt.groups);!Le.source&&Le.close&&(Le=Le.close),Le.source&&i(je.originalText,Le,Ee)&&Ze.push(h)}return Ze}),"groups"))]),w(!st&&A(je.parser,je.originalText)&&We&&re(je)?",":""),g,ae.close?Me("close"):""],{shouldBreak:_e});return He?_(Ge):Ge}case"value-func":return[ae.value,d(Te,"supports")&&Pe(ae)?" ":"",Me("group")];case"value-number":return[Je(ae.value),G(ae.unit)];case"value-word":return ae.isColor&&ae.isHex||b(ae.value)?ae.value.toLowerCase():ae.value;case"value-colon":{let Ve=Te.getParentNode(),We=Ve&&Ve.groups.indexOf(ae),Xe=We&&Ve.groups[We-1];return[ae.value,Xe&&"string"==typeof Xe.value&&"\\"===t(Xe.value)||C(Te,"url")?"":y]}case"value-string":return a(ae.raws.quote+ae.value+ae.raws.quote,je);case"value-atword":return["@",ae.value];default:throw new Error(`Unknown postcss type ${JSON.stringify(ae.type)}`)}},embed:P,insertPragma:$,massageAstNode:I}}}),Rd=te({"src/language-css/options.js"(e,r){ne();var t=Mt();r.exports={singleQuote:t.singleQuote}}}),$d=te({"src/language-css/parsers.js"(){ne()}}),Vd=te({"node_modules/linguist-languages/data/CSS.json"(e,r){r.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Wd=te({"node_modules/linguist-languages/data/PostCSS.json"(e,r){r.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Hd=te({"node_modules/linguist-languages/data/Less.json"(e,r){r.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),Gd=te({"node_modules/linguist-languages/data/SCSS.json"(e,r){r.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Ud=te({"src/language-css/index.js"(e,r){ne();var t=_t(),s=Md(),a=Rd(),n=$d(),u=[t(Vd(),(l=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...l.extensions,".wxss"]}))),t(Wd(),(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),t(Hd(),(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),t(Gd(),(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],i={postcss:s};r.exports={languages:u,options:a,printers:i,parsers:n}}}),Jd=te({"src/language-handlebars/loc.js"(e,r){ne(),r.exports={locStart:function t(a){return a.loc.start.offset},locEnd:function s(a){return a.loc.end.offset}}}}),zd=te({"src/language-handlebars/clean.js"(e,r){function t(s,a){if("TextNode"===s.type){let n=s.chars.trim();if(!n)return null;a.chars=n.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===s.type&&"class"===s.name.toLowerCase()&&delete a.value}ne(),t.ignoredProperties=new Set(["loc","selfClosing"]),r.exports=t}}),Xd=te({"src/language-handlebars/html-void-elements.evaluate.js"(e,r){r.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),Kd=te({"src/language-handlebars/utils.js"(e,r){ne();var t=lt(),s=Xd();function n(x){return x.toUpperCase()===x}var i=new Set(s);function y(x){return h(x,["TextNode"])&&!/\S/.test(x.chars)}function h(x,I){return x&&I.includes(x.type)}function g(x,I){return h(x.getParentNode(0),I)}function F(x,I){var P,$,D,T;let m=x.getValue(),C=null!==(P=x.getParentNode(0))&&void 0!==P?P:{},o=null!==($=null!==(D=null!==(T=C.children)&&void 0!==T?T:C.body)&&void 0!==D?D:C.parts)&&void 0!==$?$:[],d=o.indexOf(m);return-1!==d&&o[d+I]}function _(x){return F(x,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function w(x){return F(x,1)}function E(x){return h(x,["MustacheCommentStatement"])&&"string"==typeof x.value&&"prettier-ignore"===x.value.trim()}r.exports={getNextNode:w,getPreviousNode:_,hasPrettierIgnore:function N(x){let I=x.getValue(),P=_(x,2);return E(I)||E(P)},isLastNodeOfSiblings:function a(x){let I=x.getValue(),P=x.getParentNode(0);return!!(g(x,["ElementNode"])&&t(P.children)===I||g(x,["Block"])&&t(P.body)===I)},isNextNodeOfSomeType:function f(x,I){return h(w(x),I)},isNodeOfSomeType:h,isParentOfSomeType:g,isPreviousNodeOfSomeType:function c(x,I){return h(_(x),I)},isVoid:function p(x){return!0===x.selfClosing||function l(x){return i.has(x.toLowerCase())&&!n(x[0])}(x.tag)||function u(x){return h(x,["ElementNode"])&&"string"==typeof x.tag&&!x.tag.startsWith(":")&&(n(x.tag[0])||x.tag.includes("."))}(x)&&x.children.every((I=>y(I)))},isWhitespaceNode:y}}}),Yd=te({"src/language-handlebars/printer-glimmer.js"(e,r){ne();var{builders:{dedent:t,fill:s,group:a,hardline:n,ifBreak:u,indent:i,join:l,line:p,softline:y},utils:{getDocParts:h,replaceTextEndOfLine:g}}=qe(),{getPreferredQuote:c,isNonEmptyArray:f}=Ue(),{locStart:F,locEnd:_}=Jd(),w=zd(),{getNextNode:E,getPreviousNode:N,hasPrettierIgnore:x,isLastNodeOfSiblings:I,isNextNodeOfSomeType:P,isNodeOfSomeType:$,isParentOfSomeType:D,isPreviousNodeOfSomeType:T,isVoid:m,isWhitespaceNode:C}=Kd();function v(H,pe){return F(H)-F(pe)}function b(H,pe,X){let Ae=H.getValue().children.every((Ee=>C(Ee)));return"ignore"===pe.htmlWhitespaceSensitivity&&Ae?"":H.map(((Ee,De)=>{let A=X();return 0===De&&"ignore"===pe.htmlWhitespaceSensitivity?[y,A]:A}),"children")}function B(H){return m(H)?u([y,"/>"],[" />",y]):u([y,">"],">")}function k(H){return[!1===H.escaped?"{{{":"{{",H.strip&&H.strip.open?"~":""]}function M(H){let pe=!1===H.escaped?"}}}":"}}";return[H.strip&&H.strip.close?"~":"",pe]}function R(H){return[k(H),H.openStrip.open?"~":"","#"]}function q(H){let pe=M(H);return[H.openStrip.close?"~":"",pe]}function J(H){return[k(H),H.closeStrip.open?"~":"","/"]}function L(H){let pe=M(H);return[H.closeStrip.close?"~":"",pe]}function Q(H){return[k(H),H.inverseStrip.open?"~":""]}function V(H){let pe=M(H);return[H.inverseStrip.close?"~":"",pe]}function j(H,pe){let X=H.getValue(),le=[],Ae=Pe(H,pe);return Ae&&le.push(a(Ae)),f(X.program.blockParams)&&le.push(oe(X.program)),a([R(X),Ne(H,pe),le.length>0?i([p,l(p,le)]):"",y,q(X)])}function Y(H,pe){return["ignore"===pe.htmlWhitespaceSensitivity?n:"",Q(H),"else",V(H)]}function ie(H,pe,X){let le=H.getValue(),Ae=H.getParentNode(1);return a([Q(Ae),["else"," ",X],i([p,a(Pe(H,pe)),...f(le.program.blockParams)?[p,oe(le.program)]:[]]),y,V(Ae)])}function ee(H,pe,X){let le=H.getValue();return"ignore"===X.htmlWhitespaceSensitivity?[ce(le)?y:n,J(le),pe("path"),L(le)]:[J(le),pe("path"),L(le)]}function ce(H){return $(H,["BlockStatement"])&&H.program.body.every((pe=>C(pe)))}function K(H){return $(H,["BlockStatement"])&&H.inverse}function de(H,pe,X){if(ce(H.getValue()))return"";let Ae=pe("program");return"ignore"===X.htmlWhitespaceSensitivity?i([n,Ae]):i(Ae)}function ue(H,pe,X){let le=H.getValue(),Ae=pe("inverse"),Ee="ignore"===X.htmlWhitespaceSensitivity?[n,Ae]:Ae;return function W(H){return K(H)&&1===H.inverse.body.length&&$(H.inverse.body[0],["BlockStatement"])&&H.inverse.body[0].path.parts[0]===H.path.parts[0]}(le)?Ee:K(le)?[Y(le,X),i(Ee)]:""}function Fe(H){return h(l(p,function z(H){return H.split(/[\t\n\f\r ]+/)}(H)))}function Z(H){return(H="string"==typeof H?H:"").split("\n").length-1}function ge(){let H=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(H,2)}).fill(n)}function he(H,pe){let{quote:X,regex:le}=c(H,pe);return[X,H.replace(le,`\\${X}`),X]}function ke(H,pe){let X=Ne(H,pe),le=Pe(H,pe);return le?i([X,p,a(le)]):X}function Re(H,pe){let X=Ne(H,pe),le=Pe(H,pe);return le?[i([X,p,le]),y]:X}function Ne(H,pe){return pe("path")}function Pe(H,pe){let X=H.getValue(),le=[];if(X.params.length>0){let Ae=H.map(pe,"params");le.push(...Ae)}if(X.hash&&X.hash.pairs.length>0){let Ae=pe("hash");le.push(Ae)}return 0===le.length?"":l(p,le)}function oe(H){return["as |",H.blockParams.join(" "),"|"]}r.exports={print:function d(H,pe,X){let le=H.getValue();if(!le)return"";if(x(H))return pe.originalText.slice(F(le),_(le));let Ae=pe.singleQuote?"'":'"';switch(le.type){case"Block":case"Program":case"Template":return a(H.map(X,"body"));case"ElementNode":{let Ee=a(function S(H,pe){let X=H.getValue(),le=["attributes","modifiers","comments"].filter((Ee=>f(X[Ee]))),Ae=le.flatMap((Ee=>X[Ee])).sort(v);for(let Ee of le)H.each((De=>{let A=Ae.indexOf(De.getValue());Ae.splice(A,1,[p,pe()])}),Ee);return f(X.blockParams)&&Ae.push(p,oe(X)),["<",X.tag,i(Ae),B(X)]}(H,X)),De="ignore"===pe.htmlWhitespaceSensitivity&&P(H,["ElementNode"])?y:"";if(m(le))return[Ee,De];let A=[""];return 0===le.children.length?[Ee,i(A),De]:"ignore"===pe.htmlWhitespaceSensitivity?[Ee,i(b(H,pe,X)),n,i(A),De]:[Ee,i(a(b(H,pe,X))),i(A),De]}case"BlockStatement":{let Ee=H.getParentNode(1);return Ee&&Ee.inverse&&1===Ee.inverse.body.length&&Ee.inverse.body[0]===le&&Ee.inverse.body[0].path.parts[0]===Ee.path.parts[0]?[ie(H,X,Ee.inverse.body[0].path.parts[0]),de(H,X,pe),ue(H,X,pe)]:[j(H,X),a([de(H,X,pe),ue(H,X,pe),ee(H,X,pe)])]}case"ElementModifierStatement":return a(["{{",Re(H,X),"}}"]);case"MustacheStatement":return a([k(le),Re(H,X),M(le)]);case"SubExpression":return a(["(",ke(H,X),y,")"]);case"AttrNode":{let Ee="TextNode"===le.value.type;if(Ee&&""===le.value.chars&&F(le.value)===_(le.value))return le.name;let A=Ee?c(le.value.chars,Ae).quote:"ConcatStatement"===le.value.type?c(le.value.parts.filter((re=>"TextNode"===re.type)).map((re=>re.chars)).join(""),Ae).quote:"",G=X("value");return[le.name,"=",A,"class"===le.name&&A?a(i(G)):G,A]}case"ConcatStatement":return H.map(X,"parts");case"Hash":return l(p,H.map(X,"pairs"));case"HashPair":return[le.key,"=",X("value")];case"TextNode":{let Ee=le.chars.replace(/{{/g,"\\{{"),De=function U(H){for(let pe=0;pe<2;pe++){let X=H.getParentNode(pe);if(X&&"AttrNode"===X.type)return X.name.toLowerCase()}}(H);if(De){if("class"===De){let Ye=Ee.trim().split(/\s+/).join(" "),Se=!1,Ie=!1;return D(H,["ConcatStatement"])&&(T(H,["MustacheStatement"])&&/^\s/.test(Ee)&&(Se=!0),P(H,["MustacheStatement"])&&/\s$/.test(Ee)&&""!==Ye&&(Ie=!0)),[Se?p:"",Ye,Ie?p:""]}return g(Ee)}let G=/^[\t\n\f\r ]*$/.test(Ee),re=!N(H),ye=!E(H);if("ignore"!==pe.htmlWhitespaceSensitivity){let Ye=/^[\t\n\f\r ]*/,Se=/[\t\n\f\r ]*$/,Ie=ye&&D(H,["Template"]),Oe=re&&D(H,["Template"]);if(G){if(Oe||Ie)return"";let ae=[p],nt=Z(Ee);return nt&&(ae=ge(nt)),I(H)&&(ae=ae.map((tt=>t(tt)))),ae}let[Je]=Ee.match(Ye),[Te]=Ee.match(Se),je=[];if(Je){je=[p];let ae=Z(Je);ae&&(je=ge(ae)),Ee=Ee.replace(Ye,"")}let Me=[];if(Te){if(!Ie){Me=[p];let ae=Z(Te);ae&&(Me=ge(ae)),I(H)&&(Me=Me.map((nt=>t(nt))))}Ee=Ee.replace(Se,"")}return[...je,s(Fe(Ee)),...Me]}let Ce=Z(Ee),Be=function se(H){H="string"==typeof H?H:"";let pe=(H.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Z(pe)}(Ee),ve=function fe(H){H="string"==typeof H?H:"";let pe=(H.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Z(pe)}(Ee);if((re||ye)&&G&&D(H,["Block","ElementNode","Template"]))return"";G&&Ce?(Be=Math.min(Ce,2),ve=0):(P(H,["BlockStatement","ElementNode"])&&(ve=Math.max(ve,1)),T(H,["BlockStatement","ElementNode"])&&(Be=Math.max(Be,1)));let ze="",be="";return 0===ve&&P(H,["MustacheStatement"])&&(be=" "),0===Be&&T(H,["MustacheStatement"])&&(ze=" "),re&&(Be=0,ze=""),ye&&(ve=0,be=""),Ee=Ee.replace(/^[\t\n\f\r ]+/g,ze).replace(/[\t\n\f\r ]+$/,be),[...ge(Be),s(Fe(Ee)),...ge(ve)]}case"MustacheCommentStatement":{let Ee=F(le),De=_(le),A="~"===pe.originalText.charAt(Ee+2),G="~"===pe.originalText.charAt(De-3),re=le.value.includes("}}")?"--":"";return["{{",A?"~":"","!",re,le.value,re,G?"~":"","}}"]}case"PathExpression":return le.original;case"BooleanLiteral":case"NumberLiteral":return String(le.value);case"CommentStatement":return["\x3c!--",le.value,"--\x3e"];case"StringLiteral":if(function we(H){let pe=0,X=H.getParentNode(pe);for(;X&&$(X,["SubExpression"]);)pe++,X=H.getParentNode(pe);return!!(X&&$(H.getParentNode(pe+1),["ConcatStatement"])&&$(H.getParentNode(pe+2),["AttrNode"]))}(H)){let Ee=pe.singleQuote?'"':"'";return he(le.value,Ee)}return he(le.value,Ae);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(le.type))}},massageAstNode:w}}}),Qd=te({"src/language-handlebars/parsers.js"(){ne()}}),Zd=te({"node_modules/linguist-languages/data/Handlebars.json"(e,r){r.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),eg=te({"src/language-handlebars/index.js"(e,r){ne();var t=_t(),s=Yd(),a=Qd(),n=[t(Zd(),(()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],u={glimmer:s};r.exports={languages:n,printers:u,parsers:a}}}),tg=te({"src/language-graphql/pragma.js"(e,r){ne(),r.exports={hasPragma:function t(a){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(a)},insertPragma:function s(a){return"# @format\n\n"+a}}}}),rg=te({"src/language-graphql/loc.js"(e,r){ne(),r.exports={locStart:function t(a){return"number"==typeof a.start?a.start:a.loc&&a.loc.start},locEnd:function s(a){return"number"==typeof a.end?a.end:a.loc&&a.loc.end}}}}),ng=te({"src/language-graphql/printer-graphql.js"(e,r){ne();var{builders:{join:t,hardline:s,line:a,softline:n,group:u,indent:i,ifBreak:l}}=qe(),{isNextLineEmpty:p,isNonEmptyArray:y}=Ue(),{insertPragma:h}=tg(),{locStart:g,locEnd:c}=rg();function F(P,$,D){if(0===D.directives.length)return"";let T=t(a,P.map($,"directives"));return"FragmentDefinition"===D.kind||"OperationDefinition"===D.kind?u([a,T]):[" ",u(i([n,T]))]}function _(P,$,D,T){return P.map(((m,C,o)=>{let d=D();return CD(d)),"interfaces");for(let d=0;d{m.push(D()),o!==d.length-1&&(m.push(s),p($.originalText,C.getValue(),c)&&m.push(s))}),"definitions"),[...m,s]}case"OperationDefinition":{let m="{"!==$.originalText[g(T)],C=Boolean(T.name);return[m?T.operation:"",m&&C?[" ",D("name")]:"",m&&!C&&y(T.variableDefinitions)?" ":"",y(T.variableDefinitions)?u(["(",i([n,t([l("",", "),n],P.map(D,"variableDefinitions"))]),n,")"]):"",F(P,D,T),T.selectionSet&&(m||C)?" ":"",D("selectionSet")]}case"FragmentDefinition":return["fragment ",D("name"),y(T.variableDefinitions)?u(["(",i([n,t([l("",", "),n],P.map(D,"variableDefinitions"))]),n,")"]):""," on ",D("typeCondition"),F(P,D,T)," ",D("selectionSet")];case"SelectionSet":return["{",i([s,t(s,_(P,$,D,"selections"))]),s,"}"];case"Field":return u([T.alias?[D("alias"),": "]:"",D("name"),T.arguments.length>0?u(["(",i([n,t([l("",", "),n],_(P,$,D,"arguments"))]),n,")"]):"",F(P,D,T),T.selectionSet?" ":"",D("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return T.value;case"StringValue":if(T.block){let m=T.value.replace(/"""/g,"\\$&").split("\n");return 1===m.length&&(m[0]=m[0].trim()),m.every((C=>""===C))&&(m.length=0),t(s,['"""',...m,'"""'])}return['"',T.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return T.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",D("name")];case"ListValue":return u(["[",i([n,t([l("",", "),n],P.map(D,"values"))]),n,"]"]);case"ObjectValue":return u(["{",$.bracketSpacing&&T.fields.length>0?" ":"",i([n,t([l("",", "),n],P.map(D,"fields"))]),n,l("",$.bracketSpacing&&T.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[D("name"),": ",D("value")];case"Directive":return["@",D("name"),T.arguments.length>0?u(["(",i([n,t([l("",", "),n],_(P,$,D,"arguments"))]),n,")"]):""];case"NamedType":return D("name");case"VariableDefinition":return[D("variable"),": ",D("type"),T.defaultValue?[" = ",D("defaultValue")]:"",F(P,D,T)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[D("description"),T.description?s:"","ObjectTypeExtension"===T.kind?"extend ":"","type ",D("name"),T.interfaces.length>0?[" implements ",...N(P,$,D)]:"",F(P,D,T),T.fields.length>0?[" {",i([s,t(s,_(P,$,D,"fields"))]),s,"}"]:""];case"FieldDefinition":return[D("description"),T.description?s:"",D("name"),T.arguments.length>0?u(["(",i([n,t([l("",", "),n],_(P,$,D,"arguments"))]),n,")"]):"",": ",D("type"),F(P,D,T)];case"DirectiveDefinition":return[D("description"),T.description?s:"","directive ","@",D("name"),T.arguments.length>0?u(["(",i([n,t([l("",", "),n],_(P,$,D,"arguments"))]),n,")"]):"",T.repeatable?" repeatable":""," on ",t(" | ",P.map(D,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[D("description"),T.description?s:"","EnumTypeExtension"===T.kind?"extend ":"","enum ",D("name"),F(P,D,T),T.values.length>0?[" {",i([s,t(s,_(P,$,D,"values"))]),s,"}"]:""];case"EnumValueDefinition":return[D("description"),T.description?s:"",D("name"),F(P,D,T)];case"InputValueDefinition":return[D("description"),T.description?T.description.block?s:a:"",D("name"),": ",D("type"),T.defaultValue?[" = ",D("defaultValue")]:"",F(P,D,T)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[D("description"),T.description?s:"","InputObjectTypeExtension"===T.kind?"extend ":"","input ",D("name"),F(P,D,T),T.fields.length>0?[" {",i([s,t(s,_(P,$,D,"fields"))]),s,"}"]:""];case"SchemaExtension":return["extend schema",F(P,D,T),...T.operationTypes.length>0?[" {",i([s,t(s,_(P,$,D,"operationTypes"))]),s,"}"]:[]];case"SchemaDefinition":return[D("description"),T.description?s:"","schema",F(P,D,T)," {",T.operationTypes.length>0?i([s,t(s,_(P,$,D,"operationTypes"))]):"",s,"}"];case"OperationTypeDefinition":return[D("operation"),": ",D("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[D("description"),T.description?s:"","InterfaceTypeExtension"===T.kind?"extend ":"","interface ",D("name"),T.interfaces.length>0?[" implements ",...N(P,$,D)]:"",F(P,D,T),T.fields.length>0?[" {",i([s,t(s,_(P,$,D,"fields"))]),s,"}"]:""];case"FragmentSpread":return["...",D("name"),F(P,D,T)];case"InlineFragment":return["...",T.typeCondition?[" on ",D("typeCondition")]:"",F(P,D,T)," ",D("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return u([D("description"),T.description?s:"",u(["UnionTypeExtension"===T.kind?"extend ":"","union ",D("name"),F(P,D,T),T.types.length>0?[" =",l(""," "),i([l([a," "]),t([a,"| "],P.map(D,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[D("description"),T.description?s:"","ScalarTypeExtension"===T.kind?"extend ":"","scalar ",D("name"),F(P,D,T)];case"NonNullType":return[D("type"),"!"];case"ListType":return["[",D("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(T.kind))}},massageAstNode:x,hasPrettierIgnore:function I(P){var $;let D=P.getValue();return null==D||null===($=D.comments)||void 0===$?void 0:$.some((T=>"prettier-ignore"===T.value.trim()))},insertPragma:h,printComment:function E(P){let $=P.getValue();if("Comment"===$.kind)return"#"+$.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify($))},canAttachComment:function w(P){return P.kind&&"Comment"!==P.kind}}}}),ug=te({"src/language-graphql/options.js"(e,r){ne();var t=Mt();r.exports={bracketSpacing:t.bracketSpacing}}}),sg=te({"src/language-graphql/parsers.js"(){ne()}}),ig=te({"node_modules/linguist-languages/data/GraphQL.json"(e,r){r.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),ag=te({"src/language-graphql/index.js"(e,r){ne();var t=_t(),s=ng(),a=ug(),n=sg(),u=[t(ig(),(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],i={graphql:s};r.exports={languages:u,options:a,printers:i,parsers:n}}}),Po=te({"node_modules/collapse-white-space/index.js"(e,r){ne(),r.exports=function t(s){return String(s).replace(/\s+/g," ")}}}),Io=te({"src/language-markdown/loc.js"(e,r){ne(),r.exports={locStart:function t(a){return a.position.start.offset},locEnd:function s(a){return a.position.end.offset}}}}),og=te({"src/language-markdown/constants.evaluate.js"(e,r){r.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\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\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\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-\\u2e4f\\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]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),iu=te({"src/language-markdown/utils.js"(e,r){ne();var{getLast:t}=Ue(),{locStart:s,locEnd:a}=Io(),{cjkPattern:n,kPattern:u,punctuationPattern:i}=og(),l=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],p=[...l,"tableCell","paragraph","heading"],y=new RegExp(u),h=new RegExp(i);function c(E,N){let[,x,I,P]=N.slice(E.position.start.offset,E.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:x,marker:I,leadingSpaces:P}}r.exports={mapAst:function _(E,N){return function x(I,P,$){let D=Object.assign({},N(I,P,$));return D.children&&(D.children=D.children.map(((T,m)=>x(T,m,[D,...$])))),D}(E,null,[])},splitText:function g(E,N){let x="non-cjk",I="cj-letter",$="cjk-punctuation",D=[],T=("preserve"===N.proseWrap?E:E.replace(new RegExp(`(${n})\n(${n})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[C,o]of T.entries()){if(C%2==1){D.push({type:"whitespace",value:/\n/.test(o)?"\n":" "});continue}if((0===C||C===T.length-1)&&""===o)continue;let d=o.split(new RegExp(`(${n})`));for(let[v,S]of d.entries())if(0!==v&&v!==d.length-1||""!==S){if(v%2==0){""!==S&&m({type:"word",value:S,kind:x,hasLeadingPunctuation:h.test(S[0]),hasTrailingPunctuation:h.test(t(S))});continue}m(h.test(S)?{type:"word",value:S,kind:$,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:S,kind:y.test(S)?"k-letter":I,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return D;function m(C){let o=t(D);o&&"word"===o.type&&(o.kind===x&&C.kind===I&&!o.hasTrailingPunctuation||o.kind===I&&C.kind===x&&!C.hasLeadingPunctuation?D.push({type:"whitespace",value:" "}):!function d(v,S){return o.kind===v&&C.kind===S||o.kind===S&&C.kind===v}(x,$)&&![o.value,C.value].some((v=>/\u3000/.test(v)))&&D.push({type:"whitespace",value:""})),D.push(C)}},punctuationPattern:i,getFencedCodeBlockValue:function F(E,N){let{value:x}=E;return E.position.end.offset===N.length&&x.endsWith("\n")&&N.endsWith("\n")?x.slice(0,-1):x},getOrderedListItemInfo:c,hasGitDiffFriendlyOrderedList:function f(E,N){if(!E.ordered||E.children.length<2)return!1;let x=Number(c(E.children[0],N.originalText).numberText),I=Number(c(E.children[1],N.originalText).numberText);if(0===x&&E.children.length>2){let P=Number(c(E.children[2],N.originalText).numberText);return 1===I&&1===P}return 1===I},INLINE_NODE_TYPES:l,INLINE_NODE_WRAPPER_TYPES:p,isAutolink:function w(E){if("link"!==E?.type||1!==E.children.length)return!1;let[N]=E.children;return s(E)===s(N)&&a(E)===a(N)}}}}),lg=te({"src/language-markdown/embed.js"(e,r){ne();var{inferParserByLanguage:t,getMaxContinuousCount:s}=Ue(),{builders:{hardline:a,markAsRoot:n},utils:{replaceEndOfLine:u}}=qe(),i=su(),{getFencedCodeBlockValue:l}=iu();r.exports=function p(y,h,g,c){let f=y.getValue();if("code"===f.type&&null!==f.lang){let F=t(f.lang,c);if(F){let _=c.__inJsTemplate?"~":"`",w=_.repeat(Math.max(3,s(f.value,_)+1)),E={parser:F};"tsx"===f.lang&&(E.filepath="dummy.tsx");let N=g(l(f,c.originalText),E,{stripTrailingHardline:!0});return n([w,f.lang,f.meta?" "+f.meta:"",a,u(N),a,w])}}switch(f.type){case"front-matter":return i(f,g);case"importExport":return[g(f.value,{parser:"babel"},{stripTrailingHardline:!0}),a];case"jsx":return g(`<$>${f.value}`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}}}),ko=te({"src/language-markdown/pragma.js"(e,r){ne();var t=_o(),s=["format","prettier"];function a(n){let u=`@(${s.join("|")})`,i=new RegExp([`\x3c!--\\s*${u}\\s*--\x3e`,`{\\s*\\/\\*\\s*${u}\\s*\\*\\/\\s*}`,`\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*${u}[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e`].join("|"),"m"),l=n.match(i);return 0===l?.index}r.exports={startWithPragma:a,hasPragma:n=>a(t(n).content.trimStart()),insertPragma:n=>{let u=t(n),i=`\x3c!-- @${s[0]} --\x3e`;return u.frontMatter?`${u.frontMatter.raw}\n\n${i}\n\n${u.content}`:`${i}\n\n${u.content}`}}}}),cg=te({"src/language-markdown/print-preprocess.js"(e,r){ne();var t=lt(),{getOrderedListItemInfo:s,mapAst:a,splitText:n}=iu(),u=/^.$/su;function g(w,E,N){return a(w,(x=>{if(!x.children)return x;let I=x.children.reduce(((P,$)=>{let D=t(P);return D&&E(D,$)?P.splice(-1,1,N(D,$)):P.push($),P}),[]);return Object.assign(Object.assign({},x),{},{children:I})}))}r.exports=function i(w,E){return w=function h(w){return g(w,((E,N)=>"importExport"===E.type&&"importExport"===N.type),((E,N)=>({type:"importExport",value:E.value+"\n\n"+N.value,position:{start:E.position.start,end:N.position.end}})))}(w=function l(w){return a(w,(E=>"import"!==E.type&&"export"!==E.type?E:Object.assign(Object.assign({},E),{},{type:"importExport"})))}(w=function f(w,E){return a(w,((N,x,I)=>{let[P]=I;if("text"!==N.type)return N;let{value:$}=N;return"paragraph"===P.type&&(0===x&&($=$.trimStart()),x===P.children.length-1&&($=$.trimEnd())),{type:"sentence",position:N.position,children:n($,E)}}))}(w=function _(w,E){return a(w,((I,P,$)=>{if("list"===I.type&&I.children.length>0){for(let D=0;D<$.length;D++){let T=$[D];if("list"===T.type&&!T.isAligned)return I.isAligned=!1,I}I.isAligned=x(I)}return I}));function N(I){return 0===I.children.length?-1:I.children[0].position.start.column-1}function x(I){if(!I.ordered)return!0;let[P,$]=I.children;if(s(P,E.originalText).leadingSpaces.length>1)return!0;let T=N(P);return-1!==T&&(1===I.children.length?T%E.tabWidth==0:T===N($)&&(T%E.tabWidth==0||s($,E.originalText).leadingSpaces.length>1))}}(w=function F(w,E){return a(w,((N,x,I)=>{if("code"===N.type){let P=/^\n?(?: {4,}|\t)/.test(E.originalText.slice(N.position.start.offset,N.position.end.offset));if(N.isIndented=P,P)for(let $=0;$"inlineCode"!==N.type||"preserve"===E.proseWrap?N:Object.assign(Object.assign({},N),{},{value:N.value.replace(/\s+/g," ")})))}(w=function c(w){return g(w,((E,N)=>"text"===E.type&&"text"===N.type),((E,N)=>({type:"text",value:E.value+N.value,position:{start:E.position.start,end:N.position.end}})))}(w=function y(w,E){return a(w,(N=>"text"===N.type&&"*"!==N.value&&"_"!==N.value&&u.test(N.value)&&N.position.end.offset-N.position.start.offset!==N.value.length?Object.assign(Object.assign({},N),{},{value:E.originalText.slice(N.position.start.offset,N.position.end.offset)}):N))}(w,E)),E),E),E),E)))}}}),pg=te({"src/language-markdown/clean.js"(e,r){ne();var t=Po(),{isFrontMatterNode:s}=Ue(),{startWithPragma:a}=ko(),n=new Set(["position","raw"]);function u(i,l,p){if(("front-matter"===i.type||"code"===i.type||"yaml"===i.type||"import"===i.type||"export"===i.type||"jsx"===i.type)&&delete l.value,"list"===i.type&&delete l.isAligned,("list"===i.type||"listItem"===i.type)&&(delete l.spread,delete l.loose),"text"===i.type||("inlineCode"===i.type&&(l.value=i.value.replace(/[\t\n ]+/g," ")),"wikiLink"===i.type&&(l.value=i.value.trim().replace(/[\t\n]+/g," ")),("definition"===i.type||"linkReference"===i.type||"imageReference"===i.type)&&(l.label=t(i.label)),("definition"===i.type||"link"===i.type||"image"===i.type)&&i.title&&(l.title=i.title.replace(/\\(["')])/g,"$1")),p&&"root"===p.type&&p.children.length>0&&(p.children[0]===i||s(p.children[0])&&p.children[1]===i)&&"html"===i.type&&a(i.value)))return null}u.ignoredProperties=n,r.exports=u}}),fg=te({"src/language-markdown/printer-markdown.js"(e,r){ne();var t=Po(),{getLast:s,getMinNotPresentContinuousCount:a,getMaxContinuousCount:n,getStringWidth:u,isNonEmptyArray:i}=Ue(),{builders:{breakParent:l,join:p,line:y,literalline:h,markAsRoot:g,hardline:c,softline:f,ifBreak:F,fill:_,align:w,indent:E,group:N,hardlineWithoutBreakParent:x},utils:{normalizeDoc:I,replaceTextEndOfLine:P},printer:{printDocToString:$}}=qe(),D=lg(),{insertPragma:T}=ko(),{locStart:m,locEnd:C}=Io(),o=cg(),d=pg(),{getFencedCodeBlockValue:v,hasGitDiffFriendlyOrderedList:S,splitText:b,punctuationPattern:B,INLINE_NODE_TYPES:k,INLINE_NODE_WRAPPER_TYPES:M,isAutolink:R}=iu(),q=new Set(["importExport"]),J=["heading","tableCell","link","wikiLink"],L=new Set(["listItem","definition","footnoteDefinition"]);function V(oe,H,pe,X){let le=oe.getValue(),Ae=null===le.checked?"":le.checked?"[x] ":"[ ] ";return[Ae,ue(oe,H,pe,{processor:(Ee,De)=>{if(0===De&&"list"!==Ee.getValue().type)return w(" ".repeat(Ae.length),pe());let A=" ".repeat(function ke(oe,H,pe){return oepe?pe:oe}(H.tabWidth-X.length,0,3));return[A,w(A,pe())]}})]}function Y(oe,H){return function ie(oe,H,pe){let X=-1;for(let le of H.children)if(le.type===oe.type&&pe(le)?X++:X=-1,le===oe)return X}(oe,H,(pe=>pe.ordered===oe.ordered))}function ee(oe,H){let le,pe=Array.isArray(H)?H:[H],X=-1;for(;le=oe.getParentNode(++X);)if(pe.includes(le.type))return X;return-1}function ce(oe,H){let pe=ee(oe,H);return-1===pe?null:oe.getParentNode(pe)}function W(oe,H,pe){if("preserve"===pe.proseWrap&&"\n"===H)return c;let X="always"===pe.proseWrap&&!ce(oe,J);return""!==H?X?y:" ":X?f:""}function de(oe,H,pe){let X=[],le=null,{children:Ae}=oe.getValue();for(let[Ee,De]of Ae.entries())switch(U(De)){case"start":null===le&&(le={index:Ee,offset:De.position.end.offset});break;case"end":null!==le&&(X.push({start:le,end:{index:Ee,offset:De.position.start.offset}}),le=null)}return ue(oe,H,pe,{processor:(Ee,De)=>{if(X.length>0){let A=X[0];if(De===A.start.index)return[Fe(Ae[A.start.index]),H.originalText.slice(A.start.offset,A.end.offset),Fe(Ae[A.end.index])];if(A.start.index3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:le}=X,Ae=X.processor||(()=>pe()),Ee=oe.getValue(),De=[];return oe.each(((G,re)=>{let ye=G.getValue(),Ce=Ae(G,re);if(!1!==Ce){let Be={parts:De,prevNode:A,parentNode:Ee,options:H};(function Z(oe,H){let pe=0===H.parts.length,X=k.includes(oe.type),le="html"===oe.type&&M.includes(H.parentNode.type);return!pe&&!X&&!le})(ye,Be)&&(De.push(c),A&&q.has(A.type)||(function se(oe,H){var pe,X,le;let Ee=(H.prevNode&&H.prevNode.type)===oe.type&&L.has(oe.type),De="listItem"===H.parentNode.type&&!H.parentNode.loose,A="listItem"===(null===(pe=H.prevNode)||void 0===pe?void 0:pe.type)&&H.prevNode.loose,G="next"===U(H.prevNode),re="html"===oe.type&&"html"===(null===(X=H.prevNode)||void 0===X?void 0:X.type)&&H.prevNode.position.end.line+1===oe.position.start.line,ye="html"===oe.type&&"listItem"===H.parentNode.type&&"paragraph"===(null===(le=H.prevNode)||void 0===le?void 0:le.type)&&H.prevNode.position.end.line+1===oe.position.start.line;return A||!(Ee||De||G||re||ye)}(ye,Be)||fe(ye,Be))&&De.push(c),fe(ye,Be)&&De.push(c)),De.push(Ce),A=ye}}),"children"),le?le(De):De}function Fe(oe){return"html"===oe.type?oe.value:"paragraph"===oe.type&&Array.isArray(oe.children)&&1===oe.children.length&&"esComment"===oe.children[0].type?["{/* ",oe.children[0].value," */}"]:void 0}function z(oe){let H=oe;for(;i(H.children);)H=s(H.children);return H}function U(oe){let H;if("html"===oe.type)H=oe.value.match(/^$/);else{let pe;"esComment"===oe.type?pe=oe:"paragraph"===oe.type&&1===oe.children.length&&"esComment"===oe.children[0].type&&(pe=oe.children[0]),pe&&(H=pe.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!H&&(H[1]||"next")}function fe(oe,H){let pe=H.prevNode&&"list"===H.prevNode.type,X="code"===oe.type&&oe.isIndented;return pe&&X}function he(oe){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],pe=[" ",...Array.isArray(H)?H:[H]];return new RegExp(pe.map((X=>`\\${X}`)).join("|")).test(oe)?`<${oe}>`:oe}function we(oe,H){if(!oe)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+we(oe,H,!1);if((oe=oe.replace(/\\(["')])/g,"$1")).includes('"')&&oe.includes("'")&&!oe.includes(")"))return`(${oe})`;let X=oe.split("'").length-1,le=oe.split('"').length-1,Ae=X>le?'"':le>X||H.singleQuote?"'":'"';return`${Ae}${oe=(oe=oe.replace(/\\/,"\\\\")).replace(new RegExp(`(${Ae})`,"g"),"\\$1")}${Ae}`}function Ne(oe){return`[${t(oe.label)}]`}function Pe(oe){return`[^${oe.label}]`}r.exports={preprocess:o,print:function Q(oe,H,pe){let X=oe.getValue();if(function ge(oe){let H=ce(oe,["linkReference","imageReference"]);return H&&("linkReference"!==H.type||"full"!==H.referenceType)}(oe))return b(H.originalText.slice(X.position.start.offset,X.position.end.offset),H).map((le=>"word"===le.type?le.value:""===le.value?"":W(oe,le.value,H)));switch(X.type){case"front-matter":return H.originalText.slice(X.position.start.offset,X.position.end.offset);case"root":return 0===X.children.length?"":[I(de(oe,H,pe)),q.has(z(X).type)?"":c];case"paragraph":return ue(oe,H,pe,{postprocessor:_});case"sentence":return ue(oe,H,pe);case"word":{let le=X.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${B})(_+)`,`(_+)(${B}|$)`].join("|"),"g"),((De,A,G,re,ye)=>(G?`${A}${G}`:`${re}${ye}`).replace(/_/g,"\\_"))),Ae=(De,A,G)=>"sentence"===De.type&&0===G,Ee=(De,A,G)=>R(De.children[G-1]);return le!==X.value&&(oe.match(void 0,Ae,Ee)||oe.match(void 0,Ae,((De,A,G)=>"emphasis"===De.type&&0===G),Ee))&&(le=le.replace(/^(\\?[*_])+/,(De=>De.replace(/\\/g,"")))),le}case"whitespace":{let le=oe.getParentNode(),Ae=le.children.indexOf(X),Ee=le.children[Ae+1],De=Ee&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(Ee.value)?"never":H.proseWrap;return W(oe,X.value,{proseWrap:De})}case"emphasis":{let le;if(R(X.children[0]))le=H.originalText[X.position.start.offset];else{let Ae=oe.getParentNode(),Ee=Ae.children.indexOf(X),De=Ae.children[Ee-1],A=Ae.children[Ee+1];le=De&&"sentence"===De.type&&De.children.length>0&&"word"===s(De.children).type&&!s(De.children).hasTrailingPunctuation||A&&"sentence"===A.type&&A.children.length>0&&"word"===A.children[0].type&&!A.children[0].hasLeadingPunctuation||ce(oe,"emphasis")?"*":"_"}return[le,ue(oe,H,pe),le]}case"strong":return["**",ue(oe,H,pe),"**"];case"delete":return["~~",ue(oe,H,pe),"~~"];case"inlineCode":{let le=a(X.value,"`"),Ae="`".repeat(le||1),Ee=le&&!/^\s/.test(X.value)?" ":"";return[Ae,Ee,X.value,Ee,Ae]}case"wikiLink":{let le="";return le="preserve"===H.proseWrap?X.value:X.value.replace(/[\t\n]+/g," "),["[[",le,"]]"]}case"link":switch(H.originalText[X.position.start.offset]){case"<":{let le="mailto:";return["<",X.url.startsWith(le)&&H.originalText.slice(X.position.start.offset+1,X.position.start.offset+1+le.length)!==le?X.url.slice(le.length):X.url,">"]}case"[":return["[",ue(oe,H,pe),"](",he(X.url,")"),we(X.title,H),")"];default:return H.originalText.slice(X.position.start.offset,X.position.end.offset)}case"image":return["![",X.alt||"","](",he(X.url,")"),we(X.title,H),")"];case"blockquote":return["> ",w("> ",ue(oe,H,pe))];case"heading":return["#".repeat(X.depth)+" ",ue(oe,H,pe)];case"code":{if(X.isIndented){let Ee=" ".repeat(4);return w(Ee,[Ee,...P(X.value,c)])}let le=H.__inJsTemplate?"~":"`",Ae=le.repeat(Math.max(3,n(X.value,le)+1));return[Ae,X.lang||"",X.meta?" "+X.meta:"",c,...P(v(X,H.originalText),c),c,Ae]}case"html":{let le=oe.getParentNode(),Ae="root"===le.type&&s(le.children)===X?X.value.trimEnd():X.value,Ee=/^$/s.test(Ae);return P(Ae,Ee?c:g(h))}case"list":{let le=Y(X,oe.getParentNode()),Ae=S(X,H);return ue(oe,H,pe,{processor:(Ee,De)=>{let A=function re(){let ye=X.ordered?(0===De?X.start:Ae?1:X.start+De)+(le%2==0?". ":") "):le%2==0?"- ":"* ";return X.isAligned||X.hasIndentedCodeblock?function j(oe,H){let pe=X();return oe+" ".repeat(pe>=4?0:pe);function X(){let le=oe.length%H.tabWidth;return 0===le?0:H.tabWidth-le}}(ye,H):ye}(),G=Ee.getValue();return 2===G.children.length&&"html"===G.children[1].type&&G.children[0].position.start.column!==G.children[1].position.start.column?[A,V(Ee,H,pe,A)]:[A,w(" ".repeat(A.length),V(Ee,H,pe,A))]}})}case"thematicBreak":{let le=ee(oe,"list");return-1===le?"---":Y(oe.getParentNode(le),oe.getParentNode(le+1))%2==0?"***":"---"}case"linkReference":return["[",ue(oe,H,pe),"]","full"===X.referenceType?Ne(X):"collapsed"===X.referenceType?"[]":""];case"imageReference":return"full"===X.referenceType?["![",X.alt||"","]",Ne(X)]:["![",X.alt,"]","collapsed"===X.referenceType?"[]":""];case"definition":{let le="always"===H.proseWrap?y:" ";return N([Ne(X),":",E([le,he(X.url),null===X.title?"":[le,we(X.title,H,!1)]])])}case"footnote":return["[^",ue(oe,H,pe),"]"];case"footnoteReference":return Pe(X);case"footnoteDefinition":{let le=oe.getParentNode().children[oe.getName()+1],Ae=1===X.children.length&&"paragraph"===X.children[0].type&&("never"===H.proseWrap||"preserve"===H.proseWrap&&X.children[0].position.start.line===X.children[0].position.end.line);return[Pe(X),": ",Ae?ue(oe,H,pe):N([w(" ".repeat(4),ue(oe,H,pe,{processor:(Ee,De)=>0===De?N([f,pe()]):pe()})),le&&"footnoteDefinition"===le.type?f:""])]}case"table":return function K(oe,H,pe){let X=oe.getValue(),le=[],Ae=oe.map((ye=>ye.map(((Ce,Be)=>{let ve=$(pe(),H).formatted,ze=u(ve);return le[Be]=Math.max(le[Be]||3,ze),{text:ve,width:ze}}),"children")),"children"),Ee=A(!1);if("never"!==H.proseWrap)return[l,Ee];let De=A(!0);return[l,N(F(De,Ee))];function A(ye){let Ce=[re(Ae[0],ye),G(ye)];return Ae.length>1&&Ce.push(p(x,Ae.slice(1).map((Be=>re(Be,ye))))),p(x,Ce)}function G(ye){return`| ${le.map(((Be,ve)=>{let ze=X.align[ve],Ye="center"===ze||"right"===ze?":":"-";return`${"center"===ze||"left"===ze?":":"-"}${ye?"-":"-".repeat(Be-2)}${Ye}`})).join(" | ")} |`}function re(ye,Ce){return`| ${ye.map(((ve,ze)=>{let{text:be,width:Ye}=ve;if(Ce)return be;let Se=le[ze]-Ye,Ie=X.align[ze],Oe=0;"right"===Ie?Oe=Se:"center"===Ie&&(Oe=Math.floor(Se/2));let Je=Se-Oe;return`${" ".repeat(Oe)}${be}${" ".repeat(Je)}`})).join(" | ")} |`}}(oe,H,pe);case"tableCell":return ue(oe,H,pe);case"break":return/\s/.test(H.originalText[X.position.start.offset])?[" ",g(h)]:["\\",c];case"liquidNode":return P(X.value,c);case"importExport":return[X.value,c];case"esComment":return["{/* ",X.value," */}"];case"jsx":return X.value;case"math":return["$$",c,X.value?[...P(X.value,c),c]:"","$$"];case"inlineMath":return H.originalText.slice(m(X),C(X));default:throw new Error(`Unknown markdown type ${JSON.stringify(X.type)}`)}},embed:D,massageAstNode:d,hasPrettierIgnore:function Re(oe){let H=Number(oe.getName());return 0!==H&&"next"===U(oe.getParentNode().children[H-1])},insertPragma:T}}}),Dg=te({"src/language-markdown/options.js"(e,r){ne();var t=Mt();r.exports={proseWrap:t.proseWrap,singleQuote:t.singleQuote}}}),mg=te({"src/language-markdown/parsers.js"(){ne()}}),_a=te({"node_modules/linguist-languages/data/Markdown.json"(e,r){r.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),dg=te({"src/language-markdown/index.js"(e,r){ne();var t=_t(),s=fg(),a=Dg(),n=mg(),u=[t(_a(),(l=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...l.filenames,"README"],extensions:l.extensions.filter((p=>".mdx"!==p))}))),t(_a(),(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],i={mdast:s};r.exports={languages:u,options:a,printers:i,parsers:n}}}),gg=te({"src/language-html/clean.js"(e,r){ne();var{isFrontMatterNode:t}=Ue(),s=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function a(n,u){if("text"===n.type||"comment"===n.type||t(n)||"yaml"===n.type||"toml"===n.type)return null;"attribute"===n.type&&delete u.value,"docType"===n.type&&delete u.value}a.ignoredProperties=s,r.exports=a}}),yg=te({"src/language-html/constants.evaluate.js"(e,r){r.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),hg=te({"src/language-html/utils/is-unknown-namespace.js"(e,r){ne(),r.exports=function t(s){return"element"===s.type&&!s.hasExplicitNamespace&&!["html","svg"].includes(s.namespace)}}}),Rt=te({"src/language-html/utils/index.js"(e,r){ne();var{inferParserByLanguage:t,isFrontMatterNode:s}=Ue(),{builders:{line:a,hardline:n,join:u},utils:{getDocParts:i,replaceTextEndOfLine:l}}=qe(),{CSS_DISPLAY_TAGS:p,CSS_DISPLAY_DEFAULT:y,CSS_WHITE_SPACE_TAGS:h,CSS_WHITE_SPACE_DEFAULT:g}=yg(),c=hg(),f=new Set(["\t","\n","\f","\r"," "]),_=A=>A.replace(/[\t\n\f\r ]+$/,""),N=A=>(A=>A.replace(/^[\t\f\r ]*\n/g,""))(_(A)),I=A=>A.match(/^[\t\n\f\r ]*/)[0];function o(A){return"element"===A.type&&("script"===A.fullName||"style"===A.fullName||"svg:style"===A.fullName||c(A)&&("script"===A.name||"style"===A.name))}function S(A){return we(A).startsWith("pre")}function q(A){return"element"===A.type&&A.children.length>0&&(["html","head","ul","ol","select"].includes(A.name)||A.cssDisplay.startsWith("table")&&"table-cell"!==A.cssDisplay)}function L(A){return Y(A)||"element"===A.type&&"br"===A.fullName||Q(A)}function Q(A){return V(A)&&j(A)}function V(A){return A.hasLeadingSpaces&&(A.prev?A.prev.sourceSpan.end.lineA.sourceSpan.end.line:"root"===A.parent.type||A.parent.endSourceSpan&&A.parent.endSourceSpan.start.line>A.sourceSpan.end.line)}function Y(A){switch(A.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(A.name)}return!1}function ce(A){let{type:G,lang:re}=A.attrMap;return"module"===G||"text/javascript"===G||"text/babel"===G||"application/javascript"===G||"jsx"===re?"babel":"application/x-typescript"===G||"ts"===re||"tsx"===re?"typescript":"text/markdown"===G?"markdown":"text/html"===G?"html":G&&(G.endsWith("json")||G.endsWith("importmap"))||"speculationrules"===G?"json":"text/x-handlebars-template"===G?"glimmer":void 0}function de(A){return"block"===A||"list-item"===A||A.startsWith("table")}function se(A){return we(A).startsWith("pre")}function we(A){return"element"===A.type&&(!A.namespace||c(A))&&h[A.name]||g}function Re(A){let G=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function ke(A){let G=Number.POSITIVE_INFINITY;for(let re of A.split("\n")){if(0===re.length)continue;if(!f.has(re[0]))return 0;let ye=I(re).length;re.length!==ye&&yere.slice(G))).join("\n")}var oe=new Set(["template","style","script"]);function H(A,G){return pe(A,G)&&!oe.has(A.fullName)}function pe(A,G){return"vue"===G.parser&&"element"===A.type&&"root"===A.parent.type&&"html"!==A.fullName.toLowerCase()}function X(A,G){return pe(A,G)&&(H(A,G)||A.attrMap.lang&&"html"!==A.attrMap.lang)}r.exports={htmlTrim:A=>(A=>A.replace(/^[\t\n\f\r ]+/,""))(_(A)),htmlTrimPreserveIndentation:N,hasHtmlWhitespace:A=>/[\t\n\f\r ]/.test(A),getLeadingAndTrailingHtmlWhitespace:A=>{let[,G,re,ye]=A.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:G,trailingWhitespace:ye,text:re}},canHaveInterpolation:function d(A){return A.children&&!o(A)},countChars:function Ne(A,G){let re=0;for(let ye=0;ye=0;ye--){let Ce=A.stack[ye];Ce&&"object"==typeof Ce&&!Array.isArray(Ce)&&G(Ce)&&re++}return re},dedentString:Re,forceBreakChildren:q,forceBreakContent:function R(A){return q(A)||"element"===A.type&&A.children.length>0&&(["body","script","style"].includes(A.name)||A.children.some((G=>function ee(A){return A.children&&A.children.some((G=>"text"!==G.type))}(G))))||A.firstChild&&A.firstChild===A.lastChild&&"text"!==A.firstChild.type&&V(A.firstChild)&&(!A.lastChild.isTrailingSpaceSensitive||j(A.lastChild))},forceNextEmptyLine:function M(A){return s(A)||A.next&&A.sourceSpan.end&&A.sourceSpan.end.line+1"svg:foreignObject"===ye.fullName)))return"svg"===A.name?"inline-block":"block";re=!0}switch(G.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===G.parser&&A.parent&&"root"===A.parent.type?"block":"element"===A.type&&(!A.namespace||re||c(A))&&p[A.name]||y}},getNodeCssStyleWhiteSpace:we,hasPrettierIgnore:function T(A){return!("attribute"===A.type||!A.parent||!A.prev)&&function m(A){return"comment"===A.type&&"prettier-ignore"===A.value.trim()}(A.prev)},inferScriptParser:function K(A,G){return"script"!==A.name||A.attrMap.src?"style"===A.name?function W(A,G){let{lang:re}=A.attrMap;return re&&"postcss"!==re&&"css"!==re?"scss"===re?"scss":"less"===re?"less":"stylus"===re?t("stylus",G):void 0:"css"}(A,G):G&&X(A,G)?ce(A)||!("src"in A.attrMap)&&t(A.attrMap.lang,G):void 0:A.attrMap.lang||A.attrMap.type?ce(A):"babel"},isVueCustomBlock:H,isVueNonHtmlBlock:X,isVueScriptTag:function De(A,G){return pe(A,G)&&"script"===A.name},isVueSlotAttribute:function le(A){let G=A.fullName;return"#"===G.charAt(0)||"slot-scope"===G||"v-slot"===G||G.startsWith("v-slot:")},isVueSfcBindingsAttribute:function Ae(A,G){let re=A.parent;if(!pe(re,G))return!1;let ye=re.fullName,Ce=A.fullName;return"script"===ye&&"setup"===Ce||"style"===ye&&"vars"===Ce},isVueSfcBlock:pe,isDanglingSpaceSensitiveNode:function k(A){return function Z(A){return!de(A)&&"inline-block"!==A}(A.cssDisplay)&&!o(A)},isIndentationSensitiveNode:S,isLeadingSpaceSensitiveNode:function b(A,G){let re=function ye(){return!s(A)&&(!("text"!==A.type&&"interpolation"!==A.type||!A.prev||"text"!==A.prev.type&&"interpolation"!==A.prev.type)||!(!A.parent||"none"===A.parent.cssDisplay)&&(!!se(A.parent)||!(!A.prev&&("root"===A.parent.type||se(A)&&A.parent||o(A.parent)||H(A.parent,G)||!function ue(A){return!de(A)&&"inline-block"!==A}(A.parent.cssDisplay))||A.prev&&!function U(A){return!de(A)}(A.prev.cssDisplay))))}();return re&&!A.prev&&A.parent&&A.parent.tagDefinition&&A.parent.tagDefinition.ignoreFirstLf?"interpolation"===A.type:re},isPreLikeNode:se,isScriptLikeTag:o,isTextLikeNode:function C(A){return"text"===A.type||"comment"===A.type},isTrailingSpaceSensitiveNode:function B(A,G){return!s(A)&&(!("text"!==A.type&&"interpolation"!==A.type||!A.next||"text"!==A.next.type&&"interpolation"!==A.next.type)||!(!A.parent||"none"===A.parent.cssDisplay)&&(!!se(A.parent)||!(!A.next&&("root"===A.parent.type||se(A)&&A.parent||o(A.parent)||H(A.parent,G)||!function Fe(A){return!de(A)&&"inline-block"!==A}(A.parent.cssDisplay))||A.next&&!function z(A){return!de(A)}(A.next.cssDisplay))))},isWhitespaceSensitiveNode:function v(A){return o(A)||"interpolation"===A.type||S(A)},isUnknownNamespace:c,preferHardlineAsLeadingSpaces:function J(A){return Y(A)||A.prev&&L(A.prev)||Q(A)},preferHardlineAsTrailingSpaces:L,shouldPreserveContent:function D(A,G){return!!("ieConditionalComment"===A.type&&A.lastChild&&!A.lastChild.isSelfClosing&&!A.lastChild.endSourceSpan||"ieConditionalComment"===A.type&&!A.complete||se(A)&&A.children.some((re=>"text"!==re.type&&"interpolation"!==re.type))||X(A,G)&&!o(A)&&"interpolation"!==A.type)},unescapeQuoteEntities:function Pe(A){return A.replace(/'/g,"'").replace(/"/g,'"')},getTextValueParts:function Ee(A){let G=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A.value;return A.parent.isWhitespaceSensitive?A.parent.isIndentationSensitive?l(G):l(Re(N(G)),n):i(u(a,(A=>A.split(/[\t\n\f\r ]+/))(G)))}}}}),vg=te({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(i){return e.$0<=i&&i<=e.$9}ne(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function r(i){return i>=e.$TAB&&i<=e.$SPACE||i==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function s(i){return i>=e.$a&&i<=e.$z||i>=e.$A&&i<=e.$Z},e.isAsciiHexDigit=function a(i){return i>=e.$a&&i<=e.$f||i>=e.$A&&i<=e.$F||t(i)},e.isNewLine=function n(i){return i===e.$LF||i===e.$CR},e.isOctalDigit=function u(i){return e.$0<=i&&i<=e.$7}}}),Cg=te({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=class{constructor(s,a,n){this.filePath=s,this.name=a,this.members=n}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=r;e.StaticSymbolCache=class{constructor(){this.cache=new Map}get(s,a,n){let i=`"${s}".${a}${(n=n||[]).length?`.${n.join(".")}`:""}`,l=this.cache.get(i);return l||(l=new r(s,a,n),this.cache.set(i,l)),l}}}}),Eg=te({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=/-+([a-z0-9])/g;function n(o,d,v){let S=o.indexOf(d);return-1==S?v:[o.slice(0,S).trim(),o.slice(S+1).trim()]}function u(o,d,v){return Array.isArray(o)?d.visitArray(o,v):function E(o){return"object"==typeof o&&null!==o&&Object.getPrototypeOf(o)===w}(o)?d.visitStringMap(o,v):null==o||"string"==typeof o||"number"==typeof o||"boolean"==typeof o?d.visitPrimitive(o,v):d.visitOther(o,v)}e.dashCaseToCamelCase=function t(o){return o.replace(r,(function(){for(var d=arguments.length,v=new Array(d),S=0;Su(v,this,d)))}visitStringMap(o,d){let v={};return Object.keys(o).forEach((S=>{v[S]=u(o[S],this,d)})),v}visitPrimitive(o,d){return o}visitOther(o,d){return o}},e.SyncAsync={assertSync:o=>{if(P(o))throw new Error("Illegal state: value cannot be a promise");return o},then:(o,d)=>P(o)?o.then(d):d(o),all:o=>o.some(P)?Promise.all(o):o},e.error=function y(o){throw new Error(`Internal Error: ${o}`)},e.syntaxError=function h(o,d){let v=Error(o);return v[g]=!0,d&&(v[c]=d),v};var g="ngSyntaxError",c="ngParseErrors";e.isSyntaxError=function f(o){return o[g]},e.getParseErrors=function F(o){return o[c]||[]},e.escapeRegExp=function _(o){return o.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var w=Object.getPrototypeOf({});function P(o){return!!o&&"function"==typeof o.then}e.utf8Encode=function N(o){let d="";for(let v=0;v=55296&&S<=56319&&o.length>v+1){let b=o.charCodeAt(v+1);b>=56320&&b<=57343&&(v++,S=(S-55296<<10)+b-56320+65536)}S<=127?d+=String.fromCharCode(S):S<=2047?d+=String.fromCharCode(S>>6&31|192,63&S|128):S<=65535?d+=String.fromCharCode(S>>12|224,S>>6&63|128,63&S|128):S<=2097151&&(d+=String.fromCharCode(S>>18&7|240,S>>12&63|128,S>>6&63|128,63&S|128))}return d},e.stringify=function x(o){if("string"==typeof o)return o;if(o instanceof Array)return"["+o.map(x).join(", ")+"]";if(null==o)return""+o;if(o.overriddenName)return`${o.overriddenName}`;if(o.name)return`${o.name}`;if(!o.toString)return"object";let d=o.toString();if(null==d)return""+d;let v=d.indexOf("\n");return-1===v?d:d.substring(0,v)},e.resolveForwardRef=function I(o){return"function"==typeof o&&o.hasOwnProperty("__forward_ref__")?o():o},e.isPromise=P;e.Version=class{constructor(o){this.full=o;let d=o.split(".");this.major=d[0],this.minor=d[1],this.patch=d.slice(2).join(".")}};var D=typeof window<"u"&&window,T=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,C=typeof globalThis<"u"&&globalThis||D||T;e.global=C}}),Fg=te({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=Cg(),t=Eg(),s=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function a(v){return v.replace(/\W/g,"_")}e.sanitizeIdentifier=a;var g,v,n=0;function u(v){if(!v||!v.reference)return null;let S=v.reference;if(S instanceof r.StaticSymbol)return S.name;if(S.__anonymousType)return S.__anonymousType;let b=t.stringify(S);return b.indexOf("(")>=0?(b="anonymous_"+n++,S.__anonymousType=b):b=a(b),b}e.identifierName=u,e.identifierModuleUrl=function i(v){let S=v.reference;return S instanceof r.StaticSymbol?S.filePath:`./${t.stringify(S)}`},e.viewClassName=function l(v,S){return`View_${u({reference:v})}_${S}`},e.rendererTypeName=function p(v){return`RenderType_${u({reference:v})}`},e.hostViewClassName=function y(v){return`HostView_${u({reference:v})}`},e.componentFactoryName=function h(v){return`${u({reference:v})}NgFactory`},(v=g=e.CompileSummaryKind||(e.CompileSummaryKind={}))[v.Pipe=0]="Pipe",v[v.Directive=1]="Directive",v[v.NgModule=2]="NgModule",v[v.Injectable=3]="Injectable",e.tokenName=function c(v){return null!=v.value?a(v.value):u(v.identifier)},e.tokenReference=function f(v){return null!=v.identifier?v.identifier.reference:v.value};e.CompileStylesheetMetadata=class{constructor(){let{moduleUrl:v,styles:S,styleUrls:b}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=v||null,this.styles=P(S),this.styleUrls=P(b)}};e.CompileTemplateMetadata=class{constructor(v){let{encapsulation:S,template:b,templateUrl:B,htmlAst:k,styles:M,styleUrls:R,externalStylesheets:q,animations:J,ngContentSelectors:L,interpolation:Q,isInline:V,preserveWhitespaces:j}=v;if(this.encapsulation=S,this.template=b,this.templateUrl=B,this.htmlAst=k,this.styles=P(M),this.styleUrls=P(R),this.externalStylesheets=P(q),this.animations=J?D(J):[],this.ngContentSelectors=L||[],Q&&2!=Q.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Q,this.isInline=V,this.preserveWhitespaces=j}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};var w=class{static create(v){let{isHost:S,type:b,isComponent:B,selector:k,exportAs:M,changeDetection:R,inputs:q,outputs:J,host:L,providers:Q,viewProviders:V,queries:j,guards:Y,viewQueries:ie,entryComponents:ee,template:ce,componentViewType:W,rendererType:K,componentFactory:de}=v,ue={},Fe={},z={};null!=L&&Object.keys(L).forEach((se=>{let fe=L[se],ge=se.match(s);null===ge?z[se]=fe:null!=ge[1]?Fe[ge[1]]=fe:null!=ge[2]&&(ue[ge[2]]=fe)}));let U={};q?.forEach((se=>{let fe=t.splitAtColon(se,[se,se]);U[fe[0]]=fe[1]}));let Z={};return J?.forEach((se=>{let fe=t.splitAtColon(se,[se,se]);Z[fe[0]]=fe[1]})),new w({isHost:S,type:b,isComponent:!!B,selector:k,exportAs:M,changeDetection:R,inputs:U,outputs:Z,hostListeners:ue,hostProperties:Fe,hostAttributes:z,providers:Q,viewProviders:V,queries:j,guards:Y,viewQueries:ie,entryComponents:ee,template:ce,componentViewType:W,rendererType:K,componentFactory:de})}constructor(v){let{isHost:S,type:b,isComponent:B,selector:k,exportAs:M,changeDetection:R,inputs:q,outputs:J,hostListeners:L,hostProperties:Q,hostAttributes:V,providers:j,viewProviders:Y,queries:ie,guards:ee,viewQueries:ce,entryComponents:W,template:K,componentViewType:de,rendererType:ue,componentFactory:Fe}=v;this.isHost=!!S,this.type=b,this.isComponent=B,this.selector=k,this.exportAs=M,this.changeDetection=R,this.inputs=q,this.outputs=J,this.hostListeners=L,this.hostProperties=Q,this.hostAttributes=V,this.providers=P(j),this.viewProviders=P(Y),this.queries=P(ie),this.guards=ee,this.viewQueries=P(ce),this.entryComponents=P(W),this.template=K,this.componentViewType=de,this.rendererType=ue,this.componentFactory=Fe}toSummary(){return{summaryKind:g.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=w;e.CompilePipeMetadata=class{constructor(v){let{type:S,name:b,pure:B}=v;this.type=S,this.name=b,this.pure=!!B}toSummary(){return{summaryKind:g.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompileShallowModuleMetadata=class{};e.CompileNgModuleMetadata=class{constructor(v){let{type:S,providers:b,declaredDirectives:B,exportedDirectives:k,declaredPipes:M,exportedPipes:R,entryComponents:q,bootstrapComponents:J,importedModules:L,exportedModules:Q,schemas:V,transitiveModule:j,id:Y}=v;this.type=S||null,this.declaredDirectives=P(B),this.exportedDirectives=P(k),this.declaredPipes=P(M),this.exportedPipes=P(R),this.providers=P(b),this.entryComponents=P(q),this.bootstrapComponents=P(J),this.importedModules=P(L),this.exportedModules=P(Q),this.schemas=P(V),this.id=Y||null,this.transitiveModule=j||null}toSummary(){let v=this.transitiveModule;return{summaryKind:g.NgModule,type:this.type,entryComponents:v.entryComponents,providers:v.providers,modules:v.modules,exportedDirectives:v.exportedDirectives,exportedPipes:v.exportedPipes}}};function P(v){return v||[]}e.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(v,S){this.providers.push({provider:v,module:S})}addDirective(v){this.directivesSet.has(v.reference)||(this.directivesSet.add(v.reference),this.directives.push(v))}addExportedDirective(v){this.exportedDirectivesSet.has(v.reference)||(this.exportedDirectivesSet.add(v.reference),this.exportedDirectives.push(v))}addPipe(v){this.pipesSet.has(v.reference)||(this.pipesSet.add(v.reference),this.pipes.push(v))}addExportedPipe(v){this.exportedPipesSet.has(v.reference)||(this.exportedPipesSet.add(v.reference),this.exportedPipes.push(v))}addModule(v){this.modulesSet.has(v.reference)||(this.modulesSet.add(v.reference),this.modules.push(v))}addEntryComponent(v){this.entryComponentsSet.has(v.componentType)||(this.entryComponentsSet.add(v.componentType),this.entryComponents.push(v))}};function D(v){return v.reduce(((S,b)=>{let B=Array.isArray(b)?D(b):b;return S.concat(B)}),[])}function T(v){return v.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=class{constructor(v,S){let{useClass:b,useValue:B,useExisting:k,useFactory:M,deps:R,multi:q}=S;this.token=v,this.useClass=b||null,this.useValue=B,this.useExisting=k,this.useFactory=M||null,this.dependencies=R||null,this.multi=!!q}},e.flatten=D,e.templateSourceUrl=function m(v,S,b){let B;return B=b.isInline?S.type.reference instanceof r.StaticSymbol?`${S.type.reference.filePath}.${S.type.reference.name}.html`:`${u(v)}/${u(S.type)}.html`:b.templateUrl,S.type.reference instanceof r.StaticSymbol?B:T(B)},e.sharedStylesheetJitUrl=function C(v,S){let b=v.moduleUrl.split(/\/\\/g);return T(`css/${S}${b[b.length-1]}.ngstyle.js`)},e.ngModuleJitUrl=function o(v){return T(`${u(v.type)}/module.ngfactory.js`)},e.templateJitUrl=function d(v,S){return T(`${u(v)}/${u(S.type)}.ngfactory.js`)}}}),Ag=te({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=vg(),t=Fg(),s=class{constructor(y,h,g,c){this.file=y,this.offset=h,this.line=g,this.col=c}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(y){let h=this.file.content,g=h.length,c=this.offset,f=this.line,F=this.col;for(;c>0&&y<0;)if(c--,y++,h.charCodeAt(c)==r.$LF){f--;let w=h.substr(0,c-1).lastIndexOf(String.fromCharCode(r.$LF));F=w>0?c-w:c}else F--;for(;c0;){let _=h.charCodeAt(c);c++,y--,_==r.$LF?(f++,F=0):F++}return new s(this.file,c,f,F)}getContext(y,h){let g=this.file.content,c=this.offset;if(null!=c){c>g.length-1&&(c=g.length-1);let f=c,F=0,_=0;for(;F0&&(c--,F++,"\n"!=g[c]||++_!=h););for(F=0,_=0;F2&&void 0!==arguments[2]?arguments[2]:null;this.start=y,this.end=h,this.details=g}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=n,e.EMPTY_PARSE_LOCATION=new s(new a("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new n(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(y=u=e.ParseErrorLevel||(e.ParseErrorLevel={}))[y.WARNING=0]="WARNING",y[y.ERROR=1]="ERROR";e.ParseError=class{constructor(y,h){let g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.ERROR;this.span=y,this.msg=h,this.level=g}contextualMessage(){let y=this.span.start.getContext(100,3);return y?`${this.msg} ("${y.before}[${u[this.level]} ->]${y.after}")`:this.msg}toString(){let y=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${y}`}},e.typeSourceSpan=function l(y,h){let g=t.identifierModuleUrl(h),c=null!=g?`in ${y} ${t.identifierName(h)} in ${g}`:`in ${y} ${t.identifierName(h)}`,f=new a("",c);return new n(new s(f,-1,-1,-1),new s(f,-1,-1,-1))},e.r3JitTypeSourceSpan=function p(y,h,g){let f=new a("",`in ${y} ${h} in ${g}`);return new n(new s(f,-1,-1,-1),new s(f,-1,-1,-1))}}}),Sg=te({"src/language-html/print-preprocess.js"(e,r){ne();var{ParseSourceSpan:t}=Ag(),{htmlTrim:s,getLeadingAndTrailingHtmlWhitespace:a,hasHtmlWhitespace:n,canHaveInterpolation:u,getNodeCssStyleDisplay:i,isDanglingSpaceSensitiveNode:l,isIndentationSensitiveNode:p,isLeadingSpaceSensitiveNode:y,isTrailingSpaceSensitiveNode:h,isWhitespaceSensitiveNode:g,isVueScriptTag:c}=Rt(),f=[function _(o){o.walk((d=>{if("element"===d.type&&d.tagDefinition.ignoreFirstLf&&d.children.length>0&&"text"===d.children[0].type&&"\n"===d.children[0].value[0]){let v=d.children[0];1===v.value.length?d.removeChild(v):v.value=v.value.slice(1)}}))},function w(o){let d=v=>"element"===v.type&&v.prev&&"ieConditionalStartComment"===v.prev.type&&v.prev.sourceSpan.end.offset===v.startSourceSpan.start.offset&&v.firstChild&&"ieConditionalEndComment"===v.firstChild.type&&v.firstChild.sourceSpan.start.offset===v.startSourceSpan.end.offset;o.walk((v=>{if(v.children)for(let S=0;S{if(S.children)for(let b=0;b"cdata"===d.type),(d=>``))},function I(o,d){if("html"===d.parser)return;let v=/{{(.+?)}}/s;o.walk((S=>{if(u(S))for(let b of S.children){if("text"!==b.type)continue;let B=b.sourceSpan.start,k=null,M=b.value.split(v);for(let R=0;R0&&S.insertChildBefore(b,{type:"text",value:q,sourceSpan:new t(B,k)}))}S.removeChild(b)}}))},function P(o){o.walk((d=>{if(!d.children)return;if(0===d.children.length||1===d.children.length&&"text"===d.children[0].type&&0===s(d.children[0].value).length)return d.hasDanglingSpaces=d.children.length>0,void(d.children=[]);let v=g(d),S=p(d);if(!v)for(let b=0;b{v.cssDisplay=i(v,d)}))},function $(o){o.walk((d=>{d.isSelfClosing=!d.children||"element"===d.type&&(d.tagDefinition.isVoid||d.startSourceSpan===d.endSourceSpan)}))},function D(o,d){o.walk((v=>{"element"===v.type&&(v.hasHtmComponentClosingTag=v.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(d.originalText.slice(v.endSourceSpan.start.offset,v.endSourceSpan.end.offset)))}))},function m(o,d){o.walk((v=>{let{children:S}=v;if(S){if(0===S.length)return void(v.isDanglingSpaceSensitive=l(v));for(let b of S)b.isLeadingSpaceSensitive=y(b,d),b.isTrailingSpaceSensitive=h(b,d);for(let b=0;b"element"===v.type&&0===v.attrs.length&&1===v.children.length&&"text"===v.firstChild.type&&!n(v.children[0].value)&&!v.firstChild.hasLeadingSpaces&&!v.firstChild.hasTrailingSpaces&&v.isLeadingSpaceSensitive&&!v.hasLeadingSpaces&&v.isTrailingSpaceSensitive&&!v.hasTrailingSpaces&&v.prev&&"text"===v.prev.type&&v.next&&"text"===v.next.type;o.walk((v=>{if(v.children)for(let S=0;S`+b.firstChild.value+``+k.value,B.sourceSpan=new t(B.sourceSpan.start,k.sourceSpan.end),B.isTrailingSpaceSensitive=k.isTrailingSpaceSensitive,B.hasTrailingSpaces=k.hasTrailingSpaces,v.removeChild(b),S--,v.removeChild(k)}}))},function C(o,d){if("vue"===d.parser){let v=o.children.find((b=>c(b,d)));if(!v)return;let{lang:S}=v.attrMap;("ts"===S||"typescript"===S)&&(d.__should_parse_vue_template_with_ts=!0)}}];r.exports=function F(o,d){for(let v of f)v(o,d);return o}}}),xg=te({"src/language-html/pragma.js"(e,r){ne(),r.exports={hasPragma:function t(a){return/^\s*/.test(a)},insertPragma:function s(a){return"\x3c!-- @format --\x3e\n\n"+a.replace(/^\s*\n/,"")}}}}),au=te({"src/language-html/loc.js"(e,r){ne(),r.exports={locStart:function t(a){return a.sourceSpan.start.offset},locEnd:function s(a){return a.sourceSpan.end.offset}}}}),ur=te({"src/language-html/print/tag.js"(e,r){ne();var t=Zt(),{isNonEmptyArray:s}=Ue(),{builders:{indent:a,join:n,line:u,softline:i,hardline:l},utils:{replaceTextEndOfLine:p}}=qe(),{locStart:y,locEnd:h}=au(),{isTextLikeNode:g,getLastDescendant:c,isPreLikeNode:f,hasPrettierIgnore:F,shouldPreserveContent:_,isVueSfcBlock:w}=Rt();function N(L,Q){return L.lastChild&&o(L.lastChild)?"":[I(L,Q),$(L,Q)]}function x(L,Q){return(L.next?m(L.next):C(L.parent))?"":[D(L,Q),P(L,Q)]}function I(L,Q){return C(L)?D(L.lastChild,Q):""}function P(L,Q){return o(L)?$(L.parent,Q):d(L)?q(L.next):""}function $(L,Q){if(t(!L.isSelfClosing),T(L,Q))return"";switch(L.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(L.isSelfClosing)return"/>";default:return">"}}function T(L,Q){return!L.isSelfClosing&&!L.endSourceSpan&&(F(L)||_(L.parent,Q))}function m(L){return L.prev&&"docType"!==L.prev.type&&!g(L.prev)&&L.isLeadingSpaceSensitive&&!L.hasLeadingSpaces}function C(L){return L.lastChild&&L.lastChild.isTrailingSpaceSensitive&&!L.lastChild.hasTrailingSpaces&&!g(c(L.lastChild))&&!f(L)}function o(L){return!L.next&&!L.hasTrailingSpaces&&L.isTrailingSpaceSensitive&&g(c(L))}function d(L){return L.next&&!g(L.next)&&g(L)&&L.isTrailingSpaceSensitive&&!L.hasTrailingSpaces}function S(L){return!L.prev&&L.isLeadingSpaceSensitive&&!L.hasLeadingSpaces}function b(L,Q,V){let j=L.getValue();if(!s(j.attrs))return j.isSelfClosing?" ":"";let Y=j.prev&&"comment"===j.prev.type&&function v(L){let Q=L.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!Q&&(!Q[1]||Q[1].split(/\s+/))}(j.prev.value),ie="boolean"==typeof Y?()=>Y:Array.isArray(Y)?ue=>Y.includes(ue.rawName):()=>!1,ee=L.map((ue=>{let Fe=ue.getValue();return ie(Fe)?p(Q.originalText.slice(y(Fe),h(Fe))):V()}),"attrs"),ce="element"===j.type&&"script"===j.fullName&&1===j.attrs.length&&"src"===j.attrs[0].fullName&&0===j.children.length,K=Q.singleAttributePerLine&&j.attrs.length>1&&!w(j,Q)?l:u,de=[a([ce?" ":u,n(K,ee)])];return j.firstChild&&S(j.firstChild)||j.isSelfClosing&&C(j.parent)||ce?de.push(j.isSelfClosing?" ":""):de.push(Q.bracketSameLine?j.isSelfClosing?" ":"":j.isSelfClosing?u:i),de}function B(L){return L.firstChild&&S(L.firstChild)?"":J(L)}function M(L,Q){return L.prev&&d(L.prev)?"":[R(L,Q),q(L)]}function R(L,Q){return S(L)?J(L.parent):m(L)?D(L.prev,Q):""}function q(L){switch(L.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${L.condition}`;case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<${L.rawName}`;default:return`<${L.rawName}`}}function J(L){switch(t(!L.isSelfClosing),L.type){case"ieConditionalComment":return"]>";case"element":if(L.condition)return">\x3c!--"}}r.exports={printClosingTag:function E(L,Q){return[L.isSelfClosing?"":N(L,Q),x(L,Q)]},printClosingTagStart:N,printClosingTagStartMarker:$,printClosingTagEndMarker:D,printClosingTagSuffix:P,printClosingTagEnd:x,needsToBorrowLastChildClosingTagEndMarker:C,needsToBorrowParentClosingTagStartMarker:o,needsToBorrowPrevClosingTagEndMarker:m,printOpeningTag:function k(L,Q,V){let j=L.getValue();return[M(j,Q),b(L,Q,V),j.isSelfClosing?"":B(j)]},printOpeningTagStart:M,printOpeningTagPrefix:R,printOpeningTagStartMarker:q,printOpeningTagEndMarker:J,needsToBorrowNextOpeningTagStartMarker:d,needsToBorrowParentOpeningTagEndMarker:S}}}),bg=te({"node_modules/parse-srcset/src/parse-srcset.js"(e,r){var t,s;ne(),t=e,s=function(){return function(t,s){var a=s&&s.logger||console;function n($){return" "===$||"\t"===$||"\n"===$||"\f"===$||"\r"===$}function u($){var D,T=$.exec(t.substring(N));if(T)return D=T[0],N+=D.length,D}for(var f,F,_,w,E,i=t.length,l=/^[ \t\n\r\u000c]+/,p=/^[, \t\n\r\u000c]+/,y=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,g=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,N=0,x=[];;){if(u(p),N>=i)return x;f=u(y),F=[],","===f.slice(-1)?(f=f.replace(h,""),P()):I()}function I(){for(u(l),_="",w="in descriptor";;){if(E=t.charAt(N),"in descriptor"===w)if(n(E))_&&(F.push(_),_="",w="after descriptor");else{if(","===E)return N+=1,_&&F.push(_),void P();if("("===E)_+=E,w="in parens";else{if(""===E)return _&&F.push(_),void P();_+=E}}else if("in parens"===w)if(")"===E)_+=E,w="in descriptor";else{if(""===E)return F.push(_),void P();_+=E}else if("after descriptor"===w&&!n(E)){if(""===E)return void P();w="in descriptor",N-=1}N+=1}}function P(){var D,T,m,C,d,v,S,b,B,$=!1,o={};for(C=0;C{let{w:P}=I;return P})),h=p.some((I=>{let{h:P}=I;return P}));if(y+h+p.some((I=>{let{d:P}=I;return P}))>1)throw new Error("Mixed descriptor in srcset is not supported");let c=y?"w":h?"h":"d",f=y?"w":h?"h":"x",F=I=>Math.max(...I),_=p.map((I=>I.url)),w=F(_.map((I=>I.length))),E=p.map((I=>I[c])).map((I=>I?I.toString():"")),N=E.map((I=>{let P=I.indexOf(".");return-1===P?I.length:P})),x=F(N);return a([",",n],_.map(((I,P)=>{let $=[I],D=E[P];if(D){let T=w-I.length+1,m=x-N[P],C=" ".repeat(T+m);$.push(s(C," "),D+f)}return $})))},printClassNames:function i(l){return l.trim().split(/\s+/).join(" ")}}}}),Bg=te({"src/language-html/syntax-vue.js"(e,r){ne();var{builders:{group:t}}=qe();r.exports={isVueEventBindingExpression:function u(i){let y=i.trim();return/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/.test(y)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(y)},printVueFor:function s(i,l){let{left:p,operator:y,right:h}=function a(i){let l=/(.*?)\s+(in|of)\s+(.*)/s,p=/,([^,\]}]*)(?:,([^,\]}]*))?$/,y=/^\(|\)$/g,h=i.match(l);if(!h)return;let g={};if(g.for=h[3].trim(),!g.for)return;let c=h[1].trim().replace(y,""),f=c.match(p);f?(g.alias=c.replace(p,""),g.iterator1=f[1].trim(),f[2]&&(g.iterator2=f[2].trim())):g.alias=c;let F=[g.alias,g.iterator1,g.iterator2];if(!F.some(((_,w)=>!_&&(0===w||F.slice(w+1).some(Boolean)))))return{left:F.filter(Boolean).join(","),operator:h[2],right:g.for}}(i);return[t(l(`function _(${p}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",y," ",l(h,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function n(i,l){return l(`function _(${i}) {}`,{parser:"babel",__isVueBindings:!0})}}}}),Lo=te({"src/language-html/get-node-content.js"(e,r){ne();var{needsToBorrowParentClosingTagStartMarker:t,printClosingTagStartMarker:s,needsToBorrowLastChildClosingTagEndMarker:a,printClosingTagEndMarker:n,needsToBorrowParentOpeningTagEndMarker:u,printOpeningTagEndMarker:i}=ur();r.exports=function l(p,y){let h=p.startSourceSpan.end.offset;p.firstChild&&u(p.firstChild)&&(h-=i(p).length);let g=p.endSourceSpan.start.offset;return p.lastChild&&t(p.lastChild)?g+=s(p,y).length:a(p)&&(g-=n(p.lastChild,y).length),y.originalText.slice(h,g)}}}),Ng=te({"src/language-html/embed.js"(e,r){ne();var{builders:{breakParent:t,group:s,hardline:a,indent:n,line:u,fill:i,softline:l},utils:{mapDoc:p,replaceTextEndOfLine:y}}=qe(),h=su(),{printClosingTag:g,printClosingTagSuffix:c,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:F,printOpeningTag:_}=ur(),{printImgSrcset:w,printClassNames:E}=Tg(),{printVueFor:N,printVueBindings:x,isVueEventBindingExpression:I}=Bg(),{isScriptLikeTag:P,isVueNonHtmlBlock:$,inferScriptParser:D,htmlTrimPreserveIndentation:T,dedentString:m,unescapeQuoteEntities:C,isVueSlotAttribute:o,isVueSfcBindingsAttribute:d,getTextValueParts:v}=Rt(),S=Lo();function b(k,M,R){let q=ee=>new RegExp(ee.join("|")).test(k.fullName),J=()=>C(k.value),L=!1,Q=(ee,ce)=>{let W="NGRoot"===ee.type?"NGMicrosyntax"===ee.node.type&&1===ee.node.body.length&&"NGMicrosyntaxExpression"===ee.node.body[0].type?ee.node.body[0].expression:ee.node:"JsExpressionRoot"===ee.type?ee.node:ee;W&&("ObjectExpression"===W.type||"ArrayExpression"===W.type||"__vue_expression"===ce.parser&&("TemplateLiteral"===W.type||"StringLiteral"===W.type))&&(L=!0)},j=function(ee){let ce=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return s([n([l,ee]),ce?l:""])},Y=ee=>L?(ee=>s(ee))(ee):j(ee),ie=(ee,ce)=>M(ee,Object.assign({__onHtmlBindingRoot:Q,__embeddedInHtml:!0},ce));if("srcset"===k.fullName&&("img"===k.parent.fullName||"source"===k.parent.fullName))return j(w(J()));if("class"===k.fullName&&!R.parentParser){let ee=J();if(!ee.includes("{{"))return E(ee)}if("style"===k.fullName&&!R.parentParser){let ee=J();if(!ee.includes("{{"))return j(ie(ee,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===R.parser){if("v-for"===k.fullName)return N(J(),ie);if(o(k)||d(k,R))return x(J(),ie);let ce=["^:","^v-bind:"],W=["^v-"];if(q(["^@","^v-on:"])){let K=J(),de=I(K)?"__js_expression":R.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return Y(ie(K,{parser:de}))}if(q(ce))return Y(ie(J(),{parser:"__vue_expression"}));if(q(W))return Y(ie(J(),{parser:"__js_expression"}))}if("angular"===R.parser){let ee=(z,U)=>ie(z,Object.assign(Object.assign({},U),{},{trailingComma:"none"})),ce=["^\\*"],K=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],de=["^i18n(-.+)?$"];if(q(["^\\(.+\\)$","^on-"]))return Y(ee(J(),{parser:"__ng_action"}));if(q(K))return Y(ee(J(),{parser:"__ng_binding"}));if(q(de)){let z=J().trim();return j(i(v(k,z)),!z.includes("@@"))}if(q(ce))return Y(ee(J(),{parser:"__ng_directive"}));let ue=/{{(.+?)}}/s,Fe=J();if(ue.test(Fe)){let z=[];for(let[U,Z]of Fe.split(ue).entries())if(U%2==0)z.push(y(Z));else try{z.push(s(["{{",n([u,ee(Z,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),u,"}}"]))}catch{z.push("{{",y(Z),"}}")}return s(z)}}return null}r.exports=function B(k,M,R,q){let J=k.getValue();switch(J.type){case"element":if(P(J)||"interpolation"===J.type)return;if(!J.isSelfClosing&&$(J,q)){let L=D(J,q);if(!L)return;let Q=S(J,q),V=/^\s*$/.test(Q),j="";return V||(j=R(T(Q),{parser:L,__embeddedInHtml:!0},{stripTrailingHardline:!0}),V=""===j),[F(J,q),s(_(k,q,M)),V?"":a,j,V?"":a,g(J,q),c(J,q)]}break;case"text":if(P(J.parent)){let L=D(J.parent,q);if(L){let Q="markdown"===L?m(J.value.replace(/^[^\S\n]*\n/,"")):J.value,V={parser:L,__embeddedInHtml:!0};if("html"===q.parser&&"babel"===L){let j="script",{attrMap:Y}=J.parent;Y&&("module"===Y.type||"text/babel"===Y.type&&"module"===Y["data-type"])&&(j="module"),V.__babelSourceType=j}return[t,F(J,q),R(Q,V,{stripTrailingHardline:!0}),c(J,q)]}}else if("interpolation"===J.parent.type){let L={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===q.parser?(L.parser="__ng_interpolation",L.trailingComma="none"):"vue"===q.parser?L.parser=q.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":L.parser="__js_expression",[n([u,R(J.value,L,{stripTrailingHardline:!0})]),J.parent.next&&f(J.parent.next)?" ":u]}break;case"attribute":{if(!J.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(q.originalText.slice(J.valueSpan.start.offset,J.valueSpan.end.offset)))return[J.rawName,"=",J.value];if("lwc"===q.parser&&/^{.*}$/s.test(q.originalText.slice(J.valueSpan.start.offset,J.valueSpan.end.offset)))return[J.rawName,"=",J.value];let L=b(J,((Q,V)=>R(Q,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},V),{stripTrailingHardline:!0})),q);if(L)return[J.rawName,'="',s(p(L,(Q=>"string"==typeof Q?Q.replace(/"/g,"""):Q))),'"'];break}case"front-matter":return h(J,R)}}}}),Oo=te({"src/language-html/print/children.js"(e,r){ne();var{builders:{breakParent:t,group:s,ifBreak:a,line:n,softline:u,hardline:i},utils:{replaceTextEndOfLine:l}}=qe(),{locStart:p,locEnd:y}=au(),{forceBreakChildren:h,forceNextEmptyLine:g,isTextLikeNode:c,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:F}=Rt(),{printOpeningTagPrefix:_,needsToBorrowNextOpeningTagStartMarker:w,printOpeningTagStartMarker:E,needsToBorrowPrevClosingTagEndMarker:N,printClosingTagEndMarker:x,printClosingTagSuffix:I,needsToBorrowParentClosingTagStartMarker:P}=ur();function $(m,C,o){let d=m.getValue();return f(d)?[_(d,C),...l(C.originalText.slice(p(d)+(d.prev&&w(d.prev)?E(d).length:0),y(d)-(d.next&&N(d.next)?x(d,C).length:0))),I(d,C)]:o()}function D(m,C){return c(m)&&c(C)?m.isTrailingSpaceSensitive?m.hasTrailingSpaces?F(C)?i:n:"":F(C)?i:u:w(m)&&(f(C)||C.firstChild||C.isSelfClosing||"element"===C.type&&C.attrs.length>0)||"element"===m.type&&m.isSelfClosing&&N(C)?"":!C.isLeadingSpaceSensitive||F(C)||N(C)&&m.lastChild&&P(m.lastChild)&&m.lastChild.lastChild&&P(m.lastChild.lastChild)?i:C.hasLeadingSpaces?n:u}r.exports={printChildren:function T(m,C,o){let d=m.getValue();if(h(d))return[t,...m.map((S=>{let b=S.getValue(),B=b.prev?D(b.prev,b):"";return[B?[B,g(b.prev)?i:""]:"",$(S,C,o)]}),"children")];let v=d.children.map((()=>Symbol("")));return m.map(((S,b)=>{let B=S.getValue();if(c(B)){if(B.prev&&c(B.prev)){let Q=D(B.prev,B);if(Q)return g(B.prev)?[i,i,$(S,C,o)]:[Q,$(S,C,o)]}return $(S,C,o)}let k=[],M=[],R=[],q=[],J=B.prev?D(B.prev,B):"",L=B.next?D(B,B.next):"";return J&&(g(B.prev)?k.push(i,i):J===i?k.push(i):c(B.prev)?M.push(J):M.push(a("",u,{groupId:v[b-1]}))),L&&(g(B)?c(B.next)&&q.push(i,i):L===i?c(B.next)&&q.push(i):R.push(L)),[...k,s([...M,s([$(S,C,o),...R],{id:v[b]})]),...q]}),"children")}}}}),wg=te({"src/language-html/print/element.js"(e,r){ne();var{builders:{breakParent:t,dedentToRoot:s,group:a,ifBreak:n,indentIfBreak:u,indent:i,line:l,softline:p},utils:{replaceTextEndOfLine:y}}=qe(),h=Lo(),{shouldPreserveContent:g,isScriptLikeTag:c,isVueCustomBlock:f,countParents:F,forceBreakContent:_}=Rt(),{printOpeningTagPrefix:w,printOpeningTag:E,printClosingTagSuffix:N,printClosingTag:x,needsToBorrowPrevClosingTagEndMarker:I,needsToBorrowLastChildClosingTagEndMarker:P}=ur(),{printChildren:$}=Oo();r.exports={printElement:function D(T,m,C){let o=T.getValue();if(g(o,m))return[w(o,m),a(E(T,m,C)),...y(h(o,m)),...x(o,m),N(o,m)];let d=1===o.children.length&&"interpolation"===o.firstChild.type&&o.firstChild.isLeadingSpaceSensitive&&!o.firstChild.hasLeadingSpaces&&o.lastChild.isTrailingSpaceSensitive&&!o.lastChild.hasTrailingSpaces,v=Symbol("element-attr-group-id"),S=M=>a([a(E(T,m,C),{id:v}),M,x(o,m)]);return 0===o.children.length?S(o.hasDanglingSpaces&&o.isDanglingSpaceSensitive?l:""):S([_(o)?t:"",(M=[d?n(p,"",{groupId:v}):o.firstChild.hasLeadingSpaces&&o.firstChild.isLeadingSpaceSensitive?l:"text"===o.firstChild.type&&o.isWhitespaceSensitive&&o.isIndentationSensitive?s(p):p,$(T,m,C)],d?u(M,{groupId:v}):!c(o)&&!f(o,m)||"root"!==o.parent.type||"vue"!==m.parser||m.vueIndentScriptAndStyle?i(M):M),(o.next?I(o.next):P(o.parent))?o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?" ":"":d?n(p,"",{groupId:v}):o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?l:("comment"===o.lastChild.type||"text"===o.lastChild.type&&o.isWhitespaceSensitive&&o.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${m.tabWidth*F(T,(R=>R.parent&&"root"!==R.parent.type))}}$`).test(o.lastChild.value)?"":p]);var M}}}}),_g=te({"src/language-html/printer-html.js"(e,r){ne();var{builders:{fill:t,group:s,hardline:a,literalline:n},utils:{cleanDoc:u,getDocParts:i,isConcat:l,replaceTextEndOfLine:p}}=qe(),y=gg(),{countChars:h,unescapeQuoteEntities:g,getTextValueParts:c}=Rt(),f=Sg(),{insertPragma:F}=xg(),{locStart:_,locEnd:w}=au(),E=Ng(),{printClosingTagSuffix:N,printClosingTagEnd:x,printOpeningTagPrefix:I,printOpeningTagStart:P}=ur(),{printElement:$}=wg(),{printChildren:D}=Oo();r.exports={preprocess:f,print:function T(m,C,o){let d=m.getValue();switch(d.type){case"front-matter":return p(d.raw);case"root":return C.__onHtmlRoot&&C.__onHtmlRoot(d),[s(D(m,C,o)),a];case"element":case"ieConditionalComment":return $(m,C,o);case"ieConditionalStartComment":case"ieConditionalEndComment":return[P(d),x(d)];case"interpolation":return[P(d,C),...m.map(o,"children"),x(d,C)];case"text":{if("interpolation"===d.parent.type){let S=/\n[^\S\n]*$/,b=S.test(d.value),B=b?d.value.replace(S,""):d.value;return[...p(B),b?a:""]}let v=u([I(d,C),...c(d),N(d,C)]);return l(v)||"fill"===v.type?t(i(v)):v}case"docType":return[s([P(d,C)," ",d.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),x(d,C)];case"comment":return[I(d,C),...p(C.originalText.slice(_(d),w(d)),n),N(d,C)];case"attribute":{if(null===d.value)return d.rawName;let v=g(d.value),B=h(v,"'")({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),t(On(),(l=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...l.extensions,".mjml"]}))),t(On(),(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),t(kg(),(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],i={html:s};r.exports={languages:u,printers:i,options:a,parsers:n}}}),Og=te({"src/language-yaml/pragma.js"(e,r){ne(),r.exports={isPragma:function t(n){return/^\s*@(?:prettier|format)\s*$/.test(n)},hasPragma:function s(n){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(n)},insertPragma:function a(n){return`# @format\n\n${n}`}}}}),jg=te({"src/language-yaml/loc.js"(e,r){ne(),r.exports={locStart:function t(a){return a.position.start.offset},locEnd:function s(a){return a.position.end.offset}}}}),qg=te({"src/language-yaml/embed.js"(e,r){ne(),r.exports=function t(s,a,n,u){if("root"===s.getValue().type&&u.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(u.filepath))return n(u.originalText,Object.assign(Object.assign({},u),{},{parser:"json"}))}}}),$t=te({"src/language-yaml/utils.js"(e,r){ne();var{getLast:t,isNonEmptyArray:s}=Ue();function n(D,T){return D&&"string"==typeof D.type&&(!T||T.includes(D.type))}function h(D){return"prettier-ignore"===D.value.trim()}function F(D){return s(D?.leadingComments)}function _(D){return s(D?.middleComments)}function w(D){return D?.indicatorComment}function E(D){return D?.trailingComment}function N(D){return s(D?.endComments)}function x(D){let m,T=[];for(let C of D.split(/( +)/))" "!==C?" "===m?T.push(C):T.push((T.pop()||"")+C):void 0===m&&T.unshift(""),m=C;return" "===m&&T.push((T.pop()||"")+" "),""===T[0]&&(T.shift(),T.unshift(" "+(T.shift()||""))),T}r.exports={getLast:t,getAncestorCount:function a(D,T){let m=0,C=D.stack.length-1;for(let o=0;ou(C,T,D)))}):D,m)},defineShortcut:function i(D,T,m){Object.defineProperty(D,T,{get:m,enumerable:!1})},isNextLineEmpty:function l(D,T){let m=0,C=T.length;for(let o=D.position.end.offset-1;o *)[^\n\r ]/m);v=B?B.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else v=D.indent-1+m;let S=d.split("\n").map((B=>B.slice(v)));return"preserve"===o.proseWrap||"blockLiteral"===D.type?b(S.map((B=>0===B.length?[]:[B]))):b(S.map((B=>0===B.length?[]:x(B))).reduce(((B,k,M)=>0!==M&&S[M-1].length>0&&k.length>0&&!/^\s/.test(k[0])&&!/^\s|\s$/.test(t(B))?[...B.slice(0,-1),[...t(B),...k]]:[...B,k]),[]).map((B=>B.reduce(((k,M)=>k.length>0&&/\s$/.test(t(k))?[...k.slice(0,-1),t(k)+" "+M]:[...k,M]),[]))).map((B=>"never"===o.proseWrap?[B.join(" ")]:B)));function b(B){if("keep"===D.chomping)return 0===t(B).length?B.slice(0,-1):B;let k=0;for(let M=B.length-1;M>=0&&0===B[M].length;M--)k++;return 0===k?B:k>=2&&!C?B.slice(0,-(k-1)):B.slice(0,-k)}},getFlowScalarLineContents:function I(D,T,m){let C=T.split("\n").map(((o,d,v)=>0===d&&d===v.length-1?o:0!==d&&d!==v.length-1?o.trim():0===d?o.trimEnd():o.trimStart()));return"preserve"===m.proseWrap?C.map((o=>0===o.length?[]:[o])):C.map((o=>0===o.length?[]:x(o))).reduce(((o,d,v)=>0!==v&&C[v-1].length>0&&d.length>0&&("quoteDouble"!==D||!t(t(o)).endsWith("\\"))?[...o.slice(0,-1),[...t(o),...d]]:[...o,d]),[]).map((o=>"never"===m.proseWrap?[o.join(" ")]:o))},getLastDescendantNode:function y(D){return s(D.children)?y(t(D.children)):D},hasPrettierIgnore:function g(D){let T=D.getValue();if("documentBody"===T.type){let m=D.getParentNode();return N(m.head)&&h(t(m.head.endComments))}return F(T)&&h(t(T.leadingComments))},hasLeadingComments:F,hasMiddleComments:_,hasIndicatorComment:w,hasTrailingComment:E,hasEndComments:N}}}),Mg=te({"src/language-yaml/print-preprocess.js"(e,r){ne();var{defineShortcut:t,mapNode:s}=$t();function n(u){switch(u.type){case"document":t(u,"head",(()=>u.children[0])),t(u,"body",(()=>u.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":t(u,"content",(()=>u.children[0]));break;case"mappingItem":case"flowMappingItem":t(u,"key",(()=>u.children[0])),t(u,"value",(()=>u.children[1]))}return u}r.exports=function a(u){return s(u,n)}}}),Mr=te({"src/language-yaml/print/misc.js"(e,r){ne();var{builders:{softline:t,align:s}}=qe(),{hasEndComments:a,isNextLineEmpty:n,isNode:u}=$t(),i=new WeakMap;function p(h){return a(h)&&!u(h,["documentHead","documentBody","flowMapping","flowSequence"])}r.exports={alignWithSpaces:function y(h,g){return s(" ".repeat(h),g)},shouldPrintEndComments:p,printNextEmptyLine:function l(h,g){let F,c=h.getValue(),f=h.stack[0];return i.has(f)?F=i.get(f):(F=new Set,i.set(f,F)),F.has(c.position.end.line)||(F.add(c.position.end.line),!n(c,g)||p(h.getParentNode()))?"":t}}}}),Rg=te({"src/language-yaml/print/flow-mapping-sequence.js"(e,r){ne();var{builders:{ifBreak:t,line:s,softline:a,hardline:n,join:u}}=qe(),{isEmptyNode:i,getLast:l,hasEndComments:p}=$t(),{printNextEmptyLine:y,alignWithSpaces:h}=Mr();function g(f,F,_){let w=f.getValue(),E="flowMapping"===w.type,N=E?"{":"[",x=E?"}":"]",I=a;E&&w.children.length>0&&_.bracketSpacing&&(I=s);let P=l(w.children),$=P&&"flowMappingItem"===P.type&&i(P.key)&&i(P.value);return[N,h(_.tabWidth,[I,c(f,F,_),"none"===_.trailingComma?"":t(","),p(w)?[n,u(n,f.map(F,"endComments"))]:""]),$?"":I,x]}function c(f,F,_){let w=f.getValue();return f.map(((N,x)=>[F(),x===w.children.length-1?"":[",",s,w.children[x].position.start.line!==w.children[x+1].position.start.line?y(N,_.originalText):""]]),"children")}r.exports={printFlowMapping:g,printFlowSequence:g}}}),$g=te({"src/language-yaml/print/mapping-item.js"(e,r){ne();var{builders:{conditionalGroup:t,group:s,hardline:a,ifBreak:n,join:u,line:i}}=qe(),{hasLeadingComments:l,hasMiddleComments:p,hasTrailingComment:y,hasEndComments:h,isNode:g,isEmptyNode:c,isInlineNode:f}=$t(),{alignWithSpaces:F}=Mr();function w(x,I){if(!x)return!0;switch(x.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===I.proseWrap)return x.position.start.line===x.position.end.line;if(/\\$/m.test(I.originalText.slice(x.position.start.offset,x.position.end.offset)))return!1;switch(I.proseWrap){case"never":return!x.value.includes("\n");case"always":return!/[\n ]/.test(x.value);default:return!1}}r.exports=function _(x,I,P,$,D){let{key:T,value:m}=x,C=c(T),o=c(m);if(C&&o)return": ";let d=$("key"),v=function E(x){return x.key.content&&"alias"===x.key.content.type}(x)?" ":"";if(o)return"flowMappingItem"===x.type&&"flowMapping"===I.type?d:"mappingItem"!==x.type||!w(T.content,D)||y(T.content)||I.tag&&"tag:yaml.org,2002:set"===I.tag.value?["? ",F(2,d)]:[d,v,":"];let S=$("value");if(C)return[": ",F(2,S)];if(l(m)||!f(T.content))return["? ",F(2,d),a,u("",P.map($,"value","leadingComments").map((q=>[q,a]))),": ",F(2,S)];if(function N(x){if(!x)return!0;switch(x.type){case"plain":case"quoteDouble":case"quoteSingle":return x.position.start.line===x.position.end.line;case"alias":return!0;default:return!1}}(T.content)&&!l(T.content)&&!p(T.content)&&!y(T.content)&&!h(T)&&!l(m.content)&&!p(m.content)&&!h(m)&&w(m.content,D))return[d,v,": ",S];let b=Symbol("mappingKey"),B=s([n("? "),s(F(2,d),{id:b})]),k=[a,": ",F(2,S)],M=[v,":"];l(m.content)||h(m)&&m.content&&!g(m.content,["mapping","sequence"])||"mapping"===I.type&&y(T.content)&&f(m.content)||g(m.content,["mapping","sequence"])&&null===m.content.tag&&null===m.content.anchor?M.push(a):m.content&&M.push(i),M.push(S);let R=F(D.tabWidth,M);return!w(T.content,D)||l(T.content)||p(T.content)||h(T)?t([[B,n(k,R,{groupId:b})]]):t([[d,R]])}}}),Vg=te({"src/language-yaml/print/block.js"(e,r){ne();var{builders:{dedent:t,dedentToRoot:s,fill:a,hardline:n,join:u,line:i,literalline:l,markAsRoot:p},utils:{getDocParts:y}}=qe(),{getAncestorCount:h,getBlockValueLineContents:g,hasIndicatorComment:c,isLastDescendantNode:f,isNode:F}=$t(),{alignWithSpaces:_}=Mr();r.exports=function w(E,N,x){let I=E.getValue(),P=h(E,(C=>F(C,["sequence","mapping"]))),$=f(E),D=["blockFolded"===I.type?">":"|"];null!==I.indent&&D.push(I.indent.toString()),"clip"!==I.chomping&&D.push("keep"===I.chomping?"+":"-"),c(I)&&D.push(" ",N("indicatorComment"));let T=g(I,{parentIndent:P,isLastDescendant:$,options:x}),m=[];for(let[C,o]of T.entries())0===C&&m.push(n),m.push(a(y(u(i,o)))),C!==T.length-1?m.push(0===o.length?n:p(l)):"keep"===I.chomping&&$&&m.push(s(0===o.length?n:l));return null===I.indent?D.push(t(_(x.tabWidth,m))):D.push(s(_(I.indent-1+P,m))),D}}}),Wg=te({"src/language-yaml/printer-yaml.js"(e,r){ne();var{builders:{breakParent:t,fill:s,group:a,hardline:n,join:u,line:i,lineSuffix:l,literalline:p},utils:{getDocParts:y,replaceTextEndOfLine:h}}=qe(),{isPreviousLineEmpty:g}=Ue(),{insertPragma:c,isPragma:f}=Og(),{locStart:F}=jg(),_=qg(),{getFlowScalarLineContents:w,getLastDescendantNode:E,hasLeadingComments:N,hasMiddleComments:x,hasTrailingComment:I,hasEndComments:P,hasPrettierIgnore:$,isLastDescendantNode:D,isNode:T,isInlineNode:m}=$t(),C=Mg(),{alignWithSpaces:o,printNextEmptyLine:d,shouldPrintEndComments:v}=Mr(),{printFlowMapping:S,printFlowSequence:b}=Rg(),B=$g(),k=Vg();function J(j,Y){return I(j)||Y&&(Y.head.children.length>0||P(Y.head))}function Q(j,Y,ie){let ee=w(j,Y,ie);return u(n,ee.map((ce=>s(y(u(i,ce))))))}r.exports={preprocess:C,embed:_,print:function M(j,Y,ie){let ee=j.getValue(),ce=[];"mappingValue"!==ee.type&&N(ee)&&ce.push([u(n,j.map(ie,"leadingComments")),n]);let{tag:W,anchor:K}=ee;W&&ce.push(ie("tag")),W&&K&&ce.push(" "),K&&ce.push(ie("anchor"));let de="";T(ee,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!D(j)&&(de=d(j,Y.originalText)),(W||K)&&(T(ee,["sequence","mapping"])&&!x(ee)?ce.push(n):ce.push(" ")),x(ee)&&ce.push([1===ee.middleComments.length?"":n,u(n,j.map(ie,"middleComments")),n]);let ue=j.getParentNode();return $(j)?ce.push(h(Y.originalText.slice(ee.position.start.offset,ee.position.end.offset).trimEnd(),p)):ce.push(a(function R(j,Y,ie,ee,ce){switch(j.type){case"root":{let{children:W}=j,K=[];ie.each(((ue,Fe)=>{let z=W[Fe],U=W[Fe+1];0!==Fe&&K.push(n),K.push(ce()),J(z,U)?(K.push(n,"..."),I(z)&&K.push(" ",ce("trailingComment"))):U&&!I(U.head)&&K.push(n,"---")}),"children");let de=E(j);return(!T(de,["blockLiteral","blockFolded"])||"keep"!==de.chomping)&&K.push(n),K}case"document":{let K=[];return"head"===function L(j,Y,ie,ee){return ie.children[0]===j&&/---(?:\s|$)/.test(ee.originalText.slice(F(j),F(j)+4))||j.head.children.length>0||P(j.head)||I(j.head)?"head":!J(j,Y)&&(!!Y&&"root")}(j,Y.children[ie.getName()+1],Y,ee)&&((j.head.children.length>0||j.head.endComments.length>0)&&K.push(ce("head")),I(j.head)?K.push(["---"," ",ce(["head","trailingComment"])]):K.push("---")),function q(j){return j.body.children.length>0||P(j.body)}(j)&&K.push(ce("body")),u(n,K)}case"documentHead":return u(n,[...ie.map(ce,"children"),...ie.map(ce,"endComments")]);case"documentBody":{let{children:W,endComments:K}=j,de="";if(W.length>0&&K.length>0){let ue=E(j);T(ue,["blockFolded","blockLiteral"])?"keep"!==ue.chomping&&(de=[n,n]):de=n}return[u(n,ie.map(ce,"children")),de,u(n,ie.map(ce,"endComments"))]}case"directive":return["%",u(" ",[j.name,...j.parameters])];case"comment":return["#",j.value];case"alias":return["*",j.value];case"tag":return ee.originalText.slice(j.position.start.offset,j.position.end.offset);case"anchor":return["&",j.value];case"plain":return Q(j.type,ee.originalText.slice(j.position.start.offset,j.position.end.offset),ee);case"quoteDouble":case"quoteSingle":{let W="'",K='"',de=ee.originalText.slice(j.position.start.offset+1,j.position.end.offset-1);if("quoteSingle"===j.type&&de.includes("\\")||"quoteDouble"===j.type&&/\\[^"]/.test(de)){let Fe="quoteDouble"===j.type?K:W;return[Fe,Q(j.type,de,ee),Fe]}if(de.includes(K))return[W,Q(j.type,"quoteDouble"===j.type?de.replace(/\\"/g,K).replace(/'/g,W.repeat(2)):de,ee),W];if(de.includes(W))return[K,Q(j.type,"quoteSingle"===j.type?de.replace(/''/g,W):de,ee),K];let ue=ee.singleQuote?W:K;return[ue,Q(j.type,de,ee),ue]}case"blockFolded":case"blockLiteral":return k(ie,ce,ee);case"mapping":case"sequence":return u(n,ie.map(ce,"children"));case"sequenceItem":return["- ",o(2,j.content?ce("content"):"")];case"mappingKey":case"mappingValue":return j.content?ce("content"):"";case"mappingItem":case"flowMappingItem":return B(j,Y,ie,ce,ee);case"flowMapping":return S(ie,ce,ee);case"flowSequence":return b(ie,ce,ee);case"flowSequenceItem":return ce("content");default:throw new Error(`Unexpected node type ${j.type}`)}}(ee,ue,j,Y,ie))),I(ee)&&!T(ee,["document","documentHead"])&&ce.push(l(["mappingValue"!==ee.type||ee.content?" ":"","mappingKey"===ue.type&&"mapping"===j.getParentNode(2).type&&m(ee)?"":t,ie("trailingComment")])),v(ee)&&ce.push(o("sequenceItem"===ee.type?2:0,[n,u(n,j.map((Fe=>[g(Y.originalText,Fe.getValue(),F)?n:"",ie()]),"endComments"))])),ce.push(de),ce},massageAstNode:function V(j,Y){if(T(Y))switch(delete Y.position,Y.type){case"comment":if(f(Y.value))return null;break;case"quoteDouble":case"quoteSingle":Y.type="quote"}},insertPragma:c}}}),Hg=te({"src/language-yaml/options.js"(e,r){ne();var t=Mt();r.exports={bracketSpacing:t.bracketSpacing,singleQuote:t.singleQuote,proseWrap:t.proseWrap}}}),Gg=te({"src/language-yaml/parsers.js"(){ne()}}),Ug=te({"node_modules/linguist-languages/data/YAML.json"(e,r){r.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),Jg=te({"src/language-yaml/index.js"(e,r){ne();var t=_t(),s=Wg(),a=Hg(),n=Gg(),u=[t(Ug(),(i=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...i.filenames.filter((l=>"yarn.lock"!==l)),".prettierrc",".stylelintrc",".lintstagedrc"]})))];r.exports={languages:u,printers:{yaml:s},options:a,parsers:n}}}),zg=te({"src/languages.js"(e,r){ne(),r.exports=[Bd(),Ud(),eg(),ag(),dg(),Lg(),Jg()]}});ne();var{version:Xg}=Ia(),Ot=Gm(),{getSupportInfo:Kg}=Xn(),Yg=Um(),Qg=zg(),Zg=qe();function Nt(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var t=arguments.length,s=new Array(t),a=0;ajn(e,r).formatted,check(e,r){let{formatted:t}=jn(e,r);return t===e},doc:Zg,getSupportInfo:Nt(Kg,0),version:Xg,util:Yg,__debug:{parse:Nt(Ot.parse),formatAST:Nt(Ot.formatAST),formatDoc:Nt(Ot.formatDoc),printToDoc:Nt(Ot.printToDoc),printDocToString:Nt(Ot.printDocToString)}}}));return e0()}))}}),import_parser_html=(0,_chunk_NNAAFZ4U_mjs__WEBPACK_IMPORTED_MODULE_1__.v)(require_parser_html()),import_standalone=(0,_chunk_NNAAFZ4U_mjs__WEBPACK_IMPORTED_MODULE_1__.v)(require_standalone());var formatter=memoizerific__WEBPACK_IMPORTED_MODULE_0___default()(2)(((type,source)=>!1===type?source:"dedent"===type||!0===type?function dedent(templ){for(var values=[],_i=1;_i()=>(r||e((r={exports:{}}).exports,r),r.exports),ee=S((cc,Kr)=>{var Ne=function(e){return e&&e.Math==Math&&e};Kr.exports=Ne(typeof globalThis==\"object\"&&globalThis)||Ne(typeof window==\"object\"&&window)||Ne(typeof self==\"object\"&&self)||Ne(typeof global==\"object\"&&global)||function(){return this}()||Function(\"return this\")();}),se=S((hc,Jr)=>{Jr.exports=function(e){try{return !!e()}catch{return !0}};}),ae=S((pc,Zr)=>{var qs=se();Zr.exports=!qs(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7});}),Oe=S((fc,eu)=>{var Is=se();eu.exports=!Is(function(){var e=function(){}.bind();return typeof e!=\"function\"||e.hasOwnProperty(\"prototype\")});}),De=S((dc,ru)=>{var Rs=Oe(),qe=Function.prototype.call;ru.exports=Rs?qe.bind(qe):function(){return qe.apply(qe,arguments)};}),su=S(nu=>{var uu={}.propertyIsEnumerable,tu=Object.getOwnPropertyDescriptor,xs=tu&&!uu.call({1:2},1);nu.f=xs?function(r){var u=tu(this,r);return !!u&&u.enumerable}:uu;}),Ie=S((Cc,iu)=>{iu.exports=function(e,r){return {enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r}};}),re=S((mc,Du)=>{var au=Oe(),ou=Function.prototype,er=ou.call,Ps=au&&ou.bind.bind(er,er);Du.exports=au?Ps:function(e){return function(){return er.apply(e,arguments)}};}),me=S((gc,cu)=>{var lu=re(),ks=lu({}.toString),Ls=lu(\"\".slice);cu.exports=function(e){return Ls(ks(e),8,-1)};}),pu=S((Fc,hu)=>{var $s=re(),Ms=se(),js=me(),rr=Object,Us=$s(\"\".split);hu.exports=Ms(function(){return !rr(\"z\").propertyIsEnumerable(0)})?function(e){return js(e)==\"String\"?Us(e,\"\"):rr(e)}:rr;}),Re=S((Ac,fu)=>{fu.exports=function(e){return e==null};}),ur=S((vc,du)=>{var Gs=Re(),Vs=TypeError;du.exports=function(e){if(Gs(e))throw Vs(\"Can't call method on \"+e);return e};}),xe=S((_c,Eu)=>{var Xs=pu(),Hs=ur();Eu.exports=function(e){return Xs(Hs(e))};}),nr=S((Sc,Cu)=>{var tr=typeof document==\"object\"&&document.all,zs=typeof tr>\"u\"&&tr!==void 0;Cu.exports={all:tr,IS_HTMLDDA:zs};}),Y=S((yc,gu)=>{var mu=nr(),Ws=mu.all;gu.exports=mu.IS_HTMLDDA?function(e){return typeof e==\"function\"||e===Ws}:function(e){return typeof e==\"function\"};}),le=S((Tc,vu)=>{var Fu=Y(),Au=nr(),Ys=Au.all;vu.exports=Au.IS_HTMLDDA?function(e){return typeof e==\"object\"?e!==null:Fu(e)||e===Ys}:function(e){return typeof e==\"object\"?e!==null:Fu(e)};}),ge=S((Bc,_u)=>{var sr=ee(),Qs=Y(),Ks=function(e){return Qs(e)?e:void 0};_u.exports=function(e,r){return arguments.length<2?Ks(sr[e]):sr[e]&&sr[e][r]};}),ir=S((bc,Su)=>{var Js=re();Su.exports=Js({}.isPrototypeOf);}),Tu=S((wc,yu)=>{var Zs=ge();yu.exports=Zs(\"navigator\",\"userAgent\")||\"\";}),Iu=S((Nc,qu)=>{var Ou=ee(),ar=Tu(),Bu=Ou.process,bu=Ou.Deno,wu=Bu&&Bu.versions||bu&&bu.version,Nu=wu&&wu.v8,ue,Pe;Nu&&(ue=Nu.split(\".\"),Pe=ue[0]>0&&ue[0]<4?1:+(ue[0]+ue[1])),!Pe&&ar&&(ue=ar.match(/Edge\\/(\\d+)/),(!ue||ue[1]>=74)&&(ue=ar.match(/Chrome\\/(\\d+)/),ue&&(Pe=+ue[1]))),qu.exports=Pe;}),or=S((Oc,xu)=>{var Ru=Iu(),ei=se();xu.exports=!!Object.getOwnPropertySymbols&&!ei(function(){var e=Symbol();return !String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ru&&Ru<41});}),Dr=S((qc,Pu)=>{var ri=or();Pu.exports=ri&&!Symbol.sham&&typeof Symbol.iterator==\"symbol\";}),lr=S((Ic,ku)=>{var ui=ge(),ti=Y(),ni=ir(),si=Dr(),ii=Object;ku.exports=si?function(e){return typeof e==\"symbol\"}:function(e){var r=ui(\"Symbol\");return ti(r)&&ni(r.prototype,ii(e))};}),ke=S((Rc,Lu)=>{var ai=String;Lu.exports=function(e){try{return ai(e)}catch{return \"Object\"}};}),Fe=S((xc,$u)=>{var oi=Y(),Di=ke(),li=TypeError;$u.exports=function(e){if(oi(e))return e;throw li(Di(e)+\" is not a function\")};}),Le=S((Pc,Mu)=>{var ci=Fe(),hi=Re();Mu.exports=function(e,r){var u=e[r];return hi(u)?void 0:ci(u)};}),Uu=S((kc,ju)=>{var cr=De(),hr=Y(),pr=le(),pi=TypeError;ju.exports=function(e,r){var u,n;if(r===\"string\"&&hr(u=e.toString)&&!pr(n=cr(u,e))||hr(u=e.valueOf)&&!pr(n=cr(u,e))||r!==\"string\"&&hr(u=e.toString)&&!pr(n=cr(u,e)))return n;throw pi(\"Can't convert object to primitive value\")};}),Vu=S((Lc,Gu)=>{Gu.exports=!1;}),$e=S(($c,Hu)=>{var Xu=ee(),fi=Object.defineProperty;Hu.exports=function(e,r){try{fi(Xu,e,{value:r,configurable:!0,writable:!0});}catch{Xu[e]=r;}return r};}),Me=S((Mc,Wu)=>{var di=ee(),Ei=$e(),zu=\"__core-js_shared__\",Ci=di[zu]||Ei(zu,{});Wu.exports=Ci;}),fr=S((jc,Qu)=>{var mi=Vu(),Yu=Me();(Qu.exports=function(e,r){return Yu[e]||(Yu[e]=r!==void 0?r:{})})(\"versions\",[]).push({version:\"3.26.1\",mode:mi?\"pure\":\"global\",copyright:\"\\xA9 2014-2022 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE\",source:\"https://github.com/zloirock/core-js\"});}),dr=S((Uc,Ku)=>{var gi=ur(),Fi=Object;Ku.exports=function(e){return Fi(gi(e))};}),oe=S((Gc,Ju)=>{var Ai=re(),vi=dr(),_i=Ai({}.hasOwnProperty);Ju.exports=Object.hasOwn||function(r,u){return _i(vi(r),u)};}),Er=S((Vc,Zu)=>{var Si=re(),yi=0,Ti=Math.random(),Bi=Si(1 .toString);Zu.exports=function(e){return \"Symbol(\"+(e===void 0?\"\":e)+\")_\"+Bi(++yi+Ti,36)};}),he=S((Xc,nt)=>{var bi=ee(),wi=fr(),et=oe(),Ni=Er(),rt=or(),tt=Dr(),fe=wi(\"wks\"),ce=bi.Symbol,ut=ce&&ce.for,Oi=tt?ce:ce&&ce.withoutSetter||Ni;nt.exports=function(e){if(!et(fe,e)||!(rt||typeof fe[e]==\"string\")){var r=\"Symbol.\"+e;rt&&et(ce,e)?fe[e]=ce[e]:tt&&ut?fe[e]=ut(r):fe[e]=Oi(r);}return fe[e]};}),ot=S((Hc,at)=>{var qi=De(),st=le(),it=lr(),Ii=Le(),Ri=Uu(),xi=he(),Pi=TypeError,ki=xi(\"toPrimitive\");at.exports=function(e,r){if(!st(e)||it(e))return e;var u=Ii(e,ki),n;if(u){if(r===void 0&&(r=\"default\"),n=qi(u,e,r),!st(n)||it(n))return n;throw Pi(\"Can't convert object to primitive value\")}return r===void 0&&(r=\"number\"),Ri(e,r)};}),je=S((zc,Dt)=>{var Li=ot(),$i=lr();Dt.exports=function(e){var r=Li(e,\"string\");return $i(r)?r:r+\"\"};}),ht=S((Wc,ct)=>{var Mi=ee(),lt=le(),Cr=Mi.document,ji=lt(Cr)&<(Cr.createElement);ct.exports=function(e){return ji?Cr.createElement(e):{}};}),mr=S((Yc,pt)=>{var Ui=ae(),Gi=se(),Vi=ht();pt.exports=!Ui&&!Gi(function(){return Object.defineProperty(Vi(\"div\"),\"a\",{get:function(){return 7}}).a!=7});}),gr=S(dt=>{var Xi=ae(),Hi=De(),zi=su(),Wi=Ie(),Yi=xe(),Qi=je(),Ki=oe(),Ji=mr(),ft=Object.getOwnPropertyDescriptor;dt.f=Xi?ft:function(r,u){if(r=Yi(r),u=Qi(u),Ji)try{return ft(r,u)}catch{}if(Ki(r,u))return Wi(!Hi(zi.f,r,u),r[u])};}),Ct=S((Kc,Et)=>{var Zi=ae(),ea=se();Et.exports=Zi&&ea(function(){return Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype!=42});}),de=S((Jc,mt)=>{var ra=le(),ua=String,ta=TypeError;mt.exports=function(e){if(ra(e))return e;throw ta(ua(e)+\" is not an object\")};}),Ae=S(Ft=>{var na=ae(),sa=mr(),ia=Ct(),Ue=de(),gt=je(),aa=TypeError,Fr=Object.defineProperty,oa=Object.getOwnPropertyDescriptor,Ar=\"enumerable\",vr=\"configurable\",_r=\"writable\";Ft.f=na?ia?function(r,u,n){if(Ue(r),u=gt(u),Ue(n),typeof r==\"function\"&&u===\"prototype\"&&\"value\"in n&&_r in n&&!n[_r]){var D=oa(r,u);D&&D[_r]&&(r[u]=n.value,n={configurable:vr in n?n[vr]:D[vr],enumerable:Ar in n?n[Ar]:D[Ar],writable:!1});}return Fr(r,u,n)}:Fr:function(r,u,n){if(Ue(r),u=gt(u),Ue(n),sa)try{return Fr(r,u,n)}catch{}if(\"get\"in n||\"set\"in n)throw aa(\"Accessors not supported\");return \"value\"in n&&(r[u]=n.value),r};}),Sr=S((e2,At)=>{var Da=ae(),la=Ae(),ca=Ie();At.exports=Da?function(e,r,u){return la.f(e,r,ca(1,u))}:function(e,r,u){return e[r]=u,e};}),St=S((r2,_t)=>{var yr=ae(),ha=oe(),vt=Function.prototype,pa=yr&&Object.getOwnPropertyDescriptor,Tr=ha(vt,\"name\"),fa=Tr&&function(){}.name===\"something\",da=Tr&&(!yr||yr&&pa(vt,\"name\").configurable);_t.exports={EXISTS:Tr,PROPER:fa,CONFIGURABLE:da};}),br=S((u2,yt)=>{var Ea=re(),Ca=Y(),Br=Me(),ma=Ea(Function.toString);Ca(Br.inspectSource)||(Br.inspectSource=function(e){return ma(e)}),yt.exports=Br.inspectSource;}),bt=S((t2,Bt)=>{var ga=ee(),Fa=Y(),Tt=ga.WeakMap;Bt.exports=Fa(Tt)&&/native code/.test(String(Tt));}),Ot=S((n2,Nt)=>{var Aa=fr(),va=Er(),wt=Aa(\"keys\");Nt.exports=function(e){return wt[e]||(wt[e]=va(e))};}),wr=S((s2,qt)=>{qt.exports={};}),Pt=S((i2,xt)=>{var _a=bt(),Rt=ee(),Sa=le(),ya=Sr(),Nr=oe(),Or=Me(),Ta=Ot(),Ba=wr(),It=\"Object already initialized\",qr=Rt.TypeError,ba=Rt.WeakMap,Ge,ve,Ve,wa=function(e){return Ve(e)?ve(e):Ge(e,{})},Na=function(e){return function(r){var u;if(!Sa(r)||(u=ve(r)).type!==e)throw qr(\"Incompatible receiver, \"+e+\" required\");return u}};_a||Or.state?(te=Or.state||(Or.state=new ba),te.get=te.get,te.has=te.has,te.set=te.set,Ge=function(e,r){if(te.has(e))throw qr(It);return r.facade=e,te.set(e,r),r},ve=function(e){return te.get(e)||{}},Ve=function(e){return te.has(e)}):(pe=Ta(\"state\"),Ba[pe]=!0,Ge=function(e,r){if(Nr(e,pe))throw qr(It);return r.facade=e,ya(e,pe,r),r},ve=function(e){return Nr(e,pe)?e[pe]:{}},Ve=function(e){return Nr(e,pe)});var te,pe;xt.exports={set:Ge,get:ve,has:Ve,enforce:wa,getterFor:Na};}),$t=S((a2,Lt)=>{var Oa=se(),qa=Y(),Xe=oe(),Ir=ae(),Ia=St().CONFIGURABLE,Ra=br(),kt=Pt(),xa=kt.enforce,Pa=kt.get,He=Object.defineProperty,ka=Ir&&!Oa(function(){return He(function(){},\"length\",{value:8}).length!==8}),La=String(String).split(\"String\"),$a=Lt.exports=function(e,r,u){String(r).slice(0,7)===\"Symbol(\"&&(r=\"[\"+String(r).replace(/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),u&&u.getter&&(r=\"get \"+r),u&&u.setter&&(r=\"set \"+r),(!Xe(e,\"name\")||Ia&&e.name!==r)&&(Ir?He(e,\"name\",{value:r,configurable:!0}):e.name=r),ka&&u&&Xe(u,\"arity\")&&e.length!==u.arity&&He(e,\"length\",{value:u.arity});try{u&&Xe(u,\"constructor\")&&u.constructor?Ir&&He(e,\"prototype\",{writable:!1}):e.prototype&&(e.prototype=void 0);}catch{}var n=xa(e);return Xe(n,\"source\")||(n.source=La.join(typeof r==\"string\"?r:\"\")),e};Function.prototype.toString=$a(function(){return qa(this)&&Pa(this).source||Ra(this)},\"toString\");}),jt=S((o2,Mt)=>{var Ma=Y(),ja=Ae(),Ua=$t(),Ga=$e();Mt.exports=function(e,r,u,n){n||(n={});var D=n.enumerable,s=n.name!==void 0?n.name:r;if(Ma(u)&&Ua(u,s,n),n.global)D?e[r]=u:Ga(r,u);else {try{n.unsafe?e[r]&&(D=!0):delete e[r];}catch{}D?e[r]=u:ja.f(e,r,{value:u,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable});}return e};}),Gt=S((D2,Ut)=>{var Va=Math.ceil,Xa=Math.floor;Ut.exports=Math.trunc||function(r){var u=+r;return (u>0?Xa:Va)(u)};}),Rr=S((l2,Vt)=>{var Ha=Gt();Vt.exports=function(e){var r=+e;return r!==r||r===0?0:Ha(r)};}),Ht=S((c2,Xt)=>{var za=Rr(),Wa=Math.max,Ya=Math.min;Xt.exports=function(e,r){var u=za(e);return u<0?Wa(u+r,0):Ya(u,r)};}),Wt=S((h2,zt)=>{var Qa=Rr(),Ka=Math.min;zt.exports=function(e){return e>0?Ka(Qa(e),9007199254740991):0};}),_e=S((p2,Yt)=>{var Ja=Wt();Yt.exports=function(e){return Ja(e.length)};}),Jt=S((f2,Kt)=>{var Za=xe(),eo=Ht(),ro=_e(),Qt=function(e){return function(r,u,n){var D=Za(r),s=ro(D),i=eo(n,s),f;if(e&&u!=u){for(;s>i;)if(f=D[i++],f!=f)return !0}else for(;s>i;i++)if((e||i in D)&&D[i]===u)return e||i||0;return !e&&-1}};Kt.exports={includes:Qt(!0),indexOf:Qt(!1)};}),rn=S((d2,en)=>{var uo=re(),xr=oe(),to=xe(),no=Jt().indexOf,so=wr(),Zt=uo([].push);en.exports=function(e,r){var u=to(e),n=0,D=[],s;for(s in u)!xr(so,s)&&xr(u,s)&&Zt(D,s);for(;r.length>n;)xr(u,s=r[n++])&&(~no(D,s)||Zt(D,s));return D};}),tn=S((E2,un)=>{un.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"];}),sn=S(nn=>{var io=rn(),ao=tn(),oo=ao.concat(\"length\",\"prototype\");nn.f=Object.getOwnPropertyNames||function(r){return io(r,oo)};}),on=S(an=>{an.f=Object.getOwnPropertySymbols;}),ln=S((g2,Dn)=>{var Do=ge(),lo=re(),co=sn(),ho=on(),po=de(),fo=lo([].concat);Dn.exports=Do(\"Reflect\",\"ownKeys\")||function(r){var u=co.f(po(r)),n=ho.f;return n?fo(u,n(r)):u};}),pn=S((F2,hn)=>{var cn=oe(),Eo=ln(),Co=gr(),mo=Ae();hn.exports=function(e,r,u){for(var n=Eo(r),D=mo.f,s=Co.f,i=0;i{var go=se(),Fo=Y(),Ao=/#|\\.prototype\\./,Se=function(e,r){var u=_o[vo(e)];return u==yo?!0:u==So?!1:Fo(r)?go(r):!!r},vo=Se.normalize=function(e){return String(e).replace(Ao,\".\").toLowerCase()},_o=Se.data={},So=Se.NATIVE=\"N\",yo=Se.POLYFILL=\"P\";fn.exports=Se;}),ze=S((v2,En)=>{var Pr=ee(),To=gr().f,Bo=Sr(),bo=jt(),wo=$e(),No=pn(),Oo=dn();En.exports=function(e,r){var u=e.target,n=e.global,D=e.stat,s,i,f,c,F,a;if(n?i=Pr:D?i=Pr[u]||wo(u,{}):i=(Pr[u]||{}).prototype,i)for(f in r){if(F=r[f],e.dontCallGetSet?(a=To(i,f),c=a&&a.value):c=i[f],s=Oo(n?f:u+(D?\".\":\"#\")+f,e.forced),!s&&c!==void 0){if(typeof F==typeof c)continue;No(F,c);}(e.sham||c&&c.sham)&&Bo(F,\"sham\",!0),bo(i,f,F,e);}};}),Cn=S(()=>{var qo=ze(),kr=ee();qo({global:!0,forced:kr.globalThis!==kr},{globalThis:kr});}),mn=S(()=>{Cn();}),Lr=S((B2,gn)=>{var Io=me();gn.exports=Array.isArray||function(r){return Io(r)==\"Array\"};}),An=S((b2,Fn)=>{var Ro=TypeError,xo=9007199254740991;Fn.exports=function(e){if(e>xo)throw Ro(\"Maximum allowed index exceeded\");return e};}),_n=S((w2,vn)=>{var Po=me(),ko=re();vn.exports=function(e){if(Po(e)===\"Function\")return ko(e)};}),$r=S((N2,yn)=>{var Sn=_n(),Lo=Fe(),$o=Oe(),Mo=Sn(Sn.bind);yn.exports=function(e,r){return Lo(e),r===void 0?e:$o?Mo(e,r):function(){return e.apply(r,arguments)}};}),bn=S((O2,Bn)=>{var jo=Lr(),Uo=_e(),Go=An(),Vo=$r(),Tn=function(e,r,u,n,D,s,i,f){for(var c=D,F=0,a=i?Vo(i,f):!1,l,h;F0&&jo(l)?(h=Uo(l),c=Tn(e,r,l,h,c,s-1)-1):(Go(c+1),e[c]=l),c++),F++;return c};Bn.exports=Tn;}),On=S((q2,Nn)=>{var Xo=he(),Ho=Xo(\"toStringTag\"),wn={};wn[Ho]=\"z\",Nn.exports=String(wn)===\"[object z]\";}),Mr=S((I2,qn)=>{var zo=On(),Wo=Y(),We=me(),Yo=he(),Qo=Yo(\"toStringTag\"),Ko=Object,Jo=We(function(){return arguments}())==\"Arguments\",Zo=function(e,r){try{return e[r]}catch{}};qn.exports=zo?We:function(e){var r,u,n;return e===void 0?\"Undefined\":e===null?\"Null\":typeof(u=Zo(r=Ko(e),Qo))==\"string\"?u:Jo?We(r):(n=We(r))==\"Object\"&&Wo(r.callee)?\"Arguments\":n};}),Ln=S((R2,kn)=>{var eD=re(),rD=se(),In=Y(),uD=Mr(),tD=ge(),nD=br(),Rn=function(){},sD=[],xn=tD(\"Reflect\",\"construct\"),jr=/^\\s*(?:class|function)\\b/,iD=eD(jr.exec),aD=!jr.exec(Rn),ye=function(r){if(!In(r))return !1;try{return xn(Rn,sD,r),!0}catch{return !1}},Pn=function(r){if(!In(r))return !1;switch(uD(r)){case\"AsyncFunction\":case\"GeneratorFunction\":case\"AsyncGeneratorFunction\":return !1}try{return aD||!!iD(jr,nD(r))}catch{return !0}};Pn.sham=!0,kn.exports=!xn||rD(function(){var e;return ye(ye.call)||!ye(Object)||!ye(function(){e=!0;})||e})?Pn:ye;}),Un=S((x2,jn)=>{var $n=Lr(),oD=Ln(),DD=le(),lD=he(),cD=lD(\"species\"),Mn=Array;jn.exports=function(e){var r;return $n(e)&&(r=e.constructor,oD(r)&&(r===Mn||$n(r.prototype))?r=void 0:DD(r)&&(r=r[cD],r===null&&(r=void 0))),r===void 0?Mn:r};}),Vn=S((P2,Gn)=>{var hD=Un();Gn.exports=function(e,r){return new(hD(e))(r===0?0:r)};}),Xn=S(()=>{var pD=ze(),fD=bn(),dD=Fe(),ED=dr(),CD=_e(),mD=Vn();pD({target:\"Array\",proto:!0},{flatMap:function(r){var u=ED(this),n=CD(u),D;return dD(r),D=mD(u,0),D.length=fD(D,u,u,n,0,1,r,arguments.length>1?arguments[1]:void 0),D}});}),Ur=S(($2,Hn)=>{Hn.exports={};}),Wn=S((M2,zn)=>{var gD=he(),FD=Ur(),AD=gD(\"iterator\"),vD=Array.prototype;zn.exports=function(e){return e!==void 0&&(FD.Array===e||vD[AD]===e)};}),Gr=S((j2,Qn)=>{var _D=Mr(),Yn=Le(),SD=Re(),yD=Ur(),TD=he(),BD=TD(\"iterator\");Qn.exports=function(e){if(!SD(e))return Yn(e,BD)||Yn(e,\"@@iterator\")||yD[_D(e)]};}),Jn=S((U2,Kn)=>{var bD=De(),wD=Fe(),ND=de(),OD=ke(),qD=Gr(),ID=TypeError;Kn.exports=function(e,r){var u=arguments.length<2?qD(e):r;if(wD(u))return ND(bD(u,e));throw ID(OD(e)+\" is not iterable\")};}),rs=S((G2,es)=>{var RD=De(),Zn=de(),xD=Le();es.exports=function(e,r,u){var n,D;Zn(e);try{if(n=xD(e,\"return\"),!n){if(r===\"throw\")throw u;return u}n=RD(n,e);}catch(s){D=!0,n=s;}if(r===\"throw\")throw u;if(D)throw n;return Zn(n),u};}),is=S((V2,ss)=>{var PD=$r(),kD=De(),LD=de(),$D=ke(),MD=Wn(),jD=_e(),us=ir(),UD=Jn(),GD=Gr(),ts=rs(),VD=TypeError,Ye=function(e,r){this.stopped=e,this.result=r;},ns=Ye.prototype;ss.exports=function(e,r,u){var n=u&&u.that,D=!!(u&&u.AS_ENTRIES),s=!!(u&&u.IS_RECORD),i=!!(u&&u.IS_ITERATOR),f=!!(u&&u.INTERRUPTED),c=PD(r,n),F,a,l,h,C,d,m,T=function(g){return F&&ts(F,\"normal\",g),new Ye(!0,g)},w=function(g){return D?(LD(g),f?c(g[0],g[1],T):c(g[0],g[1])):f?c(g,T):c(g)};if(s)F=e.iterator;else if(i)F=e;else {if(a=GD(e),!a)throw VD($D(e)+\" is not iterable\");if(MD(a)){for(l=0,h=jD(e);h>l;l++)if(C=w(e[l]),C&&us(ns,C))return C;return new Ye(!1)}F=UD(e,a);}for(d=s?e.next:F.next;!(m=kD(d,F)).done;){try{C=w(m.value);}catch(g){ts(F,\"throw\",g);}if(typeof C==\"object\"&&C&&us(ns,C))return C}return new Ye(!1)};}),os=S((X2,as)=>{var XD=je(),HD=Ae(),zD=Ie();as.exports=function(e,r,u){var n=XD(r);n in e?HD.f(e,n,zD(0,u)):e[n]=u;};}),Ds=S(()=>{var WD=ze(),YD=is(),QD=os();WD({target:\"Object\",stat:!0},{fromEntries:function(r){var u={};return YD(r,function(n,D){QD(u,n,D);},{AS_ENTRIES:!0}),u}});}),Dc=S((W2,Os)=>{var KD=[\"cliName\",\"cliCategory\",\"cliDescription\"];function JD(e,r){if(e==null)return {};var u=ZD(e,r),n,D;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(D=0;D=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n]);}return u}function ZD(e,r){if(e==null)return {};var u={},n=Object.keys(e),D,s;for(s=0;s=0)&&(u[D]=e[D]);return u}mn(),Xn(),Ds();var el=Object.create,Je=Object.defineProperty,rl=Object.getOwnPropertyDescriptor,Xr=Object.getOwnPropertyNames,ul=Object.getPrototypeOf,tl=Object.prototype.hasOwnProperty,Ee=(e,r)=>function(){return e&&(r=(0, e[Xr(e)[0]])(e=0)),r},I=(e,r)=>function(){return r||(0, e[Xr(e)[0]])((r={exports:{}}).exports,r),r.exports},ps=(e,r)=>{for(var u in r)Je(e,u,{get:r[u],enumerable:!0});},fs=(e,r,u,n)=>{if(r&&typeof r==\"object\"||typeof r==\"function\")for(let D of Xr(r))!tl.call(e,D)&&D!==u&&Je(e,D,{get:()=>r[D],enumerable:!(n=rl(r,D))||n.enumerable});return e},nl=(e,r,u)=>(u=e!=null?el(ul(e)):{},fs(r||!e||!e.__esModule?Je(u,\"default\",{value:e,enumerable:!0}):u,e)),ds=e=>fs(Je({},\"__esModule\",{value:!0}),e),Te,q=Ee({\"\"(){Te={env:{},argv:[]};}}),Es=I({\"node_modules/angular-html-parser/lib/compiler/src/chars.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96;function r(f){return f>=e.$TAB&&f<=e.$SPACE||f==e.$NBSP}e.isWhitespace=r;function u(f){return e.$0<=f&&f<=e.$9}e.isDigit=u;function n(f){return f>=e.$a&&f<=e.$z||f>=e.$A&&f<=e.$Z}e.isAsciiLetter=n;function D(f){return f>=e.$a&&f<=e.$f||f>=e.$A&&f<=e.$F||u(f)}e.isAsciiHexDigit=D;function s(f){return f===e.$LF||f===e.$CR}e.isNewLine=s;function i(f){return e.$0<=f&&f<=e.$7}e.isOctalDigit=i;}}),sl=I({\"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=class{constructor(n,D,s){this.filePath=n,this.name=D,this.members=s;}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=r;var u=class{constructor(){this.cache=new Map;}get(n,D,s){s=s||[];let i=s.length?`.${s.join(\".\")}`:\"\",f=`\"${n}\".${D}${i}`,c=this.cache.get(f);return c||(c=new r(n,D,s),this.cache.set(f,c)),c}};e.StaticSymbolCache=u;}}),il=I({\"node_modules/angular-html-parser/lib/compiler/src/util.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=/-+([a-z0-9])/g;function u(o){return o.replace(r,function(){for(var E=arguments.length,p=new Array(E),A=0;Ai(p,this,E))}visitStringMap(o,E){let p={};return Object.keys(o).forEach(A=>{p[A]=i(o[A],this,E);}),p}visitPrimitive(o,E){return o}visitOther(o,E){return o}};e.ValueTransformer=F,e.SyncAsync={assertSync:o=>{if(_(o))throw new Error(\"Illegal state: value cannot be a promise\");return o},then:(o,E)=>_(o)?o.then(E):E(o),all:o=>o.some(_)?Promise.all(o):o};function a(o){throw new Error(`Internal Error: ${o}`)}e.error=a;function l(o,E){let p=Error(o);return p[h]=!0,E&&(p[C]=E),p}e.syntaxError=l;var h=\"ngSyntaxError\",C=\"ngParseErrors\";function d(o){return o[h]}e.isSyntaxError=d;function m(o){return o[C]||[]}e.getParseErrors=m;function T(o){return o.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g,\"\\\\$1\")}e.escapeRegExp=T;var w=Object.getPrototypeOf({});function g(o){return typeof o==\"object\"&&o!==null&&Object.getPrototypeOf(o)===w}function N(o){let E=\"\";for(let p=0;p=55296&&A<=56319&&o.length>p+1){let P=o.charCodeAt(p+1);P>=56320&&P<=57343&&(p++,A=(A-55296<<10)+P-56320+65536);}A<=127?E+=String.fromCharCode(A):A<=2047?E+=String.fromCharCode(A>>6&31|192,A&63|128):A<=65535?E+=String.fromCharCode(A>>12|224,A>>6&63|128,A&63|128):A<=2097151&&(E+=String.fromCharCode(A>>18&7|240,A>>12&63|128,A>>6&63|128,A&63|128));}return E}e.utf8Encode=N;function R(o){if(typeof o==\"string\")return o;if(o instanceof Array)return \"[\"+o.map(R).join(\", \")+\"]\";if(o==null)return \"\"+o;if(o.overriddenName)return `${o.overriddenName}`;if(o.name)return `${o.name}`;if(!o.toString)return \"object\";let E=o.toString();if(E==null)return \"\"+E;let p=E.indexOf(`\n`);return p===-1?E:E.substring(0,p)}e.stringify=R;function j(o){return typeof o==\"function\"&&o.hasOwnProperty(\"__forward_ref__\")?o():o}e.resolveForwardRef=j;function _(o){return !!o&&typeof o.then==\"function\"}e.isPromise=_;var O=class{constructor(o){this.full=o;let E=o.split(\".\");this.major=E[0],this.minor=E[1],this.patch=E.slice(2).join(\".\");}};e.Version=O;var x=typeof window<\"u\"&&window,k=typeof self<\"u\"&&typeof WorkerGlobalScope<\"u\"&&self instanceof WorkerGlobalScope&&self,$=typeof globalThis<\"u\"&&globalThis,t=$||x||k;e.global=t;}}),al=I({\"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=sl(),u=il(),n=/^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))|(\\@[-\\w]+)$/;function D(p){return p.replace(/\\W/g,\"_\")}e.sanitizeIdentifier=D;var s=0;function i(p){if(!p||!p.reference)return null;let A=p.reference;if(A instanceof r.StaticSymbol)return A.name;if(A.__anonymousType)return A.__anonymousType;let P=u.stringify(A);return P.indexOf(\"(\")>=0?(P=`anonymous_${s++}`,A.__anonymousType=P):P=D(P),P}e.identifierName=i;function f(p){let A=p.reference;return A instanceof r.StaticSymbol?A.filePath:`./${u.stringify(A)}`}e.identifierModuleUrl=f;function c(p,A){return `View_${i({reference:p})}_${A}`}e.viewClassName=c;function F(p){return `RenderType_${i({reference:p})}`}e.rendererTypeName=F;function a(p){return `HostView_${i({reference:p})}`}e.hostViewClassName=a;function l(p){return `${i({reference:p})}NgFactory`}e.componentFactoryName=l;var h;(function(p){p[p.Pipe=0]=\"Pipe\",p[p.Directive=1]=\"Directive\",p[p.NgModule=2]=\"NgModule\",p[p.Injectable=3]=\"Injectable\";})(h=e.CompileSummaryKind||(e.CompileSummaryKind={}));function C(p){return p.value!=null?D(p.value):i(p.identifier)}e.tokenName=C;function d(p){return p.identifier!=null?p.identifier.reference:p.value}e.tokenReference=d;var m=class{constructor(){let{moduleUrl:p,styles:A,styleUrls:P}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=p||null,this.styles=_(A),this.styleUrls=_(P);}};e.CompileStylesheetMetadata=m;var T=class{constructor(p){let{encapsulation:A,template:P,templateUrl:M,htmlAst:z,styles:V,styleUrls:X,externalStylesheets:H,animations:Q,ngContentSelectors:K,interpolation:J,isInline:v,preserveWhitespaces:y}=p;if(this.encapsulation=A,this.template=P,this.templateUrl=M,this.htmlAst=z,this.styles=_(V),this.styleUrls=_(X),this.externalStylesheets=_(H),this.animations=Q?x(Q):[],this.ngContentSelectors=K||[],J&&J.length!=2)throw new Error(\"'interpolation' should have a start and an end symbol.\");this.interpolation=J,this.isInline=v,this.preserveWhitespaces=y;}toSummary(){return {ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=T;var w=class{static create(p){let{isHost:A,type:P,isComponent:M,selector:z,exportAs:V,changeDetection:X,inputs:H,outputs:Q,host:K,providers:J,viewProviders:v,queries:y,guards:B,viewQueries:b,entryComponents:L,template:U,componentViewType:G,rendererType:W,componentFactory:ne}=p,be={},we={},Wr={};K!=null&&Object.keys(K).forEach(Z=>{let ie=K[Z],Ce=Z.match(n);Ce===null?Wr[Z]=ie:Ce[1]!=null?we[Ce[1]]=ie:Ce[2]!=null&&(be[Ce[2]]=ie);});let Yr={};H?.forEach(Z=>{let ie=u.splitAtColon(Z,[Z,Z]);Yr[ie[0]]=ie[1];});let Qr={};return Q?.forEach(Z=>{let ie=u.splitAtColon(Z,[Z,Z]);Qr[ie[0]]=ie[1];}),new w({isHost:A,type:P,isComponent:!!M,selector:z,exportAs:V,changeDetection:X,inputs:Yr,outputs:Qr,hostListeners:be,hostProperties:we,hostAttributes:Wr,providers:J,viewProviders:v,queries:y,guards:B,viewQueries:b,entryComponents:L,template:U,componentViewType:G,rendererType:W,componentFactory:ne})}constructor(p){let{isHost:A,type:P,isComponent:M,selector:z,exportAs:V,changeDetection:X,inputs:H,outputs:Q,hostListeners:K,hostProperties:J,hostAttributes:v,providers:y,viewProviders:B,queries:b,guards:L,viewQueries:U,entryComponents:G,template:W,componentViewType:ne,rendererType:be,componentFactory:we}=p;this.isHost=!!A,this.type=P,this.isComponent=M,this.selector=z,this.exportAs=V,this.changeDetection=X,this.inputs=H,this.outputs=Q,this.hostListeners=K,this.hostProperties=J,this.hostAttributes=v,this.providers=_(y),this.viewProviders=_(B),this.queries=_(b),this.guards=L,this.viewQueries=_(U),this.entryComponents=_(G),this.template=W,this.componentViewType=ne,this.rendererType=be,this.componentFactory=we;}toSummary(){return {summaryKind:h.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=w;var g=class{constructor(p){let{type:A,name:P,pure:M}=p;this.type=A,this.name=P,this.pure=!!M;}toSummary(){return {summaryKind:h.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=g;var N=class{};e.CompileShallowModuleMetadata=N;var R=class{constructor(p){let{type:A,providers:P,declaredDirectives:M,exportedDirectives:z,declaredPipes:V,exportedPipes:X,entryComponents:H,bootstrapComponents:Q,importedModules:K,exportedModules:J,schemas:v,transitiveModule:y,id:B}=p;this.type=A||null,this.declaredDirectives=_(M),this.exportedDirectives=_(z),this.declaredPipes=_(V),this.exportedPipes=_(X),this.providers=_(P),this.entryComponents=_(H),this.bootstrapComponents=_(Q),this.importedModules=_(K),this.exportedModules=_(J),this.schemas=_(v),this.id=B||null,this.transitiveModule=y||null;}toSummary(){let p=this.transitiveModule;return {summaryKind:h.NgModule,type:this.type,entryComponents:p.entryComponents,providers:p.providers,modules:p.modules,exportedDirectives:p.exportedDirectives,exportedPipes:p.exportedPipes}}};e.CompileNgModuleMetadata=R;var j=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[];}addProvider(p,A){this.providers.push({provider:p,module:A});}addDirective(p){this.directivesSet.has(p.reference)||(this.directivesSet.add(p.reference),this.directives.push(p));}addExportedDirective(p){this.exportedDirectivesSet.has(p.reference)||(this.exportedDirectivesSet.add(p.reference),this.exportedDirectives.push(p));}addPipe(p){this.pipesSet.has(p.reference)||(this.pipesSet.add(p.reference),this.pipes.push(p));}addExportedPipe(p){this.exportedPipesSet.has(p.reference)||(this.exportedPipesSet.add(p.reference),this.exportedPipes.push(p));}addModule(p){this.modulesSet.has(p.reference)||(this.modulesSet.add(p.reference),this.modules.push(p));}addEntryComponent(p){this.entryComponentsSet.has(p.componentType)||(this.entryComponentsSet.add(p.componentType),this.entryComponents.push(p));}};e.TransitiveCompileNgModuleMetadata=j;function _(p){return p||[]}var O=class{constructor(p,A){let{useClass:P,useValue:M,useExisting:z,useFactory:V,deps:X,multi:H}=A;this.token=p,this.useClass=P||null,this.useValue=M,this.useExisting=z,this.useFactory=V||null,this.dependencies=X||null,this.multi=!!H;}};e.ProviderMeta=O;function x(p){return p.reduce((A,P)=>{let M=Array.isArray(P)?x(P):P;return A.concat(M)},[])}e.flatten=x;function k(p){return p.replace(/(\\w+:\\/\\/[\\w:-]+)?(\\/+)?/,\"ng:///\")}function $(p,A,P){let M;return P.isInline?A.type.reference instanceof r.StaticSymbol?M=`${A.type.reference.filePath}.${A.type.reference.name}.html`:M=`${i(p)}/${i(A.type)}.html`:M=P.templateUrl,A.type.reference instanceof r.StaticSymbol?M:k(M)}e.templateSourceUrl=$;function t(p,A){let P=p.moduleUrl.split(/\\/\\\\/g),M=P[P.length-1];return k(`css/${A}${M}.ngstyle.js`)}e.sharedStylesheetJitUrl=t;function o(p){return k(`${i(p.type)}/module.ngfactory.js`)}e.ngModuleJitUrl=o;function E(p,A){return k(`${i(p)}/${i(A.type)}.ngfactory.js`)}e.templateJitUrl=E;}}),Be=I({\"node_modules/angular-html-parser/lib/compiler/src/parse_util.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Es(),u=al(),n=class{constructor(a,l,h,C){this.file=a,this.offset=l,this.line=h,this.col=C;}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(a){let l=this.file.content,h=l.length,C=this.offset,d=this.line,m=this.col;for(;C>0&&a<0;)if(C--,a++,l.charCodeAt(C)==r.$LF){d--;let w=l.substr(0,C-1).lastIndexOf(String.fromCharCode(r.$LF));m=w>0?C-w:C;}else m--;for(;C0;){let T=l.charCodeAt(C);C++,a--,T==r.$LF?(d++,m=0):m++;}return new n(this.file,C,d,m)}getContext(a,l){let h=this.file.content,C=this.offset;if(C!=null){C>h.length-1&&(C=h.length-1);let d=C,m=0,T=0;for(;m0&&(C--,m++,!(h[C]==`\n`&&++T==l)););for(m=0,T=0;m2&&arguments[2]!==void 0?arguments[2]:null;this.start=a,this.end=l,this.details=h;}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=s,e.EMPTY_PARSE_LOCATION=new n(new D(\"\",\"\"),0,0,0),e.EMPTY_SOURCE_SPAN=new s(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION);var i;(function(a){a[a.WARNING=0]=\"WARNING\",a[a.ERROR=1]=\"ERROR\";})(i=e.ParseErrorLevel||(e.ParseErrorLevel={}));var f=class{constructor(a,l){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:i.ERROR;this.span=a,this.msg=l,this.level=h;}contextualMessage(){let a=this.span.start.getContext(100,3);return a?`${this.msg} (\"${a.before}[${i[this.level]} ->]${a.after}\")`:this.msg}toString(){let a=this.span.details?`, ${this.span.details}`:\"\";return `${this.contextualMessage()}: ${this.span.start}${a}`}};e.ParseError=f;function c(a,l){let h=u.identifierModuleUrl(l),C=h!=null?`in ${a} ${u.identifierName(l)} in ${h}`:`in ${a} ${u.identifierName(l)}`,d=new D(\"\",C);return new s(new n(d,-1,-1,-1),new n(d,-1,-1,-1))}e.typeSourceSpan=c;function F(a,l,h){let C=`in ${a} ${l} in ${h}`,d=new D(\"\",C);return new s(new n(d,-1,-1,-1),new n(d,-1,-1,-1))}e.r3JitTypeSourceSpan=F;}}),ol=I({\"src/utils/front-matter/parse.js\"(e,r){q();var u=new RegExp(\"^(?-{3}|\\\\+{3})(?[^\\\\n]*)\\\\n(?:|(?.*?)\\\\n)(?\\\\k|\\\\.{3})[^\\\\S\\\\n]*(?:\\\\n|$)\",\"s\");function n(D){let s=D.match(u);if(!s)return {content:D};let{startDelimiter:i,language:f,value:c=\"\",endDelimiter:F}=s.groups,a=f.trim()||\"yaml\";if(i===\"+++\"&&(a=\"toml\"),a!==\"yaml\"&&i!==F)return {content:D};let[l]=s;return {frontMatter:{type:\"front-matter\",lang:a,value:c,startDelimiter:i,endDelimiter:F,raw:l.replace(/\\n$/,\"\")},content:l.replace(/[^\\n]/g,\" \")+D.slice(l.length)}}r.exports=n;}}),Cs=I({\"src/utils/get-last.js\"(e,r){q();var u=n=>n[n.length-1];r.exports=u;}}),Dl=I({\"src/common/parser-create-error.js\"(e,r){q();function u(n,D){let s=new SyntaxError(n+\" (\"+D.start.line+\":\"+D.start.column+\")\");return s.loc=D,s}r.exports=u;}}),ms={};ps(ms,{default:()=>ll});function ll(e){if(typeof e!=\"string\")throw new TypeError(\"Expected a string\");return e.replace(/[|\\\\{}()[\\]^$+*?.]/g,\"\\\\$&\").replace(/-/g,\"\\\\x2d\")}var cl=Ee({\"node_modules/escape-string-regexp/index.js\"(){q();}}),gs=I({\"node_modules/semver/internal/debug.js\"(e,r){q();var u=typeof Te==\"object\"&&Te.env&&Te.env.NODE_DEBUG&&/\\bsemver\\b/i.test(Te.env.NODE_DEBUG)?function(){for(var n=arguments.length,D=new Array(n),s=0;s{};r.exports=u;}}),Fs=I({\"node_modules/semver/internal/constants.js\"(e,r){q();var u=\"2.0.0\",n=256,D=Number.MAX_SAFE_INTEGER||9007199254740991,s=16;r.exports={SEMVER_SPEC_VERSION:u,MAX_LENGTH:n,MAX_SAFE_INTEGER:D,MAX_SAFE_COMPONENT_LENGTH:s};}}),hl=I({\"node_modules/semver/internal/re.js\"(e,r){q();var{MAX_SAFE_COMPONENT_LENGTH:u}=Fs(),n=gs();e=r.exports={};var D=e.re=[],s=e.src=[],i=e.t={},f=0,c=(F,a,l)=>{let h=f++;n(F,h,a),i[F]=h,s[h]=a,D[h]=new RegExp(a,l?\"g\":void 0);};c(\"NUMERICIDENTIFIER\",\"0|[1-9]\\\\d*\"),c(\"NUMERICIDENTIFIERLOOSE\",\"[0-9]+\"),c(\"NONNUMERICIDENTIFIER\",\"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\"),c(\"MAINVERSION\",`(${s[i.NUMERICIDENTIFIER]})\\\\.(${s[i.NUMERICIDENTIFIER]})\\\\.(${s[i.NUMERICIDENTIFIER]})`),c(\"MAINVERSIONLOOSE\",`(${s[i.NUMERICIDENTIFIERLOOSE]})\\\\.(${s[i.NUMERICIDENTIFIERLOOSE]})\\\\.(${s[i.NUMERICIDENTIFIERLOOSE]})`),c(\"PRERELEASEIDENTIFIER\",`(?:${s[i.NUMERICIDENTIFIER]}|${s[i.NONNUMERICIDENTIFIER]})`),c(\"PRERELEASEIDENTIFIERLOOSE\",`(?:${s[i.NUMERICIDENTIFIERLOOSE]}|${s[i.NONNUMERICIDENTIFIER]})`),c(\"PRERELEASE\",`(?:-(${s[i.PRERELEASEIDENTIFIER]}(?:\\\\.${s[i.PRERELEASEIDENTIFIER]})*))`),c(\"PRERELEASELOOSE\",`(?:-?(${s[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${s[i.PRERELEASEIDENTIFIERLOOSE]})*))`),c(\"BUILDIDENTIFIER\",\"[0-9A-Za-z-]+\"),c(\"BUILD\",`(?:\\\\+(${s[i.BUILDIDENTIFIER]}(?:\\\\.${s[i.BUILDIDENTIFIER]})*))`),c(\"FULLPLAIN\",`v?${s[i.MAINVERSION]}${s[i.PRERELEASE]}?${s[i.BUILD]}?`),c(\"FULL\",`^${s[i.FULLPLAIN]}$`),c(\"LOOSEPLAIN\",`[v=\\\\s]*${s[i.MAINVERSIONLOOSE]}${s[i.PRERELEASELOOSE]}?${s[i.BUILD]}?`),c(\"LOOSE\",`^${s[i.LOOSEPLAIN]}$`),c(\"GTLT\",\"((?:<|>)?=?)\"),c(\"XRANGEIDENTIFIERLOOSE\",`${s[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`),c(\"XRANGEIDENTIFIER\",`${s[i.NUMERICIDENTIFIER]}|x|X|\\\\*`),c(\"XRANGEPLAIN\",`[v=\\\\s]*(${s[i.XRANGEIDENTIFIER]})(?:\\\\.(${s[i.XRANGEIDENTIFIER]})(?:\\\\.(${s[i.XRANGEIDENTIFIER]})(?:${s[i.PRERELEASE]})?${s[i.BUILD]}?)?)?`),c(\"XRANGEPLAINLOOSE\",`[v=\\\\s]*(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:${s[i.PRERELEASELOOSE]})?${s[i.BUILD]}?)?)?`),c(\"XRANGE\",`^${s[i.GTLT]}\\\\s*${s[i.XRANGEPLAIN]}$`),c(\"XRANGELOOSE\",`^${s[i.GTLT]}\\\\s*${s[i.XRANGEPLAINLOOSE]}$`),c(\"COERCE\",`(^|[^\\\\d])(\\\\d{1,${u}})(?:\\\\.(\\\\d{1,${u}}))?(?:\\\\.(\\\\d{1,${u}}))?(?:$|[^\\\\d])`),c(\"COERCERTL\",s[i.COERCE],!0),c(\"LONETILDE\",\"(?:~>?)\"),c(\"TILDETRIM\",`(\\\\s*)${s[i.LONETILDE]}\\\\s+`,!0),e.tildeTrimReplace=\"$1~\",c(\"TILDE\",`^${s[i.LONETILDE]}${s[i.XRANGEPLAIN]}$`),c(\"TILDELOOSE\",`^${s[i.LONETILDE]}${s[i.XRANGEPLAINLOOSE]}$`),c(\"LONECARET\",\"(?:\\\\^)\"),c(\"CARETTRIM\",`(\\\\s*)${s[i.LONECARET]}\\\\s+`,!0),e.caretTrimReplace=\"$1^\",c(\"CARET\",`^${s[i.LONECARET]}${s[i.XRANGEPLAIN]}$`),c(\"CARETLOOSE\",`^${s[i.LONECARET]}${s[i.XRANGEPLAINLOOSE]}$`),c(\"COMPARATORLOOSE\",`^${s[i.GTLT]}\\\\s*(${s[i.LOOSEPLAIN]})$|^$`),c(\"COMPARATOR\",`^${s[i.GTLT]}\\\\s*(${s[i.FULLPLAIN]})$|^$`),c(\"COMPARATORTRIM\",`(\\\\s*)${s[i.GTLT]}\\\\s*(${s[i.LOOSEPLAIN]}|${s[i.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace=\"$1$2$3\",c(\"HYPHENRANGE\",`^\\\\s*(${s[i.XRANGEPLAIN]})\\\\s+-\\\\s+(${s[i.XRANGEPLAIN]})\\\\s*$`),c(\"HYPHENRANGELOOSE\",`^\\\\s*(${s[i.XRANGEPLAINLOOSE]})\\\\s+-\\\\s+(${s[i.XRANGEPLAINLOOSE]})\\\\s*$`),c(\"STAR\",\"(<|>)?=?\\\\s*\\\\*\"),c(\"GTE0\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$\"),c(\"GTE0PRE\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$\");}}),pl=I({\"node_modules/semver/internal/parse-options.js\"(e,r){q();var u=[\"includePrerelease\",\"loose\",\"rtl\"],n=D=>D?typeof D!=\"object\"?{loose:!0}:u.filter(s=>D[s]).reduce((s,i)=>(s[i]=!0,s),{}):{};r.exports=n;}}),fl=I({\"node_modules/semver/internal/identifiers.js\"(e,r){q();var u=/^[0-9]+$/,n=(s,i)=>{let f=u.test(s),c=u.test(i);return f&&c&&(s=+s,i=+i),s===i?0:f&&!c?-1:c&&!f?1:sn(i,s);r.exports={compareIdentifiers:n,rcompareIdentifiers:D};}}),dl=I({\"node_modules/semver/classes/semver.js\"(e,r){q();var u=gs(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:D}=Fs(),{re:s,t:i}=hl(),f=pl(),{compareIdentifiers:c}=fl(),F=class{constructor(a,l){if(l=f(l),a instanceof F){if(a.loose===!!l.loose&&a.includePrerelease===!!l.includePrerelease)return a;a=a.version;}else if(typeof a!=\"string\")throw new TypeError(`Invalid Version: ${a}`);if(a.length>n)throw new TypeError(`version is longer than ${n} characters`);u(\"SemVer\",a,l),this.options=l,this.loose=!!l.loose,this.includePrerelease=!!l.includePrerelease;let h=a.trim().match(l.loose?s[i.LOOSE]:s[i.FULL]);if(!h)throw new TypeError(`Invalid Version: ${a}`);if(this.raw=a,this.major=+h[1],this.minor=+h[2],this.patch=+h[3],this.major>D||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>D||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>D||this.patch<0)throw new TypeError(\"Invalid patch version\");h[4]?this.prerelease=h[4].split(\".\").map(C=>{if(/^[0-9]+$/.test(C)){let d=+C;if(d>=0&&d=0;)typeof this.prerelease[h]==\"number\"&&(this.prerelease[h]++,h=-2);h===-1&&this.prerelease.push(0);}l&&(c(this.prerelease[0],l)===0?isNaN(this.prerelease[1])&&(this.prerelease=[l,0]):this.prerelease=[l,0]);break;default:throw new Error(`invalid increment argument: ${a}`)}return this.format(),this.raw=this.version,this}};r.exports=F;}}),Hr=I({\"node_modules/semver/functions/compare.js\"(e,r){q();var u=dl(),n=(D,s,i)=>new u(D,i).compare(new u(s,i));r.exports=n;}}),El=I({\"node_modules/semver/functions/lt.js\"(e,r){q();var u=Hr(),n=(D,s,i)=>u(D,s,i)<0;r.exports=n;}}),Cl=I({\"node_modules/semver/functions/gte.js\"(e,r){q();var u=Hr(),n=(D,s,i)=>u(D,s,i)>=0;r.exports=n;}}),ml=I({\"src/utils/arrayify.js\"(e,r){q(),r.exports=(u,n)=>Object.entries(u).map(D=>{let[s,i]=D;return Object.assign({[n]:s},i)});}}),gl=I({\"package.json\"(e,r){r.exports={version:\"2.8.7\"};}}),Fl=I({\"node_modules/outdent/lib/index.js\"(e,r){q(),Object.defineProperty(e,\"__esModule\",{value:!0}),e.outdent=void 0;function u(){for(var g=[],N=0;Ntypeof l==\"string\"||typeof l==\"function\",choices:[{value:\"flow\",description:\"Flow\"},{value:\"babel\",since:\"1.16.0\",description:\"JavaScript\"},{value:\"babel-flow\",since:\"1.16.0\",description:\"Flow\"},{value:\"babel-ts\",since:\"2.0.0\",description:\"TypeScript\"},{value:\"typescript\",since:\"1.4.0\",description:\"TypeScript\"},{value:\"acorn\",since:\"2.6.0\",description:\"JavaScript\"},{value:\"espree\",since:\"2.2.0\",description:\"JavaScript\"},{value:\"meriyah\",since:\"2.2.0\",description:\"JavaScript\"},{value:\"css\",since:\"1.7.1\",description:\"CSS\"},{value:\"less\",since:\"1.7.1\",description:\"Less\"},{value:\"scss\",since:\"1.7.1\",description:\"SCSS\"},{value:\"json\",since:\"1.5.0\",description:\"JSON\"},{value:\"json5\",since:\"1.13.0\",description:\"JSON5\"},{value:\"json-stringify\",since:\"1.13.0\",description:\"JSON.stringify\"},{value:\"graphql\",since:\"1.5.0\",description:\"GraphQL\"},{value:\"markdown\",since:\"1.8.0\",description:\"Markdown\"},{value:\"mdx\",since:\"1.15.0\",description:\"MDX\"},{value:\"vue\",since:\"1.10.0\",description:\"Vue\"},{value:\"yaml\",since:\"1.14.0\",description:\"YAML\"},{value:\"glimmer\",since:\"2.3.0\",description:\"Ember / Handlebars\"},{value:\"html\",since:\"1.15.0\",description:\"HTML\"},{value:\"angular\",since:\"1.15.0\",description:\"Angular\"},{value:\"lwc\",since:\"1.17.0\",description:\"Lightning Web Components\"}]},plugins:{since:\"1.10.0\",type:\"path\",array:!0,default:[{value:[]}],category:c,description:\"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.\",exception:l=>typeof l==\"string\"||typeof l==\"object\",cliName:\"plugin\",cliCategory:n},pluginSearchDirs:{since:\"1.13.0\",type:\"path\",array:!0,default:[{value:[]}],category:c,description:u`\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n `,exception:l=>typeof l==\"string\"||typeof l==\"object\",cliName:\"plugin-search-dir\",cliCategory:n},printWidth:{since:\"0.0.0\",category:c,type:\"int\",default:80,description:\"The line length where Prettier will try wrap.\",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:\"1.4.0\",category:F,type:\"int\",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:u`\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n `,cliCategory:D},rangeStart:{since:\"1.4.0\",category:F,type:\"int\",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:u`\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n `,cliCategory:D},requirePragma:{since:\"1.7.0\",category:F,type:\"boolean\",default:!1,description:u`\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n `,cliCategory:i},tabWidth:{type:\"int\",category:c,default:2,description:\"Number of spaces per indentation level.\",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:\"1.0.0\",category:c,type:\"boolean\",default:!1,description:\"Indent with tabs instead of spaces.\"},embeddedLanguageFormatting:{since:\"2.1.0\",category:c,type:\"choice\",default:[{since:\"2.1.0\",value:\"auto\"}],description:\"Control how Prettier formats quoted code embedded in the file.\",choices:[{value:\"auto\",description:\"Format embedded code if Prettier can automatically identify it.\"},{value:\"off\",description:\"Never automatically format embedded code.\"}]}};r.exports={CATEGORY_CONFIG:n,CATEGORY_EDITOR:D,CATEGORY_FORMAT:s,CATEGORY_OTHER:i,CATEGORY_OUTPUT:f,CATEGORY_GLOBAL:c,CATEGORY_SPECIAL:F,options:a};}}),vl=I({\"src/main/support.js\"(e,r){q();var u={compare:Hr(),lt:El(),gte:Cl()},n=ml(),D=gl().version,s=Al().options;function i(){let{plugins:c=[],showUnreleased:F=!1,showDeprecated:a=!1,showInternal:l=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=D.split(\"-\",1)[0],C=c.flatMap(g=>g.languages||[]).filter(m),d=n(Object.assign({},...c.map(g=>{let{options:N}=g;return N}),s),\"name\").filter(g=>m(g)&&T(g)).sort((g,N)=>g.name===N.name?0:g.name{g=Object.assign({},g),Array.isArray(g.default)&&(g.default=g.default.length===1?g.default[0].value:g.default.filter(m).sort((R,j)=>u.compare(j.since,R.since))[0].value),Array.isArray(g.choices)&&(g.choices=g.choices.filter(R=>m(R)&&T(R)),g.name===\"parser\"&&f(g,C,c));let N=Object.fromEntries(c.filter(R=>R.defaultOptions&&R.defaultOptions[g.name]!==void 0).map(R=>[R.name,R.defaultOptions[g.name]]));return Object.assign(Object.assign({},g),{},{pluginDefaults:N})});return {languages:C,options:d};function m(g){return F||!(\"since\"in g)||g.since&&u.gte(h,g.since)}function T(g){return a||!(\"deprecated\"in g)||g.deprecated&&u.lt(h,g.deprecated)}function w(g){if(l)return g;return JD(g,KD)}}function f(c,F,a){let l=new Set(c.choices.map(h=>h.value));for(let h of F)if(h.parsers){for(let C of h.parsers)if(!l.has(C)){l.add(C);let d=a.find(T=>T.parsers&&T.parsers[C]),m=h.name;d&&d.name&&(m+=` (plugin: ${d.name})`),c.choices.push({value:C,description:m});}}}r.exports={getSupportInfo:i};}}),_l=I({\"src/utils/is-non-empty-array.js\"(e,r){q();function u(n){return Array.isArray(n)&&n.length>0}r.exports=u;}});function Sl(){let{onlyFirst:e=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(r,e?void 0:\"g\")}var yl=Ee({\"node_modules/strip-ansi/node_modules/ansi-regex/index.js\"(){q();}});function Tl(e){if(typeof e!=\"string\")throw new TypeError(`Expected a \\`string\\`, got \\`${typeof e}\\``);return e.replace(Sl(),\"\")}var Bl=Ee({\"node_modules/strip-ansi/index.js\"(){q(),yl();}});function bl(e){return Number.isInteger(e)?e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141):!1}var wl=Ee({\"node_modules/is-fullwidth-code-point/index.js\"(){q();}}),Nl=I({\"node_modules/emoji-regex/index.js\"(e,r){q(),r.exports=function(){return /\\uD83C\\uDFF4\\uDB40\\uDC67\\uDB40\\uDC62(?:\\uDB40\\uDC77\\uDB40\\uDC6C\\uDB40\\uDC73|\\uDB40\\uDC73\\uDB40\\uDC63\\uDB40\\uDC74|\\uDB40\\uDC65\\uDB40\\uDC6E\\uDB40\\uDC67)\\uDB40\\uDC7F|(?:\\uD83E\\uDDD1\\uD83C\\uDFFF\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFF\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFE])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFE\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFE\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFD\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFD\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFC\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFC\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFB\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFC-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C\\uDFFB(?:\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF]))|\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFC-\\uDFFF])|[\\u2695\\u2696\\u2708]\\uFE0F|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))?|(?:\\uD83C[\\uDFFC-\\uDFFF])\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF]))|\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83D\\uDC68|(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFE])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])\\uFE0F|\\u200D(?:(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83D[\\uDC66\\uDC67])|\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC)?|(?:\\uD83D\\uDC69(?:\\uD83C\\uDFFB\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|(?:\\uD83C[\\uDFFC-\\uDFFF])\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69]))|\\uD83E\\uDDD1(?:\\uD83C[\\uDFFB-\\uDFFF])\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1)(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC69(?:\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83E\\uDDD1(?:\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|(?:\\uD83D\\uDC41\\uFE0F\\u200D\\uD83D\\uDDE8|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|\\uD83D\\uDC69(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|\\uD83D\\uDE36\\u200D\\uD83C\\uDF2B|\\uD83C\\uDFF3\\uFE0F\\u200D\\u26A7|\\uD83D\\uDC3B\\u200D\\u2744|(?:(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF])\\u200D[\\u2640\\u2642]|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])\\u200D[\\u2640\\u2642]|\\uD83C\\uDFF4\\u200D\\u2620|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])\\u200D[\\u2640\\u2642]|[\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u2328\\u23CF\\u23ED-\\u23EF\\u23F1\\u23F2\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB\\u25FC\\u2600-\\u2604\\u260E\\u2611\\u2618\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u2692\\u2694-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A7\\u26B0\\u26B1\\u26C8\\u26CF\\u26D1\\u26D3\\u26E9\\u26F0\\u26F1\\u26F4\\u26F7\\u26F8\\u2702\\u2708\\u2709\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2733\\u2734\\u2744\\u2747\\u2763\\u27A1\\u2934\\u2935\\u2B05-\\u2B07\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDE02\\uDE37\\uDF21\\uDF24-\\uDF2C\\uDF36\\uDF7D\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E\\uDF9F\\uDFCD\\uDFCE\\uDFD4-\\uDFDF\\uDFF5\\uDFF7]|\\uD83D[\\uDC3F\\uDCFD\\uDD49\\uDD4A\\uDD6F\\uDD70\\uDD73\\uDD76-\\uDD79\\uDD87\\uDD8A-\\uDD8D\\uDDA5\\uDDA8\\uDDB1\\uDDB2\\uDDBC\\uDDC2-\\uDDC4\\uDDD1-\\uDDD3\\uDDDC-\\uDDDE\\uDDE1\\uDDE3\\uDDE8\\uDDEF\\uDDF3\\uDDFA\\uDECB\\uDECD-\\uDECF\\uDEE0-\\uDEE5\\uDEE9\\uDEF0\\uDEF3])\\uFE0F|\\uD83C\\uDFF3\\uFE0F\\u200D\\uD83C\\uDF08|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66|\\uD83D\\uDE35\\u200D\\uD83D\\uDCAB|\\uD83D\\uDE2E\\u200D\\uD83D\\uDCA8|\\uD83D\\uDC15\\u200D\\uD83E\\uDDBA|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC|\\uD83C\\uDFFB)?|\\uD83D\\uDC69(?:\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC|\\uD83C\\uDFFB)?|\\uD83C\\uDDFD\\uD83C\\uDDF0|\\uD83C\\uDDF6\\uD83C\\uDDE6|\\uD83C\\uDDF4\\uD83C\\uDDF2|\\uD83D\\uDC08\\u200D\\u2B1B|\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDD25|\\uD83E\\uDE79)|\\uD83D\\uDC41\\uFE0F|\\uD83C\\uDFF3\\uFE0F|\\uD83C\\uDDFF(?:\\uD83C[\\uDDE6\\uDDF2\\uDDFC])|\\uD83C\\uDDFE(?:\\uD83C[\\uDDEA\\uDDF9])|\\uD83C\\uDDFC(?:\\uD83C[\\uDDEB\\uDDF8])|\\uD83C\\uDDFB(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDEE\\uDDF3\\uDDFA])|\\uD83C\\uDDFA(?:\\uD83C[\\uDDE6\\uDDEC\\uDDF2\\uDDF3\\uDDF8\\uDDFE\\uDDFF])|\\uD83C\\uDDF9(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDED\\uDDEF-\\uDDF4\\uDDF7\\uDDF9\\uDDFB\\uDDFC\\uDDFF])|\\uD83C\\uDDF8(?:\\uD83C[\\uDDE6-\\uDDEA\\uDDEC-\\uDDF4\\uDDF7-\\uDDF9\\uDDFB\\uDDFD-\\uDDFF])|\\uD83C\\uDDF7(?:\\uD83C[\\uDDEA\\uDDF4\\uDDF8\\uDDFA\\uDDFC])|\\uD83C\\uDDF5(?:\\uD83C[\\uDDE6\\uDDEA-\\uDDED\\uDDF0-\\uDDF3\\uDDF7-\\uDDF9\\uDDFC\\uDDFE])|\\uD83C\\uDDF3(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA-\\uDDEC\\uDDEE\\uDDF1\\uDDF4\\uDDF5\\uDDF7\\uDDFA\\uDDFF])|\\uD83C\\uDDF2(?:\\uD83C[\\uDDE6\\uDDE8-\\uDDED\\uDDF0-\\uDDFF])|\\uD83C\\uDDF1(?:\\uD83C[\\uDDE6-\\uDDE8\\uDDEE\\uDDF0\\uDDF7-\\uDDFB\\uDDFE])|\\uD83C\\uDDF0(?:\\uD83C[\\uDDEA\\uDDEC-\\uDDEE\\uDDF2\\uDDF3\\uDDF5\\uDDF7\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDEF(?:\\uD83C[\\uDDEA\\uDDF2\\uDDF4\\uDDF5])|\\uD83C\\uDDEE(?:\\uD83C[\\uDDE8-\\uDDEA\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9])|\\uD83C\\uDDED(?:\\uD83C[\\uDDF0\\uDDF2\\uDDF3\\uDDF7\\uDDF9\\uDDFA])|\\uD83C\\uDDEC(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEE\\uDDF1-\\uDDF3\\uDDF5-\\uDDFA\\uDDFC\\uDDFE])|\\uD83C\\uDDEB(?:\\uD83C[\\uDDEE-\\uDDF0\\uDDF2\\uDDF4\\uDDF7])|\\uD83C\\uDDEA(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDED\\uDDF7-\\uDDFA])|\\uD83C\\uDDE9(?:\\uD83C[\\uDDEA\\uDDEC\\uDDEF\\uDDF0\\uDDF2\\uDDF4\\uDDFF])|\\uD83C\\uDDE8(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDEE\\uDDF0-\\uDDF5\\uDDF7\\uDDFA-\\uDDFF])|\\uD83C\\uDDE7(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEF\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9\\uDDFB\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDE6(?:\\uD83C[\\uDDE8-\\uDDEC\\uDDEE\\uDDF1\\uDDF2\\uDDF4\\uDDF6-\\uDDFA\\uDDFC\\uDDFD\\uDDFF])|[#\\*0-9]\\uFE0F\\u20E3|\\u2764\\uFE0F|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])|\\uD83C\\uDFF4|(?:[\\u270A\\u270B]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66\\uDC67\\uDC6B-\\uDC6D\\uDC72\\uDC74-\\uDC76\\uDC78\\uDC7C\\uDC83\\uDC85\\uDC8F\\uDC91\\uDCAA\\uDD7A\\uDD95\\uDD96\\uDE4C\\uDE4F\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:[\\u261D\\u270C\\u270D]|\\uD83D[\\uDD74\\uDD90])(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])|[\\u270A\\u270B]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\uDC08\\uDC15\\uDC3B\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66\\uDC67\\uDC6B-\\uDC6D\\uDC72\\uDC74-\\uDC76\\uDC78\\uDC7C\\uDC83\\uDC85\\uDC8F\\uDC91\\uDCAA\\uDD7A\\uDD95\\uDD96\\uDE2E\\uDE35\\uDE36\\uDE4C\\uDE4F\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5]|\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD]|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF]|[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF84\\uDF86-\\uDF93\\uDFA0-\\uDFC1\\uDFC5\\uDFC6\\uDFC8\\uDFC9\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC07\\uDC09-\\uDC14\\uDC16-\\uDC3A\\uDC3C-\\uDC3E\\uDC40\\uDC44\\uDC45\\uDC51-\\uDC65\\uDC6A\\uDC79-\\uDC7B\\uDC7D-\\uDC80\\uDC84\\uDC88-\\uDC8E\\uDC90\\uDC92-\\uDCA9\\uDCAB-\\uDCFC\\uDCFF-\\uDD3D\\uDD4B-\\uDD4E\\uDD50-\\uDD67\\uDDA4\\uDDFB-\\uDE2D\\uDE2F-\\uDE34\\uDE37-\\uDE44\\uDE48-\\uDE4A\\uDE80-\\uDEA2\\uDEA4-\\uDEB3\\uDEB7-\\uDEBF\\uDEC1-\\uDEC5\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0D\\uDD0E\\uDD10-\\uDD17\\uDD1D\\uDD20-\\uDD25\\uDD27-\\uDD2F\\uDD3A\\uDD3F-\\uDD45\\uDD47-\\uDD76\\uDD78\\uDD7A-\\uDDB4\\uDDB7\\uDDBA\\uDDBC-\\uDDCB\\uDDD0\\uDDE0-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6]|(?:[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u270A\\u270B\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF93\\uDFA0-\\uDFCA\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF4\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC3E\\uDC40\\uDC42-\\uDCFC\\uDCFF-\\uDD3D\\uDD4B-\\uDD4E\\uDD50-\\uDD67\\uDD7A\\uDD95\\uDD96\\uDDA4\\uDDFB-\\uDE4F\\uDE80-\\uDEC5\\uDECC\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD78\\uDD7A-\\uDDCB\\uDDCD-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6])|(?:[#\\*0-9\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u23CF\\u23E9-\\u23F3\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB-\\u25FE\\u2600-\\u2604\\u260E\\u2611\\u2614\\u2615\\u2618\\u261D\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u2648-\\u2653\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u267F\\u2692-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A1\\u26A7\\u26AA\\u26AB\\u26B0\\u26B1\\u26BD\\u26BE\\u26C4\\u26C5\\u26C8\\u26CE\\u26CF\\u26D1\\u26D3\\u26D4\\u26E9\\u26EA\\u26F0-\\u26F5\\u26F7-\\u26FA\\u26FD\\u2702\\u2705\\u2708-\\u270D\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2728\\u2733\\u2734\\u2744\\u2747\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2763\\u2764\\u2795-\\u2797\\u27A1\\u27B0\\u27BF\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B50\\u2B55\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDC04\\uDCCF\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE02\\uDE1A\\uDE2F\\uDE32-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF21\\uDF24-\\uDF93\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E-\\uDFF0\\uDFF3-\\uDFF5\\uDFF7-\\uDFFF]|\\uD83D[\\uDC00-\\uDCFD\\uDCFF-\\uDD3D\\uDD49-\\uDD4E\\uDD50-\\uDD67\\uDD6F\\uDD70\\uDD73-\\uDD7A\\uDD87\\uDD8A-\\uDD8D\\uDD90\\uDD95\\uDD96\\uDDA4\\uDDA5\\uDDA8\\uDDB1\\uDDB2\\uDDBC\\uDDC2-\\uDDC4\\uDDD1-\\uDDD3\\uDDDC-\\uDDDE\\uDDE1\\uDDE3\\uDDE8\\uDDEF\\uDDF3\\uDDFA-\\uDE4F\\uDE80-\\uDEC5\\uDECB-\\uDED2\\uDED5-\\uDED7\\uDEE0-\\uDEE5\\uDEE9\\uDEEB\\uDEEC\\uDEF0\\uDEF3-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD78\\uDD7A-\\uDDCB\\uDDCD-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6])\\uFE0F|(?:[\\u261D\\u26F9\\u270A-\\u270D]|\\uD83C[\\uDF85\\uDFC2-\\uDFC4\\uDFC7\\uDFCA-\\uDFCC]|\\uD83D[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66-\\uDC78\\uDC7C\\uDC81-\\uDC83\\uDC85-\\uDC87\\uDC8F\\uDC91\\uDCAA\\uDD74\\uDD75\\uDD7A\\uDD90\\uDD95\\uDD96\\uDE45-\\uDE47\\uDE4B-\\uDE4F\\uDEA3\\uDEB4-\\uDEB6\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1F\\uDD26\\uDD30-\\uDD39\\uDD3C-\\uDD3E\\uDD77\\uDDB5\\uDDB6\\uDDB8\\uDDB9\\uDDBB\\uDDCD-\\uDDCF\\uDDD1-\\uDDDD])/g};}}),As={};ps(As,{default:()=>Ol});function Ol(e){if(typeof e!=\"string\"||e.length===0||(e=Tl(e),e.length===0))return 0;e=e.replace((0, vs.default)(),\" \");let r=0;for(let u=0;u=127&&n<=159||n>=768&&n<=879||(n>65535&&u++,r+=bl(n)?2:1);}return r}var vs,ql=Ee({\"node_modules/string-width/index.js\"(){q(),Bl(),wl(),vs=nl(Nl());}}),Il=I({\"src/utils/get-string-width.js\"(e,r){q();var u=(ql(),ds(As)).default,n=/[^\\x20-\\x7F]/;function D(s){return s?n.test(s)?u(s):s.length:0}r.exports=D;}}),zr=I({\"src/utils/text/skip.js\"(e,r){q();function u(f){return (c,F,a)=>{let l=a&&a.backwards;if(F===!1)return !1;let{length:h}=c,C=F;for(;C>=0&&Cv[v.length-2];function T(v){return (y,B,b)=>{let L=b&&b.backwards;if(B===!1)return !1;let{length:U}=y,G=B;for(;G>=0&&G2&&arguments[2]!==void 0?arguments[2]:{},b=c(v,B.backwards?y-1:y,B),L=C(v,b,B);return b!==L}function g(v,y,B){for(let b=y;b2&&arguments[2]!==void 0?arguments[2]:{};return c(v,B.backwards?y-1:y,B)!==y}function k(v,y){let B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,b=0;for(let L=B;Lne?U:L;}return G}function o(v,y){let B=v.slice(1,-1),b=y.parser===\"json\"||y.parser===\"json5\"&&y.quoteProps===\"preserve\"&&!y.singleQuote?'\"':y.__isInHtmlAttribute?\"'\":t(B,y.singleQuote?\"'\":'\"').quote;return E(B,b,!(y.parser===\"css\"||y.parser===\"less\"||y.parser===\"scss\"||y.__embeddedInHtml))}function E(v,y,B){let b=y==='\"'?\"'\":'\"',L=/\\\\(.)|([\"'])/gs,U=v.replace(L,(G,W,ne)=>W===b?W:ne===y?\"\\\\\"+ne:ne||(B&&/^[^\\n\\r\"'0-7\\\\bfnrt-vx\\u2028\\u2029]$/.test(W)?W:\"\\\\\"+W));return y+U+y}function p(v){return v.toLowerCase().replace(/^([+-]?[\\d.]+e)(?:\\+|(-))?0*(\\d)/,\"$1$2$3\").replace(/^([+-]?[\\d.]+)e[+-]?0+$/,\"$1\").replace(/^([+-])?\\./,\"$10.\").replace(/(\\.\\d+?)0+(?=e|$)/,\"$1\").replace(/\\.(?=e|$)/,\"\")}function A(v,y){let B=v.match(new RegExp(`(${u(y)})+`,\"g\"));return B===null?0:B.reduce((b,L)=>Math.max(b,L.length/y.length),0)}function P(v,y){let B=v.match(new RegExp(`(${u(y)})+`,\"g\"));if(B===null)return 0;let b=new Map,L=0;for(let U of B){let G=U.length/y.length;b.set(G,!0),G>L&&(L=G);}for(let U=1;U{let{name:U}=L;return U.toLowerCase()===v})||B.find(L=>{let{aliases:U}=L;return Array.isArray(U)&&U.includes(v)})||B.find(L=>{let{extensions:U}=L;return Array.isArray(U)&&U.includes(`.${v}`)});return b&&b.parsers[0]}function Q(v){return v&&v.type===\"front-matter\"}function K(v){let y=new WeakMap;return function(B){return y.has(B)||y.set(B,Symbol(v)),y.get(B)}}function J(v){let y=v.type||v.kind||\"(unknown type)\",B=String(v.name||v.id&&(typeof v.id==\"object\"?v.id.name:v.id)||v.key&&(typeof v.key==\"object\"?v.key.name:v.key)||v.value&&(typeof v.value==\"object\"?\"\":String(v.value))||v.operator||\"\");return B.length>20&&(B=B.slice(0,19)+\"\\u2026\"),y+(B?\" \"+B:\"\")}r.exports={inferParserByLanguage:H,getStringWidth:i,getMaxContinuousCount:A,getMinNotPresentContinuousCount:P,getPenultimate:m,getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:d,getNextNonSpaceNonCommentCharacterIndex:_,getNextNonSpaceNonCommentCharacter:O,skip:T,skipWhitespace:f,skipSpaces:c,skipToLineEnd:F,skipEverythingButNewLine:a,skipInlineComment:l,skipTrailingComment:h,skipNewline:C,isNextLineEmptyAfterIndex:R,isNextLineEmpty:j,isPreviousLineEmpty:N,hasNewline:w,hasNewlineInRange:g,hasSpaces:x,getAlignmentSize:k,getIndentSize:$,getPreferredQuote:t,printString:o,printNumber:p,makeString:E,addLeadingComment:z,addDanglingComment:V,addTrailingComment:X,isFrontMatterNode:Q,isNonEmptyArray:s,createGroupIdMapper:K};}}),Pl=I({\"vendors/html-tag-names.json\"(e,r){r.exports={htmlTagNames:[\"a\",\"abbr\",\"acronym\",\"address\",\"applet\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"basefont\",\"bdi\",\"bdo\",\"bgsound\",\"big\",\"blink\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"center\",\"cite\",\"code\",\"col\",\"colgroup\",\"command\",\"content\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"dir\",\"div\",\"dl\",\"dt\",\"element\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"font\",\"footer\",\"form\",\"frame\",\"frameset\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"image\",\"img\",\"input\",\"ins\",\"isindex\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"listing\",\"main\",\"map\",\"mark\",\"marquee\",\"math\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"multicol\",\"nav\",\"nextid\",\"nobr\",\"noembed\",\"noframes\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"plaintext\",\"pre\",\"progress\",\"q\",\"rb\",\"rbc\",\"rp\",\"rt\",\"rtc\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"shadow\",\"slot\",\"small\",\"source\",\"spacer\",\"span\",\"strike\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"svg\",\"table\",\"tbody\",\"td\",\"template\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"title\",\"tr\",\"track\",\"tt\",\"u\",\"ul\",\"var\",\"video\",\"wbr\",\"xmp\"]};}}),Ts=I({\"src/language-html/utils/array-to-map.js\"(e,r){q();function u(n){let D=Object.create(null);for(let s of n)D[s]=!0;return D}r.exports=u;}}),kl=I({\"src/language-html/utils/html-tag-names.js\"(e,r){q();var{htmlTagNames:u}=Pl(),n=Ts(),D=n(u);r.exports=D;}}),Ll=I({\"vendors/html-element-attributes.json\"(e,r){r.exports={htmlElementAttributes:{\"*\":[\"accesskey\",\"autocapitalize\",\"autofocus\",\"class\",\"contenteditable\",\"dir\",\"draggable\",\"enterkeyhint\",\"hidden\",\"id\",\"inputmode\",\"is\",\"itemid\",\"itemprop\",\"itemref\",\"itemscope\",\"itemtype\",\"lang\",\"nonce\",\"slot\",\"spellcheck\",\"style\",\"tabindex\",\"title\",\"translate\"],a:[\"charset\",\"coords\",\"download\",\"href\",\"hreflang\",\"name\",\"ping\",\"referrerpolicy\",\"rel\",\"rev\",\"shape\",\"target\",\"type\"],applet:[\"align\",\"alt\",\"archive\",\"code\",\"codebase\",\"height\",\"hspace\",\"name\",\"object\",\"vspace\",\"width\"],area:[\"alt\",\"coords\",\"download\",\"href\",\"hreflang\",\"nohref\",\"ping\",\"referrerpolicy\",\"rel\",\"shape\",\"target\",\"type\"],audio:[\"autoplay\",\"controls\",\"crossorigin\",\"loop\",\"muted\",\"preload\",\"src\"],base:[\"href\",\"target\"],basefont:[\"color\",\"face\",\"size\"],blockquote:[\"cite\"],body:[\"alink\",\"background\",\"bgcolor\",\"link\",\"text\",\"vlink\"],br:[\"clear\"],button:[\"disabled\",\"form\",\"formaction\",\"formenctype\",\"formmethod\",\"formnovalidate\",\"formtarget\",\"name\",\"type\",\"value\"],canvas:[\"height\",\"width\"],caption:[\"align\"],col:[\"align\",\"char\",\"charoff\",\"span\",\"valign\",\"width\"],colgroup:[\"align\",\"char\",\"charoff\",\"span\",\"valign\",\"width\"],data:[\"value\"],del:[\"cite\",\"datetime\"],details:[\"open\"],dialog:[\"open\"],dir:[\"compact\"],div:[\"align\"],dl:[\"compact\"],embed:[\"height\",\"src\",\"type\",\"width\"],fieldset:[\"disabled\",\"form\",\"name\"],font:[\"color\",\"face\",\"size\"],form:[\"accept\",\"accept-charset\",\"action\",\"autocomplete\",\"enctype\",\"method\",\"name\",\"novalidate\",\"target\"],frame:[\"frameborder\",\"longdesc\",\"marginheight\",\"marginwidth\",\"name\",\"noresize\",\"scrolling\",\"src\"],frameset:[\"cols\",\"rows\"],h1:[\"align\"],h2:[\"align\"],h3:[\"align\"],h4:[\"align\"],h5:[\"align\"],h6:[\"align\"],head:[\"profile\"],hr:[\"align\",\"noshade\",\"size\",\"width\"],html:[\"manifest\",\"version\"],iframe:[\"align\",\"allow\",\"allowfullscreen\",\"allowpaymentrequest\",\"allowusermedia\",\"frameborder\",\"height\",\"loading\",\"longdesc\",\"marginheight\",\"marginwidth\",\"name\",\"referrerpolicy\",\"sandbox\",\"scrolling\",\"src\",\"srcdoc\",\"width\"],img:[\"align\",\"alt\",\"border\",\"crossorigin\",\"decoding\",\"height\",\"hspace\",\"ismap\",\"loading\",\"longdesc\",\"name\",\"referrerpolicy\",\"sizes\",\"src\",\"srcset\",\"usemap\",\"vspace\",\"width\"],input:[\"accept\",\"align\",\"alt\",\"autocomplete\",\"checked\",\"dirname\",\"disabled\",\"form\",\"formaction\",\"formenctype\",\"formmethod\",\"formnovalidate\",\"formtarget\",\"height\",\"ismap\",\"list\",\"max\",\"maxlength\",\"min\",\"minlength\",\"multiple\",\"name\",\"pattern\",\"placeholder\",\"readonly\",\"required\",\"size\",\"src\",\"step\",\"type\",\"usemap\",\"value\",\"width\"],ins:[\"cite\",\"datetime\"],isindex:[\"prompt\"],label:[\"for\",\"form\"],legend:[\"align\"],li:[\"type\",\"value\"],link:[\"as\",\"charset\",\"color\",\"crossorigin\",\"disabled\",\"href\",\"hreflang\",\"imagesizes\",\"imagesrcset\",\"integrity\",\"media\",\"referrerpolicy\",\"rel\",\"rev\",\"sizes\",\"target\",\"type\"],map:[\"name\"],menu:[\"compact\"],meta:[\"charset\",\"content\",\"http-equiv\",\"media\",\"name\",\"scheme\"],meter:[\"high\",\"low\",\"max\",\"min\",\"optimum\",\"value\"],object:[\"align\",\"archive\",\"border\",\"classid\",\"codebase\",\"codetype\",\"data\",\"declare\",\"form\",\"height\",\"hspace\",\"name\",\"standby\",\"type\",\"typemustmatch\",\"usemap\",\"vspace\",\"width\"],ol:[\"compact\",\"reversed\",\"start\",\"type\"],optgroup:[\"disabled\",\"label\"],option:[\"disabled\",\"label\",\"selected\",\"value\"],output:[\"for\",\"form\",\"name\"],p:[\"align\"],param:[\"name\",\"type\",\"value\",\"valuetype\"],pre:[\"width\"],progress:[\"max\",\"value\"],q:[\"cite\"],script:[\"async\",\"charset\",\"crossorigin\",\"defer\",\"integrity\",\"language\",\"nomodule\",\"referrerpolicy\",\"src\",\"type\"],select:[\"autocomplete\",\"disabled\",\"form\",\"multiple\",\"name\",\"required\",\"size\"],slot:[\"name\"],source:[\"height\",\"media\",\"sizes\",\"src\",\"srcset\",\"type\",\"width\"],style:[\"media\",\"type\"],table:[\"align\",\"bgcolor\",\"border\",\"cellpadding\",\"cellspacing\",\"frame\",\"rules\",\"summary\",\"width\"],tbody:[\"align\",\"char\",\"charoff\",\"valign\"],td:[\"abbr\",\"align\",\"axis\",\"bgcolor\",\"char\",\"charoff\",\"colspan\",\"headers\",\"height\",\"nowrap\",\"rowspan\",\"scope\",\"valign\",\"width\"],textarea:[\"autocomplete\",\"cols\",\"dirname\",\"disabled\",\"form\",\"maxlength\",\"minlength\",\"name\",\"placeholder\",\"readonly\",\"required\",\"rows\",\"wrap\"],tfoot:[\"align\",\"char\",\"charoff\",\"valign\"],th:[\"abbr\",\"align\",\"axis\",\"bgcolor\",\"char\",\"charoff\",\"colspan\",\"headers\",\"height\",\"nowrap\",\"rowspan\",\"scope\",\"valign\",\"width\"],thead:[\"align\",\"char\",\"charoff\",\"valign\"],time:[\"datetime\"],tr:[\"align\",\"bgcolor\",\"char\",\"charoff\",\"valign\"],track:[\"default\",\"kind\",\"label\",\"src\",\"srclang\"],ul:[\"compact\",\"type\"],video:[\"autoplay\",\"controls\",\"crossorigin\",\"height\",\"loop\",\"muted\",\"playsinline\",\"poster\",\"preload\",\"src\",\"width\"]}};}}),$l=I({\"src/language-html/utils/map-object.js\"(e,r){q();function u(n,D){let s=Object.create(null);for(let[i,f]of Object.entries(n))s[i]=D(f,i);return s}r.exports=u;}}),Ml=I({\"src/language-html/utils/html-elements-attributes.js\"(e,r){q();var{htmlElementAttributes:u}=Ll(),n=$l(),D=Ts(),s=n(u,D);r.exports=s;}}),jl=I({\"src/language-html/utils/is-unknown-namespace.js\"(e,r){q();function u(n){return n.type===\"element\"&&!n.hasExplicitNamespace&&![\"html\",\"svg\"].includes(n.namespace)}r.exports=u;}}),Ul=I({\"src/language-html/pragma.js\"(e,r){q();function u(D){return /^\\s*/.test(D)}function n(D){return `\n\n`+D.replace(/^\\s*\\n/,\"\")}r.exports={hasPragma:u,insertPragma:n};}}),Gl=I({\"src/language-html/ast.js\"(e,r){q();var u={attrs:!0,children:!0},n=new Set([\"parent\"]),D=class{constructor(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let f of new Set([...n,...Object.keys(i)]))this.setProperty(f,i[f]);}setProperty(i,f){if(this[i]!==f){if(i in u&&(f=f.map(c=>this.createChild(c))),!n.has(i)){this[i]=f;return}Object.defineProperty(this,i,{value:f,enumerable:!1,configurable:!0});}}map(i){let f;for(let c in u){let F=this[c];if(F){let a=s(F,l=>l.map(i));f!==F&&(f||(f=new D({parent:this.parent})),f.setProperty(c,a));}}if(f)for(let c in this)c in u||(f[c]=this[c]);return i(f||this)}walk(i){for(let f in u){let c=this[f];if(c)for(let F=0;F[i.fullName,i.value]))}};function s(i,f){let c=i.map(f);return c.some((F,a)=>F!==i[a])?c:i}r.exports={Node:D};}}),Vl=I({\"src/language-html/conditional-comment.js\"(e,r){q();var{ParseSourceSpan:u}=Be(),n=[{regex:/^(\\[if([^\\]]*)]>)(.*?){try{return [!0,F(C,m).children]}catch{return [!1,[{type:\"text\",value:C,sourceSpan:new u(m,T)}]]}})();return {type:\"ieConditionalComment\",complete:w,children:g,condition:h.trim().replace(/\\s+/g,\" \"),sourceSpan:c.sourceSpan,startSourceSpan:new u(c.sourceSpan.start,m),endSourceSpan:new u(T,c.sourceSpan.end)}}function i(c,F,a){let[,l]=a;return {type:\"ieConditionalStartComment\",condition:l.trim().replace(/\\s+/g,\" \"),sourceSpan:c.sourceSpan}}function f(c){return {type:\"ieConditionalEndComment\",sourceSpan:c.sourceSpan}}r.exports={parseIeConditionalComment:D};}}),Xl=I({\"src/language-html/loc.js\"(e,r){q();function u(D){return D.sourceSpan.start.offset}function n(D){return D.sourceSpan.end.offset}r.exports={locStart:u,locEnd:n};}}),Ze=I({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});(function(c){c[c.RAW_TEXT=0]=\"RAW_TEXT\",c[c.ESCAPABLE_RAW_TEXT=1]=\"ESCAPABLE_RAW_TEXT\",c[c.PARSABLE_DATA=2]=\"PARSABLE_DATA\";})(e.TagContentType||(e.TagContentType={}));function u(c){if(c[0]!=\":\")return [null,c];let F=c.indexOf(\":\",1);if(F==-1)throw new Error(`Unsupported format \"${c}\" expecting \":namespace:name\"`);return [c.slice(1,F),c.slice(F+1)]}e.splitNsName=u;function n(c){return u(c)[1]===\"ng-container\"}e.isNgContainer=n;function D(c){return u(c)[1]===\"ng-content\"}e.isNgContent=D;function s(c){return u(c)[1]===\"ng-template\"}e.isNgTemplate=s;function i(c){return c===null?null:u(c)[0]}e.getNsPrefix=i;function f(c,F){return c?`:${c}:${F}`:F}e.mergeNsAndName=f,e.NAMED_ENTITIES={Aacute:\"\\xC1\",aacute:\"\\xE1\",Abreve:\"\\u0102\",abreve:\"\\u0103\",ac:\"\\u223E\",acd:\"\\u223F\",acE:\"\\u223E\\u0333\",Acirc:\"\\xC2\",acirc:\"\\xE2\",acute:\"\\xB4\",Acy:\"\\u0410\",acy:\"\\u0430\",AElig:\"\\xC6\",aelig:\"\\xE6\",af:\"\\u2061\",Afr:\"\\u{1D504}\",afr:\"\\u{1D51E}\",Agrave:\"\\xC0\",agrave:\"\\xE0\",alefsym:\"\\u2135\",aleph:\"\\u2135\",Alpha:\"\\u0391\",alpha:\"\\u03B1\",Amacr:\"\\u0100\",amacr:\"\\u0101\",amalg:\"\\u2A3F\",AMP:\"&\",amp:\"&\",And:\"\\u2A53\",and:\"\\u2227\",andand:\"\\u2A55\",andd:\"\\u2A5C\",andslope:\"\\u2A58\",andv:\"\\u2A5A\",ang:\"\\u2220\",ange:\"\\u29A4\",angle:\"\\u2220\",angmsd:\"\\u2221\",angmsdaa:\"\\u29A8\",angmsdab:\"\\u29A9\",angmsdac:\"\\u29AA\",angmsdad:\"\\u29AB\",angmsdae:\"\\u29AC\",angmsdaf:\"\\u29AD\",angmsdag:\"\\u29AE\",angmsdah:\"\\u29AF\",angrt:\"\\u221F\",angrtvb:\"\\u22BE\",angrtvbd:\"\\u299D\",angsph:\"\\u2222\",angst:\"\\xC5\",angzarr:\"\\u237C\",Aogon:\"\\u0104\",aogon:\"\\u0105\",Aopf:\"\\u{1D538}\",aopf:\"\\u{1D552}\",ap:\"\\u2248\",apacir:\"\\u2A6F\",apE:\"\\u2A70\",ape:\"\\u224A\",apid:\"\\u224B\",apos:\"'\",ApplyFunction:\"\\u2061\",approx:\"\\u2248\",approxeq:\"\\u224A\",Aring:\"\\xC5\",aring:\"\\xE5\",Ascr:\"\\u{1D49C}\",ascr:\"\\u{1D4B6}\",Assign:\"\\u2254\",ast:\"*\",asymp:\"\\u2248\",asympeq:\"\\u224D\",Atilde:\"\\xC3\",atilde:\"\\xE3\",Auml:\"\\xC4\",auml:\"\\xE4\",awconint:\"\\u2233\",awint:\"\\u2A11\",backcong:\"\\u224C\",backepsilon:\"\\u03F6\",backprime:\"\\u2035\",backsim:\"\\u223D\",backsimeq:\"\\u22CD\",Backslash:\"\\u2216\",Barv:\"\\u2AE7\",barvee:\"\\u22BD\",Barwed:\"\\u2306\",barwed:\"\\u2305\",barwedge:\"\\u2305\",bbrk:\"\\u23B5\",bbrktbrk:\"\\u23B6\",bcong:\"\\u224C\",Bcy:\"\\u0411\",bcy:\"\\u0431\",bdquo:\"\\u201E\",becaus:\"\\u2235\",Because:\"\\u2235\",because:\"\\u2235\",bemptyv:\"\\u29B0\",bepsi:\"\\u03F6\",bernou:\"\\u212C\",Bernoullis:\"\\u212C\",Beta:\"\\u0392\",beta:\"\\u03B2\",beth:\"\\u2136\",between:\"\\u226C\",Bfr:\"\\u{1D505}\",bfr:\"\\u{1D51F}\",bigcap:\"\\u22C2\",bigcirc:\"\\u25EF\",bigcup:\"\\u22C3\",bigodot:\"\\u2A00\",bigoplus:\"\\u2A01\",bigotimes:\"\\u2A02\",bigsqcup:\"\\u2A06\",bigstar:\"\\u2605\",bigtriangledown:\"\\u25BD\",bigtriangleup:\"\\u25B3\",biguplus:\"\\u2A04\",bigvee:\"\\u22C1\",bigwedge:\"\\u22C0\",bkarow:\"\\u290D\",blacklozenge:\"\\u29EB\",blacksquare:\"\\u25AA\",blacktriangle:\"\\u25B4\",blacktriangledown:\"\\u25BE\",blacktriangleleft:\"\\u25C2\",blacktriangleright:\"\\u25B8\",blank:\"\\u2423\",blk12:\"\\u2592\",blk14:\"\\u2591\",blk34:\"\\u2593\",block:\"\\u2588\",bne:\"=\\u20E5\",bnequiv:\"\\u2261\\u20E5\",bNot:\"\\u2AED\",bnot:\"\\u2310\",Bopf:\"\\u{1D539}\",bopf:\"\\u{1D553}\",bot:\"\\u22A5\",bottom:\"\\u22A5\",bowtie:\"\\u22C8\",boxbox:\"\\u29C9\",boxDL:\"\\u2557\",boxDl:\"\\u2556\",boxdL:\"\\u2555\",boxdl:\"\\u2510\",boxDR:\"\\u2554\",boxDr:\"\\u2553\",boxdR:\"\\u2552\",boxdr:\"\\u250C\",boxH:\"\\u2550\",boxh:\"\\u2500\",boxHD:\"\\u2566\",boxHd:\"\\u2564\",boxhD:\"\\u2565\",boxhd:\"\\u252C\",boxHU:\"\\u2569\",boxHu:\"\\u2567\",boxhU:\"\\u2568\",boxhu:\"\\u2534\",boxminus:\"\\u229F\",boxplus:\"\\u229E\",boxtimes:\"\\u22A0\",boxUL:\"\\u255D\",boxUl:\"\\u255C\",boxuL:\"\\u255B\",boxul:\"\\u2518\",boxUR:\"\\u255A\",boxUr:\"\\u2559\",boxuR:\"\\u2558\",boxur:\"\\u2514\",boxV:\"\\u2551\",boxv:\"\\u2502\",boxVH:\"\\u256C\",boxVh:\"\\u256B\",boxvH:\"\\u256A\",boxvh:\"\\u253C\",boxVL:\"\\u2563\",boxVl:\"\\u2562\",boxvL:\"\\u2561\",boxvl:\"\\u2524\",boxVR:\"\\u2560\",boxVr:\"\\u255F\",boxvR:\"\\u255E\",boxvr:\"\\u251C\",bprime:\"\\u2035\",Breve:\"\\u02D8\",breve:\"\\u02D8\",brvbar:\"\\xA6\",Bscr:\"\\u212C\",bscr:\"\\u{1D4B7}\",bsemi:\"\\u204F\",bsim:\"\\u223D\",bsime:\"\\u22CD\",bsol:\"\\\\\",bsolb:\"\\u29C5\",bsolhsub:\"\\u27C8\",bull:\"\\u2022\",bullet:\"\\u2022\",bump:\"\\u224E\",bumpE:\"\\u2AAE\",bumpe:\"\\u224F\",Bumpeq:\"\\u224E\",bumpeq:\"\\u224F\",Cacute:\"\\u0106\",cacute:\"\\u0107\",Cap:\"\\u22D2\",cap:\"\\u2229\",capand:\"\\u2A44\",capbrcup:\"\\u2A49\",capcap:\"\\u2A4B\",capcup:\"\\u2A47\",capdot:\"\\u2A40\",CapitalDifferentialD:\"\\u2145\",caps:\"\\u2229\\uFE00\",caret:\"\\u2041\",caron:\"\\u02C7\",Cayleys:\"\\u212D\",ccaps:\"\\u2A4D\",Ccaron:\"\\u010C\",ccaron:\"\\u010D\",Ccedil:\"\\xC7\",ccedil:\"\\xE7\",Ccirc:\"\\u0108\",ccirc:\"\\u0109\",Cconint:\"\\u2230\",ccups:\"\\u2A4C\",ccupssm:\"\\u2A50\",Cdot:\"\\u010A\",cdot:\"\\u010B\",cedil:\"\\xB8\",Cedilla:\"\\xB8\",cemptyv:\"\\u29B2\",cent:\"\\xA2\",CenterDot:\"\\xB7\",centerdot:\"\\xB7\",Cfr:\"\\u212D\",cfr:\"\\u{1D520}\",CHcy:\"\\u0427\",chcy:\"\\u0447\",check:\"\\u2713\",checkmark:\"\\u2713\",Chi:\"\\u03A7\",chi:\"\\u03C7\",cir:\"\\u25CB\",circ:\"\\u02C6\",circeq:\"\\u2257\",circlearrowleft:\"\\u21BA\",circlearrowright:\"\\u21BB\",circledast:\"\\u229B\",circledcirc:\"\\u229A\",circleddash:\"\\u229D\",CircleDot:\"\\u2299\",circledR:\"\\xAE\",circledS:\"\\u24C8\",CircleMinus:\"\\u2296\",CirclePlus:\"\\u2295\",CircleTimes:\"\\u2297\",cirE:\"\\u29C3\",cire:\"\\u2257\",cirfnint:\"\\u2A10\",cirmid:\"\\u2AEF\",cirscir:\"\\u29C2\",ClockwiseContourIntegral:\"\\u2232\",CloseCurlyDoubleQuote:\"\\u201D\",CloseCurlyQuote:\"\\u2019\",clubs:\"\\u2663\",clubsuit:\"\\u2663\",Colon:\"\\u2237\",colon:\":\",Colone:\"\\u2A74\",colone:\"\\u2254\",coloneq:\"\\u2254\",comma:\",\",commat:\"@\",comp:\"\\u2201\",compfn:\"\\u2218\",complement:\"\\u2201\",complexes:\"\\u2102\",cong:\"\\u2245\",congdot:\"\\u2A6D\",Congruent:\"\\u2261\",Conint:\"\\u222F\",conint:\"\\u222E\",ContourIntegral:\"\\u222E\",Copf:\"\\u2102\",copf:\"\\u{1D554}\",coprod:\"\\u2210\",Coproduct:\"\\u2210\",COPY:\"\\xA9\",copy:\"\\xA9\",copysr:\"\\u2117\",CounterClockwiseContourIntegral:\"\\u2233\",crarr:\"\\u21B5\",Cross:\"\\u2A2F\",cross:\"\\u2717\",Cscr:\"\\u{1D49E}\",cscr:\"\\u{1D4B8}\",csub:\"\\u2ACF\",csube:\"\\u2AD1\",csup:\"\\u2AD0\",csupe:\"\\u2AD2\",ctdot:\"\\u22EF\",cudarrl:\"\\u2938\",cudarrr:\"\\u2935\",cuepr:\"\\u22DE\",cuesc:\"\\u22DF\",cularr:\"\\u21B6\",cularrp:\"\\u293D\",Cup:\"\\u22D3\",cup:\"\\u222A\",cupbrcap:\"\\u2A48\",CupCap:\"\\u224D\",cupcap:\"\\u2A46\",cupcup:\"\\u2A4A\",cupdot:\"\\u228D\",cupor:\"\\u2A45\",cups:\"\\u222A\\uFE00\",curarr:\"\\u21B7\",curarrm:\"\\u293C\",curlyeqprec:\"\\u22DE\",curlyeqsucc:\"\\u22DF\",curlyvee:\"\\u22CE\",curlywedge:\"\\u22CF\",curren:\"\\xA4\",curvearrowleft:\"\\u21B6\",curvearrowright:\"\\u21B7\",cuvee:\"\\u22CE\",cuwed:\"\\u22CF\",cwconint:\"\\u2232\",cwint:\"\\u2231\",cylcty:\"\\u232D\",Dagger:\"\\u2021\",dagger:\"\\u2020\",daleth:\"\\u2138\",Darr:\"\\u21A1\",dArr:\"\\u21D3\",darr:\"\\u2193\",dash:\"\\u2010\",Dashv:\"\\u2AE4\",dashv:\"\\u22A3\",dbkarow:\"\\u290F\",dblac:\"\\u02DD\",Dcaron:\"\\u010E\",dcaron:\"\\u010F\",Dcy:\"\\u0414\",dcy:\"\\u0434\",DD:\"\\u2145\",dd:\"\\u2146\",ddagger:\"\\u2021\",ddarr:\"\\u21CA\",DDotrahd:\"\\u2911\",ddotseq:\"\\u2A77\",deg:\"\\xB0\",Del:\"\\u2207\",Delta:\"\\u0394\",delta:\"\\u03B4\",demptyv:\"\\u29B1\",dfisht:\"\\u297F\",Dfr:\"\\u{1D507}\",dfr:\"\\u{1D521}\",dHar:\"\\u2965\",dharl:\"\\u21C3\",dharr:\"\\u21C2\",DiacriticalAcute:\"\\xB4\",DiacriticalDot:\"\\u02D9\",DiacriticalDoubleAcute:\"\\u02DD\",DiacriticalGrave:\"`\",DiacriticalTilde:\"\\u02DC\",diam:\"\\u22C4\",Diamond:\"\\u22C4\",diamond:\"\\u22C4\",diamondsuit:\"\\u2666\",diams:\"\\u2666\",die:\"\\xA8\",DifferentialD:\"\\u2146\",digamma:\"\\u03DD\",disin:\"\\u22F2\",div:\"\\xF7\",divide:\"\\xF7\",divideontimes:\"\\u22C7\",divonx:\"\\u22C7\",DJcy:\"\\u0402\",djcy:\"\\u0452\",dlcorn:\"\\u231E\",dlcrop:\"\\u230D\",dollar:\"$\",Dopf:\"\\u{1D53B}\",dopf:\"\\u{1D555}\",Dot:\"\\xA8\",dot:\"\\u02D9\",DotDot:\"\\u20DC\",doteq:\"\\u2250\",doteqdot:\"\\u2251\",DotEqual:\"\\u2250\",dotminus:\"\\u2238\",dotplus:\"\\u2214\",dotsquare:\"\\u22A1\",doublebarwedge:\"\\u2306\",DoubleContourIntegral:\"\\u222F\",DoubleDot:\"\\xA8\",DoubleDownArrow:\"\\u21D3\",DoubleLeftArrow:\"\\u21D0\",DoubleLeftRightArrow:\"\\u21D4\",DoubleLeftTee:\"\\u2AE4\",DoubleLongLeftArrow:\"\\u27F8\",DoubleLongLeftRightArrow:\"\\u27FA\",DoubleLongRightArrow:\"\\u27F9\",DoubleRightArrow:\"\\u21D2\",DoubleRightTee:\"\\u22A8\",DoubleUpArrow:\"\\u21D1\",DoubleUpDownArrow:\"\\u21D5\",DoubleVerticalBar:\"\\u2225\",DownArrow:\"\\u2193\",Downarrow:\"\\u21D3\",downarrow:\"\\u2193\",DownArrowBar:\"\\u2913\",DownArrowUpArrow:\"\\u21F5\",DownBreve:\"\\u0311\",downdownarrows:\"\\u21CA\",downharpoonleft:\"\\u21C3\",downharpoonright:\"\\u21C2\",DownLeftRightVector:\"\\u2950\",DownLeftTeeVector:\"\\u295E\",DownLeftVector:\"\\u21BD\",DownLeftVectorBar:\"\\u2956\",DownRightTeeVector:\"\\u295F\",DownRightVector:\"\\u21C1\",DownRightVectorBar:\"\\u2957\",DownTee:\"\\u22A4\",DownTeeArrow:\"\\u21A7\",drbkarow:\"\\u2910\",drcorn:\"\\u231F\",drcrop:\"\\u230C\",Dscr:\"\\u{1D49F}\",dscr:\"\\u{1D4B9}\",DScy:\"\\u0405\",dscy:\"\\u0455\",dsol:\"\\u29F6\",Dstrok:\"\\u0110\",dstrok:\"\\u0111\",dtdot:\"\\u22F1\",dtri:\"\\u25BF\",dtrif:\"\\u25BE\",duarr:\"\\u21F5\",duhar:\"\\u296F\",dwangle:\"\\u29A6\",DZcy:\"\\u040F\",dzcy:\"\\u045F\",dzigrarr:\"\\u27FF\",Eacute:\"\\xC9\",eacute:\"\\xE9\",easter:\"\\u2A6E\",Ecaron:\"\\u011A\",ecaron:\"\\u011B\",ecir:\"\\u2256\",Ecirc:\"\\xCA\",ecirc:\"\\xEA\",ecolon:\"\\u2255\",Ecy:\"\\u042D\",ecy:\"\\u044D\",eDDot:\"\\u2A77\",Edot:\"\\u0116\",eDot:\"\\u2251\",edot:\"\\u0117\",ee:\"\\u2147\",efDot:\"\\u2252\",Efr:\"\\u{1D508}\",efr:\"\\u{1D522}\",eg:\"\\u2A9A\",Egrave:\"\\xC8\",egrave:\"\\xE8\",egs:\"\\u2A96\",egsdot:\"\\u2A98\",el:\"\\u2A99\",Element:\"\\u2208\",elinters:\"\\u23E7\",ell:\"\\u2113\",els:\"\\u2A95\",elsdot:\"\\u2A97\",Emacr:\"\\u0112\",emacr:\"\\u0113\",empty:\"\\u2205\",emptyset:\"\\u2205\",EmptySmallSquare:\"\\u25FB\",emptyv:\"\\u2205\",EmptyVerySmallSquare:\"\\u25AB\",emsp:\"\\u2003\",emsp13:\"\\u2004\",emsp14:\"\\u2005\",ENG:\"\\u014A\",eng:\"\\u014B\",ensp:\"\\u2002\",Eogon:\"\\u0118\",eogon:\"\\u0119\",Eopf:\"\\u{1D53C}\",eopf:\"\\u{1D556}\",epar:\"\\u22D5\",eparsl:\"\\u29E3\",eplus:\"\\u2A71\",epsi:\"\\u03B5\",Epsilon:\"\\u0395\",epsilon:\"\\u03B5\",epsiv:\"\\u03F5\",eqcirc:\"\\u2256\",eqcolon:\"\\u2255\",eqsim:\"\\u2242\",eqslantgtr:\"\\u2A96\",eqslantless:\"\\u2A95\",Equal:\"\\u2A75\",equals:\"=\",EqualTilde:\"\\u2242\",equest:\"\\u225F\",Equilibrium:\"\\u21CC\",equiv:\"\\u2261\",equivDD:\"\\u2A78\",eqvparsl:\"\\u29E5\",erarr:\"\\u2971\",erDot:\"\\u2253\",Escr:\"\\u2130\",escr:\"\\u212F\",esdot:\"\\u2250\",Esim:\"\\u2A73\",esim:\"\\u2242\",Eta:\"\\u0397\",eta:\"\\u03B7\",ETH:\"\\xD0\",eth:\"\\xF0\",Euml:\"\\xCB\",euml:\"\\xEB\",euro:\"\\u20AC\",excl:\"!\",exist:\"\\u2203\",Exists:\"\\u2203\",expectation:\"\\u2130\",ExponentialE:\"\\u2147\",exponentiale:\"\\u2147\",fallingdotseq:\"\\u2252\",Fcy:\"\\u0424\",fcy:\"\\u0444\",female:\"\\u2640\",ffilig:\"\\uFB03\",fflig:\"\\uFB00\",ffllig:\"\\uFB04\",Ffr:\"\\u{1D509}\",ffr:\"\\u{1D523}\",filig:\"\\uFB01\",FilledSmallSquare:\"\\u25FC\",FilledVerySmallSquare:\"\\u25AA\",fjlig:\"fj\",flat:\"\\u266D\",fllig:\"\\uFB02\",fltns:\"\\u25B1\",fnof:\"\\u0192\",Fopf:\"\\u{1D53D}\",fopf:\"\\u{1D557}\",ForAll:\"\\u2200\",forall:\"\\u2200\",fork:\"\\u22D4\",forkv:\"\\u2AD9\",Fouriertrf:\"\\u2131\",fpartint:\"\\u2A0D\",frac12:\"\\xBD\",frac13:\"\\u2153\",frac14:\"\\xBC\",frac15:\"\\u2155\",frac16:\"\\u2159\",frac18:\"\\u215B\",frac23:\"\\u2154\",frac25:\"\\u2156\",frac34:\"\\xBE\",frac35:\"\\u2157\",frac38:\"\\u215C\",frac45:\"\\u2158\",frac56:\"\\u215A\",frac58:\"\\u215D\",frac78:\"\\u215E\",frasl:\"\\u2044\",frown:\"\\u2322\",Fscr:\"\\u2131\",fscr:\"\\u{1D4BB}\",gacute:\"\\u01F5\",Gamma:\"\\u0393\",gamma:\"\\u03B3\",Gammad:\"\\u03DC\",gammad:\"\\u03DD\",gap:\"\\u2A86\",Gbreve:\"\\u011E\",gbreve:\"\\u011F\",Gcedil:\"\\u0122\",Gcirc:\"\\u011C\",gcirc:\"\\u011D\",Gcy:\"\\u0413\",gcy:\"\\u0433\",Gdot:\"\\u0120\",gdot:\"\\u0121\",gE:\"\\u2267\",ge:\"\\u2265\",gEl:\"\\u2A8C\",gel:\"\\u22DB\",geq:\"\\u2265\",geqq:\"\\u2267\",geqslant:\"\\u2A7E\",ges:\"\\u2A7E\",gescc:\"\\u2AA9\",gesdot:\"\\u2A80\",gesdoto:\"\\u2A82\",gesdotol:\"\\u2A84\",gesl:\"\\u22DB\\uFE00\",gesles:\"\\u2A94\",Gfr:\"\\u{1D50A}\",gfr:\"\\u{1D524}\",Gg:\"\\u22D9\",gg:\"\\u226B\",ggg:\"\\u22D9\",gimel:\"\\u2137\",GJcy:\"\\u0403\",gjcy:\"\\u0453\",gl:\"\\u2277\",gla:\"\\u2AA5\",glE:\"\\u2A92\",glj:\"\\u2AA4\",gnap:\"\\u2A8A\",gnapprox:\"\\u2A8A\",gnE:\"\\u2269\",gne:\"\\u2A88\",gneq:\"\\u2A88\",gneqq:\"\\u2269\",gnsim:\"\\u22E7\",Gopf:\"\\u{1D53E}\",gopf:\"\\u{1D558}\",grave:\"`\",GreaterEqual:\"\\u2265\",GreaterEqualLess:\"\\u22DB\",GreaterFullEqual:\"\\u2267\",GreaterGreater:\"\\u2AA2\",GreaterLess:\"\\u2277\",GreaterSlantEqual:\"\\u2A7E\",GreaterTilde:\"\\u2273\",Gscr:\"\\u{1D4A2}\",gscr:\"\\u210A\",gsim:\"\\u2273\",gsime:\"\\u2A8E\",gsiml:\"\\u2A90\",GT:\">\",Gt:\"\\u226B\",gt:\">\",gtcc:\"\\u2AA7\",gtcir:\"\\u2A7A\",gtdot:\"\\u22D7\",gtlPar:\"\\u2995\",gtquest:\"\\u2A7C\",gtrapprox:\"\\u2A86\",gtrarr:\"\\u2978\",gtrdot:\"\\u22D7\",gtreqless:\"\\u22DB\",gtreqqless:\"\\u2A8C\",gtrless:\"\\u2277\",gtrsim:\"\\u2273\",gvertneqq:\"\\u2269\\uFE00\",gvnE:\"\\u2269\\uFE00\",Hacek:\"\\u02C7\",hairsp:\"\\u200A\",half:\"\\xBD\",hamilt:\"\\u210B\",HARDcy:\"\\u042A\",hardcy:\"\\u044A\",hArr:\"\\u21D4\",harr:\"\\u2194\",harrcir:\"\\u2948\",harrw:\"\\u21AD\",Hat:\"^\",hbar:\"\\u210F\",Hcirc:\"\\u0124\",hcirc:\"\\u0125\",hearts:\"\\u2665\",heartsuit:\"\\u2665\",hellip:\"\\u2026\",hercon:\"\\u22B9\",Hfr:\"\\u210C\",hfr:\"\\u{1D525}\",HilbertSpace:\"\\u210B\",hksearow:\"\\u2925\",hkswarow:\"\\u2926\",hoarr:\"\\u21FF\",homtht:\"\\u223B\",hookleftarrow:\"\\u21A9\",hookrightarrow:\"\\u21AA\",Hopf:\"\\u210D\",hopf:\"\\u{1D559}\",horbar:\"\\u2015\",HorizontalLine:\"\\u2500\",Hscr:\"\\u210B\",hscr:\"\\u{1D4BD}\",hslash:\"\\u210F\",Hstrok:\"\\u0126\",hstrok:\"\\u0127\",HumpDownHump:\"\\u224E\",HumpEqual:\"\\u224F\",hybull:\"\\u2043\",hyphen:\"\\u2010\",Iacute:\"\\xCD\",iacute:\"\\xED\",ic:\"\\u2063\",Icirc:\"\\xCE\",icirc:\"\\xEE\",Icy:\"\\u0418\",icy:\"\\u0438\",Idot:\"\\u0130\",IEcy:\"\\u0415\",iecy:\"\\u0435\",iexcl:\"\\xA1\",iff:\"\\u21D4\",Ifr:\"\\u2111\",ifr:\"\\u{1D526}\",Igrave:\"\\xCC\",igrave:\"\\xEC\",ii:\"\\u2148\",iiiint:\"\\u2A0C\",iiint:\"\\u222D\",iinfin:\"\\u29DC\",iiota:\"\\u2129\",IJlig:\"\\u0132\",ijlig:\"\\u0133\",Im:\"\\u2111\",Imacr:\"\\u012A\",imacr:\"\\u012B\",image:\"\\u2111\",ImaginaryI:\"\\u2148\",imagline:\"\\u2110\",imagpart:\"\\u2111\",imath:\"\\u0131\",imof:\"\\u22B7\",imped:\"\\u01B5\",Implies:\"\\u21D2\",in:\"\\u2208\",incare:\"\\u2105\",infin:\"\\u221E\",infintie:\"\\u29DD\",inodot:\"\\u0131\",Int:\"\\u222C\",int:\"\\u222B\",intcal:\"\\u22BA\",integers:\"\\u2124\",Integral:\"\\u222B\",intercal:\"\\u22BA\",Intersection:\"\\u22C2\",intlarhk:\"\\u2A17\",intprod:\"\\u2A3C\",InvisibleComma:\"\\u2063\",InvisibleTimes:\"\\u2062\",IOcy:\"\\u0401\",iocy:\"\\u0451\",Iogon:\"\\u012E\",iogon:\"\\u012F\",Iopf:\"\\u{1D540}\",iopf:\"\\u{1D55A}\",Iota:\"\\u0399\",iota:\"\\u03B9\",iprod:\"\\u2A3C\",iquest:\"\\xBF\",Iscr:\"\\u2110\",iscr:\"\\u{1D4BE}\",isin:\"\\u2208\",isindot:\"\\u22F5\",isinE:\"\\u22F9\",isins:\"\\u22F4\",isinsv:\"\\u22F3\",isinv:\"\\u2208\",it:\"\\u2062\",Itilde:\"\\u0128\",itilde:\"\\u0129\",Iukcy:\"\\u0406\",iukcy:\"\\u0456\",Iuml:\"\\xCF\",iuml:\"\\xEF\",Jcirc:\"\\u0134\",jcirc:\"\\u0135\",Jcy:\"\\u0419\",jcy:\"\\u0439\",Jfr:\"\\u{1D50D}\",jfr:\"\\u{1D527}\",jmath:\"\\u0237\",Jopf:\"\\u{1D541}\",jopf:\"\\u{1D55B}\",Jscr:\"\\u{1D4A5}\",jscr:\"\\u{1D4BF}\",Jsercy:\"\\u0408\",jsercy:\"\\u0458\",Jukcy:\"\\u0404\",jukcy:\"\\u0454\",Kappa:\"\\u039A\",kappa:\"\\u03BA\",kappav:\"\\u03F0\",Kcedil:\"\\u0136\",kcedil:\"\\u0137\",Kcy:\"\\u041A\",kcy:\"\\u043A\",Kfr:\"\\u{1D50E}\",kfr:\"\\u{1D528}\",kgreen:\"\\u0138\",KHcy:\"\\u0425\",khcy:\"\\u0445\",KJcy:\"\\u040C\",kjcy:\"\\u045C\",Kopf:\"\\u{1D542}\",kopf:\"\\u{1D55C}\",Kscr:\"\\u{1D4A6}\",kscr:\"\\u{1D4C0}\",lAarr:\"\\u21DA\",Lacute:\"\\u0139\",lacute:\"\\u013A\",laemptyv:\"\\u29B4\",lagran:\"\\u2112\",Lambda:\"\\u039B\",lambda:\"\\u03BB\",Lang:\"\\u27EA\",lang:\"\\u27E8\",langd:\"\\u2991\",langle:\"\\u27E8\",lap:\"\\u2A85\",Laplacetrf:\"\\u2112\",laquo:\"\\xAB\",Larr:\"\\u219E\",lArr:\"\\u21D0\",larr:\"\\u2190\",larrb:\"\\u21E4\",larrbfs:\"\\u291F\",larrfs:\"\\u291D\",larrhk:\"\\u21A9\",larrlp:\"\\u21AB\",larrpl:\"\\u2939\",larrsim:\"\\u2973\",larrtl:\"\\u21A2\",lat:\"\\u2AAB\",lAtail:\"\\u291B\",latail:\"\\u2919\",late:\"\\u2AAD\",lates:\"\\u2AAD\\uFE00\",lBarr:\"\\u290E\",lbarr:\"\\u290C\",lbbrk:\"\\u2772\",lbrace:\"{\",lbrack:\"[\",lbrke:\"\\u298B\",lbrksld:\"\\u298F\",lbrkslu:\"\\u298D\",Lcaron:\"\\u013D\",lcaron:\"\\u013E\",Lcedil:\"\\u013B\",lcedil:\"\\u013C\",lceil:\"\\u2308\",lcub:\"{\",Lcy:\"\\u041B\",lcy:\"\\u043B\",ldca:\"\\u2936\",ldquo:\"\\u201C\",ldquor:\"\\u201E\",ldrdhar:\"\\u2967\",ldrushar:\"\\u294B\",ldsh:\"\\u21B2\",lE:\"\\u2266\",le:\"\\u2264\",LeftAngleBracket:\"\\u27E8\",LeftArrow:\"\\u2190\",Leftarrow:\"\\u21D0\",leftarrow:\"\\u2190\",LeftArrowBar:\"\\u21E4\",LeftArrowRightArrow:\"\\u21C6\",leftarrowtail:\"\\u21A2\",LeftCeiling:\"\\u2308\",LeftDoubleBracket:\"\\u27E6\",LeftDownTeeVector:\"\\u2961\",LeftDownVector:\"\\u21C3\",LeftDownVectorBar:\"\\u2959\",LeftFloor:\"\\u230A\",leftharpoondown:\"\\u21BD\",leftharpoonup:\"\\u21BC\",leftleftarrows:\"\\u21C7\",LeftRightArrow:\"\\u2194\",Leftrightarrow:\"\\u21D4\",leftrightarrow:\"\\u2194\",leftrightarrows:\"\\u21C6\",leftrightharpoons:\"\\u21CB\",leftrightsquigarrow:\"\\u21AD\",LeftRightVector:\"\\u294E\",LeftTee:\"\\u22A3\",LeftTeeArrow:\"\\u21A4\",LeftTeeVector:\"\\u295A\",leftthreetimes:\"\\u22CB\",LeftTriangle:\"\\u22B2\",LeftTriangleBar:\"\\u29CF\",LeftTriangleEqual:\"\\u22B4\",LeftUpDownVector:\"\\u2951\",LeftUpTeeVector:\"\\u2960\",LeftUpVector:\"\\u21BF\",LeftUpVectorBar:\"\\u2958\",LeftVector:\"\\u21BC\",LeftVectorBar:\"\\u2952\",lEg:\"\\u2A8B\",leg:\"\\u22DA\",leq:\"\\u2264\",leqq:\"\\u2266\",leqslant:\"\\u2A7D\",les:\"\\u2A7D\",lescc:\"\\u2AA8\",lesdot:\"\\u2A7F\",lesdoto:\"\\u2A81\",lesdotor:\"\\u2A83\",lesg:\"\\u22DA\\uFE00\",lesges:\"\\u2A93\",lessapprox:\"\\u2A85\",lessdot:\"\\u22D6\",lesseqgtr:\"\\u22DA\",lesseqqgtr:\"\\u2A8B\",LessEqualGreater:\"\\u22DA\",LessFullEqual:\"\\u2266\",LessGreater:\"\\u2276\",lessgtr:\"\\u2276\",LessLess:\"\\u2AA1\",lesssim:\"\\u2272\",LessSlantEqual:\"\\u2A7D\",LessTilde:\"\\u2272\",lfisht:\"\\u297C\",lfloor:\"\\u230A\",Lfr:\"\\u{1D50F}\",lfr:\"\\u{1D529}\",lg:\"\\u2276\",lgE:\"\\u2A91\",lHar:\"\\u2962\",lhard:\"\\u21BD\",lharu:\"\\u21BC\",lharul:\"\\u296A\",lhblk:\"\\u2584\",LJcy:\"\\u0409\",ljcy:\"\\u0459\",Ll:\"\\u22D8\",ll:\"\\u226A\",llarr:\"\\u21C7\",llcorner:\"\\u231E\",Lleftarrow:\"\\u21DA\",llhard:\"\\u296B\",lltri:\"\\u25FA\",Lmidot:\"\\u013F\",lmidot:\"\\u0140\",lmoust:\"\\u23B0\",lmoustache:\"\\u23B0\",lnap:\"\\u2A89\",lnapprox:\"\\u2A89\",lnE:\"\\u2268\",lne:\"\\u2A87\",lneq:\"\\u2A87\",lneqq:\"\\u2268\",lnsim:\"\\u22E6\",loang:\"\\u27EC\",loarr:\"\\u21FD\",lobrk:\"\\u27E6\",LongLeftArrow:\"\\u27F5\",Longleftarrow:\"\\u27F8\",longleftarrow:\"\\u27F5\",LongLeftRightArrow:\"\\u27F7\",Longleftrightarrow:\"\\u27FA\",longleftrightarrow:\"\\u27F7\",longmapsto:\"\\u27FC\",LongRightArrow:\"\\u27F6\",Longrightarrow:\"\\u27F9\",longrightarrow:\"\\u27F6\",looparrowleft:\"\\u21AB\",looparrowright:\"\\u21AC\",lopar:\"\\u2985\",Lopf:\"\\u{1D543}\",lopf:\"\\u{1D55D}\",loplus:\"\\u2A2D\",lotimes:\"\\u2A34\",lowast:\"\\u2217\",lowbar:\"_\",LowerLeftArrow:\"\\u2199\",LowerRightArrow:\"\\u2198\",loz:\"\\u25CA\",lozenge:\"\\u25CA\",lozf:\"\\u29EB\",lpar:\"(\",lparlt:\"\\u2993\",lrarr:\"\\u21C6\",lrcorner:\"\\u231F\",lrhar:\"\\u21CB\",lrhard:\"\\u296D\",lrm:\"\\u200E\",lrtri:\"\\u22BF\",lsaquo:\"\\u2039\",Lscr:\"\\u2112\",lscr:\"\\u{1D4C1}\",Lsh:\"\\u21B0\",lsh:\"\\u21B0\",lsim:\"\\u2272\",lsime:\"\\u2A8D\",lsimg:\"\\u2A8F\",lsqb:\"[\",lsquo:\"\\u2018\",lsquor:\"\\u201A\",Lstrok:\"\\u0141\",lstrok:\"\\u0142\",LT:\"<\",Lt:\"\\u226A\",lt:\"<\",ltcc:\"\\u2AA6\",ltcir:\"\\u2A79\",ltdot:\"\\u22D6\",lthree:\"\\u22CB\",ltimes:\"\\u22C9\",ltlarr:\"\\u2976\",ltquest:\"\\u2A7B\",ltri:\"\\u25C3\",ltrie:\"\\u22B4\",ltrif:\"\\u25C2\",ltrPar:\"\\u2996\",lurdshar:\"\\u294A\",luruhar:\"\\u2966\",lvertneqq:\"\\u2268\\uFE00\",lvnE:\"\\u2268\\uFE00\",macr:\"\\xAF\",male:\"\\u2642\",malt:\"\\u2720\",maltese:\"\\u2720\",Map:\"\\u2905\",map:\"\\u21A6\",mapsto:\"\\u21A6\",mapstodown:\"\\u21A7\",mapstoleft:\"\\u21A4\",mapstoup:\"\\u21A5\",marker:\"\\u25AE\",mcomma:\"\\u2A29\",Mcy:\"\\u041C\",mcy:\"\\u043C\",mdash:\"\\u2014\",mDDot:\"\\u223A\",measuredangle:\"\\u2221\",MediumSpace:\"\\u205F\",Mellintrf:\"\\u2133\",Mfr:\"\\u{1D510}\",mfr:\"\\u{1D52A}\",mho:\"\\u2127\",micro:\"\\xB5\",mid:\"\\u2223\",midast:\"*\",midcir:\"\\u2AF0\",middot:\"\\xB7\",minus:\"\\u2212\",minusb:\"\\u229F\",minusd:\"\\u2238\",minusdu:\"\\u2A2A\",MinusPlus:\"\\u2213\",mlcp:\"\\u2ADB\",mldr:\"\\u2026\",mnplus:\"\\u2213\",models:\"\\u22A7\",Mopf:\"\\u{1D544}\",mopf:\"\\u{1D55E}\",mp:\"\\u2213\",Mscr:\"\\u2133\",mscr:\"\\u{1D4C2}\",mstpos:\"\\u223E\",Mu:\"\\u039C\",mu:\"\\u03BC\",multimap:\"\\u22B8\",mumap:\"\\u22B8\",nabla:\"\\u2207\",Nacute:\"\\u0143\",nacute:\"\\u0144\",nang:\"\\u2220\\u20D2\",nap:\"\\u2249\",napE:\"\\u2A70\\u0338\",napid:\"\\u224B\\u0338\",napos:\"\\u0149\",napprox:\"\\u2249\",natur:\"\\u266E\",natural:\"\\u266E\",naturals:\"\\u2115\",nbsp:\"\\xA0\",nbump:\"\\u224E\\u0338\",nbumpe:\"\\u224F\\u0338\",ncap:\"\\u2A43\",Ncaron:\"\\u0147\",ncaron:\"\\u0148\",Ncedil:\"\\u0145\",ncedil:\"\\u0146\",ncong:\"\\u2247\",ncongdot:\"\\u2A6D\\u0338\",ncup:\"\\u2A42\",Ncy:\"\\u041D\",ncy:\"\\u043D\",ndash:\"\\u2013\",ne:\"\\u2260\",nearhk:\"\\u2924\",neArr:\"\\u21D7\",nearr:\"\\u2197\",nearrow:\"\\u2197\",nedot:\"\\u2250\\u0338\",NegativeMediumSpace:\"\\u200B\",NegativeThickSpace:\"\\u200B\",NegativeThinSpace:\"\\u200B\",NegativeVeryThinSpace:\"\\u200B\",nequiv:\"\\u2262\",nesear:\"\\u2928\",nesim:\"\\u2242\\u0338\",NestedGreaterGreater:\"\\u226B\",NestedLessLess:\"\\u226A\",NewLine:`\n`,nexist:\"\\u2204\",nexists:\"\\u2204\",Nfr:\"\\u{1D511}\",nfr:\"\\u{1D52B}\",ngE:\"\\u2267\\u0338\",nge:\"\\u2271\",ngeq:\"\\u2271\",ngeqq:\"\\u2267\\u0338\",ngeqslant:\"\\u2A7E\\u0338\",nges:\"\\u2A7E\\u0338\",nGg:\"\\u22D9\\u0338\",ngsim:\"\\u2275\",nGt:\"\\u226B\\u20D2\",ngt:\"\\u226F\",ngtr:\"\\u226F\",nGtv:\"\\u226B\\u0338\",nhArr:\"\\u21CE\",nharr:\"\\u21AE\",nhpar:\"\\u2AF2\",ni:\"\\u220B\",nis:\"\\u22FC\",nisd:\"\\u22FA\",niv:\"\\u220B\",NJcy:\"\\u040A\",njcy:\"\\u045A\",nlArr:\"\\u21CD\",nlarr:\"\\u219A\",nldr:\"\\u2025\",nlE:\"\\u2266\\u0338\",nle:\"\\u2270\",nLeftarrow:\"\\u21CD\",nleftarrow:\"\\u219A\",nLeftrightarrow:\"\\u21CE\",nleftrightarrow:\"\\u21AE\",nleq:\"\\u2270\",nleqq:\"\\u2266\\u0338\",nleqslant:\"\\u2A7D\\u0338\",nles:\"\\u2A7D\\u0338\",nless:\"\\u226E\",nLl:\"\\u22D8\\u0338\",nlsim:\"\\u2274\",nLt:\"\\u226A\\u20D2\",nlt:\"\\u226E\",nltri:\"\\u22EA\",nltrie:\"\\u22EC\",nLtv:\"\\u226A\\u0338\",nmid:\"\\u2224\",NoBreak:\"\\u2060\",NonBreakingSpace:\"\\xA0\",Nopf:\"\\u2115\",nopf:\"\\u{1D55F}\",Not:\"\\u2AEC\",not:\"\\xAC\",NotCongruent:\"\\u2262\",NotCupCap:\"\\u226D\",NotDoubleVerticalBar:\"\\u2226\",NotElement:\"\\u2209\",NotEqual:\"\\u2260\",NotEqualTilde:\"\\u2242\\u0338\",NotExists:\"\\u2204\",NotGreater:\"\\u226F\",NotGreaterEqual:\"\\u2271\",NotGreaterFullEqual:\"\\u2267\\u0338\",NotGreaterGreater:\"\\u226B\\u0338\",NotGreaterLess:\"\\u2279\",NotGreaterSlantEqual:\"\\u2A7E\\u0338\",NotGreaterTilde:\"\\u2275\",NotHumpDownHump:\"\\u224E\\u0338\",NotHumpEqual:\"\\u224F\\u0338\",notin:\"\\u2209\",notindot:\"\\u22F5\\u0338\",notinE:\"\\u22F9\\u0338\",notinva:\"\\u2209\",notinvb:\"\\u22F7\",notinvc:\"\\u22F6\",NotLeftTriangle:\"\\u22EA\",NotLeftTriangleBar:\"\\u29CF\\u0338\",NotLeftTriangleEqual:\"\\u22EC\",NotLess:\"\\u226E\",NotLessEqual:\"\\u2270\",NotLessGreater:\"\\u2278\",NotLessLess:\"\\u226A\\u0338\",NotLessSlantEqual:\"\\u2A7D\\u0338\",NotLessTilde:\"\\u2274\",NotNestedGreaterGreater:\"\\u2AA2\\u0338\",NotNestedLessLess:\"\\u2AA1\\u0338\",notni:\"\\u220C\",notniva:\"\\u220C\",notnivb:\"\\u22FE\",notnivc:\"\\u22FD\",NotPrecedes:\"\\u2280\",NotPrecedesEqual:\"\\u2AAF\\u0338\",NotPrecedesSlantEqual:\"\\u22E0\",NotReverseElement:\"\\u220C\",NotRightTriangle:\"\\u22EB\",NotRightTriangleBar:\"\\u29D0\\u0338\",NotRightTriangleEqual:\"\\u22ED\",NotSquareSubset:\"\\u228F\\u0338\",NotSquareSubsetEqual:\"\\u22E2\",NotSquareSuperset:\"\\u2290\\u0338\",NotSquareSupersetEqual:\"\\u22E3\",NotSubset:\"\\u2282\\u20D2\",NotSubsetEqual:\"\\u2288\",NotSucceeds:\"\\u2281\",NotSucceedsEqual:\"\\u2AB0\\u0338\",NotSucceedsSlantEqual:\"\\u22E1\",NotSucceedsTilde:\"\\u227F\\u0338\",NotSuperset:\"\\u2283\\u20D2\",NotSupersetEqual:\"\\u2289\",NotTilde:\"\\u2241\",NotTildeEqual:\"\\u2244\",NotTildeFullEqual:\"\\u2247\",NotTildeTilde:\"\\u2249\",NotVerticalBar:\"\\u2224\",npar:\"\\u2226\",nparallel:\"\\u2226\",nparsl:\"\\u2AFD\\u20E5\",npart:\"\\u2202\\u0338\",npolint:\"\\u2A14\",npr:\"\\u2280\",nprcue:\"\\u22E0\",npre:\"\\u2AAF\\u0338\",nprec:\"\\u2280\",npreceq:\"\\u2AAF\\u0338\",nrArr:\"\\u21CF\",nrarr:\"\\u219B\",nrarrc:\"\\u2933\\u0338\",nrarrw:\"\\u219D\\u0338\",nRightarrow:\"\\u21CF\",nrightarrow:\"\\u219B\",nrtri:\"\\u22EB\",nrtrie:\"\\u22ED\",nsc:\"\\u2281\",nsccue:\"\\u22E1\",nsce:\"\\u2AB0\\u0338\",Nscr:\"\\u{1D4A9}\",nscr:\"\\u{1D4C3}\",nshortmid:\"\\u2224\",nshortparallel:\"\\u2226\",nsim:\"\\u2241\",nsime:\"\\u2244\",nsimeq:\"\\u2244\",nsmid:\"\\u2224\",nspar:\"\\u2226\",nsqsube:\"\\u22E2\",nsqsupe:\"\\u22E3\",nsub:\"\\u2284\",nsubE:\"\\u2AC5\\u0338\",nsube:\"\\u2288\",nsubset:\"\\u2282\\u20D2\",nsubseteq:\"\\u2288\",nsubseteqq:\"\\u2AC5\\u0338\",nsucc:\"\\u2281\",nsucceq:\"\\u2AB0\\u0338\",nsup:\"\\u2285\",nsupE:\"\\u2AC6\\u0338\",nsupe:\"\\u2289\",nsupset:\"\\u2283\\u20D2\",nsupseteq:\"\\u2289\",nsupseteqq:\"\\u2AC6\\u0338\",ntgl:\"\\u2279\",Ntilde:\"\\xD1\",ntilde:\"\\xF1\",ntlg:\"\\u2278\",ntriangleleft:\"\\u22EA\",ntrianglelefteq:\"\\u22EC\",ntriangleright:\"\\u22EB\",ntrianglerighteq:\"\\u22ED\",Nu:\"\\u039D\",nu:\"\\u03BD\",num:\"#\",numero:\"\\u2116\",numsp:\"\\u2007\",nvap:\"\\u224D\\u20D2\",nVDash:\"\\u22AF\",nVdash:\"\\u22AE\",nvDash:\"\\u22AD\",nvdash:\"\\u22AC\",nvge:\"\\u2265\\u20D2\",nvgt:\">\\u20D2\",nvHarr:\"\\u2904\",nvinfin:\"\\u29DE\",nvlArr:\"\\u2902\",nvle:\"\\u2264\\u20D2\",nvlt:\"<\\u20D2\",nvltrie:\"\\u22B4\\u20D2\",nvrArr:\"\\u2903\",nvrtrie:\"\\u22B5\\u20D2\",nvsim:\"\\u223C\\u20D2\",nwarhk:\"\\u2923\",nwArr:\"\\u21D6\",nwarr:\"\\u2196\",nwarrow:\"\\u2196\",nwnear:\"\\u2927\",Oacute:\"\\xD3\",oacute:\"\\xF3\",oast:\"\\u229B\",ocir:\"\\u229A\",Ocirc:\"\\xD4\",ocirc:\"\\xF4\",Ocy:\"\\u041E\",ocy:\"\\u043E\",odash:\"\\u229D\",Odblac:\"\\u0150\",odblac:\"\\u0151\",odiv:\"\\u2A38\",odot:\"\\u2299\",odsold:\"\\u29BC\",OElig:\"\\u0152\",oelig:\"\\u0153\",ofcir:\"\\u29BF\",Ofr:\"\\u{1D512}\",ofr:\"\\u{1D52C}\",ogon:\"\\u02DB\",Ograve:\"\\xD2\",ograve:\"\\xF2\",ogt:\"\\u29C1\",ohbar:\"\\u29B5\",ohm:\"\\u03A9\",oint:\"\\u222E\",olarr:\"\\u21BA\",olcir:\"\\u29BE\",olcross:\"\\u29BB\",oline:\"\\u203E\",olt:\"\\u29C0\",Omacr:\"\\u014C\",omacr:\"\\u014D\",Omega:\"\\u03A9\",omega:\"\\u03C9\",Omicron:\"\\u039F\",omicron:\"\\u03BF\",omid:\"\\u29B6\",ominus:\"\\u2296\",Oopf:\"\\u{1D546}\",oopf:\"\\u{1D560}\",opar:\"\\u29B7\",OpenCurlyDoubleQuote:\"\\u201C\",OpenCurlyQuote:\"\\u2018\",operp:\"\\u29B9\",oplus:\"\\u2295\",Or:\"\\u2A54\",or:\"\\u2228\",orarr:\"\\u21BB\",ord:\"\\u2A5D\",order:\"\\u2134\",orderof:\"\\u2134\",ordf:\"\\xAA\",ordm:\"\\xBA\",origof:\"\\u22B6\",oror:\"\\u2A56\",orslope:\"\\u2A57\",orv:\"\\u2A5B\",oS:\"\\u24C8\",Oscr:\"\\u{1D4AA}\",oscr:\"\\u2134\",Oslash:\"\\xD8\",oslash:\"\\xF8\",osol:\"\\u2298\",Otilde:\"\\xD5\",otilde:\"\\xF5\",Otimes:\"\\u2A37\",otimes:\"\\u2297\",otimesas:\"\\u2A36\",Ouml:\"\\xD6\",ouml:\"\\xF6\",ovbar:\"\\u233D\",OverBar:\"\\u203E\",OverBrace:\"\\u23DE\",OverBracket:\"\\u23B4\",OverParenthesis:\"\\u23DC\",par:\"\\u2225\",para:\"\\xB6\",parallel:\"\\u2225\",parsim:\"\\u2AF3\",parsl:\"\\u2AFD\",part:\"\\u2202\",PartialD:\"\\u2202\",Pcy:\"\\u041F\",pcy:\"\\u043F\",percnt:\"%\",period:\".\",permil:\"\\u2030\",perp:\"\\u22A5\",pertenk:\"\\u2031\",Pfr:\"\\u{1D513}\",pfr:\"\\u{1D52D}\",Phi:\"\\u03A6\",phi:\"\\u03C6\",phiv:\"\\u03D5\",phmmat:\"\\u2133\",phone:\"\\u260E\",Pi:\"\\u03A0\",pi:\"\\u03C0\",pitchfork:\"\\u22D4\",piv:\"\\u03D6\",planck:\"\\u210F\",planckh:\"\\u210E\",plankv:\"\\u210F\",plus:\"+\",plusacir:\"\\u2A23\",plusb:\"\\u229E\",pluscir:\"\\u2A22\",plusdo:\"\\u2214\",plusdu:\"\\u2A25\",pluse:\"\\u2A72\",PlusMinus:\"\\xB1\",plusmn:\"\\xB1\",plussim:\"\\u2A26\",plustwo:\"\\u2A27\",pm:\"\\xB1\",Poincareplane:\"\\u210C\",pointint:\"\\u2A15\",Popf:\"\\u2119\",popf:\"\\u{1D561}\",pound:\"\\xA3\",Pr:\"\\u2ABB\",pr:\"\\u227A\",prap:\"\\u2AB7\",prcue:\"\\u227C\",prE:\"\\u2AB3\",pre:\"\\u2AAF\",prec:\"\\u227A\",precapprox:\"\\u2AB7\",preccurlyeq:\"\\u227C\",Precedes:\"\\u227A\",PrecedesEqual:\"\\u2AAF\",PrecedesSlantEqual:\"\\u227C\",PrecedesTilde:\"\\u227E\",preceq:\"\\u2AAF\",precnapprox:\"\\u2AB9\",precneqq:\"\\u2AB5\",precnsim:\"\\u22E8\",precsim:\"\\u227E\",Prime:\"\\u2033\",prime:\"\\u2032\",primes:\"\\u2119\",prnap:\"\\u2AB9\",prnE:\"\\u2AB5\",prnsim:\"\\u22E8\",prod:\"\\u220F\",Product:\"\\u220F\",profalar:\"\\u232E\",profline:\"\\u2312\",profsurf:\"\\u2313\",prop:\"\\u221D\",Proportion:\"\\u2237\",Proportional:\"\\u221D\",propto:\"\\u221D\",prsim:\"\\u227E\",prurel:\"\\u22B0\",Pscr:\"\\u{1D4AB}\",pscr:\"\\u{1D4C5}\",Psi:\"\\u03A8\",psi:\"\\u03C8\",puncsp:\"\\u2008\",Qfr:\"\\u{1D514}\",qfr:\"\\u{1D52E}\",qint:\"\\u2A0C\",Qopf:\"\\u211A\",qopf:\"\\u{1D562}\",qprime:\"\\u2057\",Qscr:\"\\u{1D4AC}\",qscr:\"\\u{1D4C6}\",quaternions:\"\\u210D\",quatint:\"\\u2A16\",quest:\"?\",questeq:\"\\u225F\",QUOT:'\"',quot:'\"',rAarr:\"\\u21DB\",race:\"\\u223D\\u0331\",Racute:\"\\u0154\",racute:\"\\u0155\",radic:\"\\u221A\",raemptyv:\"\\u29B3\",Rang:\"\\u27EB\",rang:\"\\u27E9\",rangd:\"\\u2992\",range:\"\\u29A5\",rangle:\"\\u27E9\",raquo:\"\\xBB\",Rarr:\"\\u21A0\",rArr:\"\\u21D2\",rarr:\"\\u2192\",rarrap:\"\\u2975\",rarrb:\"\\u21E5\",rarrbfs:\"\\u2920\",rarrc:\"\\u2933\",rarrfs:\"\\u291E\",rarrhk:\"\\u21AA\",rarrlp:\"\\u21AC\",rarrpl:\"\\u2945\",rarrsim:\"\\u2974\",Rarrtl:\"\\u2916\",rarrtl:\"\\u21A3\",rarrw:\"\\u219D\",rAtail:\"\\u291C\",ratail:\"\\u291A\",ratio:\"\\u2236\",rationals:\"\\u211A\",RBarr:\"\\u2910\",rBarr:\"\\u290F\",rbarr:\"\\u290D\",rbbrk:\"\\u2773\",rbrace:\"}\",rbrack:\"]\",rbrke:\"\\u298C\",rbrksld:\"\\u298E\",rbrkslu:\"\\u2990\",Rcaron:\"\\u0158\",rcaron:\"\\u0159\",Rcedil:\"\\u0156\",rcedil:\"\\u0157\",rceil:\"\\u2309\",rcub:\"}\",Rcy:\"\\u0420\",rcy:\"\\u0440\",rdca:\"\\u2937\",rdldhar:\"\\u2969\",rdquo:\"\\u201D\",rdquor:\"\\u201D\",rdsh:\"\\u21B3\",Re:\"\\u211C\",real:\"\\u211C\",realine:\"\\u211B\",realpart:\"\\u211C\",reals:\"\\u211D\",rect:\"\\u25AD\",REG:\"\\xAE\",reg:\"\\xAE\",ReverseElement:\"\\u220B\",ReverseEquilibrium:\"\\u21CB\",ReverseUpEquilibrium:\"\\u296F\",rfisht:\"\\u297D\",rfloor:\"\\u230B\",Rfr:\"\\u211C\",rfr:\"\\u{1D52F}\",rHar:\"\\u2964\",rhard:\"\\u21C1\",rharu:\"\\u21C0\",rharul:\"\\u296C\",Rho:\"\\u03A1\",rho:\"\\u03C1\",rhov:\"\\u03F1\",RightAngleBracket:\"\\u27E9\",RightArrow:\"\\u2192\",Rightarrow:\"\\u21D2\",rightarrow:\"\\u2192\",RightArrowBar:\"\\u21E5\",RightArrowLeftArrow:\"\\u21C4\",rightarrowtail:\"\\u21A3\",RightCeiling:\"\\u2309\",RightDoubleBracket:\"\\u27E7\",RightDownTeeVector:\"\\u295D\",RightDownVector:\"\\u21C2\",RightDownVectorBar:\"\\u2955\",RightFloor:\"\\u230B\",rightharpoondown:\"\\u21C1\",rightharpoonup:\"\\u21C0\",rightleftarrows:\"\\u21C4\",rightleftharpoons:\"\\u21CC\",rightrightarrows:\"\\u21C9\",rightsquigarrow:\"\\u219D\",RightTee:\"\\u22A2\",RightTeeArrow:\"\\u21A6\",RightTeeVector:\"\\u295B\",rightthreetimes:\"\\u22CC\",RightTriangle:\"\\u22B3\",RightTriangleBar:\"\\u29D0\",RightTriangleEqual:\"\\u22B5\",RightUpDownVector:\"\\u294F\",RightUpTeeVector:\"\\u295C\",RightUpVector:\"\\u21BE\",RightUpVectorBar:\"\\u2954\",RightVector:\"\\u21C0\",RightVectorBar:\"\\u2953\",ring:\"\\u02DA\",risingdotseq:\"\\u2253\",rlarr:\"\\u21C4\",rlhar:\"\\u21CC\",rlm:\"\\u200F\",rmoust:\"\\u23B1\",rmoustache:\"\\u23B1\",rnmid:\"\\u2AEE\",roang:\"\\u27ED\",roarr:\"\\u21FE\",robrk:\"\\u27E7\",ropar:\"\\u2986\",Ropf:\"\\u211D\",ropf:\"\\u{1D563}\",roplus:\"\\u2A2E\",rotimes:\"\\u2A35\",RoundImplies:\"\\u2970\",rpar:\")\",rpargt:\"\\u2994\",rppolint:\"\\u2A12\",rrarr:\"\\u21C9\",Rrightarrow:\"\\u21DB\",rsaquo:\"\\u203A\",Rscr:\"\\u211B\",rscr:\"\\u{1D4C7}\",Rsh:\"\\u21B1\",rsh:\"\\u21B1\",rsqb:\"]\",rsquo:\"\\u2019\",rsquor:\"\\u2019\",rthree:\"\\u22CC\",rtimes:\"\\u22CA\",rtri:\"\\u25B9\",rtrie:\"\\u22B5\",rtrif:\"\\u25B8\",rtriltri:\"\\u29CE\",RuleDelayed:\"\\u29F4\",ruluhar:\"\\u2968\",rx:\"\\u211E\",Sacute:\"\\u015A\",sacute:\"\\u015B\",sbquo:\"\\u201A\",Sc:\"\\u2ABC\",sc:\"\\u227B\",scap:\"\\u2AB8\",Scaron:\"\\u0160\",scaron:\"\\u0161\",sccue:\"\\u227D\",scE:\"\\u2AB4\",sce:\"\\u2AB0\",Scedil:\"\\u015E\",scedil:\"\\u015F\",Scirc:\"\\u015C\",scirc:\"\\u015D\",scnap:\"\\u2ABA\",scnE:\"\\u2AB6\",scnsim:\"\\u22E9\",scpolint:\"\\u2A13\",scsim:\"\\u227F\",Scy:\"\\u0421\",scy:\"\\u0441\",sdot:\"\\u22C5\",sdotb:\"\\u22A1\",sdote:\"\\u2A66\",searhk:\"\\u2925\",seArr:\"\\u21D8\",searr:\"\\u2198\",searrow:\"\\u2198\",sect:\"\\xA7\",semi:\";\",seswar:\"\\u2929\",setminus:\"\\u2216\",setmn:\"\\u2216\",sext:\"\\u2736\",Sfr:\"\\u{1D516}\",sfr:\"\\u{1D530}\",sfrown:\"\\u2322\",sharp:\"\\u266F\",SHCHcy:\"\\u0429\",shchcy:\"\\u0449\",SHcy:\"\\u0428\",shcy:\"\\u0448\",ShortDownArrow:\"\\u2193\",ShortLeftArrow:\"\\u2190\",shortmid:\"\\u2223\",shortparallel:\"\\u2225\",ShortRightArrow:\"\\u2192\",ShortUpArrow:\"\\u2191\",shy:\"\\xAD\",Sigma:\"\\u03A3\",sigma:\"\\u03C3\",sigmaf:\"\\u03C2\",sigmav:\"\\u03C2\",sim:\"\\u223C\",simdot:\"\\u2A6A\",sime:\"\\u2243\",simeq:\"\\u2243\",simg:\"\\u2A9E\",simgE:\"\\u2AA0\",siml:\"\\u2A9D\",simlE:\"\\u2A9F\",simne:\"\\u2246\",simplus:\"\\u2A24\",simrarr:\"\\u2972\",slarr:\"\\u2190\",SmallCircle:\"\\u2218\",smallsetminus:\"\\u2216\",smashp:\"\\u2A33\",smeparsl:\"\\u29E4\",smid:\"\\u2223\",smile:\"\\u2323\",smt:\"\\u2AAA\",smte:\"\\u2AAC\",smtes:\"\\u2AAC\\uFE00\",SOFTcy:\"\\u042C\",softcy:\"\\u044C\",sol:\"/\",solb:\"\\u29C4\",solbar:\"\\u233F\",Sopf:\"\\u{1D54A}\",sopf:\"\\u{1D564}\",spades:\"\\u2660\",spadesuit:\"\\u2660\",spar:\"\\u2225\",sqcap:\"\\u2293\",sqcaps:\"\\u2293\\uFE00\",sqcup:\"\\u2294\",sqcups:\"\\u2294\\uFE00\",Sqrt:\"\\u221A\",sqsub:\"\\u228F\",sqsube:\"\\u2291\",sqsubset:\"\\u228F\",sqsubseteq:\"\\u2291\",sqsup:\"\\u2290\",sqsupe:\"\\u2292\",sqsupset:\"\\u2290\",sqsupseteq:\"\\u2292\",squ:\"\\u25A1\",Square:\"\\u25A1\",square:\"\\u25A1\",SquareIntersection:\"\\u2293\",SquareSubset:\"\\u228F\",SquareSubsetEqual:\"\\u2291\",SquareSuperset:\"\\u2290\",SquareSupersetEqual:\"\\u2292\",SquareUnion:\"\\u2294\",squarf:\"\\u25AA\",squf:\"\\u25AA\",srarr:\"\\u2192\",Sscr:\"\\u{1D4AE}\",sscr:\"\\u{1D4C8}\",ssetmn:\"\\u2216\",ssmile:\"\\u2323\",sstarf:\"\\u22C6\",Star:\"\\u22C6\",star:\"\\u2606\",starf:\"\\u2605\",straightepsilon:\"\\u03F5\",straightphi:\"\\u03D5\",strns:\"\\xAF\",Sub:\"\\u22D0\",sub:\"\\u2282\",subdot:\"\\u2ABD\",subE:\"\\u2AC5\",sube:\"\\u2286\",subedot:\"\\u2AC3\",submult:\"\\u2AC1\",subnE:\"\\u2ACB\",subne:\"\\u228A\",subplus:\"\\u2ABF\",subrarr:\"\\u2979\",Subset:\"\\u22D0\",subset:\"\\u2282\",subseteq:\"\\u2286\",subseteqq:\"\\u2AC5\",SubsetEqual:\"\\u2286\",subsetneq:\"\\u228A\",subsetneqq:\"\\u2ACB\",subsim:\"\\u2AC7\",subsub:\"\\u2AD5\",subsup:\"\\u2AD3\",succ:\"\\u227B\",succapprox:\"\\u2AB8\",succcurlyeq:\"\\u227D\",Succeeds:\"\\u227B\",SucceedsEqual:\"\\u2AB0\",SucceedsSlantEqual:\"\\u227D\",SucceedsTilde:\"\\u227F\",succeq:\"\\u2AB0\",succnapprox:\"\\u2ABA\",succneqq:\"\\u2AB6\",succnsim:\"\\u22E9\",succsim:\"\\u227F\",SuchThat:\"\\u220B\",Sum:\"\\u2211\",sum:\"\\u2211\",sung:\"\\u266A\",Sup:\"\\u22D1\",sup:\"\\u2283\",sup1:\"\\xB9\",sup2:\"\\xB2\",sup3:\"\\xB3\",supdot:\"\\u2ABE\",supdsub:\"\\u2AD8\",supE:\"\\u2AC6\",supe:\"\\u2287\",supedot:\"\\u2AC4\",Superset:\"\\u2283\",SupersetEqual:\"\\u2287\",suphsol:\"\\u27C9\",suphsub:\"\\u2AD7\",suplarr:\"\\u297B\",supmult:\"\\u2AC2\",supnE:\"\\u2ACC\",supne:\"\\u228B\",supplus:\"\\u2AC0\",Supset:\"\\u22D1\",supset:\"\\u2283\",supseteq:\"\\u2287\",supseteqq:\"\\u2AC6\",supsetneq:\"\\u228B\",supsetneqq:\"\\u2ACC\",supsim:\"\\u2AC8\",supsub:\"\\u2AD4\",supsup:\"\\u2AD6\",swarhk:\"\\u2926\",swArr:\"\\u21D9\",swarr:\"\\u2199\",swarrow:\"\\u2199\",swnwar:\"\\u292A\",szlig:\"\\xDF\",Tab:\"\t\",target:\"\\u2316\",Tau:\"\\u03A4\",tau:\"\\u03C4\",tbrk:\"\\u23B4\",Tcaron:\"\\u0164\",tcaron:\"\\u0165\",Tcedil:\"\\u0162\",tcedil:\"\\u0163\",Tcy:\"\\u0422\",tcy:\"\\u0442\",tdot:\"\\u20DB\",telrec:\"\\u2315\",Tfr:\"\\u{1D517}\",tfr:\"\\u{1D531}\",there4:\"\\u2234\",Therefore:\"\\u2234\",therefore:\"\\u2234\",Theta:\"\\u0398\",theta:\"\\u03B8\",thetasym:\"\\u03D1\",thetav:\"\\u03D1\",thickapprox:\"\\u2248\",thicksim:\"\\u223C\",ThickSpace:\"\\u205F\\u200A\",thinsp:\"\\u2009\",ThinSpace:\"\\u2009\",thkap:\"\\u2248\",thksim:\"\\u223C\",THORN:\"\\xDE\",thorn:\"\\xFE\",Tilde:\"\\u223C\",tilde:\"\\u02DC\",TildeEqual:\"\\u2243\",TildeFullEqual:\"\\u2245\",TildeTilde:\"\\u2248\",times:\"\\xD7\",timesb:\"\\u22A0\",timesbar:\"\\u2A31\",timesd:\"\\u2A30\",tint:\"\\u222D\",toea:\"\\u2928\",top:\"\\u22A4\",topbot:\"\\u2336\",topcir:\"\\u2AF1\",Topf:\"\\u{1D54B}\",topf:\"\\u{1D565}\",topfork:\"\\u2ADA\",tosa:\"\\u2929\",tprime:\"\\u2034\",TRADE:\"\\u2122\",trade:\"\\u2122\",triangle:\"\\u25B5\",triangledown:\"\\u25BF\",triangleleft:\"\\u25C3\",trianglelefteq:\"\\u22B4\",triangleq:\"\\u225C\",triangleright:\"\\u25B9\",trianglerighteq:\"\\u22B5\",tridot:\"\\u25EC\",trie:\"\\u225C\",triminus:\"\\u2A3A\",TripleDot:\"\\u20DB\",triplus:\"\\u2A39\",trisb:\"\\u29CD\",tritime:\"\\u2A3B\",trpezium:\"\\u23E2\",Tscr:\"\\u{1D4AF}\",tscr:\"\\u{1D4C9}\",TScy:\"\\u0426\",tscy:\"\\u0446\",TSHcy:\"\\u040B\",tshcy:\"\\u045B\",Tstrok:\"\\u0166\",tstrok:\"\\u0167\",twixt:\"\\u226C\",twoheadleftarrow:\"\\u219E\",twoheadrightarrow:\"\\u21A0\",Uacute:\"\\xDA\",uacute:\"\\xFA\",Uarr:\"\\u219F\",uArr:\"\\u21D1\",uarr:\"\\u2191\",Uarrocir:\"\\u2949\",Ubrcy:\"\\u040E\",ubrcy:\"\\u045E\",Ubreve:\"\\u016C\",ubreve:\"\\u016D\",Ucirc:\"\\xDB\",ucirc:\"\\xFB\",Ucy:\"\\u0423\",ucy:\"\\u0443\",udarr:\"\\u21C5\",Udblac:\"\\u0170\",udblac:\"\\u0171\",udhar:\"\\u296E\",ufisht:\"\\u297E\",Ufr:\"\\u{1D518}\",ufr:\"\\u{1D532}\",Ugrave:\"\\xD9\",ugrave:\"\\xF9\",uHar:\"\\u2963\",uharl:\"\\u21BF\",uharr:\"\\u21BE\",uhblk:\"\\u2580\",ulcorn:\"\\u231C\",ulcorner:\"\\u231C\",ulcrop:\"\\u230F\",ultri:\"\\u25F8\",Umacr:\"\\u016A\",umacr:\"\\u016B\",uml:\"\\xA8\",UnderBar:\"_\",UnderBrace:\"\\u23DF\",UnderBracket:\"\\u23B5\",UnderParenthesis:\"\\u23DD\",Union:\"\\u22C3\",UnionPlus:\"\\u228E\",Uogon:\"\\u0172\",uogon:\"\\u0173\",Uopf:\"\\u{1D54C}\",uopf:\"\\u{1D566}\",UpArrow:\"\\u2191\",Uparrow:\"\\u21D1\",uparrow:\"\\u2191\",UpArrowBar:\"\\u2912\",UpArrowDownArrow:\"\\u21C5\",UpDownArrow:\"\\u2195\",Updownarrow:\"\\u21D5\",updownarrow:\"\\u2195\",UpEquilibrium:\"\\u296E\",upharpoonleft:\"\\u21BF\",upharpoonright:\"\\u21BE\",uplus:\"\\u228E\",UpperLeftArrow:\"\\u2196\",UpperRightArrow:\"\\u2197\",Upsi:\"\\u03D2\",upsi:\"\\u03C5\",upsih:\"\\u03D2\",Upsilon:\"\\u03A5\",upsilon:\"\\u03C5\",UpTee:\"\\u22A5\",UpTeeArrow:\"\\u21A5\",upuparrows:\"\\u21C8\",urcorn:\"\\u231D\",urcorner:\"\\u231D\",urcrop:\"\\u230E\",Uring:\"\\u016E\",uring:\"\\u016F\",urtri:\"\\u25F9\",Uscr:\"\\u{1D4B0}\",uscr:\"\\u{1D4CA}\",utdot:\"\\u22F0\",Utilde:\"\\u0168\",utilde:\"\\u0169\",utri:\"\\u25B5\",utrif:\"\\u25B4\",uuarr:\"\\u21C8\",Uuml:\"\\xDC\",uuml:\"\\xFC\",uwangle:\"\\u29A7\",vangrt:\"\\u299C\",varepsilon:\"\\u03F5\",varkappa:\"\\u03F0\",varnothing:\"\\u2205\",varphi:\"\\u03D5\",varpi:\"\\u03D6\",varpropto:\"\\u221D\",vArr:\"\\u21D5\",varr:\"\\u2195\",varrho:\"\\u03F1\",varsigma:\"\\u03C2\",varsubsetneq:\"\\u228A\\uFE00\",varsubsetneqq:\"\\u2ACB\\uFE00\",varsupsetneq:\"\\u228B\\uFE00\",varsupsetneqq:\"\\u2ACC\\uFE00\",vartheta:\"\\u03D1\",vartriangleleft:\"\\u22B2\",vartriangleright:\"\\u22B3\",Vbar:\"\\u2AEB\",vBar:\"\\u2AE8\",vBarv:\"\\u2AE9\",Vcy:\"\\u0412\",vcy:\"\\u0432\",VDash:\"\\u22AB\",Vdash:\"\\u22A9\",vDash:\"\\u22A8\",vdash:\"\\u22A2\",Vdashl:\"\\u2AE6\",Vee:\"\\u22C1\",vee:\"\\u2228\",veebar:\"\\u22BB\",veeeq:\"\\u225A\",vellip:\"\\u22EE\",Verbar:\"\\u2016\",verbar:\"|\",Vert:\"\\u2016\",vert:\"|\",VerticalBar:\"\\u2223\",VerticalLine:\"|\",VerticalSeparator:\"\\u2758\",VerticalTilde:\"\\u2240\",VeryThinSpace:\"\\u200A\",Vfr:\"\\u{1D519}\",vfr:\"\\u{1D533}\",vltri:\"\\u22B2\",vnsub:\"\\u2282\\u20D2\",vnsup:\"\\u2283\\u20D2\",Vopf:\"\\u{1D54D}\",vopf:\"\\u{1D567}\",vprop:\"\\u221D\",vrtri:\"\\u22B3\",Vscr:\"\\u{1D4B1}\",vscr:\"\\u{1D4CB}\",vsubnE:\"\\u2ACB\\uFE00\",vsubne:\"\\u228A\\uFE00\",vsupnE:\"\\u2ACC\\uFE00\",vsupne:\"\\u228B\\uFE00\",Vvdash:\"\\u22AA\",vzigzag:\"\\u299A\",Wcirc:\"\\u0174\",wcirc:\"\\u0175\",wedbar:\"\\u2A5F\",Wedge:\"\\u22C0\",wedge:\"\\u2227\",wedgeq:\"\\u2259\",weierp:\"\\u2118\",Wfr:\"\\u{1D51A}\",wfr:\"\\u{1D534}\",Wopf:\"\\u{1D54E}\",wopf:\"\\u{1D568}\",wp:\"\\u2118\",wr:\"\\u2240\",wreath:\"\\u2240\",Wscr:\"\\u{1D4B2}\",wscr:\"\\u{1D4CC}\",xcap:\"\\u22C2\",xcirc:\"\\u25EF\",xcup:\"\\u22C3\",xdtri:\"\\u25BD\",Xfr:\"\\u{1D51B}\",xfr:\"\\u{1D535}\",xhArr:\"\\u27FA\",xharr:\"\\u27F7\",Xi:\"\\u039E\",xi:\"\\u03BE\",xlArr:\"\\u27F8\",xlarr:\"\\u27F5\",xmap:\"\\u27FC\",xnis:\"\\u22FB\",xodot:\"\\u2A00\",Xopf:\"\\u{1D54F}\",xopf:\"\\u{1D569}\",xoplus:\"\\u2A01\",xotime:\"\\u2A02\",xrArr:\"\\u27F9\",xrarr:\"\\u27F6\",Xscr:\"\\u{1D4B3}\",xscr:\"\\u{1D4CD}\",xsqcup:\"\\u2A06\",xuplus:\"\\u2A04\",xutri:\"\\u25B3\",xvee:\"\\u22C1\",xwedge:\"\\u22C0\",Yacute:\"\\xDD\",yacute:\"\\xFD\",YAcy:\"\\u042F\",yacy:\"\\u044F\",Ycirc:\"\\u0176\",ycirc:\"\\u0177\",Ycy:\"\\u042B\",ycy:\"\\u044B\",yen:\"\\xA5\",Yfr:\"\\u{1D51C}\",yfr:\"\\u{1D536}\",YIcy:\"\\u0407\",yicy:\"\\u0457\",Yopf:\"\\u{1D550}\",yopf:\"\\u{1D56A}\",Yscr:\"\\u{1D4B4}\",yscr:\"\\u{1D4CE}\",YUcy:\"\\u042E\",yucy:\"\\u044E\",Yuml:\"\\u0178\",yuml:\"\\xFF\",Zacute:\"\\u0179\",zacute:\"\\u017A\",Zcaron:\"\\u017D\",zcaron:\"\\u017E\",Zcy:\"\\u0417\",zcy:\"\\u0437\",Zdot:\"\\u017B\",zdot:\"\\u017C\",zeetrf:\"\\u2128\",ZeroWidthSpace:\"\\u200B\",Zeta:\"\\u0396\",zeta:\"\\u03B6\",Zfr:\"\\u2128\",zfr:\"\\u{1D537}\",ZHcy:\"\\u0416\",zhcy:\"\\u0436\",zigrarr:\"\\u21DD\",Zopf:\"\\u2124\",zopf:\"\\u{1D56B}\",Zscr:\"\\u{1D4B5}\",zscr:\"\\u{1D4CF}\",zwj:\"\\u200D\",zwnj:\"\\u200C\"},e.NGSP_UNICODE=\"\\uE500\",e.NAMED_ENTITIES.ngsp=e.NGSP_UNICODE;}}),Bs=I({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Ze(),u=class{constructor(){let{closedByChildren:i,implicitNamespacePrefix:f,contentType:c=r.TagContentType.PARSABLE_DATA,closedByParent:F=!1,isVoid:a=!1,ignoreFirstLf:l=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,i&&i.length>0&&i.forEach(h=>this.closedByChildren[h]=!0),this.isVoid=a,this.closedByParent=F||a,this.implicitNamespacePrefix=f||null,this.contentType=c,this.ignoreFirstLf=l;}isClosedByChild(i){return this.isVoid||i.toLowerCase()in this.closedByChildren}};e.HtmlTagDefinition=u;var n,D;function s(i){return D||(n=new u,D={base:new u({isVoid:!0}),meta:new u({isVoid:!0}),area:new u({isVoid:!0}),embed:new u({isVoid:!0}),link:new u({isVoid:!0}),img:new u({isVoid:!0}),input:new u({isVoid:!0}),param:new u({isVoid:!0}),hr:new u({isVoid:!0}),br:new u({isVoid:!0}),source:new u({isVoid:!0}),track:new u({isVoid:!0}),wbr:new u({isVoid:!0}),p:new u({closedByChildren:[\"address\",\"article\",\"aside\",\"blockquote\",\"div\",\"dl\",\"fieldset\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"main\",\"nav\",\"ol\",\"p\",\"pre\",\"section\",\"table\",\"ul\"],closedByParent:!0}),thead:new u({closedByChildren:[\"tbody\",\"tfoot\"]}),tbody:new u({closedByChildren:[\"tbody\",\"tfoot\"],closedByParent:!0}),tfoot:new u({closedByChildren:[\"tbody\"],closedByParent:!0}),tr:new u({closedByChildren:[\"tr\"],closedByParent:!0}),td:new u({closedByChildren:[\"td\",\"th\"],closedByParent:!0}),th:new u({closedByChildren:[\"td\",\"th\"],closedByParent:!0}),col:new u({isVoid:!0}),svg:new u({implicitNamespacePrefix:\"svg\"}),math:new u({implicitNamespacePrefix:\"math\"}),li:new u({closedByChildren:[\"li\"],closedByParent:!0}),dt:new u({closedByChildren:[\"dt\",\"dd\"]}),dd:new u({closedByChildren:[\"dt\",\"dd\"],closedByParent:!0}),rb:new u({closedByChildren:[\"rb\",\"rt\",\"rtc\",\"rp\"],closedByParent:!0}),rt:new u({closedByChildren:[\"rb\",\"rt\",\"rtc\",\"rp\"],closedByParent:!0}),rtc:new u({closedByChildren:[\"rb\",\"rtc\",\"rp\"],closedByParent:!0}),rp:new u({closedByChildren:[\"rb\",\"rt\",\"rtc\",\"rp\"],closedByParent:!0}),optgroup:new u({closedByChildren:[\"optgroup\"],closedByParent:!0}),option:new u({closedByChildren:[\"option\",\"optgroup\"],closedByParent:!0}),pre:new u({ignoreFirstLf:!0}),listing:new u({ignoreFirstLf:!0}),style:new u({contentType:r.TagContentType.RAW_TEXT}),script:new u({contentType:r.TagContentType.RAW_TEXT}),title:new u({contentType:r.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new u({contentType:r.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),D[i]||n}e.getHtmlTagDefinition=s;}}),Hl=I({\"node_modules/angular-html-parser/lib/compiler/src/ast_path.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=class{constructor(u){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=u,this.position=n;}get empty(){return !this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(u){return u&&this.path[this.path.indexOf(u)-1]}childOf(u){return this.path[this.path.indexOf(u)+1]}first(u){for(let n=this.path.length-1;n>=0;n--){let D=this.path[n];if(D instanceof u)return D}}push(u){this.path.push(u);}pop(){return this.path.pop()}};e.AstPath=r;}}),bs=I({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Hl(),u=class{constructor(d,m,T){this.value=d,this.sourceSpan=m,this.i18n=T,this.type=\"text\";}visit(d,m){return d.visitText(this,m)}};e.Text=u;var n=class{constructor(d,m){this.value=d,this.sourceSpan=m,this.type=\"cdata\";}visit(d,m){return d.visitCdata(this,m)}};e.CDATA=n;var D=class{constructor(d,m,T,w,g,N){this.switchValue=d,this.type=m,this.cases=T,this.sourceSpan=w,this.switchValueSourceSpan=g,this.i18n=N;}visit(d,m){return d.visitExpansion(this,m)}};e.Expansion=D;var s=class{constructor(d,m,T,w,g){this.value=d,this.expression=m,this.sourceSpan=T,this.valueSourceSpan=w,this.expSourceSpan=g;}visit(d,m){return d.visitExpansionCase(this,m)}};e.ExpansionCase=s;var i=class{constructor(d,m,T){let w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,g=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,N=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=d,this.value=m,this.sourceSpan=T,this.valueSpan=w,this.nameSpan=g,this.i18n=N,this.type=\"attribute\";}visit(d,m){return d.visitAttribute(this,m)}};e.Attribute=i;var f=class{constructor(d,m,T,w){let g=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,N=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,R=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,j=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;this.name=d,this.attrs=m,this.children=T,this.sourceSpan=w,this.startSourceSpan=g,this.endSourceSpan=N,this.nameSpan=R,this.i18n=j,this.type=\"element\";}visit(d,m){return d.visitElement(this,m)}};e.Element=f;var c=class{constructor(d,m){this.value=d,this.sourceSpan=m,this.type=\"comment\";}visit(d,m){return d.visitComment(this,m)}};e.Comment=c;var F=class{constructor(d,m){this.value=d,this.sourceSpan=m,this.type=\"docType\";}visit(d,m){return d.visitDocType(this,m)}};e.DocType=F;function a(d,m){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,w=[],g=d.visit?N=>d.visit(N,T)||N.visit(d,T):N=>N.visit(d,T);return m.forEach(N=>{let R=g(N);R&&w.push(R);}),w}e.visitAll=a;var l=class{constructor(){}visitElement(d,m){this.visitChildren(m,T=>{T(d.attrs),T(d.children);});}visitAttribute(d,m){}visitText(d,m){}visitCdata(d,m){}visitComment(d,m){}visitDocType(d,m){}visitExpansion(d,m){return this.visitChildren(m,T=>{T(d.cases);})}visitExpansionCase(d,m){}visitChildren(d,m){let T=[],w=this;function g(N){N&&T.push(a(w,N,d));}return m(g),Array.prototype.concat.apply([],T)}};e.RecursiveVisitor=l;function h(d){let m=d.sourceSpan.start.offset,T=d.sourceSpan.end.offset;return d instanceof f&&(d.endSourceSpan?T=d.endSourceSpan.end.offset:d.children&&d.children.length&&(T=h(d.children[d.children.length-1]).end)),{start:m,end:T}}function C(d,m){let T=[],w=new class extends l{visit(g,N){let R=h(g);if(R.start<=m&&m]/,/^[{}]$/,/&(#|[a-z])/i,/^\\/\\//];function n(D,s){if(s!=null&&!(Array.isArray(s)&&s.length==2))throw new Error(`Expected '${D}' to be an array, [start, end].`);if(s!=null){let i=s[0],f=s[1];u.forEach(c=>{if(c.test(i)||c.test(f))throw new Error(`['${i}', '${f}'] contains unusable interpolation symbol.`)});}}e.assertInterpolationSymbols=n;}}),Wl=I({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=zl(),u=class{constructor(n,D){this.start=n,this.end=D;}static fromArray(n){return n?(r.assertInterpolationSymbols(\"interpolation\",n),new u(n[0],n[1])):e.DEFAULT_INTERPOLATION_CONFIG}};e.InterpolationConfig=u,e.DEFAULT_INTERPOLATION_CONFIG=new u(\"{{\",\"}}\");}}),Yl=I({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Es(),u=Be(),n=Wl(),D=Ze(),s;(function(t){t[t.TAG_OPEN_START=0]=\"TAG_OPEN_START\",t[t.TAG_OPEN_END=1]=\"TAG_OPEN_END\",t[t.TAG_OPEN_END_VOID=2]=\"TAG_OPEN_END_VOID\",t[t.TAG_CLOSE=3]=\"TAG_CLOSE\",t[t.TEXT=4]=\"TEXT\",t[t.ESCAPABLE_RAW_TEXT=5]=\"ESCAPABLE_RAW_TEXT\",t[t.RAW_TEXT=6]=\"RAW_TEXT\",t[t.COMMENT_START=7]=\"COMMENT_START\",t[t.COMMENT_END=8]=\"COMMENT_END\",t[t.CDATA_START=9]=\"CDATA_START\",t[t.CDATA_END=10]=\"CDATA_END\",t[t.ATTR_NAME=11]=\"ATTR_NAME\",t[t.ATTR_QUOTE=12]=\"ATTR_QUOTE\",t[t.ATTR_VALUE=13]=\"ATTR_VALUE\",t[t.DOC_TYPE_START=14]=\"DOC_TYPE_START\",t[t.DOC_TYPE_END=15]=\"DOC_TYPE_END\",t[t.EXPANSION_FORM_START=16]=\"EXPANSION_FORM_START\",t[t.EXPANSION_CASE_VALUE=17]=\"EXPANSION_CASE_VALUE\",t[t.EXPANSION_CASE_EXP_START=18]=\"EXPANSION_CASE_EXP_START\",t[t.EXPANSION_CASE_EXP_END=19]=\"EXPANSION_CASE_EXP_END\",t[t.EXPANSION_FORM_END=20]=\"EXPANSION_FORM_END\",t[t.EOF=21]=\"EOF\";})(s=e.TokenType||(e.TokenType={}));var i=class{constructor(t,o,E){this.type=t,this.parts=o,this.sourceSpan=E;}};e.Token=i;var f=class extends u.ParseError{constructor(t,o,E){super(E,t),this.tokenType=o;}};e.TokenError=f;var c=class{constructor(t,o){this.tokens=t,this.errors=o;}};e.TokenizeResult=c;function F(t,o,E){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new d(new u.ParseSourceFile(t,o),E,p).tokenize()}e.tokenize=F;var a=/\\r\\n?/g;function l(t){return `Unexpected character \"${t===r.$EOF?\"EOF\":String.fromCharCode(t)}\"`}function h(t){return `Unknown entity \"${t}\" - use the \"&#;\" or \"&#x;\" syntax`}var C=class{constructor(t){this.error=t;}},d=class{constructor(t,o,E){this._getTagContentType=o,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=E.tokenizeExpansionForms||!1,this._interpolationConfig=E.interpolationConfig||n.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=E.leadingTriviaChars&&E.leadingTriviaChars.map(A=>A.codePointAt(0)||0),this._canSelfClose=E.canSelfClose||!1,this._allowHtmComponentClosingTags=E.allowHtmComponentClosingTags||!1;let p=E.range||{endPos:t.content.length,startPos:0,startLine:0,startCol:0};this._cursor=E.escapedString?new k(t,p):new x(t,p);try{this._cursor.init();}catch(A){this.handleError(A);}}_processCarriageReturns(t){return t.replace(a,`\n`)}tokenize(){for(;this._cursor.peek()!==r.$EOF;){let t=this._cursor.clone();try{if(this._attemptCharCode(r.$LT))if(this._attemptCharCode(r.$BANG))this._attemptStr(\"[CDATA[\")?this._consumeCdata(t):this._attemptStr(\"--\")?this._consumeComment(t):this._attemptStrCaseInsensitive(\"doctype\")?this._consumeDocType(t):this._consumeBogusComment(t);else if(this._attemptCharCode(r.$SLASH))this._consumeTagClose(t);else {let o=this._cursor.clone();this._attemptCharCode(r.$QUESTION)?(this._cursor=o,this._consumeBogusComment(t)):this._consumeTagOpen(t);}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText();}catch(o){this.handleError(o);}}return this._beginToken(s.EOF),this._endToken([]),new c(O(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(R(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===r.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return !1}_beginToken(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=o,this._currentTokenType=t;}_endToken(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new f(\"Programming error - attempted to end a token when there was no start to the token\",this._currentTokenType,this._cursor.getSpan(o));if(this._currentTokenType===null)throw new f(\"Programming error - attempted to end a token which has no token type\",null,this._cursor.getSpan(this._currentTokenStart));let E=new i(this._currentTokenType,t,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(E),this._currentTokenStart=null,this._currentTokenType=null,E}_createError(t,o){this._isInExpansionForm()&&(t+=` (Do you have an unescaped \"{\" in your template? Use \"{{ '{' }}\") to escape it.)`);let E=new f(t,this._currentTokenType,o);return this._currentTokenStart=null,this._currentTokenType=null,new C(E)}handleError(t){if(t instanceof $&&(t=this._createError(t.msg,this._cursor.getSpan(t.cursor))),t instanceof C)this.errors.push(t.error);else throw t}_attemptCharCode(t){return this._cursor.peek()===t?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(t){return j(this._cursor.peek(),t)?(this._cursor.advance(),!0):!1}_requireCharCode(t){let o=this._cursor.clone();if(!this._attemptCharCode(t))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(o))}_attemptStr(t){let o=t.length;if(this._cursor.charsLeft()this._attemptStr(\"-->\")),this._beginToken(s.COMMENT_END),this._requireStr(\"-->\"),this._endToken([]);}_consumeBogusComment(t){this._beginToken(s.COMMENT_START,t),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===r.$GT),this._beginToken(s.COMMENT_END),this._cursor.advance(),this._endToken([]);}_consumeCdata(t){this._beginToken(s.CDATA_START,t),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr(\"]]>\")),this._beginToken(s.CDATA_END),this._requireStr(\"]]>\"),this._endToken([]);}_consumeDocType(t){this._beginToken(s.DOC_TYPE_START,t),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===r.$GT),this._beginToken(s.DOC_TYPE_END),this._cursor.advance(),this._endToken([]);}_consumePrefixAndName(){let t=this._cursor.clone(),o=\"\";for(;this._cursor.peek()!==r.$COLON&&!w(this._cursor.peek());)this._cursor.advance();let E;this._cursor.peek()===r.$COLON?(o=this._cursor.getChars(t),this._cursor.advance(),E=this._cursor.clone()):E=t,this._requireCharCodeUntilFn(T,o===\"\"?0:1);let p=this._cursor.getChars(E);return [o,p]}_consumeTagOpen(t){let o,E,p,A=this.tokens.length,P=this._cursor.clone(),M=[];try{if(!r.isAsciiLetter(this._cursor.peek()))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(t));for(p=this._consumeTagOpenStart(t),E=p.parts[0],o=p.parts[1],this._attemptCharCodeUntilFn(m);this._cursor.peek()!==r.$SLASH&&this._cursor.peek()!==r.$GT;){let[V,X]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(m),this._attemptCharCode(r.$EQ)){this._attemptCharCodeUntilFn(m);let H=this._consumeAttributeValue();M.push({prefix:V,name:X,value:H});}else M.push({prefix:V,name:X});this._attemptCharCodeUntilFn(m);}this._consumeTagOpenEnd();}catch(V){if(V instanceof C){this._cursor=P,p&&(this.tokens.length=A),this._beginToken(s.TEXT,t),this._endToken([\"<\"]);return}throw V}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===s.TAG_OPEN_END_VOID)return;let z=this._getTagContentType(o,E,this._fullNameStack.length>0,M);this._handleFullNameStackForTagOpen(E,o),z===D.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(E,o,!1):z===D.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(E,o,!0);}_consumeRawTextWithTagClose(t,o,E){this._consumeRawText(E,()=>!this._attemptCharCode(r.$LT)||!this._attemptCharCode(r.$SLASH)||(this._attemptCharCodeUntilFn(m),!this._attemptStrCaseInsensitive(t?`${t}:${o}`:o))?!1:(this._attemptCharCodeUntilFn(m),this._attemptCharCode(r.$GT)));this._beginToken(s.TAG_CLOSE),this._requireCharCodeUntilFn(A=>A===r.$GT,3),this._cursor.advance(),this._endToken([t,o]),this._handleFullNameStackForTagClose(t,o);}_consumeTagOpenStart(t){this._beginToken(s.TAG_OPEN_START,t);let o=this._consumePrefixAndName();return this._endToken(o)}_consumeAttributeName(){let t=this._cursor.peek();if(t===r.$SQ||t===r.$DQ)throw this._createError(l(t),this._cursor.getSpan());this._beginToken(s.ATTR_NAME);let o=this._consumePrefixAndName();return this._endToken(o),o}_consumeAttributeValue(){let t;if(this._cursor.peek()===r.$SQ||this._cursor.peek()===r.$DQ){this._beginToken(s.ATTR_QUOTE);let o=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(o)]),this._beginToken(s.ATTR_VALUE);let E=[];for(;this._cursor.peek()!==o;)E.push(this._readChar(!0));t=this._processCarriageReturns(E.join(\"\")),this._endToken([t]),this._beginToken(s.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(o)]);}else {this._beginToken(s.ATTR_VALUE);let o=this._cursor.clone();this._requireCharCodeUntilFn(T,1),t=this._processCarriageReturns(this._cursor.getChars(o)),this._endToken([t]);}return t}_consumeTagOpenEnd(){let t=this._attemptCharCode(r.$SLASH)?s.TAG_OPEN_END_VOID:s.TAG_OPEN_END;this._beginToken(t),this._requireCharCode(r.$GT),this._endToken([]);}_consumeTagClose(t){if(this._beginToken(s.TAG_CLOSE,t),this._attemptCharCodeUntilFn(m),this._allowHtmComponentClosingTags&&this._attemptCharCode(r.$SLASH))this._attemptCharCodeUntilFn(m),this._requireCharCode(r.$GT),this._endToken([]);else {let[o,E]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(m),this._requireCharCode(r.$GT),this._endToken([o,E]),this._handleFullNameStackForTagClose(o,E);}}_consumeExpansionFormStart(){this._beginToken(s.EXPANSION_FORM_START),this._requireCharCode(r.$LBRACE),this._endToken([]),this._expansionCaseStack.push(s.EXPANSION_FORM_START),this._beginToken(s.RAW_TEXT);let t=this._readUntil(r.$COMMA);this._endToken([t]),this._requireCharCode(r.$COMMA),this._attemptCharCodeUntilFn(m),this._beginToken(s.RAW_TEXT);let o=this._readUntil(r.$COMMA);this._endToken([o]),this._requireCharCode(r.$COMMA),this._attemptCharCodeUntilFn(m);}_consumeExpansionCaseStart(){this._beginToken(s.EXPANSION_CASE_VALUE);let t=this._readUntil(r.$LBRACE).trim();this._endToken([t]),this._attemptCharCodeUntilFn(m),this._beginToken(s.EXPANSION_CASE_EXP_START),this._requireCharCode(r.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.push(s.EXPANSION_CASE_EXP_START);}_consumeExpansionCaseEnd(){this._beginToken(s.EXPANSION_CASE_EXP_END),this._requireCharCode(r.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.pop();}_consumeExpansionFormEnd(){this._beginToken(s.EXPANSION_FORM_END),this._requireCharCode(r.$RBRACE),this._endToken([]),this._expansionCaseStack.pop();}_consumeText(){let t=this._cursor.clone();this._beginToken(s.TEXT,t);let o=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(o.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(o.push(this._interpolationConfig.end),this._inInterpolation=!1):o.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(o.join(\"\"))]);}_isTextEnd(){return !!(this._cursor.peek()===r.$LT||this._cursor.peek()===r.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===r.$RBRACE&&this._isInExpansionCase()))}_readUntil(t){let o=this._cursor.clone();return this._attemptUntilChar(t),this._cursor.getChars(o)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===s.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===s.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==r.$LBRACE)return !1;if(this._interpolationConfig){let t=this._cursor.clone(),o=this._attemptStr(this._interpolationConfig.start);return this._cursor=t,!o}return !0}_handleFullNameStackForTagOpen(t,o){let E=D.mergeNsAndName(t,o);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===E)&&this._fullNameStack.push(E);}_handleFullNameStackForTagClose(t,o){let E=D.mergeNsAndName(t,o);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===E&&this._fullNameStack.pop();}};function m(t){return !r.isWhitespace(t)||t===r.$EOF}function T(t){return r.isWhitespace(t)||t===r.$GT||t===r.$SLASH||t===r.$SQ||t===r.$DQ||t===r.$EQ}function w(t){return (tr.$9)}function g(t){return t==r.$SEMICOLON||t==r.$EOF||!r.isAsciiHexDigit(t)}function N(t){return t==r.$SEMICOLON||t==r.$EOF||!r.isAsciiLetter(t)}function R(t){return t===r.$EQ||r.isAsciiLetter(t)||r.isDigit(t)}function j(t,o){return _(t)==_(o)}function _(t){return t>=r.$a&&t<=r.$z?t-r.$a+r.$A:t}function O(t){let o=[],E;for(let p=0;p0&&o.indexOf(t.peek())!==-1;)t.advance();return new u.ParseSourceSpan(new u.ParseLocation(t.file,t.state.offset,t.state.line,t.state.column),new u.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new $('Unexpected character \"EOF\"',this);let o=this.charAt(t.offset);o===r.$LF?(t.line++,t.column=0):r.isNewLine(o)||t.column++,t.offset++,this.updatePeek(t);}updatePeek(t){t.peek=t.offset>=this.end?r.$EOF:this.charAt(t.offset);}},k=class extends x{constructor(t,o){t instanceof k?(super(t),this.internalState=Object.assign({},t.internalState)):(super(t,o),this.internalState=this.state);}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence();}init(){super.init(),this.processEscapeSequence();}clone(){return new k(this)}getChars(t){let o=t.clone(),E=\"\";for(;o.internalState.offsetthis.internalState.peek;if(t()===r.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),t()===r.$n)this.state.peek=r.$LF;else if(t()===r.$r)this.state.peek=r.$CR;else if(t()===r.$v)this.state.peek=r.$VTAB;else if(t()===r.$t)this.state.peek=r.$TAB;else if(t()===r.$b)this.state.peek=r.$BSPACE;else if(t()===r.$f)this.state.peek=r.$FF;else if(t()===r.$u)if(this.advanceState(this.internalState),t()===r.$LBRACE){this.advanceState(this.internalState);let o=this.clone(),E=0;for(;t()!==r.$RBRACE;)this.advanceState(this.internalState),E++;this.state.peek=this.decodeHexDigits(o,E);}else {let o=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(o,4);}else if(t()===r.$x){this.advanceState(this.internalState);let o=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(o,2);}else if(r.isOctalDigit(t())){let o=\"\",E=0,p=this.clone();for(;r.isOctalDigit(t())&&E<3;)p=this.clone(),o+=String.fromCodePoint(t()),this.advanceState(this.internalState),E++;this.state.peek=parseInt(o,8),this.internalState=p.internalState;}else r.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek;}decodeHexDigits(t,o){let E=this.input.substr(t.internalState.offset,o),p=parseInt(E,16);if(isNaN(p))throw t.state=t.internalState,new $(\"Invalid hexadecimal escape sequence\",t);return p}},$=class{constructor(t,o){this.msg=t,this.cursor=o;}};e.CursorError=$;}}),ls=I({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Be(),u=bs(),n=Yl(),D=Ze(),s=class extends r.ParseError{constructor(a,l,h){super(l,h),this.elementName=a;}static create(a,l,h){return new s(a,l,h)}};e.TreeError=s;var i=class{constructor(a,l){this.rootNodes=a,this.errors=l;}};e.ParseTreeResult=i;var f=class{constructor(a){this.getTagDefinition=a;}parse(a,l,h){let C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,d=arguments.length>4?arguments[4]:void 0,m=x=>function(k){for(var $=arguments.length,t=new Array($>1?$-1:0),o=1;o<$;o++)t[o-1]=arguments[o];return x(k.toLowerCase(),...t)},T=C?this.getTagDefinition:m(this.getTagDefinition),w=x=>T(x).contentType,g=C?d:m(d),N=d?(x,k,$,t)=>{let o=g(x,k,$,t);return o!==void 0?o:w(x)}:w,R=n.tokenize(a,l,N,h),j=h&&h.canSelfClose||!1,_=h&&h.allowHtmComponentClosingTags||!1,O=new c(R.tokens,T,j,_,C).build();return new i(O.rootNodes,R.errors.concat(O.errors))}};e.Parser=f;var c=class{constructor(a,l,h,C,d){this.tokens=a,this.getTagDefinition=l,this.canSelfClose=h,this.allowHtmComponentClosingTags=C,this.isTagNameCaseSensitive=d,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance();}build(){for(;this._peek.type!==n.TokenType.EOF;)this._peek.type===n.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===n.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===n.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===n.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===n.TokenType.TEXT||this._peek.type===n.TokenType.RAW_TEXT||this._peek.type===n.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===n.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===n.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new i(this._rootNodes,this._errors)}_advance(){let a=this._peek;return this._index0)return this._errors=this._errors.concat(d.errors),null;let m=new r.ParseSourceSpan(a.sourceSpan.start,C.sourceSpan.end),T=new r.ParseSourceSpan(l.sourceSpan.start,C.sourceSpan.end);return new u.ExpansionCase(a.parts[0],d.rootNodes,m,a.sourceSpan,T)}_collectExpansionExpTokens(a){let l=[],h=[n.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===n.TokenType.EXPANSION_FORM_START||this._peek.type===n.TokenType.EXPANSION_CASE_EXP_START)&&h.push(this._peek.type),this._peek.type===n.TokenType.EXPANSION_CASE_EXP_END)if(F(h,n.TokenType.EXPANSION_CASE_EXP_START)){if(h.pop(),h.length==0)return l}else return this._errors.push(s.create(null,a.sourceSpan,\"Invalid ICU message. Missing '}'.\")),null;if(this._peek.type===n.TokenType.EXPANSION_FORM_END)if(F(h,n.TokenType.EXPANSION_FORM_START))h.pop();else return this._errors.push(s.create(null,a.sourceSpan,\"Invalid ICU message. Missing '}'.\")),null;if(this._peek.type===n.TokenType.EOF)return this._errors.push(s.create(null,a.sourceSpan,\"Invalid ICU message. Missing '}'.\")),null;l.push(this._advance());}}_getText(a){let l=a.parts[0];if(l.length>0&&l[0]==`\n`){let h=this._getParentElement();h!=null&&h.children.length==0&&this.getTagDefinition(h.name).ignoreFirstLf&&(l=l.substring(1));}return l}_consumeText(a){let l=this._getText(a);l.length>0&&this._addToParent(new u.Text(l,a.sourceSpan));}_closeVoidElement(){let a=this._getParentElement();a&&this.getTagDefinition(a.name).isVoid&&this._elementStack.pop();}_consumeStartTag(a){let l=a.parts[0],h=a.parts[1],C=[];for(;this._peek.type===n.TokenType.ATTR_NAME;)C.push(this._consumeAttr(this._advance()));let d=this._getElementFullName(l,h,this._getParentElement()),m=!1;if(this._peek.type===n.TokenType.TAG_OPEN_END_VOID){this._advance(),m=!0;let R=this.getTagDefinition(d);this.canSelfClose||R.canSelfClose||D.getNsPrefix(d)!==null||R.isVoid||this._errors.push(s.create(d,a.sourceSpan,`Only void and foreign elements can be self closed \"${a.parts[1]}\"`));}else this._peek.type===n.TokenType.TAG_OPEN_END&&(this._advance(),m=!1);let T=this._peek.sourceSpan.start,w=new r.ParseSourceSpan(a.sourceSpan.start,T),g=new r.ParseSourceSpan(a.sourceSpan.start.moveBy(1),a.sourceSpan.end),N=new u.Element(d,C,[],w,w,void 0,g);this._pushElement(N),m&&(this._popElement(d),N.endSourceSpan=w);}_pushElement(a){let l=this._getParentElement();l&&this.getTagDefinition(l.name).isClosedByChild(a.name)&&this._elementStack.pop(),this._addToParent(a),this._elementStack.push(a);}_consumeEndTag(a){let l=this.allowHtmComponentClosingTags&&a.parts.length===0?null:this._getElementFullName(a.parts[0],a.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=a.sourceSpan),l&&this.getTagDefinition(l).isVoid)this._errors.push(s.create(l,a.sourceSpan,`Void elements do not have end tags \"${a.parts[1]}\"`));else if(!this._popElement(l)){let h=`Unexpected closing tag \"${l}\". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this._errors.push(s.create(l,a.sourceSpan,h));}}_popElement(a){for(let l=this._elementStack.length-1;l>=0;l--){let h=this._elementStack[l];if(!a||(D.getNsPrefix(h.name)?h.name==a:h.name.toLowerCase()==a.toLowerCase()))return this._elementStack.splice(l,this._elementStack.length-l),!0;if(!this.getTagDefinition(h.name).closedByParent)return !1}return !1}_consumeAttr(a){let l=D.mergeNsAndName(a.parts[0],a.parts[1]),h=a.sourceSpan.end,C=\"\",d,m;if(this._peek.type===n.TokenType.ATTR_QUOTE&&(m=this._advance().sourceSpan.start),this._peek.type===n.TokenType.ATTR_VALUE){let T=this._advance();C=T.parts[0],h=T.sourceSpan.end,d=T.sourceSpan;}return this._peek.type===n.TokenType.ATTR_QUOTE&&(h=this._advance().sourceSpan.end,d=new r.ParseSourceSpan(m,h)),new u.Attribute(l,C,new r.ParseSourceSpan(a.sourceSpan.start,h),d,a.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let a=null;for(let l=this._elementStack.length-1;l>=0;l--){if(!D.isNgContainer(this._elementStack[l].name))return {parent:this._elementStack[l],container:a};a=this._elementStack[l];}return {parent:null,container:a}}_addToParent(a){let l=this._getParentElement();l!=null?l.children.push(a):this._rootNodes.push(a);}_insertBeforeContainer(a,l,h){if(!l)this._addToParent(h),this._elementStack.push(h);else {if(a){let C=a.children.indexOf(l);a.children[C]=h;}else this._rootNodes.push(h);h.children.push(l),this._elementStack.splice(this._elementStack.indexOf(l),0,h);}}_getElementFullName(a,l,h){return a===\"\"&&(a=this.getTagDefinition(l).implicitNamespacePrefix||\"\",a===\"\"&&h!=null&&(a=D.getNsPrefix(h.name))),D.mergeNsAndName(a,l)}};function F(a,l){return a.length>0&&a[a.length-1]===l}}}),Ql=I({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Bs(),u=ls(),n=ls();e.ParseTreeResult=n.ParseTreeResult,e.TreeError=n.TreeError;var D=class extends u.Parser{constructor(){super(r.getHtmlTagDefinition);}parse(s,i,f){let c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,F=arguments.length>4?arguments[4]:void 0;return super.parse(s,i,f,c,F)}};e.HtmlParser=D;}}),ws=I({\"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js\"(e){q(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Ql(),u=Ze();e.TagContentType=u.TagContentType;var n=null,D=()=>(n||(n=new r.HtmlParser),n);function s(i){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{canSelfClose:c=!1,allowHtmComponentClosingTags:F=!1,isTagNameCaseSensitive:a=!1,getTagContentType:l}=f;return D().parse(i,\"angular-html-parser\",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:c,allowHtmComponentClosingTags:F},a,l)}e.parse=s;}});q();var{ParseSourceSpan:Qe,ParseLocation:cs,ParseSourceFile:Kl}=Be(),Jl=ol(),Zl=Cs(),ec=Dl(),{inferParserByLanguage:rc}=xl(),uc=kl(),Vr=Ml(),hs=jl(),{hasPragma:tc}=Ul(),{Node:nc}=Gl(),{parseIeConditionalComment:sc}=Vl(),{locStart:ic,locEnd:ac}=Xl();function oc(e,r,u){let{canSelfClose:n,normalizeTagName:D,normalizeAttributeName:s,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:f,getTagContentType:c}=r,F=ws(),{RecursiveVisitor:a,visitAll:l}=bs(),{ParseSourceSpan:h}=Be(),{getHtmlTagDefinition:C}=Bs(),{rootNodes:d,errors:m}=F.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:f,getTagContentType:c});if(u.parser===\"vue\")if(d.some(O=>O.type===\"docType\"&&O.value===\"html\"||O.type===\"element\"&&O.name.toLowerCase()===\"html\")){n=!0,D=!0,s=!0,i=!0,f=!1;let O=F.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:f});d=O.rootNodes,m=O.errors;}else {let O=x=>{if(!x||x.type!==\"element\"||x.name!==\"template\")return !1;let k=x.attrs.find(t=>t.name===\"lang\"),$=k&&k.value;return !$||rc($,u)===\"html\"};if(d.some(O)){let x,k=()=>F.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:f}),$=()=>x||(x=k()),t=o=>$().rootNodes.find(E=>{let{startSourceSpan:p}=E;return p&&p.start.offset===o.startSourceSpan.start.offset});for(let o=0;o0){let{msg:_,span:{start:O,end:x}}=m[0];throw ec(_,{start:{line:O.line+1,column:O.col+1},end:{line:x.line+1,column:x.col+1}})}let T=_=>{let O=_.name.startsWith(\":\")?_.name.slice(1).split(\":\")[0]:null,x=_.nameSpan.toString(),k=O!==null&&x.startsWith(`${O}:`),$=k?x.slice(O.length+1):x;_.name=$,_.namespace=O,_.hasExplicitNamespace=k;},w=_=>{switch(_.type){case\"element\":T(_);for(let O of _.attrs)T(O),O.valueSpan?(O.value=O.valueSpan.toString(),/[\"']/.test(O.value[0])&&(O.value=O.value.slice(1,-1))):O.value=null;break;case\"comment\":_.value=_.sourceSpan.toString().slice(4,-3);break;case\"text\":_.value=_.sourceSpan.toString();break}},g=(_,O)=>{let x=_.toLowerCase();return O(x)?x:_},N=_=>{if(_.type===\"element\"&&(D&&(!_.namespace||_.namespace===_.tagDefinition.implicitNamespacePrefix||hs(_))&&(_.name=g(_.name,O=>O in uc)),s)){let O=Vr[_.name]||Object.create(null);for(let x of _.attrs)x.namespace||(x.name=g(x.name,k=>_.name in Vr&&(k in Vr[\"*\"]||k in O)));}},R=_=>{_.sourceSpan&&_.endSourceSpan&&(_.sourceSpan=new h(_.sourceSpan.start,_.endSourceSpan.end));},j=_=>{if(_.type===\"element\"){let O=C(f?_.name:_.name.toLowerCase());!_.namespace||_.namespace===O.implicitNamespacePrefix||hs(_)?_.tagDefinition=O:_.tagDefinition=C(\"\");}};return l(new class extends a{visit(_){w(_),j(_),N(_),R(_);}},d),d}function Ns(e,r,u){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{frontMatter:D,content:s}=n?Jl(e):{frontMatter:null,content:e},i=new Kl(e,r.filepath),f=new cs(i,0,0,0),c=f.moveBy(e.length),F={type:\"root\",sourceSpan:new Qe(f,c),children:oc(s,u,r)};if(D){let h=new cs(i,0,0,0),C=h.moveBy(D.raw.length);D.sourceSpan=new Qe(h,C),F.children.unshift(D);}let a=new nc(F),l=(h,C)=>{let{offset:d}=C,m=e.slice(0,d).replace(/[^\\n\\r]/g,\" \"),w=Ns(m+h,r,u,!1);w.sourceSpan=new Qe(C,Zl(w.children).sourceSpan.end);let g=w.children[0];return g.length===d?w.children.shift():(g.sourceSpan=new Qe(g.sourceSpan.start.moveBy(d),g.sourceSpan.end),g.value=g.value.slice(d)),w};return a.walk(h=>{if(h.type===\"comment\"){let C=sc(h,l);C&&h.parent.replaceChild(h,C);}}),a}function Ke(){let{name:e,canSelfClose:r=!1,normalizeTagName:u=!1,normalizeAttributeName:n=!1,allowHtmComponentClosingTags:D=!1,isTagNameCaseSensitive:s=!1,getTagContentType:i}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return {parse:(f,c,F)=>Ns(f,Object.assign({parser:e},F),{canSelfClose:r,normalizeTagName:u,normalizeAttributeName:n,allowHtmComponentClosingTags:D,isTagNameCaseSensitive:s,getTagContentType:i}),hasPragma:tc,astFormat:\"html\",locStart:ic,locEnd:ac}}Os.exports={parsers:{html:Ke({name:\"html\",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Ke({name:\"angular\",canSelfClose:!0}),vue:Ke({name:\"vue\",canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(e,r,u,n)=>{if(e.toLowerCase()!==\"html\"&&!u&&(e!==\"template\"||n.some(D=>{let{name:s,value:i}=D;return s===\"lang\"&&i!==\"html\"&&i!==\"\"&&i!==void 0})))return ws().TagContentType.RAW_TEXT}}),lwc:Ke({name:\"lwc\"})}};});return Dc()});}});var require_standalone=__commonJS({\"node_modules/prettier/standalone.js\"(exports,module){(function(e){if(typeof exports==\"object\"&&typeof module==\"object\")module.exports=e();else if(typeof define==\"function\"&&define.amd)define(e);else {var f=typeof globalThis<\"u\"?globalThis:typeof global<\"u\"?global:typeof self<\"u\"?self:this||{};f.prettier=e();}})(function(){var xe=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),pt=xe((r0,pu)=>{var ir=function(e){return e&&e.Math==Math&&e};pu.exports=ir(typeof globalThis==\"object\"&&globalThis)||ir(typeof window==\"object\"&&window)||ir(typeof self==\"object\"&&self)||ir(typeof global==\"object\"&&global)||function(){return this}()||Function(\"return this\")();}),Dt=xe((n0,fu)=>{fu.exports=function(e){try{return !!e()}catch{return !0}};}),yt=xe((u0,Du)=>{var Mo=Dt();Du.exports=!Mo(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7});}),ar=xe((s0,mu)=>{var Ro=Dt();mu.exports=!Ro(function(){var e=function(){}.bind();return typeof e!=\"function\"||e.hasOwnProperty(\"prototype\")});}),At=xe((i0,du)=>{var $o=ar(),or=Function.prototype.call;du.exports=$o?or.bind(or):function(){return or.apply(or,arguments)};}),vu=xe(hu=>{var gu={}.propertyIsEnumerable,yu=Object.getOwnPropertyDescriptor,Vo=yu&&!gu.call({1:2},1);hu.f=Vo?function(r){var t=yu(this,r);return !!t&&t.enumerable}:gu;}),lr=xe((o0,Cu)=>{Cu.exports=function(e,r){return {enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r}};}),mt=xe((l0,Au)=>{var Eu=ar(),Fu=Function.prototype,Wr=Fu.call,Wo=Eu&&Fu.bind.bind(Wr,Wr);Au.exports=Eu?Wo:function(e){return function(){return Wr.apply(e,arguments)}};}),Vt=xe((c0,xu)=>{var Su=mt(),Ho=Su({}.toString),Go=Su(\"\".slice);xu.exports=function(e){return Go(Ho(e),8,-1)};}),Tu=xe((p0,bu)=>{var Uo=mt(),Jo=Dt(),zo=Vt(),Hr=Object,Xo=Uo(\"\".split);bu.exports=Jo(function(){return !Hr(\"z\").propertyIsEnumerable(0)})?function(e){return zo(e)==\"String\"?Xo(e,\"\"):Hr(e)}:Hr;}),cr=xe((f0,Bu)=>{Bu.exports=function(e){return e==null};}),Gr=xe((D0,Nu)=>{var Ko=cr(),Yo=TypeError;Nu.exports=function(e){if(Ko(e))throw Yo(\"Can't call method on \"+e);return e};}),pr=xe((m0,wu)=>{var Qo=Tu(),Zo=Gr();wu.exports=function(e){return Qo(Zo(e))};}),Jr=xe((d0,_u)=>{var Ur=typeof document==\"object\"&&document.all,el=typeof Ur>\"u\"&&Ur!==void 0;_u.exports={all:Ur,IS_HTMLDDA:el};}),ot=xe((g0,Iu)=>{var Pu=Jr(),tl=Pu.all;Iu.exports=Pu.IS_HTMLDDA?function(e){return typeof e==\"function\"||e===tl}:function(e){return typeof e==\"function\"};}),St=xe((y0,Ou)=>{var ku=ot(),Lu=Jr(),rl=Lu.all;Ou.exports=Lu.IS_HTMLDDA?function(e){return typeof e==\"object\"?e!==null:ku(e)||e===rl}:function(e){return typeof e==\"object\"?e!==null:ku(e)};}),Wt=xe((h0,ju)=>{var zr=pt(),nl=ot(),ul=function(e){return nl(e)?e:void 0};ju.exports=function(e,r){return arguments.length<2?ul(zr[e]):zr[e]&&zr[e][r]};}),Xr=xe((v0,qu)=>{var sl=mt();qu.exports=sl({}.isPrototypeOf);}),Ru=xe((C0,Mu)=>{var il=Wt();Mu.exports=il(\"navigator\",\"userAgent\")||\"\";}),Ju=xe((E0,Uu)=>{var Gu=pt(),Kr=Ru(),$u=Gu.process,Vu=Gu.Deno,Wu=$u&&$u.versions||Vu&&Vu.version,Hu=Wu&&Wu.v8,dt,fr;Hu&&(dt=Hu.split(\".\"),fr=dt[0]>0&&dt[0]<4?1:+(dt[0]+dt[1])),!fr&&Kr&&(dt=Kr.match(/Edge\\/(\\d+)/),(!dt||dt[1]>=74)&&(dt=Kr.match(/Chrome\\/(\\d+)/),dt&&(fr=+dt[1]))),Uu.exports=fr;}),Yr=xe((F0,Xu)=>{var zu=Ju(),al=Dt();Xu.exports=!!Object.getOwnPropertySymbols&&!al(function(){var e=Symbol();return !String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&zu&&zu<41});}),Qr=xe((A0,Ku)=>{var ol=Yr();Ku.exports=ol&&!Symbol.sham&&typeof Symbol.iterator==\"symbol\";}),Zr=xe((S0,Yu)=>{var ll=Wt(),cl=ot(),pl=Xr(),fl=Qr(),Dl=Object;Yu.exports=fl?function(e){return typeof e==\"symbol\"}:function(e){var r=ll(\"Symbol\");return cl(r)&&pl(r.prototype,Dl(e))};}),Dr=xe((x0,Qu)=>{var ml=String;Qu.exports=function(e){try{return ml(e)}catch{return \"Object\"}};}),Ht=xe((b0,Zu)=>{var dl=ot(),gl=Dr(),yl=TypeError;Zu.exports=function(e){if(dl(e))return e;throw yl(gl(e)+\" is not a function\")};}),mr=xe((T0,es)=>{var hl=Ht(),vl=cr();es.exports=function(e,r){var t=e[r];return vl(t)?void 0:hl(t)};}),rs=xe((B0,ts)=>{var en=At(),tn=ot(),rn=St(),Cl=TypeError;ts.exports=function(e,r){var t,s;if(r===\"string\"&&tn(t=e.toString)&&!rn(s=en(t,e))||tn(t=e.valueOf)&&!rn(s=en(t,e))||r!==\"string\"&&tn(t=e.toString)&&!rn(s=en(t,e)))return s;throw Cl(\"Can't convert object to primitive value\")};}),us=xe((N0,ns)=>{ns.exports=!1;}),dr=xe((w0,is)=>{var ss=pt(),El=Object.defineProperty;is.exports=function(e,r){try{El(ss,e,{value:r,configurable:!0,writable:!0});}catch{ss[e]=r;}return r};}),gr=xe((_0,os)=>{var Fl=pt(),Al=dr(),as=\"__core-js_shared__\",Sl=Fl[as]||Al(as,{});os.exports=Sl;}),nn=xe((P0,cs)=>{var xl=us(),ls=gr();(cs.exports=function(e,r){return ls[e]||(ls[e]=r!==void 0?r:{})})(\"versions\",[]).push({version:\"3.26.1\",mode:xl?\"pure\":\"global\",copyright:\"\\xA9 2014-2022 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE\",source:\"https://github.com/zloirock/core-js\"});}),yr=xe((I0,ps)=>{var bl=Gr(),Tl=Object;ps.exports=function(e){return Tl(bl(e))};}),Ct=xe((k0,fs)=>{var Bl=mt(),Nl=yr(),wl=Bl({}.hasOwnProperty);fs.exports=Object.hasOwn||function(r,t){return wl(Nl(r),t)};}),un=xe((L0,Ds)=>{var _l=mt(),Pl=0,Il=Math.random(),kl=_l(1 .toString);Ds.exports=function(e){return \"Symbol(\"+(e===void 0?\"\":e)+\")_\"+kl(++Pl+Il,36)};}),bt=xe((O0,hs)=>{var Ll=pt(),Ol=nn(),ms=Ct(),jl=un(),ds=Yr(),ys=Qr(),It=Ol(\"wks\"),xt=Ll.Symbol,gs=xt&&xt.for,ql=ys?xt:xt&&xt.withoutSetter||jl;hs.exports=function(e){if(!ms(It,e)||!(ds||typeof It[e]==\"string\")){var r=\"Symbol.\"+e;ds&&ms(xt,e)?It[e]=xt[e]:ys&&gs?It[e]=gs(r):It[e]=ql(r);}return It[e]};}),Fs=xe((j0,Es)=>{var Ml=At(),vs=St(),Cs=Zr(),Rl=mr(),$l=rs(),Vl=bt(),Wl=TypeError,Hl=Vl(\"toPrimitive\");Es.exports=function(e,r){if(!vs(e)||Cs(e))return e;var t=Rl(e,Hl),s;if(t){if(r===void 0&&(r=\"default\"),s=Ml(t,e,r),!vs(s)||Cs(s))return s;throw Wl(\"Can't convert object to primitive value\")}return r===void 0&&(r=\"number\"),$l(e,r)};}),hr=xe((q0,As)=>{var Gl=Fs(),Ul=Zr();As.exports=function(e){var r=Gl(e,\"string\");return Ul(r)?r:r+\"\"};}),bs=xe((M0,xs)=>{var Jl=pt(),Ss=St(),sn=Jl.document,zl=Ss(sn)&&Ss(sn.createElement);xs.exports=function(e){return zl?sn.createElement(e):{}};}),an=xe((R0,Ts)=>{var Xl=yt(),Kl=Dt(),Yl=bs();Ts.exports=!Xl&&!Kl(function(){return Object.defineProperty(Yl(\"div\"),\"a\",{get:function(){return 7}}).a!=7});}),on=xe(Ns=>{var Ql=yt(),Zl=At(),ec=vu(),tc=lr(),rc=pr(),nc=hr(),uc=Ct(),sc=an(),Bs=Object.getOwnPropertyDescriptor;Ns.f=Ql?Bs:function(r,t){if(r=rc(r),t=nc(t),sc)try{return Bs(r,t)}catch{}if(uc(r,t))return tc(!Zl(ec.f,r,t),r[t])};}),_s=xe((V0,ws)=>{var ic=yt(),ac=Dt();ws.exports=ic&&ac(function(){return Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype!=42});}),Tt=xe((W0,Ps)=>{var oc=St(),lc=String,cc=TypeError;Ps.exports=function(e){if(oc(e))return e;throw cc(lc(e)+\" is not an object\")};}),kt=xe(ks=>{var pc=yt(),fc=an(),Dc=_s(),vr=Tt(),Is=hr(),mc=TypeError,ln=Object.defineProperty,dc=Object.getOwnPropertyDescriptor,cn=\"enumerable\",pn=\"configurable\",fn=\"writable\";ks.f=pc?Dc?function(r,t,s){if(vr(r),t=Is(t),vr(s),typeof r==\"function\"&&t===\"prototype\"&&\"value\"in s&&fn in s&&!s[fn]){var a=dc(r,t);a&&a[fn]&&(r[t]=s.value,s={configurable:pn in s?s[pn]:a[pn],enumerable:cn in s?s[cn]:a[cn],writable:!1});}return ln(r,t,s)}:ln:function(r,t,s){if(vr(r),t=Is(t),vr(s),fc)try{return ln(r,t,s)}catch{}if(\"get\"in s||\"set\"in s)throw mc(\"Accessors not supported\");return \"value\"in s&&(r[t]=s.value),r};}),Dn=xe((G0,Ls)=>{var gc=yt(),yc=kt(),hc=lr();Ls.exports=gc?function(e,r,t){return yc.f(e,r,hc(1,t))}:function(e,r,t){return e[r]=t,e};}),qs=xe((U0,js)=>{var mn=yt(),vc=Ct(),Os=Function.prototype,Cc=mn&&Object.getOwnPropertyDescriptor,dn=vc(Os,\"name\"),Ec=dn&&function(){}.name===\"something\",Fc=dn&&(!mn||mn&&Cc(Os,\"name\").configurable);js.exports={EXISTS:dn,PROPER:Ec,CONFIGURABLE:Fc};}),yn=xe((J0,Ms)=>{var Ac=mt(),Sc=ot(),gn=gr(),xc=Ac(Function.toString);Sc(gn.inspectSource)||(gn.inspectSource=function(e){return xc(e)}),Ms.exports=gn.inspectSource;}),Vs=xe((z0,$s)=>{var bc=pt(),Tc=ot(),Rs=bc.WeakMap;$s.exports=Tc(Rs)&&/native code/.test(String(Rs));}),Gs=xe((X0,Hs)=>{var Bc=nn(),Nc=un(),Ws=Bc(\"keys\");Hs.exports=function(e){return Ws[e]||(Ws[e]=Nc(e))};}),hn=xe((K0,Us)=>{Us.exports={};}),Ks=xe((Y0,Xs)=>{var wc=Vs(),zs=pt(),_c=St(),Pc=Dn(),vn=Ct(),Cn=gr(),Ic=Gs(),kc=hn(),Js=\"Object already initialized\",En=zs.TypeError,Lc=zs.WeakMap,Cr,Gt,Er,Oc=function(e){return Er(e)?Gt(e):Cr(e,{})},jc=function(e){return function(r){var t;if(!_c(r)||(t=Gt(r)).type!==e)throw En(\"Incompatible receiver, \"+e+\" required\");return t}};wc||Cn.state?(gt=Cn.state||(Cn.state=new Lc),gt.get=gt.get,gt.has=gt.has,gt.set=gt.set,Cr=function(e,r){if(gt.has(e))throw En(Js);return r.facade=e,gt.set(e,r),r},Gt=function(e){return gt.get(e)||{}},Er=function(e){return gt.has(e)}):(Bt=Ic(\"state\"),kc[Bt]=!0,Cr=function(e,r){if(vn(e,Bt))throw En(Js);return r.facade=e,Pc(e,Bt,r),r},Gt=function(e){return vn(e,Bt)?e[Bt]:{}},Er=function(e){return vn(e,Bt)});var gt,Bt;Xs.exports={set:Cr,get:Gt,has:Er,enforce:Oc,getterFor:jc};}),An=xe((Q0,Qs)=>{var qc=Dt(),Mc=ot(),Fr=Ct(),Fn=yt(),Rc=qs().CONFIGURABLE,$c=yn(),Ys=Ks(),Vc=Ys.enforce,Wc=Ys.get,Ar=Object.defineProperty,Hc=Fn&&!qc(function(){return Ar(function(){},\"length\",{value:8}).length!==8}),Gc=String(String).split(\"String\"),Uc=Qs.exports=function(e,r,t){String(r).slice(0,7)===\"Symbol(\"&&(r=\"[\"+String(r).replace(/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),t&&t.getter&&(r=\"get \"+r),t&&t.setter&&(r=\"set \"+r),(!Fr(e,\"name\")||Rc&&e.name!==r)&&(Fn?Ar(e,\"name\",{value:r,configurable:!0}):e.name=r),Hc&&t&&Fr(t,\"arity\")&&e.length!==t.arity&&Ar(e,\"length\",{value:t.arity});try{t&&Fr(t,\"constructor\")&&t.constructor?Fn&&Ar(e,\"prototype\",{writable:!1}):e.prototype&&(e.prototype=void 0);}catch{}var s=Vc(e);return Fr(s,\"source\")||(s.source=Gc.join(typeof r==\"string\"?r:\"\")),e};Function.prototype.toString=Uc(function(){return Mc(this)&&Wc(this).source||$c(this)},\"toString\");}),ei=xe((Z0,Zs)=>{var Jc=ot(),zc=kt(),Xc=An(),Kc=dr();Zs.exports=function(e,r,t,s){s||(s={});var a=s.enumerable,n=s.name!==void 0?s.name:r;if(Jc(t)&&Xc(t,n,s),s.global)a?e[r]=t:Kc(r,t);else {try{s.unsafe?e[r]&&(a=!0):delete e[r];}catch{}a?e[r]=t:zc.f(e,r,{value:t,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable});}return e};}),ri=xe((ey,ti)=>{var Yc=Math.ceil,Qc=Math.floor;ti.exports=Math.trunc||function(r){var t=+r;return (t>0?Qc:Yc)(t)};}),Sr=xe((ty,ni)=>{var Zc=ri();ni.exports=function(e){var r=+e;return r!==r||r===0?0:Zc(r)};}),si=xe((ry,ui)=>{var ep=Sr(),tp=Math.max,rp=Math.min;ui.exports=function(e,r){var t=ep(e);return t<0?tp(t+r,0):rp(t,r)};}),ai=xe((ny,ii)=>{var np=Sr(),up=Math.min;ii.exports=function(e){return e>0?up(np(e),9007199254740991):0};}),Lt=xe((uy,oi)=>{var sp=ai();oi.exports=function(e){return sp(e.length)};}),pi=xe((sy,ci)=>{var ip=pr(),ap=si(),op=Lt(),li=function(e){return function(r,t,s){var a=ip(r),n=op(a),u=ap(s,n),i;if(e&&t!=t){for(;n>u;)if(i=a[u++],i!=i)return !0}else for(;n>u;u++)if((e||u in a)&&a[u]===t)return e||u||0;return !e&&-1}};ci.exports={includes:li(!0),indexOf:li(!1)};}),mi=xe((iy,Di)=>{var lp=mt(),Sn=Ct(),cp=pr(),pp=pi().indexOf,fp=hn(),fi=lp([].push);Di.exports=function(e,r){var t=cp(e),s=0,a=[],n;for(n in t)!Sn(fp,n)&&Sn(t,n)&&fi(a,n);for(;r.length>s;)Sn(t,n=r[s++])&&(~pp(a,n)||fi(a,n));return a};}),gi=xe((ay,di)=>{di.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"];}),hi=xe(yi=>{var Dp=mi(),mp=gi(),dp=mp.concat(\"length\",\"prototype\");yi.f=Object.getOwnPropertyNames||function(r){return Dp(r,dp)};}),Ci=xe(vi=>{vi.f=Object.getOwnPropertySymbols;}),Fi=xe((cy,Ei)=>{var gp=Wt(),yp=mt(),hp=hi(),vp=Ci(),Cp=Tt(),Ep=yp([].concat);Ei.exports=gp(\"Reflect\",\"ownKeys\")||function(r){var t=hp.f(Cp(r)),s=vp.f;return s?Ep(t,s(r)):t};}),xi=xe((py,Si)=>{var Ai=Ct(),Fp=Fi(),Ap=on(),Sp=kt();Si.exports=function(e,r,t){for(var s=Fp(r),a=Sp.f,n=Ap.f,u=0;u{var xp=Dt(),bp=ot(),Tp=/#|\\.prototype\\./,Ut=function(e,r){var t=Np[Bp(e)];return t==_p?!0:t==wp?!1:bp(r)?xp(r):!!r},Bp=Ut.normalize=function(e){return String(e).replace(Tp,\".\").toLowerCase()},Np=Ut.data={},wp=Ut.NATIVE=\"N\",_p=Ut.POLYFILL=\"P\";bi.exports=Ut;}),Jt=xe((Dy,Bi)=>{var xn=pt(),Pp=on().f,Ip=Dn(),kp=ei(),Lp=dr(),Op=xi(),jp=Ti();Bi.exports=function(e,r){var t=e.target,s=e.global,a=e.stat,n,u,i,l,p,y;if(s?u=xn:a?u=xn[t]||Lp(t,{}):u=(xn[t]||{}).prototype,u)for(i in r){if(p=r[i],e.dontCallGetSet?(y=Pp(u,i),l=y&&y.value):l=u[i],n=jp(s?i:t+(a?\".\":\"#\")+i,e.forced),!n&&l!==void 0){if(typeof p==typeof l)continue;Op(p,l);}(e.sham||l&&l.sham)&&Ip(p,\"sham\",!0),kp(u,i,p,e);}};}),bn=xe((my,Ni)=>{var qp=Vt();Ni.exports=Array.isArray||function(r){return qp(r)==\"Array\"};}),_i=xe((dy,wi)=>{var Mp=TypeError,Rp=9007199254740991;wi.exports=function(e){if(e>Rp)throw Mp(\"Maximum allowed index exceeded\");return e};}),Ii=xe((gy,Pi)=>{var $p=Vt(),Vp=mt();Pi.exports=function(e){if($p(e)===\"Function\")return Vp(e)};}),Tn=xe((yy,Li)=>{var ki=Ii(),Wp=Ht(),Hp=ar(),Gp=ki(ki.bind);Li.exports=function(e,r){return Wp(e),r===void 0?e:Hp?Gp(e,r):function(){return e.apply(r,arguments)}};}),Bn=xe((hy,ji)=>{var Up=bn(),Jp=Lt(),zp=_i(),Xp=Tn(),Oi=function(e,r,t,s,a,n,u,i){for(var l=a,p=0,y=u?Xp(u,i):!1,h,g;p0&&Up(h)?(g=Jp(h),l=Oi(e,r,h,g,l,n-1)-1):(zp(l+1),e[l]=h),l++),p++;return l};ji.exports=Oi;}),Ri=xe((vy,Mi)=>{var Kp=bt(),Yp=Kp(\"toStringTag\"),qi={};qi[Yp]=\"z\",Mi.exports=String(qi)===\"[object z]\";}),Nn=xe((Cy,$i)=>{var Qp=Ri(),Zp=ot(),xr=Vt(),ef=bt(),tf=ef(\"toStringTag\"),rf=Object,nf=xr(function(){return arguments}())==\"Arguments\",uf=function(e,r){try{return e[r]}catch{}};$i.exports=Qp?xr:function(e){var r,t,s;return e===void 0?\"Undefined\":e===null?\"Null\":typeof(t=uf(r=rf(e),tf))==\"string\"?t:nf?xr(r):(s=xr(r))==\"Object\"&&Zp(r.callee)?\"Arguments\":s};}),Ji=xe((Ey,Ui)=>{var sf=mt(),af=Dt(),Vi=ot(),of=Nn(),lf=Wt(),cf=yn(),Wi=function(){},pf=[],Hi=lf(\"Reflect\",\"construct\"),wn=/^\\s*(?:class|function)\\b/,ff=sf(wn.exec),Df=!wn.exec(Wi),zt=function(r){if(!Vi(r))return !1;try{return Hi(Wi,pf,r),!0}catch{return !1}},Gi=function(r){if(!Vi(r))return !1;switch(of(r)){case\"AsyncFunction\":case\"GeneratorFunction\":case\"AsyncGeneratorFunction\":return !1}try{return Df||!!ff(wn,cf(r))}catch{return !0}};Gi.sham=!0,Ui.exports=!Hi||af(function(){var e;return zt(zt.call)||!zt(Object)||!zt(function(){e=!0;})||e})?Gi:zt;}),Yi=xe((Fy,Ki)=>{var zi=bn(),mf=Ji(),df=St(),gf=bt(),yf=gf(\"species\"),Xi=Array;Ki.exports=function(e){var r;return zi(e)&&(r=e.constructor,mf(r)&&(r===Xi||zi(r.prototype))?r=void 0:df(r)&&(r=r[yf],r===null&&(r=void 0))),r===void 0?Xi:r};}),_n=xe((Ay,Qi)=>{var hf=Yi();Qi.exports=function(e,r){return new(hf(e))(r===0?0:r)};}),Zi=xe(()=>{var vf=Jt(),Cf=Bn(),Ef=Ht(),Ff=yr(),Af=Lt(),Sf=_n();vf({target:\"Array\",proto:!0},{flatMap:function(r){var t=Ff(this),s=Af(t),a;return Ef(r),a=Sf(t,0),a.length=Cf(a,t,t,s,0,1,r,arguments.length>1?arguments[1]:void 0),a}});}),Pn=xe((by,ea)=>{ea.exports={};}),ra=xe((Ty,ta)=>{var xf=bt(),bf=Pn(),Tf=xf(\"iterator\"),Bf=Array.prototype;ta.exports=function(e){return e!==void 0&&(bf.Array===e||Bf[Tf]===e)};}),In=xe((By,ua)=>{var Nf=Nn(),na=mr(),wf=cr(),_f=Pn(),Pf=bt(),If=Pf(\"iterator\");ua.exports=function(e){if(!wf(e))return na(e,If)||na(e,\"@@iterator\")||_f[Nf(e)]};}),ia=xe((Ny,sa)=>{var kf=At(),Lf=Ht(),Of=Tt(),jf=Dr(),qf=In(),Mf=TypeError;sa.exports=function(e,r){var t=arguments.length<2?qf(e):r;if(Lf(t))return Of(kf(t,e));throw Mf(jf(e)+\" is not iterable\")};}),la=xe((wy,oa)=>{var Rf=At(),aa=Tt(),$f=mr();oa.exports=function(e,r,t){var s,a;aa(e);try{if(s=$f(e,\"return\"),!s){if(r===\"throw\")throw t;return t}s=Rf(s,e);}catch(n){a=!0,s=n;}if(r===\"throw\")throw t;if(a)throw s;return aa(s),t};}),ma=xe((_y,Da)=>{var Vf=Tn(),Wf=At(),Hf=Tt(),Gf=Dr(),Uf=ra(),Jf=Lt(),ca=Xr(),zf=ia(),Xf=In(),pa=la(),Kf=TypeError,br=function(e,r){this.stopped=e,this.result=r;},fa=br.prototype;Da.exports=function(e,r,t){var s=t&&t.that,a=!!(t&&t.AS_ENTRIES),n=!!(t&&t.IS_RECORD),u=!!(t&&t.IS_ITERATOR),i=!!(t&&t.INTERRUPTED),l=Vf(r,s),p,y,h,g,c,f,F,_=function(E){return p&&pa(p,\"normal\",E),new br(!0,E)},w=function(E){return a?(Hf(E),i?l(E[0],E[1],_):l(E[0],E[1])):i?l(E,_):l(E)};if(n)p=e.iterator;else if(u)p=e;else {if(y=Xf(e),!y)throw Kf(Gf(e)+\" is not iterable\");if(Uf(y)){for(h=0,g=Jf(e);g>h;h++)if(c=w(e[h]),c&&ca(fa,c))return c;return new br(!1)}p=zf(e,y);}for(f=n?e.next:p.next;!(F=Wf(f,p)).done;){try{c=w(F.value);}catch(E){pa(p,\"throw\",E);}if(typeof c==\"object\"&&c&&ca(fa,c))return c}return new br(!1)};}),ga=xe((Py,da)=>{var Yf=hr(),Qf=kt(),Zf=lr();da.exports=function(e,r,t){var s=Yf(r);s in e?Qf.f(e,s,Zf(0,t)):e[s]=t;};}),ya=xe(()=>{var eD=Jt(),tD=ma(),rD=ga();eD({target:\"Object\",stat:!0},{fromEntries:function(r){var t={};return tD(r,function(s,a){rD(t,s,a);},{AS_ENTRIES:!0}),t}});}),Ca=xe((Ly,va)=>{var ha=An(),nD=kt();va.exports=function(e,r,t){return t.get&&ha(t.get,r,{getter:!0}),t.set&&ha(t.set,r,{setter:!0}),nD.f(e,r,t)};}),Fa=xe((Oy,Ea)=>{var uD=Tt();Ea.exports=function(){var e=uD(this),r=\"\";return e.hasIndices&&(r+=\"d\"),e.global&&(r+=\"g\"),e.ignoreCase&&(r+=\"i\"),e.multiline&&(r+=\"m\"),e.dotAll&&(r+=\"s\"),e.unicode&&(r+=\"u\"),e.unicodeSets&&(r+=\"v\"),e.sticky&&(r+=\"y\"),r};}),xa=xe(()=>{var sD=pt(),iD=yt(),aD=Ca(),oD=Fa(),lD=Dt(),Aa=sD.RegExp,Sa=Aa.prototype,cD=iD&&lD(function(){var e=!0;try{Aa(\".\",\"d\");}catch{e=!1;}var r={},t=\"\",s=e?\"dgimsy\":\"gimsy\",a=function(l,p){Object.defineProperty(r,l,{get:function(){return t+=p,!0}});},n={dotAll:\"s\",global:\"g\",ignoreCase:\"i\",multiline:\"m\",sticky:\"y\"};e&&(n.hasIndices=\"d\");for(var u in n)a(u,n[u]);var i=Object.getOwnPropertyDescriptor(Sa,\"flags\").get.call(r);return i!==s||t!==s});cD&&aD(Sa,\"flags\",{configurable:!0,get:oD});}),ba=xe(()=>{var pD=Jt(),kn=pt();pD({global:!0,forced:kn.globalThis!==kn},{globalThis:kn});}),Ta=xe(()=>{ba();}),Ba=xe(()=>{var fD=Jt(),DD=Bn(),mD=yr(),dD=Lt(),gD=Sr(),yD=_n();fD({target:\"Array\",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,t=mD(this),s=dD(t),a=yD(t,0);return a.length=DD(a,t,t,s,0,r===void 0?1:gD(r)),a}});}),e0=xe((Uy,jo)=>{var hD=[\"cliName\",\"cliCategory\",\"cliDescription\"],vD=[\"_\"],CD=[\"languageId\"];function Hn(e,r){if(e==null)return {};var t=ED(e,r),s,a;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,s)&&(t[s]=e[s]);}return t}function ED(e,r){if(e==null)return {};var t={},s=Object.keys(e),a,n;for(n=0;n=0)&&(t[a]=e[a]);return t}Zi(),ya(),xa(),Ta(),Ba();var FD=Object.create,_r=Object.defineProperty,AD=Object.getOwnPropertyDescriptor,Gn=Object.getOwnPropertyNames,SD=Object.getPrototypeOf,xD=Object.prototype.hasOwnProperty,ht=(e,r)=>function(){return e&&(r=(0, e[Gn(e)[0]])(e=0)),r},te=(e,r)=>function(){return r||(0, e[Gn(e)[0]])((r={exports:{}}).exports,r),r.exports},Kt=(e,r)=>{for(var t in r)_r(e,t,{get:r[t],enumerable:!0});},Pa=(e,r,t,s)=>{if(r&&typeof r==\"object\"||typeof r==\"function\")for(let a of Gn(r))!xD.call(e,a)&&a!==t&&_r(e,a,{get:()=>r[a],enumerable:!(s=AD(r,a))||s.enumerable});return e},bD=(e,r,t)=>(t=e!=null?FD(SD(e)):{},Pa(r||!e||!e.__esModule?_r(t,\"default\",{value:e,enumerable:!0}):t,e)),ft=e=>Pa(_r({},\"__esModule\",{value:!0}),e),wt,ne=ht({\"\"(){wt={env:{},argv:[]};}}),Ia=te({\"package.json\"(e,r){r.exports={version:\"2.8.7\"};}}),TD=te({\"node_modules/diff/lib/diff/base.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=r;function r(){}r.prototype={diff:function(n,u){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=i.callback;typeof i==\"function\"&&(l=i,i={}),this.options=i;var p=this;function y(N){return l?(setTimeout(function(){l(void 0,N);},0),!0):N}n=this.castInput(n),u=this.castInput(u),n=this.removeEmpty(this.tokenize(n)),u=this.removeEmpty(this.tokenize(u));var h=u.length,g=n.length,c=1,f=h+g,F=[{newPos:-1,components:[]}],_=this.extractCommon(F[0],u,n,0);if(F[0].newPos+1>=h&&_+1>=g)return y([{value:this.join(u),count:u.length}]);function w(){for(var N=-1*c;N<=c;N+=2){var x=void 0,I=F[N-1],P=F[N+1],$=(P?P.newPos:0)-N;I&&(F[N-1]=void 0);var D=I&&I.newPos+1=h&&$+1>=g)return y(t(p,x.components,u,n,p.useLongestToken));F[N]=x;}c++;}if(l)(function N(){setTimeout(function(){if(c>f)return l();w()||N();},0);})();else for(;c<=f;){var E=w();if(E)return E}},pushComponent:function(n,u,i){var l=n[n.length-1];l&&l.added===u&&l.removed===i?n[n.length-1]={count:l.count+1,added:u,removed:i}:n.push({count:1,added:u,removed:i});},extractCommon:function(n,u,i,l){for(var p=u.length,y=i.length,h=n.newPos,g=h-l,c=0;h+1w.length?N:w}),c.value=a.join(f);}else c.value=a.join(u.slice(h,h+c.count));h+=c.count,c.added||(g+=c.count);}}var _=n[y-1];return y>1&&typeof _.value==\"string\"&&(_.added||_.removed)&&a.equals(\"\",_.value)&&(n[y-2].value+=_.value,n.pop()),n}function s(a){return {newPos:a.newPos,components:a.components.slice(0)}}}}),BD=te({\"node_modules/diff/lib/diff/array.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0}),e.diffArrays=a,e.arrayDiff=void 0;var r=t(TD());function t(n){return n&&n.__esModule?n:{default:n}}var s=new r.default;e.arrayDiff=s,s.tokenize=function(n){return n.slice()},s.join=s.removeEmpty=function(n){return n};function a(n,u,i){return s.diff(n,u,i)}}}),Un=te({\"src/document/doc-builders.js\"(e,r){ne();function t(C){return {type:\"concat\",parts:C}}function s(C){return {type:\"indent\",contents:C}}function a(C,o){return {type:\"align\",contents:o,n:C}}function n(C){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return {type:\"group\",id:o.id,contents:C,break:Boolean(o.shouldBreak),expandedStates:o.expandedStates}}function u(C){return a(Number.NEGATIVE_INFINITY,C)}function i(C){return a({type:\"root\"},C)}function l(C){return a(-1,C)}function p(C,o){return n(C[0],Object.assign(Object.assign({},o),{},{expandedStates:C}))}function y(C){return {type:\"fill\",parts:C}}function h(C,o){let d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return {type:\"if-break\",breakContents:C,flatContents:o,groupId:d.groupId}}function g(C,o){return {type:\"indent-if-break\",contents:C,groupId:o.groupId,negate:o.negate}}function c(C){return {type:\"line-suffix\",contents:C}}var f={type:\"line-suffix-boundary\"},F={type:\"break-parent\"},_={type:\"trim\"},w={type:\"line\",hard:!0},E={type:\"line\",hard:!0,literal:!0},N={type:\"line\"},x={type:\"line\",soft:!0},I=t([w,F]),P=t([E,F]),$={type:\"cursor\",placeholder:Symbol(\"cursor\")};function D(C,o){let d=[];for(let v=0;v0){for(let S=0;S=0?u.charAt(i+1)===`\n`?\"crlf\":\"cr\":\"lf\"}function s(u){switch(u){case\"cr\":return \"\\r\";case\"crlf\":return `\\r\n`;default:return `\n`}}function a(u,i){let l;switch(i){case`\n`:l=/\\n/g;break;case\"\\r\":l=/\\r/g;break;case`\\r\n`:l=/\\r\\n/g;break;default:throw new Error(`Unexpected \"eol\" ${JSON.stringify(i)}.`)}let p=u.match(l);return p?p.length:0}function n(u){return u.replace(/\\r\\n?/g,`\n`)}r.exports={guessEndOfLine:t,convertEndOfLineToChars:s,countEndOfLineChars:a,normalizeEndOfLine:n};}}),lt=te({\"src/utils/get-last.js\"(e,r){ne();var t=s=>s[s.length-1];r.exports=t;}});function ND(){let{onlyFirst:e=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(r,e?void 0:\"g\")}var wD=ht({\"node_modules/strip-ansi/node_modules/ansi-regex/index.js\"(){ne();}});function _D(e){if(typeof e!=\"string\")throw new TypeError(`Expected a \\`string\\`, got \\`${typeof e}\\``);return e.replace(ND(),\"\")}var PD=ht({\"node_modules/strip-ansi/index.js\"(){ne(),wD();}});function ID(e){return Number.isInteger(e)?e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141):!1}var kD=ht({\"node_modules/is-fullwidth-code-point/index.js\"(){ne();}}),LD=te({\"node_modules/emoji-regex/index.js\"(e,r){ne(),r.exports=function(){return /\\uD83C\\uDFF4\\uDB40\\uDC67\\uDB40\\uDC62(?:\\uDB40\\uDC77\\uDB40\\uDC6C\\uDB40\\uDC73|\\uDB40\\uDC73\\uDB40\\uDC63\\uDB40\\uDC74|\\uDB40\\uDC65\\uDB40\\uDC6E\\uDB40\\uDC67)\\uDB40\\uDC7F|(?:\\uD83E\\uDDD1\\uD83C\\uDFFF\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFF\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFE])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFE\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFE\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFD\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFD\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFC\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFC\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFB\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFC-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C\\uDFFB(?:\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF]))|\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFC-\\uDFFF])|[\\u2695\\u2696\\u2708]\\uFE0F|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))?|(?:\\uD83C[\\uDFFC-\\uDFFF])\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF]))|\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83D\\uDC68|(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFE])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])\\uFE0F|\\u200D(?:(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83D[\\uDC66\\uDC67])|\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC)?|(?:\\uD83D\\uDC69(?:\\uD83C\\uDFFB\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|(?:\\uD83C[\\uDFFC-\\uDFFF])\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69]))|\\uD83E\\uDDD1(?:\\uD83C[\\uDFFB-\\uDFFF])\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1)(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC69(?:\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83E\\uDDD1(?:\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|(?:\\uD83D\\uDC41\\uFE0F\\u200D\\uD83D\\uDDE8|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|\\uD83D\\uDC69(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|\\uD83D\\uDE36\\u200D\\uD83C\\uDF2B|\\uD83C\\uDFF3\\uFE0F\\u200D\\u26A7|\\uD83D\\uDC3B\\u200D\\u2744|(?:(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF])\\u200D[\\u2640\\u2642]|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])\\u200D[\\u2640\\u2642]|\\uD83C\\uDFF4\\u200D\\u2620|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])\\u200D[\\u2640\\u2642]|[\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u2328\\u23CF\\u23ED-\\u23EF\\u23F1\\u23F2\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB\\u25FC\\u2600-\\u2604\\u260E\\u2611\\u2618\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u2692\\u2694-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A7\\u26B0\\u26B1\\u26C8\\u26CF\\u26D1\\u26D3\\u26E9\\u26F0\\u26F1\\u26F4\\u26F7\\u26F8\\u2702\\u2708\\u2709\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2733\\u2734\\u2744\\u2747\\u2763\\u27A1\\u2934\\u2935\\u2B05-\\u2B07\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDE02\\uDE37\\uDF21\\uDF24-\\uDF2C\\uDF36\\uDF7D\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E\\uDF9F\\uDFCD\\uDFCE\\uDFD4-\\uDFDF\\uDFF5\\uDFF7]|\\uD83D[\\uDC3F\\uDCFD\\uDD49\\uDD4A\\uDD6F\\uDD70\\uDD73\\uDD76-\\uDD79\\uDD87\\uDD8A-\\uDD8D\\uDDA5\\uDDA8\\uDDB1\\uDDB2\\uDDBC\\uDDC2-\\uDDC4\\uDDD1-\\uDDD3\\uDDDC-\\uDDDE\\uDDE1\\uDDE3\\uDDE8\\uDDEF\\uDDF3\\uDDFA\\uDECB\\uDECD-\\uDECF\\uDEE0-\\uDEE5\\uDEE9\\uDEF0\\uDEF3])\\uFE0F|\\uD83C\\uDFF3\\uFE0F\\u200D\\uD83C\\uDF08|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66|\\uD83D\\uDE35\\u200D\\uD83D\\uDCAB|\\uD83D\\uDE2E\\u200D\\uD83D\\uDCA8|\\uD83D\\uDC15\\u200D\\uD83E\\uDDBA|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC|\\uD83C\\uDFFB)?|\\uD83D\\uDC69(?:\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC|\\uD83C\\uDFFB)?|\\uD83C\\uDDFD\\uD83C\\uDDF0|\\uD83C\\uDDF6\\uD83C\\uDDE6|\\uD83C\\uDDF4\\uD83C\\uDDF2|\\uD83D\\uDC08\\u200D\\u2B1B|\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDD25|\\uD83E\\uDE79)|\\uD83D\\uDC41\\uFE0F|\\uD83C\\uDFF3\\uFE0F|\\uD83C\\uDDFF(?:\\uD83C[\\uDDE6\\uDDF2\\uDDFC])|\\uD83C\\uDDFE(?:\\uD83C[\\uDDEA\\uDDF9])|\\uD83C\\uDDFC(?:\\uD83C[\\uDDEB\\uDDF8])|\\uD83C\\uDDFB(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDEE\\uDDF3\\uDDFA])|\\uD83C\\uDDFA(?:\\uD83C[\\uDDE6\\uDDEC\\uDDF2\\uDDF3\\uDDF8\\uDDFE\\uDDFF])|\\uD83C\\uDDF9(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDED\\uDDEF-\\uDDF4\\uDDF7\\uDDF9\\uDDFB\\uDDFC\\uDDFF])|\\uD83C\\uDDF8(?:\\uD83C[\\uDDE6-\\uDDEA\\uDDEC-\\uDDF4\\uDDF7-\\uDDF9\\uDDFB\\uDDFD-\\uDDFF])|\\uD83C\\uDDF7(?:\\uD83C[\\uDDEA\\uDDF4\\uDDF8\\uDDFA\\uDDFC])|\\uD83C\\uDDF5(?:\\uD83C[\\uDDE6\\uDDEA-\\uDDED\\uDDF0-\\uDDF3\\uDDF7-\\uDDF9\\uDDFC\\uDDFE])|\\uD83C\\uDDF3(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA-\\uDDEC\\uDDEE\\uDDF1\\uDDF4\\uDDF5\\uDDF7\\uDDFA\\uDDFF])|\\uD83C\\uDDF2(?:\\uD83C[\\uDDE6\\uDDE8-\\uDDED\\uDDF0-\\uDDFF])|\\uD83C\\uDDF1(?:\\uD83C[\\uDDE6-\\uDDE8\\uDDEE\\uDDF0\\uDDF7-\\uDDFB\\uDDFE])|\\uD83C\\uDDF0(?:\\uD83C[\\uDDEA\\uDDEC-\\uDDEE\\uDDF2\\uDDF3\\uDDF5\\uDDF7\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDEF(?:\\uD83C[\\uDDEA\\uDDF2\\uDDF4\\uDDF5])|\\uD83C\\uDDEE(?:\\uD83C[\\uDDE8-\\uDDEA\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9])|\\uD83C\\uDDED(?:\\uD83C[\\uDDF0\\uDDF2\\uDDF3\\uDDF7\\uDDF9\\uDDFA])|\\uD83C\\uDDEC(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEE\\uDDF1-\\uDDF3\\uDDF5-\\uDDFA\\uDDFC\\uDDFE])|\\uD83C\\uDDEB(?:\\uD83C[\\uDDEE-\\uDDF0\\uDDF2\\uDDF4\\uDDF7])|\\uD83C\\uDDEA(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDED\\uDDF7-\\uDDFA])|\\uD83C\\uDDE9(?:\\uD83C[\\uDDEA\\uDDEC\\uDDEF\\uDDF0\\uDDF2\\uDDF4\\uDDFF])|\\uD83C\\uDDE8(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDEE\\uDDF0-\\uDDF5\\uDDF7\\uDDFA-\\uDDFF])|\\uD83C\\uDDE7(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEF\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9\\uDDFB\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDE6(?:\\uD83C[\\uDDE8-\\uDDEC\\uDDEE\\uDDF1\\uDDF2\\uDDF4\\uDDF6-\\uDDFA\\uDDFC\\uDDFD\\uDDFF])|[#\\*0-9]\\uFE0F\\u20E3|\\u2764\\uFE0F|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])|\\uD83C\\uDFF4|(?:[\\u270A\\u270B]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66\\uDC67\\uDC6B-\\uDC6D\\uDC72\\uDC74-\\uDC76\\uDC78\\uDC7C\\uDC83\\uDC85\\uDC8F\\uDC91\\uDCAA\\uDD7A\\uDD95\\uDD96\\uDE4C\\uDE4F\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:[\\u261D\\u270C\\u270D]|\\uD83D[\\uDD74\\uDD90])(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])|[\\u270A\\u270B]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\uDC08\\uDC15\\uDC3B\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66\\uDC67\\uDC6B-\\uDC6D\\uDC72\\uDC74-\\uDC76\\uDC78\\uDC7C\\uDC83\\uDC85\\uDC8F\\uDC91\\uDCAA\\uDD7A\\uDD95\\uDD96\\uDE2E\\uDE35\\uDE36\\uDE4C\\uDE4F\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5]|\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD]|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF]|[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF84\\uDF86-\\uDF93\\uDFA0-\\uDFC1\\uDFC5\\uDFC6\\uDFC8\\uDFC9\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC07\\uDC09-\\uDC14\\uDC16-\\uDC3A\\uDC3C-\\uDC3E\\uDC40\\uDC44\\uDC45\\uDC51-\\uDC65\\uDC6A\\uDC79-\\uDC7B\\uDC7D-\\uDC80\\uDC84\\uDC88-\\uDC8E\\uDC90\\uDC92-\\uDCA9\\uDCAB-\\uDCFC\\uDCFF-\\uDD3D\\uDD4B-\\uDD4E\\uDD50-\\uDD67\\uDDA4\\uDDFB-\\uDE2D\\uDE2F-\\uDE34\\uDE37-\\uDE44\\uDE48-\\uDE4A\\uDE80-\\uDEA2\\uDEA4-\\uDEB3\\uDEB7-\\uDEBF\\uDEC1-\\uDEC5\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0D\\uDD0E\\uDD10-\\uDD17\\uDD1D\\uDD20-\\uDD25\\uDD27-\\uDD2F\\uDD3A\\uDD3F-\\uDD45\\uDD47-\\uDD76\\uDD78\\uDD7A-\\uDDB4\\uDDB7\\uDDBA\\uDDBC-\\uDDCB\\uDDD0\\uDDE0-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6]|(?:[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u270A\\u270B\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF93\\uDFA0-\\uDFCA\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF4\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC3E\\uDC40\\uDC42-\\uDCFC\\uDCFF-\\uDD3D\\uDD4B-\\uDD4E\\uDD50-\\uDD67\\uDD7A\\uDD95\\uDD96\\uDDA4\\uDDFB-\\uDE4F\\uDE80-\\uDEC5\\uDECC\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD78\\uDD7A-\\uDDCB\\uDDCD-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6])|(?:[#\\*0-9\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u23CF\\u23E9-\\u23F3\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB-\\u25FE\\u2600-\\u2604\\u260E\\u2611\\u2614\\u2615\\u2618\\u261D\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u2648-\\u2653\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u267F\\u2692-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A1\\u26A7\\u26AA\\u26AB\\u26B0\\u26B1\\u26BD\\u26BE\\u26C4\\u26C5\\u26C8\\u26CE\\u26CF\\u26D1\\u26D3\\u26D4\\u26E9\\u26EA\\u26F0-\\u26F5\\u26F7-\\u26FA\\u26FD\\u2702\\u2705\\u2708-\\u270D\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2728\\u2733\\u2734\\u2744\\u2747\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2763\\u2764\\u2795-\\u2797\\u27A1\\u27B0\\u27BF\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B50\\u2B55\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDC04\\uDCCF\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE02\\uDE1A\\uDE2F\\uDE32-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF21\\uDF24-\\uDF93\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E-\\uDFF0\\uDFF3-\\uDFF5\\uDFF7-\\uDFFF]|\\uD83D[\\uDC00-\\uDCFD\\uDCFF-\\uDD3D\\uDD49-\\uDD4E\\uDD50-\\uDD67\\uDD6F\\uDD70\\uDD73-\\uDD7A\\uDD87\\uDD8A-\\uDD8D\\uDD90\\uDD95\\uDD96\\uDDA4\\uDDA5\\uDDA8\\uDDB1\\uDDB2\\uDDBC\\uDDC2-\\uDDC4\\uDDD1-\\uDDD3\\uDDDC-\\uDDDE\\uDDE1\\uDDE3\\uDDE8\\uDDEF\\uDDF3\\uDDFA-\\uDE4F\\uDE80-\\uDEC5\\uDECB-\\uDED2\\uDED5-\\uDED7\\uDEE0-\\uDEE5\\uDEE9\\uDEEB\\uDEEC\\uDEF0\\uDEF3-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD78\\uDD7A-\\uDDCB\\uDDCD-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6])\\uFE0F|(?:[\\u261D\\u26F9\\u270A-\\u270D]|\\uD83C[\\uDF85\\uDFC2-\\uDFC4\\uDFC7\\uDFCA-\\uDFCC]|\\uD83D[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66-\\uDC78\\uDC7C\\uDC81-\\uDC83\\uDC85-\\uDC87\\uDC8F\\uDC91\\uDCAA\\uDD74\\uDD75\\uDD7A\\uDD90\\uDD95\\uDD96\\uDE45-\\uDE47\\uDE4B-\\uDE4F\\uDEA3\\uDEB4-\\uDEB6\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1F\\uDD26\\uDD30-\\uDD39\\uDD3C-\\uDD3E\\uDD77\\uDDB5\\uDDB6\\uDDB8\\uDDB9\\uDDBB\\uDDCD-\\uDDCF\\uDDD1-\\uDDDD])/g};}}),ka={};Kt(ka,{default:()=>OD});function OD(e){if(typeof e!=\"string\"||e.length===0||(e=_D(e),e.length===0))return 0;e=e.replace((0, La.default)(),\" \");let r=0;for(let t=0;t=127&&s<=159||s>=768&&s<=879||(s>65535&&t++,r+=ID(s)?2:1);}return r}var La,jD=ht({\"node_modules/string-width/index.js\"(){ne(),PD(),kD(),La=bD(LD());}}),Oa=te({\"src/utils/get-string-width.js\"(e,r){ne();var t=(jD(),ft(ka)).default,s=/[^\\x20-\\x7F]/;function a(n){return n?s.test(n)?t(n):n.length:0}r.exports=a;}}),Yt=te({\"src/document/doc-utils.js\"(e,r){ne();var t=lt(),{literalline:s,join:a}=Un(),n=o=>Array.isArray(o)||o&&o.type===\"concat\",u=o=>{if(Array.isArray(o))return o;if(o.type!==\"concat\"&&o.type!==\"fill\")throw new Error(\"Expect doc type to be `concat` or `fill`.\");return o.parts},i={};function l(o,d,v,S){let b=[o];for(;b.length>0;){let B=b.pop();if(B===i){v(b.pop());continue}if(v&&b.push(B,i),!d||d(B)!==!1)if(n(B)||B.type===\"fill\"){let k=u(B);for(let M=k.length,R=M-1;R>=0;--R)b.push(k[R]);}else if(B.type===\"if-break\")B.flatContents&&b.push(B.flatContents),B.breakContents&&b.push(B.breakContents);else if(B.type===\"group\"&&B.expandedStates)if(S)for(let k=B.expandedStates.length,M=k-1;M>=0;--M)b.push(B.expandedStates[M]);else b.push(B.contents);else B.contents&&b.push(B.contents);}}function p(o,d){let v=new Map;return S(o);function S(B){if(v.has(B))return v.get(B);let k=b(B);return v.set(B,k),k}function b(B){if(Array.isArray(B))return d(B.map(S));if(B.type===\"concat\"||B.type===\"fill\"){let k=B.parts.map(S);return d(Object.assign(Object.assign({},B),{},{parts:k}))}if(B.type===\"if-break\"){let k=B.breakContents&&S(B.breakContents),M=B.flatContents&&S(B.flatContents);return d(Object.assign(Object.assign({},B),{},{breakContents:k,flatContents:M}))}if(B.type===\"group\"&&B.expandedStates){let k=B.expandedStates.map(S),M=k[0];return d(Object.assign(Object.assign({},B),{},{contents:M,expandedStates:k}))}if(B.contents){let k=S(B.contents);return d(Object.assign(Object.assign({},B),{},{contents:k}))}return d(B)}}function y(o,d,v){let S=v,b=!1;function B(k){let M=d(k);if(M!==void 0&&(b=!0,S=M),b)return !1}return l(o,B),S}function h(o){if(o.type===\"group\"&&o.break||o.type===\"line\"&&o.hard||o.type===\"break-parent\")return !0}function g(o){return y(o,h,!1)}function c(o){if(o.length>0){let d=t(o);!d.expandedStates&&!d.break&&(d.break=\"propagated\");}return null}function f(o){let d=new Set,v=[];function S(B){if(B.type===\"break-parent\"&&c(v),B.type===\"group\"){if(v.push(B),d.has(B))return !1;d.add(B);}}function b(B){B.type===\"group\"&&v.pop().break&&c(v);}l(o,S,b,!0);}function F(o){return o.type===\"line\"&&!o.hard?o.soft?\"\":\" \":o.type===\"if-break\"?o.flatContents||\"\":o}function _(o){return p(o,F)}var w=(o,d)=>o&&o.type===\"line\"&&o.hard&&d&&d.type===\"break-parent\";function E(o){if(!o)return o;if(n(o)||o.type===\"fill\"){let d=u(o);for(;d.length>1&&w(...d.slice(-2));)d.length-=2;if(d.length>0){let v=E(t(d));d[d.length-1]=v;}return Array.isArray(o)?d:Object.assign(Object.assign({},o),{},{parts:d})}switch(o.type){case\"align\":case\"indent\":case\"indent-if-break\":case\"group\":case\"line-suffix\":case\"label\":{let d=E(o.contents);return Object.assign(Object.assign({},o),{},{contents:d})}case\"if-break\":{let d=E(o.breakContents),v=E(o.flatContents);return Object.assign(Object.assign({},o),{},{breakContents:d,flatContents:v})}}return o}function N(o){return E(I(o))}function x(o){switch(o.type){case\"fill\":if(o.parts.every(v=>v===\"\"))return \"\";break;case\"group\":if(!o.contents&&!o.id&&!o.break&&!o.expandedStates)return \"\";if(o.contents.type===\"group\"&&o.contents.id===o.id&&o.contents.break===o.break&&o.contents.expandedStates===o.expandedStates)return o.contents;break;case\"align\":case\"indent\":case\"indent-if-break\":case\"line-suffix\":if(!o.contents)return \"\";break;case\"if-break\":if(!o.flatContents&&!o.breakContents)return \"\";break}if(!n(o))return o;let d=[];for(let v of u(o)){if(!v)continue;let[S,...b]=n(v)?u(v):[v];typeof S==\"string\"&&typeof t(d)==\"string\"?d[d.length-1]+=S:d.push(S),d.push(...b);}return d.length===0?\"\":d.length===1?d[0]:Array.isArray(o)?d:Object.assign(Object.assign({},o),{},{parts:d})}function I(o){return p(o,d=>x(d))}function P(o){let d=[],v=o.filter(Boolean);for(;v.length>0;){let S=v.shift();if(S){if(n(S)){v.unshift(...u(S));continue}if(d.length>0&&typeof t(d)==\"string\"&&typeof S==\"string\"){d[d.length-1]+=S;continue}d.push(S);}}return d}function $(o){return p(o,d=>Array.isArray(d)?P(d):d.parts?Object.assign(Object.assign({},d),{},{parts:P(d.parts)}):d)}function D(o){return p(o,d=>typeof d==\"string\"&&d.includes(`\n`)?T(d):d)}function T(o){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s;return a(d,o.split(`\n`)).parts}function m(o){if(o.type===\"line\")return !0}function C(o){return y(o,m,!1)}r.exports={isConcat:n,getDocParts:u,willBreak:g,traverseDoc:l,findInDoc:y,mapDoc:p,propagateBreaks:f,removeLines:_,stripTrailingHardline:N,normalizeParts:P,normalizeDoc:$,cleanDoc:I,replaceTextEndOfLine:T,replaceEndOfLine:D,canBreak:C};}}),qD=te({\"src/document/doc-printer.js\"(e,r){ne();var{convertEndOfLineToChars:t}=Jn(),s=lt(),a=Oa(),{fill:n,cursor:u,indent:i}=Un(),{isConcat:l,getDocParts:p}=Yt(),y,h=1,g=2;function c(){return {value:\"\",length:0,queue:[]}}function f(x,I){return _(x,{type:\"indent\"},I)}function F(x,I,P){return I===Number.NEGATIVE_INFINITY?x.root||c():I<0?_(x,{type:\"dedent\"},P):I?I.type===\"root\"?Object.assign(Object.assign({},x),{},{root:x}):_(x,{type:typeof I==\"string\"?\"stringAlign\":\"numberAlign\",n:I},P):x}function _(x,I,P){let $=I.type===\"dedent\"?x.queue.slice(0,-1):[...x.queue,I],D=\"\",T=0,m=0,C=0;for(let k of $)switch(k.type){case\"indent\":v(),P.useTabs?o(1):d(P.tabWidth);break;case\"stringAlign\":v(),D+=k.n,T+=k.n.length;break;case\"numberAlign\":m+=1,C+=k.n;break;default:throw new Error(`Unexpected type '${k.type}'`)}return b(),Object.assign(Object.assign({},x),{},{value:D,length:T,queue:$});function o(k){D+=\"\t\".repeat(k),T+=P.tabWidth*k;}function d(k){D+=\" \".repeat(k),T+=k;}function v(){P.useTabs?S():b();}function S(){m>0&&o(m),B();}function b(){C>0&&d(C),B();}function B(){m=0,C=0;}}function w(x){if(x.length===0)return 0;let I=0;for(;x.length>0&&typeof s(x)==\"string\"&&/^[\\t ]*$/.test(s(x));)I+=x.pop().length;if(x.length>0&&typeof s(x)==\"string\"){let P=s(x).replace(/[\\t ]*$/,\"\");I+=s(x).length-P.length,x[x.length-1]=P;}return I}function E(x,I,P,$,D){let T=I.length,m=[x],C=[];for(;P>=0;){if(m.length===0){if(T===0)return !0;m.push(I[--T]);continue}let{mode:o,doc:d}=m.pop();if(typeof d==\"string\")C.push(d),P-=a(d);else if(l(d)||d.type===\"fill\"){let v=p(d);for(let S=v.length-1;S>=0;S--)m.push({mode:o,doc:v[S]});}else switch(d.type){case\"indent\":case\"align\":case\"indent-if-break\":case\"label\":m.push({mode:o,doc:d.contents});break;case\"trim\":P+=w(C);break;case\"group\":{if(D&&d.break)return !1;let v=d.break?h:o,S=d.expandedStates&&v===h?s(d.expandedStates):d.contents;m.push({mode:v,doc:S});break}case\"if-break\":{let S=(d.groupId?y[d.groupId]||g:o)===h?d.breakContents:d.flatContents;S&&m.push({mode:o,doc:S});break}case\"line\":if(o===h||d.hard)return !0;d.soft||(C.push(\" \"),P--);break;case\"line-suffix\":$=!0;break;case\"line-suffix-boundary\":if($)return !1;break}}return !1}function N(x,I){y={};let P=I.printWidth,$=t(I.endOfLine),D=0,T=[{ind:c(),mode:h,doc:x}],m=[],C=!1,o=[];for(;T.length>0;){let{ind:v,mode:S,doc:b}=T.pop();if(typeof b==\"string\"){let B=$!==`\n`?b.replace(/\\n/g,$):b;m.push(B),D+=a(B);}else if(l(b)){let B=p(b);for(let k=B.length-1;k>=0;k--)T.push({ind:v,mode:S,doc:B[k]});}else switch(b.type){case\"cursor\":m.push(u.placeholder);break;case\"indent\":T.push({ind:f(v,I),mode:S,doc:b.contents});break;case\"align\":T.push({ind:F(v,b.n,I),mode:S,doc:b.contents});break;case\"trim\":D-=w(m);break;case\"group\":switch(S){case g:if(!C){T.push({ind:v,mode:b.break?h:g,doc:b.contents});break}case h:{C=!1;let B={ind:v,mode:g,doc:b.contents},k=P-D,M=o.length>0;if(!b.break&&E(B,T,k,M))T.push(B);else if(b.expandedStates){let R=s(b.expandedStates);if(b.break){T.push({ind:v,mode:h,doc:R});break}else for(let q=1;q=b.expandedStates.length){T.push({ind:v,mode:h,doc:R});break}else {let J=b.expandedStates[q],L={ind:v,mode:g,doc:J};if(E(L,T,k,M)){T.push(L);break}}}else T.push({ind:v,mode:h,doc:b.contents});break}}b.id&&(y[b.id]=s(T).mode);break;case\"fill\":{let B=P-D,{parts:k}=b;if(k.length===0)break;let[M,R]=k,q={ind:v,mode:g,doc:M},J={ind:v,mode:h,doc:M},L=E(q,[],B,o.length>0,!0);if(k.length===1){L?T.push(q):T.push(J);break}let Q={ind:v,mode:g,doc:R},V={ind:v,mode:h,doc:R};if(k.length===2){L?T.push(Q,q):T.push(V,J);break}k.splice(0,2);let j={ind:v,mode:S,doc:n(k)},Y=k[0];E({ind:v,mode:g,doc:[M,R,Y]},[],B,o.length>0,!0)?T.push(j,Q,q):L?T.push(j,V,q):T.push(j,V,J);break}case\"if-break\":case\"indent-if-break\":{let B=b.groupId?y[b.groupId]:S;if(B===h){let k=b.type===\"if-break\"?b.breakContents:b.negate?b.contents:i(b.contents);k&&T.push({ind:v,mode:S,doc:k});}if(B===g){let k=b.type===\"if-break\"?b.flatContents:b.negate?i(b.contents):b.contents;k&&T.push({ind:v,mode:S,doc:k});}break}case\"line-suffix\":o.push({ind:v,mode:S,doc:b.contents});break;case\"line-suffix-boundary\":o.length>0&&T.push({ind:v,mode:S,doc:{type:\"line\",hard:!0}});break;case\"line\":switch(S){case g:if(b.hard)C=!0;else {b.soft||(m.push(\" \"),D+=1);break}case h:if(o.length>0){T.push({ind:v,mode:S,doc:b},...o.reverse()),o.length=0;break}b.literal?v.root?(m.push($,v.root.value),D=v.root.length):(m.push($),D=0):(D-=w(m),m.push($+v.value),D=v.length);break}break;case\"label\":T.push({ind:v,mode:S,doc:b.contents});break;}T.length===0&&o.length>0&&(T.push(...o.reverse()),o.length=0);}let d=m.indexOf(u.placeholder);if(d!==-1){let v=m.indexOf(u.placeholder,d+1),S=m.slice(0,d).join(\"\"),b=m.slice(d+1,v).join(\"\"),B=m.slice(v+1).join(\"\");return {formatted:S+b+B,cursorNodeStart:S.length,cursorNodeText:b}}return {formatted:m.join(\"\")}}r.exports={printDocToString:N};}}),MD=te({\"src/document/doc-debug.js\"(e,r){ne();var{isConcat:t,getDocParts:s}=Yt();function a(u){if(!u)return \"\";if(t(u)){let i=[];for(let l of s(u))if(t(l))i.push(...a(l).parts);else {let p=a(l);p!==\"\"&&i.push(p);}return {type:\"concat\",parts:i}}return u.type===\"if-break\"?Object.assign(Object.assign({},u),{},{breakContents:a(u.breakContents),flatContents:a(u.flatContents)}):u.type===\"group\"?Object.assign(Object.assign({},u),{},{contents:a(u.contents),expandedStates:u.expandedStates&&u.expandedStates.map(a)}):u.type===\"fill\"?{type:\"fill\",parts:u.parts.map(a)}:u.contents?Object.assign(Object.assign({},u),{},{contents:a(u.contents)}):u}function n(u){let i=Object.create(null),l=new Set;return p(a(u));function p(h,g,c){if(typeof h==\"string\")return JSON.stringify(h);if(t(h)){let f=s(h).map(p).filter(Boolean);return f.length===1?f[0]:`[${f.join(\", \")}]`}if(h.type===\"line\"){let f=Array.isArray(c)&&c[g+1]&&c[g+1].type===\"break-parent\";return h.literal?f?\"literalline\":\"literallineWithoutBreakParent\":h.hard?f?\"hardline\":\"hardlineWithoutBreakParent\":h.soft?\"softline\":\"line\"}if(h.type===\"break-parent\")return Array.isArray(c)&&c[g-1]&&c[g-1].type===\"line\"&&c[g-1].hard?void 0:\"breakParent\";if(h.type===\"trim\")return \"trim\";if(h.type===\"indent\")return \"indent(\"+p(h.contents)+\")\";if(h.type===\"align\")return h.n===Number.NEGATIVE_INFINITY?\"dedentToRoot(\"+p(h.contents)+\")\":h.n<0?\"dedent(\"+p(h.contents)+\")\":h.n.type===\"root\"?\"markAsRoot(\"+p(h.contents)+\")\":\"align(\"+JSON.stringify(h.n)+\", \"+p(h.contents)+\")\";if(h.type===\"if-break\")return \"ifBreak(\"+p(h.breakContents)+(h.flatContents?\", \"+p(h.flatContents):\"\")+(h.groupId?(h.flatContents?\"\":', \"\"')+`, { groupId: ${y(h.groupId)} }`:\"\")+\")\";if(h.type===\"indent-if-break\"){let f=[];h.negate&&f.push(\"negate: true\"),h.groupId&&f.push(`groupId: ${y(h.groupId)}`);let F=f.length>0?`, { ${f.join(\", \")} }`:\"\";return `indentIfBreak(${p(h.contents)}${F})`}if(h.type===\"group\"){let f=[];h.break&&h.break!==\"propagated\"&&f.push(\"shouldBreak: true\"),h.id&&f.push(`id: ${y(h.id)}`);let F=f.length>0?`, { ${f.join(\", \")} }`:\"\";return h.expandedStates?`conditionalGroup([${h.expandedStates.map(_=>p(_)).join(\",\")}]${F})`:`group(${p(h.contents)}${F})`}if(h.type===\"fill\")return `fill([${h.parts.map(f=>p(f)).join(\", \")}])`;if(h.type===\"line-suffix\")return \"lineSuffix(\"+p(h.contents)+\")\";if(h.type===\"line-suffix-boundary\")return \"lineSuffixBoundary\";if(h.type===\"label\")return `label(${JSON.stringify(h.label)}, ${p(h.contents)})`;throw new Error(\"Unknown doc type \"+h.type)}function y(h){if(typeof h!=\"symbol\")return JSON.stringify(String(h));if(h in i)return i[h];let g=String(h).slice(7,-1)||\"symbol\";for(let c=0;;c++){let f=g+(c>0?` #${c}`:\"\");if(!l.has(f))return l.add(f),i[h]=`Symbol.for(${JSON.stringify(f)})`}}}r.exports={printDocToDebug:n};}}),qe=te({\"src/document/index.js\"(e,r){ne(),r.exports={builders:Un(),printer:qD(),utils:Yt(),debug:MD()};}}),ja={};Kt(ja,{default:()=>RD});function RD(e){if(typeof e!=\"string\")throw new TypeError(\"Expected a string\");return e.replace(/[|\\\\{}()[\\]^$+*?.]/g,\"\\\\$&\").replace(/-/g,\"\\\\x2d\")}var $D=ht({\"node_modules/escape-string-regexp/index.js\"(){ne();}}),qa=te({\"node_modules/semver/internal/debug.js\"(e,r){ne();var t=typeof wt==\"object\"&&wt.env&&wt.env.NODE_DEBUG&&/\\bsemver\\b/i.test(wt.env.NODE_DEBUG)?function(){for(var s=arguments.length,a=new Array(s),n=0;n{};r.exports=t;}}),Ma=te({\"node_modules/semver/internal/constants.js\"(e,r){ne();var t=\"2.0.0\",s=256,a=Number.MAX_SAFE_INTEGER||9007199254740991,n=16;r.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:s,MAX_SAFE_INTEGER:a,MAX_SAFE_COMPONENT_LENGTH:n};}}),VD=te({\"node_modules/semver/internal/re.js\"(e,r){ne();var{MAX_SAFE_COMPONENT_LENGTH:t}=Ma(),s=qa();e=r.exports={};var a=e.re=[],n=e.src=[],u=e.t={},i=0,l=(p,y,h)=>{let g=i++;s(p,g,y),u[p]=g,n[g]=y,a[g]=new RegExp(y,h?\"g\":void 0);};l(\"NUMERICIDENTIFIER\",\"0|[1-9]\\\\d*\"),l(\"NUMERICIDENTIFIERLOOSE\",\"[0-9]+\"),l(\"NONNUMERICIDENTIFIER\",\"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\"),l(\"MAINVERSION\",`(${n[u.NUMERICIDENTIFIER]})\\\\.(${n[u.NUMERICIDENTIFIER]})\\\\.(${n[u.NUMERICIDENTIFIER]})`),l(\"MAINVERSIONLOOSE\",`(${n[u.NUMERICIDENTIFIERLOOSE]})\\\\.(${n[u.NUMERICIDENTIFIERLOOSE]})\\\\.(${n[u.NUMERICIDENTIFIERLOOSE]})`),l(\"PRERELEASEIDENTIFIER\",`(?:${n[u.NUMERICIDENTIFIER]}|${n[u.NONNUMERICIDENTIFIER]})`),l(\"PRERELEASEIDENTIFIERLOOSE\",`(?:${n[u.NUMERICIDENTIFIERLOOSE]}|${n[u.NONNUMERICIDENTIFIER]})`),l(\"PRERELEASE\",`(?:-(${n[u.PRERELEASEIDENTIFIER]}(?:\\\\.${n[u.PRERELEASEIDENTIFIER]})*))`),l(\"PRERELEASELOOSE\",`(?:-?(${n[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${n[u.PRERELEASEIDENTIFIERLOOSE]})*))`),l(\"BUILDIDENTIFIER\",\"[0-9A-Za-z-]+\"),l(\"BUILD\",`(?:\\\\+(${n[u.BUILDIDENTIFIER]}(?:\\\\.${n[u.BUILDIDENTIFIER]})*))`),l(\"FULLPLAIN\",`v?${n[u.MAINVERSION]}${n[u.PRERELEASE]}?${n[u.BUILD]}?`),l(\"FULL\",`^${n[u.FULLPLAIN]}$`),l(\"LOOSEPLAIN\",`[v=\\\\s]*${n[u.MAINVERSIONLOOSE]}${n[u.PRERELEASELOOSE]}?${n[u.BUILD]}?`),l(\"LOOSE\",`^${n[u.LOOSEPLAIN]}$`),l(\"GTLT\",\"((?:<|>)?=?)\"),l(\"XRANGEIDENTIFIERLOOSE\",`${n[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`),l(\"XRANGEIDENTIFIER\",`${n[u.NUMERICIDENTIFIER]}|x|X|\\\\*`),l(\"XRANGEPLAIN\",`[v=\\\\s]*(${n[u.XRANGEIDENTIFIER]})(?:\\\\.(${n[u.XRANGEIDENTIFIER]})(?:\\\\.(${n[u.XRANGEIDENTIFIER]})(?:${n[u.PRERELEASE]})?${n[u.BUILD]}?)?)?`),l(\"XRANGEPLAINLOOSE\",`[v=\\\\s]*(${n[u.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${n[u.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${n[u.XRANGEIDENTIFIERLOOSE]})(?:${n[u.PRERELEASELOOSE]})?${n[u.BUILD]}?)?)?`),l(\"XRANGE\",`^${n[u.GTLT]}\\\\s*${n[u.XRANGEPLAIN]}$`),l(\"XRANGELOOSE\",`^${n[u.GTLT]}\\\\s*${n[u.XRANGEPLAINLOOSE]}$`),l(\"COERCE\",`(^|[^\\\\d])(\\\\d{1,${t}})(?:\\\\.(\\\\d{1,${t}}))?(?:\\\\.(\\\\d{1,${t}}))?(?:$|[^\\\\d])`),l(\"COERCERTL\",n[u.COERCE],!0),l(\"LONETILDE\",\"(?:~>?)\"),l(\"TILDETRIM\",`(\\\\s*)${n[u.LONETILDE]}\\\\s+`,!0),e.tildeTrimReplace=\"$1~\",l(\"TILDE\",`^${n[u.LONETILDE]}${n[u.XRANGEPLAIN]}$`),l(\"TILDELOOSE\",`^${n[u.LONETILDE]}${n[u.XRANGEPLAINLOOSE]}$`),l(\"LONECARET\",\"(?:\\\\^)\"),l(\"CARETTRIM\",`(\\\\s*)${n[u.LONECARET]}\\\\s+`,!0),e.caretTrimReplace=\"$1^\",l(\"CARET\",`^${n[u.LONECARET]}${n[u.XRANGEPLAIN]}$`),l(\"CARETLOOSE\",`^${n[u.LONECARET]}${n[u.XRANGEPLAINLOOSE]}$`),l(\"COMPARATORLOOSE\",`^${n[u.GTLT]}\\\\s*(${n[u.LOOSEPLAIN]})$|^$`),l(\"COMPARATOR\",`^${n[u.GTLT]}\\\\s*(${n[u.FULLPLAIN]})$|^$`),l(\"COMPARATORTRIM\",`(\\\\s*)${n[u.GTLT]}\\\\s*(${n[u.LOOSEPLAIN]}|${n[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace=\"$1$2$3\",l(\"HYPHENRANGE\",`^\\\\s*(${n[u.XRANGEPLAIN]})\\\\s+-\\\\s+(${n[u.XRANGEPLAIN]})\\\\s*$`),l(\"HYPHENRANGELOOSE\",`^\\\\s*(${n[u.XRANGEPLAINLOOSE]})\\\\s+-\\\\s+(${n[u.XRANGEPLAINLOOSE]})\\\\s*$`),l(\"STAR\",\"(<|>)?=?\\\\s*\\\\*\"),l(\"GTE0\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$\"),l(\"GTE0PRE\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$\");}}),WD=te({\"node_modules/semver/internal/parse-options.js\"(e,r){ne();var t=[\"includePrerelease\",\"loose\",\"rtl\"],s=a=>a?typeof a!=\"object\"?{loose:!0}:t.filter(n=>a[n]).reduce((n,u)=>(n[u]=!0,n),{}):{};r.exports=s;}}),HD=te({\"node_modules/semver/internal/identifiers.js\"(e,r){ne();var t=/^[0-9]+$/,s=(n,u)=>{let i=t.test(n),l=t.test(u);return i&&l&&(n=+n,u=+u),n===u?0:i&&!l?-1:l&&!i?1:ns(u,n);r.exports={compareIdentifiers:s,rcompareIdentifiers:a};}}),GD=te({\"node_modules/semver/classes/semver.js\"(e,r){ne();var t=qa(),{MAX_LENGTH:s,MAX_SAFE_INTEGER:a}=Ma(),{re:n,t:u}=VD(),i=WD(),{compareIdentifiers:l}=HD(),p=class{constructor(y,h){if(h=i(h),y instanceof p){if(y.loose===!!h.loose&&y.includePrerelease===!!h.includePrerelease)return y;y=y.version;}else if(typeof y!=\"string\")throw new TypeError(`Invalid Version: ${y}`);if(y.length>s)throw new TypeError(`version is longer than ${s} characters`);t(\"SemVer\",y,h),this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease;let g=y.trim().match(h.loose?n[u.LOOSE]:n[u.FULL]);if(!g)throw new TypeError(`Invalid Version: ${y}`);if(this.raw=y,this.major=+g[1],this.minor=+g[2],this.patch=+g[3],this.major>a||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>a||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>a||this.patch<0)throw new TypeError(\"Invalid patch version\");g[4]?this.prerelease=g[4].split(\".\").map(c=>{if(/^[0-9]+$/.test(c)){let f=+c;if(f>=0&&f=0;)typeof this.prerelease[g]==\"number\"&&(this.prerelease[g]++,g=-2);g===-1&&this.prerelease.push(0);}h&&(l(this.prerelease[0],h)===0?isNaN(this.prerelease[1])&&(this.prerelease=[h,0]):this.prerelease=[h,0]);break;default:throw new Error(`invalid increment argument: ${y}`)}return this.format(),this.raw=this.version,this}};r.exports=p;}}),zn=te({\"node_modules/semver/functions/compare.js\"(e,r){ne();var t=GD(),s=(a,n,u)=>new t(a,u).compare(new t(n,u));r.exports=s;}}),UD=te({\"node_modules/semver/functions/lt.js\"(e,r){ne();var t=zn(),s=(a,n,u)=>t(a,n,u)<0;r.exports=s;}}),JD=te({\"node_modules/semver/functions/gte.js\"(e,r){ne();var t=zn(),s=(a,n,u)=>t(a,n,u)>=0;r.exports=s;}}),zD=te({\"src/utils/arrayify.js\"(e,r){ne(),r.exports=(t,s)=>Object.entries(t).map(a=>{let[n,u]=a;return Object.assign({[s]:n},u)});}}),XD=te({\"node_modules/outdent/lib/index.js\"(e,r){ne(),Object.defineProperty(e,\"__esModule\",{value:!0}),e.outdent=void 0;function t(){for(var E=[],N=0;Ntypeof h==\"string\"||typeof h==\"function\",choices:[{value:\"flow\",description:\"Flow\"},{value:\"babel\",since:\"1.16.0\",description:\"JavaScript\"},{value:\"babel-flow\",since:\"1.16.0\",description:\"Flow\"},{value:\"babel-ts\",since:\"2.0.0\",description:\"TypeScript\"},{value:\"typescript\",since:\"1.4.0\",description:\"TypeScript\"},{value:\"acorn\",since:\"2.6.0\",description:\"JavaScript\"},{value:\"espree\",since:\"2.2.0\",description:\"JavaScript\"},{value:\"meriyah\",since:\"2.2.0\",description:\"JavaScript\"},{value:\"css\",since:\"1.7.1\",description:\"CSS\"},{value:\"less\",since:\"1.7.1\",description:\"Less\"},{value:\"scss\",since:\"1.7.1\",description:\"SCSS\"},{value:\"json\",since:\"1.5.0\",description:\"JSON\"},{value:\"json5\",since:\"1.13.0\",description:\"JSON5\"},{value:\"json-stringify\",since:\"1.13.0\",description:\"JSON.stringify\"},{value:\"graphql\",since:\"1.5.0\",description:\"GraphQL\"},{value:\"markdown\",since:\"1.8.0\",description:\"Markdown\"},{value:\"mdx\",since:\"1.15.0\",description:\"MDX\"},{value:\"vue\",since:\"1.10.0\",description:\"Vue\"},{value:\"yaml\",since:\"1.14.0\",description:\"YAML\"},{value:\"glimmer\",since:\"2.3.0\",description:\"Ember / Handlebars\"},{value:\"html\",since:\"1.15.0\",description:\"HTML\"},{value:\"angular\",since:\"1.15.0\",description:\"Angular\"},{value:\"lwc\",since:\"1.17.0\",description:\"Lightning Web Components\"}]},plugins:{since:\"1.10.0\",type:\"path\",array:!0,default:[{value:[]}],category:l,description:\"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.\",exception:h=>typeof h==\"string\"||typeof h==\"object\",cliName:\"plugin\",cliCategory:s},pluginSearchDirs:{since:\"1.13.0\",type:\"path\",array:!0,default:[{value:[]}],category:l,description:t`\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n `,exception:h=>typeof h==\"string\"||typeof h==\"object\",cliName:\"plugin-search-dir\",cliCategory:s},printWidth:{since:\"0.0.0\",category:l,type:\"int\",default:80,description:\"The line length where Prettier will try wrap.\",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:\"1.4.0\",category:p,type:\"int\",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t`\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n `,cliCategory:a},rangeStart:{since:\"1.4.0\",category:p,type:\"int\",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t`\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n `,cliCategory:a},requirePragma:{since:\"1.7.0\",category:p,type:\"boolean\",default:!1,description:t`\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n `,cliCategory:u},tabWidth:{type:\"int\",category:l,default:2,description:\"Number of spaces per indentation level.\",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:\"1.0.0\",category:l,type:\"boolean\",default:!1,description:\"Indent with tabs instead of spaces.\"},embeddedLanguageFormatting:{since:\"2.1.0\",category:l,type:\"choice\",default:[{since:\"2.1.0\",value:\"auto\"}],description:\"Control how Prettier formats quoted code embedded in the file.\",choices:[{value:\"auto\",description:\"Format embedded code if Prettier can automatically identify it.\"},{value:\"off\",description:\"Never automatically format embedded code.\"}]}};r.exports={CATEGORY_CONFIG:s,CATEGORY_EDITOR:a,CATEGORY_FORMAT:n,CATEGORY_OTHER:u,CATEGORY_OUTPUT:i,CATEGORY_GLOBAL:l,CATEGORY_SPECIAL:p,options:y};}}),Xn=te({\"src/main/support.js\"(e,r){ne();var t={compare:zn(),lt:UD(),gte:JD()},s=zD(),a=Ia().version,n=KD().options;function u(){let{plugins:l=[],showUnreleased:p=!1,showDeprecated:y=!1,showInternal:h=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=a.split(\"-\",1)[0],c=l.flatMap(E=>E.languages||[]).filter(F),f=s(Object.assign({},...l.map(E=>{let{options:N}=E;return N}),n),\"name\").filter(E=>F(E)&&_(E)).sort((E,N)=>E.name===N.name?0:E.name{E=Object.assign({},E),Array.isArray(E.default)&&(E.default=E.default.length===1?E.default[0].value:E.default.filter(F).sort((x,I)=>t.compare(I.since,x.since))[0].value),Array.isArray(E.choices)&&(E.choices=E.choices.filter(x=>F(x)&&_(x)),E.name===\"parser\"&&i(E,c,l));let N=Object.fromEntries(l.filter(x=>x.defaultOptions&&x.defaultOptions[E.name]!==void 0).map(x=>[x.name,x.defaultOptions[E.name]]));return Object.assign(Object.assign({},E),{},{pluginDefaults:N})});return {languages:c,options:f};function F(E){return p||!(\"since\"in E)||E.since&&t.gte(g,E.since)}function _(E){return y||!(\"deprecated\"in E)||E.deprecated&&t.lt(g,E.deprecated)}function w(E){if(h)return E;return Hn(E,hD)}}function i(l,p,y){let h=new Set(l.choices.map(g=>g.value));for(let g of p)if(g.parsers){for(let c of g.parsers)if(!h.has(c)){h.add(c);let f=y.find(_=>_.parsers&&_.parsers[c]),F=g.name;f&&f.name&&(F+=` (plugin: ${f.name})`),l.choices.push({value:c,description:F});}}}r.exports={getSupportInfo:u};}}),Kn=te({\"src/utils/is-non-empty-array.js\"(e,r){ne();function t(s){return Array.isArray(s)&&s.length>0}r.exports=t;}}),Pr=te({\"src/utils/text/skip.js\"(e,r){ne();function t(i){return (l,p,y)=>{let h=y&&y.backwards;if(p===!1)return !1;let{length:g}=l,c=p;for(;c>=0&&cV[V.length-2];function _(V){return (j,Y,ie)=>{let ee=ie&&ie.backwards;if(Y===!1)return !1;let{length:ce}=j,W=Y;for(;W>=0&&W2&&arguments[2]!==void 0?arguments[2]:{},ie=l(V,Y.backwards?j-1:j,Y),ee=c(V,ie,Y);return ie!==ee}function E(V,j,Y){for(let ie=j;ie2&&arguments[2]!==void 0?arguments[2]:{};return l(V,Y.backwards?j-1:j,Y)!==j}function T(V,j){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,ie=0;for(let ee=Y;eede?ce:ee;}return W}function o(V,j){let Y=V.slice(1,-1),ie=j.parser===\"json\"||j.parser===\"json5\"&&j.quoteProps===\"preserve\"&&!j.singleQuote?'\"':j.__isInHtmlAttribute?\"'\":C(Y,j.singleQuote?\"'\":'\"').quote;return d(Y,ie,!(j.parser===\"css\"||j.parser===\"less\"||j.parser===\"scss\"||j.__embeddedInHtml))}function d(V,j,Y){let ie=j==='\"'?\"'\":'\"',ee=/\\\\(.)|([\"'])/gs,ce=V.replace(ee,(W,K,de)=>K===ie?K:de===j?\"\\\\\"+de:de||(Y&&/^[^\\n\\r\"'0-7\\\\bfnrt-vx\\u2028\\u2029]$/.test(K)?K:\"\\\\\"+K));return j+ce+j}function v(V){return V.toLowerCase().replace(/^([+-]?[\\d.]+e)(?:\\+|(-))?0*(\\d)/,\"$1$2$3\").replace(/^([+-]?[\\d.]+)e[+-]?0+$/,\"$1\").replace(/^([+-])?\\./,\"$10.\").replace(/(\\.\\d+?)0+(?=e|$)/,\"$1\").replace(/\\.(?=e|$)/,\"\")}function S(V,j){let Y=V.match(new RegExp(`(${t(j)})+`,\"g\"));return Y===null?0:Y.reduce((ie,ee)=>Math.max(ie,ee.length/j.length),0)}function b(V,j){let Y=V.match(new RegExp(`(${t(j)})+`,\"g\"));if(Y===null)return 0;let ie=new Map,ee=0;for(let ce of Y){let W=ce.length/j.length;ie.set(W,!0),W>ee&&(ee=W);}for(let ce=1;ce{let{name:ce}=ee;return ce.toLowerCase()===V})||Y.find(ee=>{let{aliases:ce}=ee;return Array.isArray(ce)&&ce.includes(V)})||Y.find(ee=>{let{extensions:ce}=ee;return Array.isArray(ce)&&ce.includes(`.${V}`)});return ie&&ie.parsers[0]}function J(V){return V&&V.type===\"front-matter\"}function L(V){let j=new WeakMap;return function(Y){return j.has(Y)||j.set(Y,Symbol(V)),j.get(Y)}}function Q(V){let j=V.type||V.kind||\"(unknown type)\",Y=String(V.name||V.id&&(typeof V.id==\"object\"?V.id.name:V.id)||V.key&&(typeof V.key==\"object\"?V.key.name:V.key)||V.value&&(typeof V.value==\"object\"?\"\":String(V.value))||V.operator||\"\");return Y.length>20&&(Y=Y.slice(0,19)+\"\\u2026\"),j+(Y?\" \"+Y:\"\")}r.exports={inferParserByLanguage:q,getStringWidth:u,getMaxContinuousCount:S,getMinNotPresentContinuousCount:b,getPenultimate:F,getLast:s,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:P,getNextNonSpaceNonCommentCharacter:$,skip:_,skipWhitespace:i,skipSpaces:l,skipToLineEnd:p,skipEverythingButNewLine:y,skipInlineComment:h,skipTrailingComment:g,skipNewline:c,isNextLineEmptyAfterIndex:x,isNextLineEmpty:I,isPreviousLineEmpty:N,hasNewline:w,hasNewlineInRange:E,hasSpaces:D,getAlignmentSize:T,getIndentSize:m,getPreferredQuote:C,printString:o,printNumber:v,makeString:d,addLeadingComment:k,addDanglingComment:M,addTrailingComment:R,isFrontMatterNode:J,isNonEmptyArray:n,createGroupIdMapper:L};}}),Wa={};Kt(Wa,{basename:()=>za,default:()=>Ka,delimiter:()=>Mn,dirname:()=>Ja,extname:()=>Xa,isAbsolute:()=>Qn,join:()=>Ga,normalize:()=>Yn,relative:()=>Ua,resolve:()=>wr,sep:()=>qn});function Ha(e,r){for(var t=0,s=e.length-1;s>=0;s--){var a=e[s];a===\".\"?e.splice(s,1):a===\"..\"?(e.splice(s,1),t++):t&&(e.splice(s,1),t--);}if(r)for(;t--;t)e.unshift(\"..\");return e}function wr(){for(var e=\"\",r=!1,t=arguments.length-1;t>=-1&&!r;t--){var s=t>=0?arguments[t]:\"/\";if(typeof s!=\"string\")throw new TypeError(\"Arguments to path.resolve must be strings\");s&&(e=s+\"/\"+e,r=s.charAt(0)===\"/\");}return e=Ha(Zn(e.split(\"/\"),function(a){return !!a}),!r).join(\"/\"),(r?\"/\":\"\")+e||\".\"}function Yn(e){var r=Qn(e),t=Ya(e,-1)===\"/\";return e=Ha(Zn(e.split(\"/\"),function(s){return !!s}),!r).join(\"/\"),!e&&!r&&(e=\".\"),e&&t&&(e+=\"/\"),(r?\"/\":\"\")+e}function Qn(e){return e.charAt(0)===\"/\"}function Ga(){var e=Array.prototype.slice.call(arguments,0);return Yn(Zn(e,function(r,t){if(typeof r!=\"string\")throw new TypeError(\"Arguments to path.join must be strings\");return r}).join(\"/\"))}function Ua(e,r){e=wr(e).substr(1),r=wr(r).substr(1);function t(p){for(var y=0;y=0&&p[h]===\"\";h--);return y>h?[]:p.slice(y,h-y+1)}for(var s=t(e.split(\"/\")),a=t(r.split(\"/\")),n=Math.min(s.length,a.length),u=n,i=0;iNr,__asyncDelegator:()=>fm,__asyncGenerator:()=>pm,__asyncValues:()=>Dm,__await:()=>Xt,__awaiter:()=>sm,__classPrivateFieldGet:()=>ym,__classPrivateFieldSet:()=>hm,__createBinding:()=>am,__decorate:()=>rm,__exportStar:()=>om,__extends:()=>em,__generator:()=>im,__importDefault:()=>gm,__importStar:()=>dm,__makeTemplateObject:()=>mm,__metadata:()=>um,__param:()=>nm,__read:()=>Qa,__rest:()=>tm,__spread:()=>lm,__spreadArrays:()=>cm,__values:()=>Rn});function em(e,r){Br(e,r);function t(){this.constructor=e;}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t);}function tm(e,r){var t={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&r.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var a=0,s=Object.getOwnPropertySymbols(e);a=0;i--)(u=e[i])&&(n=(a<3?u(n):a>3?u(r,t,n):u(r,t))||n);return a>3&&n&&Object.defineProperty(r,t,n),n}function nm(e,r){return function(t,s){r(t,s,e);}}function um(e,r){if(typeof Reflect==\"object\"&&typeof Reflect.metadata==\"function\")return Reflect.metadata(e,r)}function sm(e,r,t,s){function a(n){return n instanceof t?n:new t(function(u){u(n);})}return new(t||(t=Promise))(function(n,u){function i(y){try{p(s.next(y));}catch(h){u(h);}}function l(y){try{p(s.throw(y));}catch(h){u(h);}}function p(y){y.done?n(y.value):a(y.value).then(i,l);}p((s=s.apply(e,r||[])).next());})}function im(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},s,a,n,u;return u={next:i(0),throw:i(1),return:i(2)},typeof Symbol==\"function\"&&(u[Symbol.iterator]=function(){return this}),u;function i(p){return function(y){return l([p,y])}}function l(p){if(s)throw new TypeError(\"Generator is already executing.\");for(;t;)try{if(s=1,a&&(n=p[0]&2?a.return:p[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,p[1])).done)return n;switch(a=0,n&&(p=[p[0]&2,n.value]),p[0]){case 0:case 1:n=p;break;case 4:return t.label++,{value:p[1],done:!1};case 5:t.label++,a=p[1],p=[0];continue;case 7:p=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(p[0]===6||p[0]===2)){t=0;continue}if(p[0]===3&&(!n||p[1]>n[0]&&p[1]=e.length&&(e=void 0),{value:e&&e[s++],done:!e}}};throw new TypeError(r?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function Qa(e,r){var t=typeof Symbol==\"function\"&&e[Symbol.iterator];if(!t)return e;var s=t.call(e),a,n=[],u;try{for(;(r===void 0||r-- >0)&&!(a=s.next()).done;)n.push(a.value);}catch(i){u={error:i};}finally{try{a&&!a.done&&(t=s.return)&&t.call(s);}finally{if(u)throw u.error}}return n}function lm(){for(var e=[],r=0;r1||i(g,c);})});}function i(g,c){try{l(s[g](c));}catch(f){h(n[0][3],f);}}function l(g){g.value instanceof Xt?Promise.resolve(g.value.v).then(p,y):h(n[0][2],g);}function p(g){i(\"next\",g);}function y(g){i(\"throw\",g);}function h(g,c){g(c),n.shift(),n.length&&i(n[0][0],n[0][1]);}}function fm(e){var r,t;return r={},s(\"next\"),s(\"throw\",function(a){throw a}),s(\"return\"),r[Symbol.iterator]=function(){return this},r;function s(a,n){r[a]=e[a]?function(u){return (t=!t)?{value:Xt(e[a](u)),done:a===\"return\"}:n?n(u):u}:n;}}function Dm(e){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var r=e[Symbol.asyncIterator],t;return r?r.call(e):(e=typeof Rn==\"function\"?Rn(e):e[Symbol.iterator](),t={},s(\"next\"),s(\"throw\"),s(\"return\"),t[Symbol.asyncIterator]=function(){return this},t);function s(n){t[n]=e[n]&&function(u){return new Promise(function(i,l){u=e[n](u),a(i,l,u.done,u.value);})};}function a(n,u,i,l){Promise.resolve(l).then(function(p){n({value:p,done:i});},u);}}function mm(e,r){return Object.defineProperty?Object.defineProperty(e,\"raw\",{value:r}):e.raw=r,e}function dm(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)Object.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}function gm(e){return e&&e.__esModule?e:{default:e}}function ym(e,r){if(!r.has(e))throw new TypeError(\"attempted to get private field on non-instance\");return r.get(e)}function hm(e,r,t){if(!r.has(e))throw new TypeError(\"attempted to set private field on non-instance\");return r.set(e,t),t}var Br,Nr,Et=ht({\"node_modules/tslib/tslib.es6.js\"(){ne(),Br=function(e,r){return Br=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s;}||function(t,s){for(var a in s)s.hasOwnProperty(a)&&(t[a]=s[a]);},Br(e,r)},Nr=function(){return Nr=Object.assign||function(r){for(var t,s=1,a=arguments.length;s/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(r)?r:JSON.stringify(r),value(r){if(r===null||typeof r!=\"object\")return JSON.stringify(r);if(Array.isArray(r))return `[${r.map(s=>e.apiDescriptor.value(s)).join(\", \")}]`;let t=Object.keys(r);return t.length===0?\"{}\":`{ ${t.map(s=>`${e.apiDescriptor.key(s)}: ${e.apiDescriptor.value(r[s])}`).join(\", \")} }`},pair:r=>{let{key:t,value:s}=r;return e.apiDescriptor.value({[t]:s})}};}}),vm=te({\"node_modules/vnopts/lib/descriptors/index.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=(Et(),ft(vt));r.__exportStar(Za(),e);}}),kr=te({\"scripts/build/shims/chalk.cjs\"(e,r){ne();var t=s=>s;t.grey=t,t.red=t,t.bold=t,t.yellow=t,t.blue=t,t.default=t,r.exports=t;}}),eo=te({\"node_modules/vnopts/lib/handlers/deprecated/common.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=kr();e.commonDeprecatedHandler=(t,s,a)=>{let{descriptor:n}=a,u=[`${r.default.yellow(typeof t==\"string\"?n.key(t):n.pair(t))} is deprecated`];return s&&u.push(`we now treat it as ${r.default.blue(typeof s==\"string\"?n.key(s):n.pair(s))}`),u.join(\"; \")+\".\"};}}),Cm=te({\"node_modules/vnopts/lib/handlers/deprecated/index.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=(Et(),ft(vt));r.__exportStar(eo(),e);}}),Em=te({\"node_modules/vnopts/lib/handlers/invalid/common.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=kr();e.commonInvalidHandler=(t,s,a)=>[`Invalid ${r.default.red(a.descriptor.key(t))} value.`,`Expected ${r.default.blue(a.schemas[t].expected(a))},`,`but received ${r.default.red(a.descriptor.value(s))}.`].join(\" \");}}),to=te({\"node_modules/vnopts/lib/handlers/invalid/index.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=(Et(),ft(vt));r.__exportStar(Em(),e);}}),Fm=te({\"node_modules/vnopts/node_modules/leven/index.js\"(e,r){ne();var t=[],s=[];r.exports=function(a,n){if(a===n)return 0;var u=a;a.length>n.length&&(a=n,n=u);var i=a.length,l=n.length;if(i===0)return l;if(l===0)return i;for(;i>0&&a.charCodeAt(~-i)===n.charCodeAt(~-l);)i--,l--;if(i===0)return l;for(var p=0;ph?c>h?h+1:c:c>g?g+1:c;return h};}}),ro=te({\"node_modules/vnopts/lib/handlers/unknown/leven.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=kr(),t=Fm();e.levenUnknownHandler=(s,a,n)=>{let{descriptor:u,logger:i,schemas:l}=n,p=[`Ignored unknown option ${r.default.yellow(u.pair({key:s,value:a}))}.`],y=Object.keys(l).sort().find(h=>t(s,h)<3);y&&p.push(`Did you mean ${r.default.blue(u.key(y))}?`),i.warn(p.join(\" \"));};}}),Am=te({\"node_modules/vnopts/lib/handlers/unknown/index.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=(Et(),ft(vt));r.__exportStar(ro(),e);}}),Sm=te({\"node_modules/vnopts/lib/handlers/index.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=(Et(),ft(vt));r.__exportStar(Cm(),e),r.__exportStar(to(),e),r.__exportStar(Am(),e);}}),Ft=te({\"node_modules/vnopts/lib/schema.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=[\"default\",\"expected\",\"validate\",\"deprecated\",\"forward\",\"redirect\",\"overlap\",\"preprocess\",\"postprocess\"];function t(n,u){let i=new n(u),l=Object.create(i);for(let p of r)p in u&&(l[p]=a(u[p],i,s.prototype[p].length));return l}e.createSchema=t;var s=class{constructor(n){this.name=n.name;}static create(n){return t(this,n)}default(n){}expected(n){return \"nothing\"}validate(n,u){return !1}deprecated(n,u){return !1}forward(n,u){}redirect(n,u){}overlap(n,u,i){return n}preprocess(n,u){return n}postprocess(n,u){return n}};e.Schema=s;function a(n,u,i){return typeof n==\"function\"?function(){for(var l=arguments.length,p=new Array(l),y=0;yn}}}),xm=te({\"node_modules/vnopts/lib/schemas/alias.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Ft(),t=class extends r.Schema{constructor(s){super(s),this._sourceName=s.sourceName;}expected(s){return s.schemas[this._sourceName].expected(s)}validate(s,a){return a.schemas[this._sourceName].validate(s,a)}redirect(s,a){return this._sourceName}};e.AliasSchema=t;}}),bm=te({\"node_modules/vnopts/lib/schemas/any.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Ft(),t=class extends r.Schema{expected(){return \"anything\"}validate(){return !0}};e.AnySchema=t;}}),Tm=te({\"node_modules/vnopts/lib/schemas/array.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=(Et(),ft(vt)),t=Ft(),s=class extends t.Schema{constructor(n){var{valueSchema:u,name:i=u.name}=n,l=r.__rest(n,[\"valueSchema\",\"name\"]);super(Object.assign({},l,{name:i})),this._valueSchema=u;}expected(n){return `an array of ${this._valueSchema.expected(n)}`}validate(n,u){if(!Array.isArray(n))return !1;let i=[];for(let l of n){let p=u.normalizeValidateResult(this._valueSchema.validate(l,u),l);p!==!0&&i.push(p.value);}return i.length===0?!0:{value:i}}deprecated(n,u){let i=[];for(let l of n){let p=u.normalizeDeprecatedResult(this._valueSchema.deprecated(l,u),l);p!==!1&&i.push(...p.map(y=>{let{value:h}=y;return {value:[h]}}));}return i}forward(n,u){let i=[];for(let l of n){let p=u.normalizeForwardResult(this._valueSchema.forward(l,u),l);i.push(...p.map(a));}return i}redirect(n,u){let i=[],l=[];for(let p of n){let y=u.normalizeRedirectResult(this._valueSchema.redirect(p,u),p);\"remain\"in y&&i.push(y.remain),l.push(...y.redirect.map(a));}return i.length===0?{redirect:l}:{redirect:l,remain:i}}overlap(n,u){return n.concat(u)}};e.ArraySchema=s;function a(n){let{from:u,to:i}=n;return {from:[u],to:i}}}}),Bm=te({\"node_modules/vnopts/lib/schemas/boolean.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Ft(),t=class extends r.Schema{expected(){return \"true or false\"}validate(s){return typeof s==\"boolean\"}};e.BooleanSchema=t;}}),eu=te({\"node_modules/vnopts/lib/utils.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});function r(c,f){let F=Object.create(null);for(let _ of c){let w=_[f];if(F[w])throw new Error(`Duplicate ${f} ${JSON.stringify(w)}`);F[w]=_;}return F}e.recordFromArray=r;function t(c,f){let F=new Map;for(let _ of c){let w=_[f];if(F.has(w))throw new Error(`Duplicate ${f} ${JSON.stringify(w)}`);F.set(w,_);}return F}e.mapFromArray=t;function s(){let c=Object.create(null);return f=>{let F=JSON.stringify(f);return c[F]?!0:(c[F]=!0,!1)}}e.createAutoChecklist=s;function a(c,f){let F=[],_=[];for(let w of c)f(w)?F.push(w):_.push(w);return [F,_]}e.partition=a;function n(c){return c===Math.floor(c)}e.isInt=n;function u(c,f){if(c===f)return 0;let F=typeof c,_=typeof f,w=[\"undefined\",\"object\",\"boolean\",\"number\",\"string\"];return F!==_?w.indexOf(F)-w.indexOf(_):F!==\"string\"?Number(c)-Number(f):c.localeCompare(f)}e.comparePrimitive=u;function i(c){return c===void 0?{}:c}e.normalizeDefaultResult=i;function l(c,f){return c===!0?!0:c===!1?{value:f}:c}e.normalizeValidateResult=l;function p(c,f){let F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return c===!1?!1:c===!0?F?!0:[{value:f}]:\"value\"in c?[c]:c.length===0?!1:c}e.normalizeDeprecatedResult=p;function y(c,f){return typeof c==\"string\"||\"key\"in c?{from:f,to:c}:\"from\"in c?{from:c.from,to:c.to}:{from:f,to:c.to}}e.normalizeTransferResult=y;function h(c,f){return c===void 0?[]:Array.isArray(c)?c.map(F=>y(F,f)):[y(c,f)]}e.normalizeForwardResult=h;function g(c,f){let F=h(typeof c==\"object\"&&\"redirect\"in c?c.redirect:c,f);return F.length===0?{remain:f,redirect:F}:typeof c==\"object\"&&\"remain\"in c?{remain:c.remain,redirect:F}:{redirect:F}}e.normalizeRedirectResult=g;}}),Nm=te({\"node_modules/vnopts/lib/schemas/choice.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Ft(),t=eu(),s=class extends r.Schema{constructor(a){super(a),this._choices=t.mapFromArray(a.choices.map(n=>n&&typeof n==\"object\"?n:{value:n}),\"value\");}expected(a){let{descriptor:n}=a,u=Array.from(this._choices.keys()).map(p=>this._choices.get(p)).filter(p=>!p.deprecated).map(p=>p.value).sort(t.comparePrimitive).map(n.value),i=u.slice(0,-2),l=u.slice(-2);return i.concat(l.join(\" or \")).join(\", \")}validate(a){return this._choices.has(a)}deprecated(a){let n=this._choices.get(a);return n&&n.deprecated?{value:a}:!1}forward(a){let n=this._choices.get(a);return n?n.forward:void 0}redirect(a){let n=this._choices.get(a);return n?n.redirect:void 0}};e.ChoiceSchema=s;}}),no=te({\"node_modules/vnopts/lib/schemas/number.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Ft(),t=class extends r.Schema{expected(){return \"a number\"}validate(s,a){return typeof s==\"number\"}};e.NumberSchema=t;}}),wm=te({\"node_modules/vnopts/lib/schemas/integer.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=eu(),t=no(),s=class extends t.NumberSchema{expected(){return \"an integer\"}validate(a,n){return n.normalizeValidateResult(super.validate(a,n),a)===!0&&r.isInt(a)}};e.IntegerSchema=s;}}),_m=te({\"node_modules/vnopts/lib/schemas/string.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Ft(),t=class extends r.Schema{expected(){return \"a string\"}validate(s){return typeof s==\"string\"}};e.StringSchema=t;}}),Pm=te({\"node_modules/vnopts/lib/schemas/index.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=(Et(),ft(vt));r.__exportStar(xm(),e),r.__exportStar(bm(),e),r.__exportStar(Tm(),e),r.__exportStar(Bm(),e),r.__exportStar(Nm(),e),r.__exportStar(wm(),e),r.__exportStar(no(),e),r.__exportStar(_m(),e);}}),Im=te({\"node_modules/vnopts/lib/defaults.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Za(),t=eo(),s=to(),a=ro();e.defaultDescriptor=r.apiDescriptor,e.defaultUnknownHandler=a.levenUnknownHandler,e.defaultInvalidHandler=s.commonInvalidHandler,e.defaultDeprecatedHandler=t.commonDeprecatedHandler;}}),km=te({\"node_modules/vnopts/lib/normalize.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Im(),t=eu();e.normalize=(a,n,u)=>new s(n,u).normalize(a);var s=class{constructor(a,n){let{logger:u=console,descriptor:i=r.defaultDescriptor,unknown:l=r.defaultUnknownHandler,invalid:p=r.defaultInvalidHandler,deprecated:y=r.defaultDeprecatedHandler}=n||{};this._utils={descriptor:i,logger:u||{warn:()=>{}},schemas:t.recordFromArray(a,\"name\"),normalizeDefaultResult:t.normalizeDefaultResult,normalizeDeprecatedResult:t.normalizeDeprecatedResult,normalizeForwardResult:t.normalizeForwardResult,normalizeRedirectResult:t.normalizeRedirectResult,normalizeValidateResult:t.normalizeValidateResult},this._unknownHandler=l,this._invalidHandler=p,this._deprecatedHandler=y,this.cleanHistory();}cleanHistory(){this._hasDeprecationWarned=t.createAutoChecklist();}normalize(a){let n={},u=[a],i=()=>{for(;u.length!==0;){let l=u.shift(),p=this._applyNormalization(l,n);u.push(...p);}};i();for(let l of Object.keys(this._utils.schemas)){let p=this._utils.schemas[l];if(!(l in n)){let y=t.normalizeDefaultResult(p.default(this._utils));\"value\"in y&&u.push({[l]:y.value});}}i();for(let l of Object.keys(this._utils.schemas)){let p=this._utils.schemas[l];l in n&&(n[l]=p.postprocess(n[l],this._utils));}return n}_applyNormalization(a,n){let u=[],[i,l]=t.partition(Object.keys(a),p=>p in this._utils.schemas);for(let p of i){let y=this._utils.schemas[p],h=y.preprocess(a[p],this._utils),g=t.normalizeValidateResult(y.validate(h,this._utils),h);if(g!==!0){let{value:w}=g,E=this._invalidHandler(p,w,this._utils);throw typeof E==\"string\"?new Error(E):E}let c=w=>{let{from:E,to:N}=w;u.push(typeof N==\"string\"?{[N]:E}:{[N.key]:N.value});},f=w=>{let{value:E,redirectTo:N}=w,x=t.normalizeDeprecatedResult(y.deprecated(E,this._utils),h,!0);if(x!==!1)if(x===!0)this._hasDeprecationWarned(p)||this._utils.logger.warn(this._deprecatedHandler(p,N,this._utils));else for(let{value:I}of x){let P={key:p,value:I};if(!this._hasDeprecationWarned(P)){let $=typeof N==\"string\"?{key:N,value:I}:N;this._utils.logger.warn(this._deprecatedHandler(P,$,this._utils));}}};t.normalizeForwardResult(y.forward(h,this._utils),h).forEach(c);let _=t.normalizeRedirectResult(y.redirect(h,this._utils),h);if(_.redirect.forEach(c),\"remain\"in _){let w=_.remain;n[p]=p in n?y.overlap(n[p],w,this._utils):w,f({value:w});}for(let{from:w,to:E}of _.redirect)f({value:w,redirectTo:E});}for(let p of l){let y=a[p],h=this._unknownHandler(p,y,this._utils);if(h)for(let g of Object.keys(h)){let c={[g]:h[g]};g in this._utils.schemas?u.push(c):Object.assign(n,c);}}return u}};e.Normalizer=s;}}),Lm=te({\"node_modules/vnopts/lib/index.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=(Et(),ft(vt));r.__exportStar(vm(),e),r.__exportStar(Sm(),e),r.__exportStar(Pm(),e),r.__exportStar(km(),e),r.__exportStar(Ft(),e);}}),Om=te({\"src/main/options-normalizer.js\"(e,r){ne();var t=Lm(),s=lt(),a={key:g=>g.length===1?`-${g}`:`--${g}`,value:g=>t.apiDescriptor.value(g),pair:g=>{let{key:c,value:f}=g;return f===!1?`--no-${c}`:f===!0?a.key(c):f===\"\"?`${a.key(c)} without an argument`:`${a.key(c)}=${f}`}},n=g=>{let{colorsModule:c,levenshteinDistance:f}=g;return class extends t.ChoiceSchema{constructor(_){let{name:w,flags:E}=_;super({name:w,choices:E}),this._flags=[...E].sort();}preprocess(_,w){if(typeof _==\"string\"&&_.length>0&&!this._flags.includes(_)){let E=this._flags.find(N=>f(N,_)<3);if(E)return w.logger.warn([`Unknown flag ${c.yellow(w.descriptor.value(_))},`,`did you mean ${c.blue(w.descriptor.value(E))}?`].join(\" \")),E}return _}expected(){return \"a flag\"}}},u;function i(g,c){let{logger:f=!1,isCLI:F=!1,passThrough:_=!1,colorsModule:w=null,levenshteinDistance:E=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},N=_?Array.isArray(_)?(T,m)=>_.includes(T)?{[T]:m}:void 0:(T,m)=>({[T]:m}):(T,m,C)=>{let o=C.schemas,v=Hn(o,vD);return t.levenUnknownHandler(T,m,Object.assign(Object.assign({},C),{},{schemas:v}))},x=F?a:t.apiDescriptor,I=l(c,{isCLI:F,colorsModule:w,levenshteinDistance:E}),P=new t.Normalizer(I,{logger:f,unknown:N,descriptor:x}),$=f!==!1;$&&u&&(P._hasDeprecationWarned=u);let D=P.normalize(g);return $&&(u=P._hasDeprecationWarned),F&&D[\"plugin-search\"]===!1&&(D[\"plugin-search-dir\"]=!1),D}function l(g,c){let{isCLI:f,colorsModule:F,levenshteinDistance:_}=c,w=[];f&&w.push(t.AnySchema.create({name:\"_\"}));for(let E of g)w.push(p(E,{isCLI:f,optionInfos:g,colorsModule:F,levenshteinDistance:_})),E.alias&&f&&w.push(t.AliasSchema.create({name:E.alias,sourceName:E.name}));return w}function p(g,c){let{isCLI:f,optionInfos:F,colorsModule:_,levenshteinDistance:w}=c,{name:E}=g;if(E===\"plugin-search-dir\"||E===\"pluginSearchDirs\")return t.AnySchema.create({name:E,preprocess(P){return P===!1||(P=Array.isArray(P)?P:[P]),P},validate(P){return P===!1?!0:P.every($=>typeof $==\"string\")},expected(){return \"false or paths to plugin search dir\"}});let N={name:E},x,I={};switch(g.type){case\"int\":x=t.IntegerSchema,f&&(N.preprocess=Number);break;case\"string\":x=t.StringSchema;break;case\"choice\":x=t.ChoiceSchema,N.choices=g.choices.map(P=>typeof P==\"object\"&&P.redirect?Object.assign(Object.assign({},P),{},{redirect:{to:{key:g.name,value:P.redirect}}}):P);break;case\"boolean\":x=t.BooleanSchema;break;case\"flag\":x=n({colorsModule:_,levenshteinDistance:w}),N.flags=F.flatMap(P=>[P.alias,P.description&&P.name,P.oppositeDescription&&`no-${P.name}`].filter(Boolean));break;case\"path\":x=t.StringSchema;break;default:throw new Error(`Unexpected type ${g.type}`)}if(g.exception?N.validate=(P,$,D)=>g.exception(P)||$.validate(P,D):N.validate=(P,$,D)=>P===void 0||$.validate(P,D),g.redirect&&(I.redirect=P=>P?{to:{key:g.redirect.option,value:g.redirect.value}}:void 0),g.deprecated&&(I.deprecated=!0),f&&!g.array){let P=N.preprocess||($=>$);N.preprocess=($,D,T)=>D.preprocess(P(Array.isArray($)?s($):$),T);}return g.array?t.ArraySchema.create(Object.assign(Object.assign(Object.assign({},f?{preprocess:P=>Array.isArray(P)?P:[P]}:{}),I),{},{valueSchema:x.create(N)})):x.create(Object.assign(Object.assign({},N),I))}function y(g,c,f){return i(g,c,f)}function h(g,c,f){return i(g,c,Object.assign({isCLI:!0},f))}r.exports={normalizeApiOptions:y,normalizeCliOptions:h};}}),ut=te({\"src/language-js/loc.js\"(e,r){ne();var t=Kn();function s(l){var p,y;let h=l.range?l.range[0]:l.start,g=(p=(y=l.declaration)===null||y===void 0?void 0:y.decorators)!==null&&p!==void 0?p:l.decorators;return t(g)?Math.min(s(g[0]),h):h}function a(l){return l.range?l.range[1]:l.end}function n(l,p){let y=s(l);return Number.isInteger(y)&&y===s(p)}function u(l,p){let y=a(l);return Number.isInteger(y)&&y===a(p)}function i(l,p){return n(l,p)&&u(l,p)}r.exports={locStart:s,locEnd:a,hasSameLocStart:n,hasSameLoc:i};}}),jm=te({\"src/main/load-parser.js\"(e,r){ne(),r.exports=()=>{};}}),qm=te({\"scripts/build/shims/babel-highlight.cjs\"(e,r){ne();var t=kr(),s={shouldHighlight:()=>!1,getChalk:()=>t};r.exports=s;}}),Mm=te({\"node_modules/@babel/code-frame/lib/index.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0}),e.codeFrameColumns=u,e.default=i;var r=qm(),t=!1;function s(l){return {gutter:l.grey,marker:l.red.bold,message:l.red.bold}}var a=/\\r\\n|[\\n\\r\\u2028\\u2029]/;function n(l,p,y){let h=Object.assign({column:0,line:-1},l.start),g=Object.assign({},h,l.end),{linesAbove:c=2,linesBelow:f=3}=y||{},F=h.line,_=h.column,w=g.line,E=g.column,N=Math.max(F-(c+1),0),x=Math.min(p.length,w+f);F===-1&&(N=0),w===-1&&(x=p.length);let I=w-F,P={};if(I)for(let $=0;$<=I;$++){let D=$+F;if(!_)P[D]=!0;else if($===0){let T=p[D-1].length;P[D]=[_,T-_+1];}else if($===I)P[D]=[0,E];else {let T=p[D-$].length;P[D]=[0,T];}}else _===E?_?P[F]=[_,0]:P[F]=!0:P[F]=[_,E-_];return {start:N,end:x,markerLines:P}}function u(l,p){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=(y.highlightCode||y.forceColor)&&(0, r.shouldHighlight)(y),g=(0, r.getChalk)(y),c=s(g),f=($,D)=>h?$(D):D,F=l.split(a),{start:_,end:w,markerLines:E}=n(p,F,y),N=p.start&&typeof p.start.column==\"number\",x=String(w).length,P=(h?(0, r.default)(l,y):l).split(a,w).slice(_,w).map(($,D)=>{let T=_+1+D,C=` ${` ${T}`.slice(-x)} |`,o=E[T],d=!E[T+1];if(o){let v=\"\";if(Array.isArray(o)){let S=$.slice(0,Math.max(o[0]-1,0)).replace(/[^\\t]/g,\" \"),b=o[1]||1;v=[`\n `,f(c.gutter,C.replace(/\\d/g,\" \")),\" \",S,f(c.marker,\"^\").repeat(b)].join(\"\"),d&&y.message&&(v+=\" \"+f(c.message,y.message));}return [f(c.marker,\">\"),f(c.gutter,C),$.length>0?` ${$}`:\"\",v].join(\"\")}else return ` ${f(c.gutter,C)}${$.length>0?` ${$}`:\"\"}`}).join(`\n`);return y.message&&!N&&(P=`${\" \".repeat(x+1)}${y.message}\n${P}`),h?g.reset(P):P}function i(l,p,y){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!t){t=!0;let c=\"Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.\";if(wt.emitWarning)wt.emitWarning(c,\"DeprecationWarning\");else {let f=new Error(c);f.name=\"DeprecationWarning\",console.warn(new Error(c));}}return y=Math.max(y,0),u(l,{start:{column:y,line:p}},h)}}}),tu=te({\"src/main/parser.js\"(e,r){ne();var {ConfigError:t}=Qt(),s=ut();jm();var {locStart:n,locEnd:u}=s,i=Object.getOwnPropertyNames,l=Object.getOwnPropertyDescriptor;function p(g){let c={};for(let f of g.plugins)if(f.parsers)for(let F of i(f.parsers))Object.defineProperty(c,F,l(f.parsers,F));return c}function y(g){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p(g);if(typeof g.parser==\"function\")return {parse:g.parser,astFormat:\"estree\",locStart:n,locEnd:u};if(typeof g.parser==\"string\"){if(Object.prototype.hasOwnProperty.call(c,g.parser))return c[g.parser];throw new t(`Couldn't resolve parser \"${g.parser}\". Parsers must be explicitly added to the standalone bundle.`)}}function h(g,c){let f=p(c),F=Object.defineProperties({},Object.fromEntries(Object.keys(f).map(w=>[w,{enumerable:!0,get(){return f[w].parse}}]))),_=y(c,f);try{return _.preprocess&&(g=_.preprocess(g,c)),{text:g,ast:_.parse(g,F,c)}}catch(w){let{loc:E}=w;if(E){let{codeFrameColumns:N}=Mm();throw w.codeFrame=N(g,E,{highlightCode:!0}),w.message+=`\n`+w.codeFrame,w}throw w}}r.exports={parse:h,resolveParser:y};}}),uo=te({\"src/main/options.js\"(e,r){ne();var t=ZD(),{UndefinedParserError:s}=Qt(),{getSupportInfo:a}=Xn(),n=Om(),{resolveParser:u}=tu(),i={astFormat:\"estree\",printer:{},originalText:void 0,locStart:null,locEnd:null};function l(h){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=Object.assign({},h),f=a({plugins:h.plugins,showUnreleased:!0,showDeprecated:!0}).options,F=Object.assign(Object.assign({},i),Object.fromEntries(f.filter(x=>x.default!==void 0).map(x=>[x.name,x.default])));if(!c.parser){if(!c.filepath)(g.logger||console).warn(\"No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.\"),c.parser=\"babel\";else if(c.parser=y(c.filepath,c.plugins),!c.parser)throw new s(`No parser could be inferred for file: ${c.filepath}`)}let _=u(n.normalizeApiOptions(c,[f.find(x=>x.name===\"parser\")],{passThrough:!0,logger:!1}));c.astFormat=_.astFormat,c.locEnd=_.locEnd,c.locStart=_.locStart;let w=p(c);c.printer=w.printers[c.astFormat];let E=Object.fromEntries(f.filter(x=>x.pluginDefaults&&x.pluginDefaults[w.name]!==void 0).map(x=>[x.name,x.pluginDefaults[w.name]])),N=Object.assign(Object.assign({},F),E);for(let[x,I]of Object.entries(N))(c[x]===null||c[x]===void 0)&&(c[x]=I);return c.parser===\"json\"&&(c.trailingComma=\"none\"),n.normalizeApiOptions(c,f,Object.assign({passThrough:Object.keys(i)},g))}function p(h){let{astFormat:g}=h;if(!g)throw new Error(\"getPlugin() requires astFormat to be set\");let c=h.plugins.find(f=>f.printers&&f.printers[g]);if(!c)throw new Error(`Couldn't find plugin for AST format \"${g}\"`);return c}function y(h,g){let c=t.basename(h).toLowerCase(),F=a({plugins:g}).languages.filter(_=>_.since!==null).find(_=>_.extensions&&_.extensions.some(w=>c.endsWith(w))||_.filenames&&_.filenames.some(w=>w.toLowerCase()===c));return F&&F.parsers[0]}r.exports={normalize:l,hiddenDefaults:i,inferParser:y};}}),Rm=te({\"src/main/massage-ast.js\"(e,r){ne();function t(s,a,n){if(Array.isArray(s))return s.map(p=>t(p,a,n)).filter(Boolean);if(!s||typeof s!=\"object\")return s;let u=a.printer.massageAstNode,i;u&&u.ignoredProperties?i=u.ignoredProperties:i=new Set;let l={};for(let[p,y]of Object.entries(s))!i.has(p)&&typeof y!=\"function\"&&(l[p]=t(y,a,s));if(u){let p=u(s,l,n);if(p===null)return;if(p)return p}return l}r.exports=t;}}),Zt=te({\"scripts/build/shims/assert.cjs\"(e,r){ne();var t=()=>{};t.ok=t,t.strictEqual=t,r.exports=t;}}),et=te({\"src/main/comments.js\"(e,r){ne();var t=Zt(),{builders:{line:s,hardline:a,breakParent:n,indent:u,lineSuffix:i,join:l,cursor:p}}=qe(),{hasNewline:y,skipNewline:h,skipSpaces:g,isPreviousLineEmpty:c,addLeadingComment:f,addDanglingComment:F,addTrailingComment:_}=Ue(),w=new WeakMap;function E(k,M,R){if(!k)return;let{printer:q,locStart:J,locEnd:L}=M;if(R){if(q.canAttachComment&&q.canAttachComment(k)){let V;for(V=R.length-1;V>=0&&!(J(R[V])<=J(k)&&L(R[V])<=L(k));--V);R.splice(V+1,0,k);return}}else if(w.has(k))return w.get(k);let Q=q.getCommentChildNodes&&q.getCommentChildNodes(k,M)||typeof k==\"object\"&&Object.entries(k).filter(V=>{let[j]=V;return j!==\"enclosingNode\"&&j!==\"precedingNode\"&&j!==\"followingNode\"&&j!==\"tokens\"&&j!==\"comments\"&&j!==\"parent\"}).map(V=>{let[,j]=V;return j});if(Q){R||(R=[],w.set(k,R));for(let V of Q)E(V,M,R);return R}}function N(k,M,R,q){let{locStart:J,locEnd:L}=R,Q=J(M),V=L(M),j=E(k,R),Y,ie,ee=0,ce=j.length;for(;ee>1,K=j[W],de=J(K),ue=L(K);if(de<=Q&&V<=ue)return N(K,M,R,K);if(ue<=Q){Y=K,ee=W+1;continue}if(V<=de){ie=K,ce=W;continue}throw new Error(\"Comment location overlaps with node location\")}if(q&&q.type===\"TemplateLiteral\"){let{quasis:W}=q,K=C(W,M,R);Y&&C(W,Y,R)!==K&&(Y=null),ie&&C(W,ie,R)!==K&&(ie=null);}return {enclosingNode:q,precedingNode:Y,followingNode:ie}}var x=()=>!1;function I(k,M,R,q){if(!Array.isArray(k))return;let J=[],{locStart:L,locEnd:Q,printer:{handleComments:V={}}}=q,{avoidAstMutation:j,ownLine:Y=x,endOfLine:ie=x,remaining:ee=x}=V,ce=k.map((W,K)=>Object.assign(Object.assign({},N(M,W,q)),{},{comment:W,text:R,options:q,ast:M,isLastComment:k.length-1===K}));for(let[W,K]of ce.entries()){let{comment:de,precedingNode:ue,enclosingNode:Fe,followingNode:z,text:U,options:Z,ast:se,isLastComment:fe}=K;if(Z.parser===\"json\"||Z.parser===\"json5\"||Z.parser===\"__js_expression\"||Z.parser===\"__vue_expression\"||Z.parser===\"__vue_ts_expression\"){if(L(de)-L(se)<=0){f(se,de);continue}if(Q(de)-Q(se)>=0){_(se,de);continue}}let ge;if(j?ge=[K]:(de.enclosingNode=Fe,de.precedingNode=ue,de.followingNode=z,ge=[de,U,Z,se,fe]),$(U,Z,ce,W))de.placement=\"ownLine\",Y(...ge)||(z?f(z,de):ue?_(ue,de):F(Fe||se,de));else if(D(U,Z,ce,W))de.placement=\"endOfLine\",ie(...ge)||(ue?_(ue,de):z?f(z,de):F(Fe||se,de));else if(de.placement=\"remaining\",!ee(...ge))if(ue&&z){let he=J.length;he>0&&J[he-1].followingNode!==z&&T(J,U,Z),J.push(K);}else ue?_(ue,de):z?f(z,de):F(Fe||se,de);}if(T(J,R,q),!j)for(let W of k)delete W.precedingNode,delete W.enclosingNode,delete W.followingNode;}var P=k=>!/[\\S\\n\\u2028\\u2029]/.test(k);function $(k,M,R,q){let{comment:J,precedingNode:L}=R[q],{locStart:Q,locEnd:V}=M,j=Q(J);if(L)for(let Y=q-1;Y>=0;Y--){let{comment:ie,precedingNode:ee}=R[Y];if(ee!==L||!P(k.slice(V(ie),j)))break;j=Q(ie);}return y(k,j,{backwards:!0})}function D(k,M,R,q){let{comment:J,followingNode:L}=R[q],{locStart:Q,locEnd:V}=M,j=V(J);if(L)for(let Y=q+1;Y0;--Y){let{comment:ie,precedingNode:ee,followingNode:ce}=k[Y-1];t.strictEqual(ee,J),t.strictEqual(ce,L);let W=M.slice(R.locEnd(ie),j);if(V.test(W))j=R.locStart(ie);else break}for(let[ie,{comment:ee}]of k.entries())ie1&&ie.comments.sort((ee,ce)=>R.locStart(ee)-R.locStart(ce));k.length=0;}function m(k,M){let R=k.getValue();return R.printed=!0,M.printer.printComment(k,M)}function C(k,M,R){let q=R.locStart(M)-1;for(let J=1;J{let Q=k.getValue();!Q.leading&&!Q.trailing&&(!q||q(Q))&&J.push(m(k,M));},\"comments\"),J.length===0)?\"\":R?l(a,J):u([a,l(a,J)])}function S(k,M,R){let q=k.getValue();if(!q)return {};let J=q.comments||[];R&&(J=J.filter(j=>!R.has(j)));let L=q===M.cursorNode;if(J.length===0){let j=L?p:\"\";return {leading:j,trailing:j}}let Q=[],V=[];return k.each(()=>{let j=k.getValue();if(R&&R.has(j))return;let{leading:Y,trailing:ie}=j;Y?Q.push(o(k,M)):ie&&V.push(d(k,M));},\"comments\"),L&&(Q.unshift(p),V.push(p)),{leading:Q,trailing:V}}function b(k,M,R,q){let{leading:J,trailing:L}=S(k,R,q);return !J&&!L?M:[J,M,L]}function B(k){if(k)for(let M of k){if(!M.printed)throw new Error('Comment \"'+M.value.trim()+'\" was not printed. Please report this error!');delete M.printed;}}r.exports={attach:I,printComments:b,printCommentsSeparately:S,printDanglingComments:v,getSortedChildNodes:E,ensureAllCommentsPrinted:B};}}),$m=te({\"src/common/ast-path.js\"(e,r){ne();var t=lt();function s(u,i){let l=a(u.stack,i);return l===-1?null:u.stack[l]}function a(u,i){for(let l=u.length-1;l>=0;l-=2){let p=u[l];if(p&&!Array.isArray(p)&&--i<0)return l}return -1}var n=class{constructor(u){this.stack=[u];}getName(){let{stack:u}=this,{length:i}=u;return i>1?u[i-2]:null}getValue(){return t(this.stack)}getNode(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return s(this,u)}getParentNode(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return s(this,u+1)}call(u){let{stack:i}=this,{length:l}=i,p=t(i);for(var y=arguments.length,h=new Array(y>1?y-1:0),g=1;g1&&arguments[1]!==void 0?arguments[1]:0,l=a(this.stack,i+1),p=this.stack.splice(l+1),y=u(this);return this.stack.push(...p),y}each(u){let{stack:i}=this,{length:l}=i,p=t(i);for(var y=arguments.length,h=new Array(y>1?y-1:0),g=1;g1?l-1:0),y=1;y{i[g]=u(h,g,c);},...p),i}try(u){let{stack:i}=this,l=[...i];try{return u()}finally{i.length=0,i.push(...l);}}match(){let u=this.stack.length-1,i=null,l=this.stack[u--];for(var p=arguments.length,y=new Array(p),h=0;hu(h,g,p,y,c),p)}function u(i,l,p,y){let{stripTrailingHardline:h=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},g=s(Object.assign(Object.assign(Object.assign({},p),l),{},{parentParser:p.parser,originalText:i}),{passThrough:!0}),c=tu().parse(i,g),{ast:f}=c;i=c.text;let F=f.comments;delete f.comments,a.attach(F,f,i,g),g[Symbol.for(\"comments\")]=F||[],g[Symbol.for(\"tokens\")]=f.tokens||[];let _=y(f,g);return a.ensureAllCommentsPrinted(F),h?typeof _==\"string\"?_.replace(/(?:\\r?\\n)*$/,\"\"):t(_):_}r.exports={printSubtree:n};}}),Wm=te({\"src/main/ast-to-doc.js\"(e,r){ne();var t=$m(),{builders:{hardline:s,addAlignmentToDoc:a},utils:{propagateBreaks:n}}=qe(),{printComments:u}=et(),i=Vm();function l(h,g){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:f}=g;f.preprocess&&(h=f.preprocess(h,g));let F=new Map,_=new t(h),w=E();return c>0&&(w=a([s,w],c,g.tabWidth)),n(w),w;function E(x,I){return x===void 0||x===_?N(I):Array.isArray(x)?_.call(()=>N(I),...x):_.call(()=>N(I),x)}function N(x){let I=_.getValue(),P=I&&typeof I==\"object\"&&x===void 0;if(P&&F.has(I))return F.get(I);let $=y(_,g,E,x);return P&&F.set(I,$),$}}function p(h,g){let{originalText:c,[Symbol.for(\"comments\")]:f,locStart:F,locEnd:_}=g,w=F(h),E=_(h),N=new Set;for(let x of f)F(x)>=w&&_(x)<=E&&(x.printed=!0,N.add(x));return {doc:c.slice(w,E),printedComments:N}}function y(h,g,c,f){let F=h.getValue(),{printer:_}=g,w,E;if(_.hasPrettierIgnore&&_.hasPrettierIgnore(h))({doc:w,printedComments:E}=p(F,g));else {if(F)try{w=i.printSubtree(h,c,g,l);}catch(N){if(globalThis.PRETTIER_DEBUG)throw N}w||(w=_.print(h,g,c,f));}return (!_.willPrintOwnComments||!_.willPrintOwnComments(h,g))&&(w=u(h,w,g,E)),w}r.exports=l;}}),Hm=te({\"src/main/range-util.js\"(e,r){ne();var t=Zt(),s=et(),a=f=>{let{parser:F}=f;return F===\"json\"||F===\"json5\"||F===\"json-stringify\"};function n(f,F){let _=[f.node,...f.parentNodes],w=new Set([F.node,...F.parentNodes]);return _.find(E=>y.has(E.type)&&w.has(E))}function u(f){let F=f.length-1;for(;;){let _=f[F];if(_&&(_.type===\"Program\"||_.type===\"File\"))F--;else break}return f.slice(0,F+1)}function i(f,F,_){let{locStart:w,locEnd:E}=_,N=f.node,x=F.node;if(N===x)return {startNode:N,endNode:x};let I=w(f.node);for(let $ of u(F.parentNodes))if(w($)>=I)x=$;else break;let P=E(F.node);for(let $ of u(f.parentNodes)){if(E($)<=P)N=$;else break;if(N===x)break}return {startNode:N,endNode:x}}function l(f,F,_,w){let E=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],N=arguments.length>5?arguments[5]:void 0,{locStart:x,locEnd:I}=_,P=x(f),$=I(f);if(!(F>$||Fw);let I=f.slice(w,E).search(/\\S/),P=I===-1;if(!P)for(w+=I;E>w&&!/\\S/.test(f[E-1]);--E);let $=l(_,w,F,(C,o)=>g(F,C,o),[],\"rangeStart\"),D=P?$:l(_,E,F,C=>g(F,C),[],\"rangeEnd\");if(!$||!D)return {rangeStart:0,rangeEnd:0};let T,m;if(a(F)){let C=n($,D);T=C,m=C;}else ({startNode:T,endNode:m}=i($,D,F));return {rangeStart:Math.min(N(T),N(m)),rangeEnd:Math.max(x(T),x(m))}}r.exports={calculateRange:c,findNodeAtOffset:l};}}),Gm=te({\"src/main/core.js\"(e,r){ne();var{diffArrays:t}=BD(),{printer:{printDocToString:s},debug:{printDocToDebug:a}}=qe(),{getAlignmentSize:n}=Ue(),{guessEndOfLine:u,convertEndOfLineToChars:i,countEndOfLineChars:l,normalizeEndOfLine:p}=Jn(),y=uo().normalize,h=Rm(),g=et(),c=tu(),f=Wm(),F=Hm(),_=\"\\uFEFF\",w=Symbol(\"cursor\");function E(m,C,o){let d=C.comments;return d&&(delete C.comments,g.attach(d,C,m,o)),o[Symbol.for(\"comments\")]=d||[],o[Symbol.for(\"tokens\")]=C.tokens||[],o.originalText=m,d}function N(m,C){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!m||m.trim().length===0)return {formatted:\"\",cursorOffset:-1,comments:[]};let{ast:d,text:v}=c.parse(m,C);if(C.cursorOffset>=0){let k=F.findNodeAtOffset(d,C.cursorOffset,C);k&&k.node&&(C.cursorNode=k.node);}let S=E(v,d,C),b=f(d,C,o),B=s(b,C);if(g.ensureAllCommentsPrinted(S),o>0){let k=B.formatted.trim();B.cursorNodeStart!==void 0&&(B.cursorNodeStart-=B.formatted.indexOf(k)),B.formatted=k+i(C.endOfLine);}if(C.cursorOffset>=0){let k,M,R,q,J;if(C.cursorNode&&B.cursorNodeText?(k=C.locStart(C.cursorNode),M=v.slice(k,C.locEnd(C.cursorNode)),R=C.cursorOffset-k,q=B.cursorNodeStart,J=B.cursorNodeText):(k=0,M=v,R=C.cursorOffset,q=0,J=B.formatted),M===J)return {formatted:B.formatted,cursorOffset:q+R,comments:S};let L=[...M];L.splice(R,0,w);let Q=[...J],V=t(L,Q),j=q;for(let Y of V)if(Y.removed){if(Y.value.includes(w))break}else j+=Y.count;return {formatted:B.formatted,cursorOffset:j,comments:S}}return {formatted:B.formatted,cursorOffset:-1,comments:S}}function x(m,C){let{ast:o,text:d}=c.parse(m,C),{rangeStart:v,rangeEnd:S}=F.calculateRange(d,C,o),b=d.slice(v,S),B=Math.min(v,d.lastIndexOf(`\n`,v)+1),k=d.slice(B,v).match(/^\\s*/)[0],M=n(k,C.tabWidth),R=N(b,Object.assign(Object.assign({},C),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:C.cursorOffset>v&&C.cursorOffset<=S?C.cursorOffset-v:-1,endOfLine:\"lf\"}),M),q=R.formatted.trimEnd(),{cursorOffset:J}=C;J>S?J+=q.length-b.length:R.cursorOffset>=0&&(J=R.cursorOffset+v);let L=d.slice(0,v)+q+d.slice(S);if(C.endOfLine!==\"lf\"){let Q=i(C.endOfLine);J>=0&&Q===`\\r\n`&&(J+=l(L.slice(0,J),`\n`)),L=L.replace(/\\n/g,Q);}return {formatted:L,cursorOffset:J,comments:R.comments}}function I(m,C,o){return typeof C!=\"number\"||Number.isNaN(C)||C<0||C>m.length?o:C}function P(m,C){let{cursorOffset:o,rangeStart:d,rangeEnd:v}=C;return o=I(m,o,-1),d=I(m,d,0),v=I(m,v,m.length),Object.assign(Object.assign({},C),{},{cursorOffset:o,rangeStart:d,rangeEnd:v})}function $(m,C){let{cursorOffset:o,rangeStart:d,rangeEnd:v,endOfLine:S}=P(m,C),b=m.charAt(0)===_;if(b&&(m=m.slice(1),o--,d--,v--),S===\"auto\"&&(S=u(m)),m.includes(\"\\r\")){let B=k=>l(m.slice(0,Math.max(k,0)),`\\r\n`);o-=B(o),d-=B(d),v-=B(v),m=p(m);}return {hasBOM:b,text:m,options:P(m,Object.assign(Object.assign({},C),{},{cursorOffset:o,rangeStart:d,rangeEnd:v,endOfLine:S}))}}function D(m,C){let o=c.resolveParser(C);return !o.hasPragma||o.hasPragma(m)}function T(m,C){let{hasBOM:o,text:d,options:v}=$(m,y(C));if(v.rangeStart>=v.rangeEnd&&d!==\"\"||v.requirePragma&&!D(d,v))return {formatted:m,cursorOffset:C.cursorOffset,comments:[]};let S;return v.rangeStart>0||v.rangeEnd=0&&S.cursorOffset++),S}r.exports={formatWithCursor:T,parse(m,C,o){let{text:d,options:v}=$(m,y(C)),S=c.parse(d,v);return o&&(S.ast=h(S.ast,v)),S},formatAST(m,C){C=y(C);let o=f(m,C);return s(o,C)},formatDoc(m,C){return T(a(m),Object.assign(Object.assign({},C),{},{parser:\"__js_expression\"})).formatted},printToDoc(m,C){C=y(C);let{ast:o,text:d}=c.parse(m,C);return E(d,o,C),f(o,C)},printDocToString(m,C){return s(m,y(C))}};}}),Um=te({\"src/common/util-shared.js\"(e,r){ne();var{getMaxContinuousCount:t,getStringWidth:s,getAlignmentSize:a,getIndentSize:n,skip:u,skipWhitespace:i,skipSpaces:l,skipNewline:p,skipToLineEnd:y,skipEverythingButNewLine:h,skipInlineComment:g,skipTrailingComment:c,hasNewline:f,hasNewlineInRange:F,hasSpaces:_,isNextLineEmpty:w,isNextLineEmptyAfterIndex:E,isPreviousLineEmpty:N,getNextNonSpaceNonCommentCharacterIndex:x,makeString:I,addLeadingComment:P,addDanglingComment:$,addTrailingComment:D}=Ue();r.exports={getMaxContinuousCount:t,getStringWidth:s,getAlignmentSize:a,getIndentSize:n,skip:u,skipWhitespace:i,skipSpaces:l,skipNewline:p,skipToLineEnd:y,skipEverythingButNewLine:h,skipInlineComment:g,skipTrailingComment:c,hasNewline:f,hasNewlineInRange:F,hasSpaces:_,isNextLineEmpty:w,isNextLineEmptyAfterIndex:E,isPreviousLineEmpty:N,getNextNonSpaceNonCommentCharacterIndex:x,makeString:I,addLeadingComment:P,addDanglingComment:$,addTrailingComment:D};}}),_t=te({\"src/utils/create-language.js\"(e,r){ne(),r.exports=function(t,s){let{languageId:a}=t,n=Hn(t,CD);return Object.assign(Object.assign({linguistLanguageId:a},n),s(t))};}}),Jm=te({\"node_modules/esutils/lib/ast.js\"(e,r){ne(),function(){function t(l){if(l==null)return !1;switch(l.type){case\"ArrayExpression\":case\"AssignmentExpression\":case\"BinaryExpression\":case\"CallExpression\":case\"ConditionalExpression\":case\"FunctionExpression\":case\"Identifier\":case\"Literal\":case\"LogicalExpression\":case\"MemberExpression\":case\"NewExpression\":case\"ObjectExpression\":case\"SequenceExpression\":case\"ThisExpression\":case\"UnaryExpression\":case\"UpdateExpression\":return !0}return !1}function s(l){if(l==null)return !1;switch(l.type){case\"DoWhileStatement\":case\"ForInStatement\":case\"ForStatement\":case\"WhileStatement\":return !0}return !1}function a(l){if(l==null)return !1;switch(l.type){case\"BlockStatement\":case\"BreakStatement\":case\"ContinueStatement\":case\"DebuggerStatement\":case\"DoWhileStatement\":case\"EmptyStatement\":case\"ExpressionStatement\":case\"ForInStatement\":case\"ForStatement\":case\"IfStatement\":case\"LabeledStatement\":case\"ReturnStatement\":case\"SwitchStatement\":case\"ThrowStatement\":case\"TryStatement\":case\"VariableDeclaration\":case\"WhileStatement\":case\"WithStatement\":return !0}return !1}function n(l){return a(l)||l!=null&&l.type===\"FunctionDeclaration\"}function u(l){switch(l.type){case\"IfStatement\":return l.alternate!=null?l.alternate:l.consequent;case\"LabeledStatement\":case\"ForStatement\":case\"ForInStatement\":case\"WhileStatement\":case\"WithStatement\":return l.body}return null}function i(l){var p;if(l.type!==\"IfStatement\"||l.alternate==null)return !1;p=l.consequent;do{if(p.type===\"IfStatement\"&&p.alternate==null)return !0;p=u(p);}while(p);return !1}r.exports={isExpression:t,isStatement:a,isIterationStatement:s,isSourceElement:n,isProblematicIfStatement:i,trailingStatement:u};}();}}),so=te({\"node_modules/esutils/lib/code.js\"(e,r){ne(),function(){var t,s,a,n,u,i;s={NonAsciiIdentifierStart:/[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B4\\u08B6-\\u08BD\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]/,NonAsciiIdentifierPart:/[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B4\\u08B6-\\u08BD\\u08D4-\\u08E1\\u08E3-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0AF9\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58-\\u0C5A\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C80-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D54-\\u0D57\\u0D5F-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1C80-\\u1C88\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFB-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C5\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA8FD\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]/},t={NonAsciiIdentifierStart:/[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B4\\u08B6-\\u08BD\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309B-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]|\\uD800[\\uDC00-\\uDC0B\\uDC0D-\\uDC26\\uDC28-\\uDC3A\\uDC3C\\uDC3D\\uDC3F-\\uDC4D\\uDC50-\\uDC5D\\uDC80-\\uDCFA\\uDD40-\\uDD74\\uDE80-\\uDE9C\\uDEA0-\\uDED0\\uDF00-\\uDF1F\\uDF30-\\uDF4A\\uDF50-\\uDF75\\uDF80-\\uDF9D\\uDFA0-\\uDFC3\\uDFC8-\\uDFCF\\uDFD1-\\uDFD5]|\\uD801[\\uDC00-\\uDC9D\\uDCB0-\\uDCD3\\uDCD8-\\uDCFB\\uDD00-\\uDD27\\uDD30-\\uDD63\\uDE00-\\uDF36\\uDF40-\\uDF55\\uDF60-\\uDF67]|\\uD802[\\uDC00-\\uDC05\\uDC08\\uDC0A-\\uDC35\\uDC37\\uDC38\\uDC3C\\uDC3F-\\uDC55\\uDC60-\\uDC76\\uDC80-\\uDC9E\\uDCE0-\\uDCF2\\uDCF4\\uDCF5\\uDD00-\\uDD15\\uDD20-\\uDD39\\uDD80-\\uDDB7\\uDDBE\\uDDBF\\uDE00\\uDE10-\\uDE13\\uDE15-\\uDE17\\uDE19-\\uDE33\\uDE60-\\uDE7C\\uDE80-\\uDE9C\\uDEC0-\\uDEC7\\uDEC9-\\uDEE4\\uDF00-\\uDF35\\uDF40-\\uDF55\\uDF60-\\uDF72\\uDF80-\\uDF91]|\\uD803[\\uDC00-\\uDC48\\uDC80-\\uDCB2\\uDCC0-\\uDCF2]|\\uD804[\\uDC03-\\uDC37\\uDC83-\\uDCAF\\uDCD0-\\uDCE8\\uDD03-\\uDD26\\uDD50-\\uDD72\\uDD76\\uDD83-\\uDDB2\\uDDC1-\\uDDC4\\uDDDA\\uDDDC\\uDE00-\\uDE11\\uDE13-\\uDE2B\\uDE80-\\uDE86\\uDE88\\uDE8A-\\uDE8D\\uDE8F-\\uDE9D\\uDE9F-\\uDEA8\\uDEB0-\\uDEDE\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3D\\uDF50\\uDF5D-\\uDF61]|\\uD805[\\uDC00-\\uDC34\\uDC47-\\uDC4A\\uDC80-\\uDCAF\\uDCC4\\uDCC5\\uDCC7\\uDD80-\\uDDAE\\uDDD8-\\uDDDB\\uDE00-\\uDE2F\\uDE44\\uDE80-\\uDEAA\\uDF00-\\uDF19]|\\uD806[\\uDCA0-\\uDCDF\\uDCFF\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50\\uDF93-\\uDF9F\\uDFE0]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[\\uDC00-\\uDEF2]|\\uD82C[\\uDC00\\uDC01]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB]|\\uD83A[\\uDC00-\\uDCC4\\uDD00-\\uDD43]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1]|\\uD87E[\\uDC00-\\uDE1D]/,NonAsciiIdentifierPart:/[\\xAA\\xB5\\xB7\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B4\\u08B6-\\u08BD\\u08D4-\\u08E1\\u08E3-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0AF9\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58-\\u0C5A\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C80-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D54-\\u0D57\\u0D5F-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1369-\\u1371\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19DA\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1C80-\\u1C88\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFB-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C5\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA8FD\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]|\\uD800[\\uDC00-\\uDC0B\\uDC0D-\\uDC26\\uDC28-\\uDC3A\\uDC3C\\uDC3D\\uDC3F-\\uDC4D\\uDC50-\\uDC5D\\uDC80-\\uDCFA\\uDD40-\\uDD74\\uDDFD\\uDE80-\\uDE9C\\uDEA0-\\uDED0\\uDEE0\\uDF00-\\uDF1F\\uDF30-\\uDF4A\\uDF50-\\uDF7A\\uDF80-\\uDF9D\\uDFA0-\\uDFC3\\uDFC8-\\uDFCF\\uDFD1-\\uDFD5]|\\uD801[\\uDC00-\\uDC9D\\uDCA0-\\uDCA9\\uDCB0-\\uDCD3\\uDCD8-\\uDCFB\\uDD00-\\uDD27\\uDD30-\\uDD63\\uDE00-\\uDF36\\uDF40-\\uDF55\\uDF60-\\uDF67]|\\uD802[\\uDC00-\\uDC05\\uDC08\\uDC0A-\\uDC35\\uDC37\\uDC38\\uDC3C\\uDC3F-\\uDC55\\uDC60-\\uDC76\\uDC80-\\uDC9E\\uDCE0-\\uDCF2\\uDCF4\\uDCF5\\uDD00-\\uDD15\\uDD20-\\uDD39\\uDD80-\\uDDB7\\uDDBE\\uDDBF\\uDE00-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE13\\uDE15-\\uDE17\\uDE19-\\uDE33\\uDE38-\\uDE3A\\uDE3F\\uDE60-\\uDE7C\\uDE80-\\uDE9C\\uDEC0-\\uDEC7\\uDEC9-\\uDEE6\\uDF00-\\uDF35\\uDF40-\\uDF55\\uDF60-\\uDF72\\uDF80-\\uDF91]|\\uD803[\\uDC00-\\uDC48\\uDC80-\\uDCB2\\uDCC0-\\uDCF2]|\\uD804[\\uDC00-\\uDC46\\uDC66-\\uDC6F\\uDC7F-\\uDCBA\\uDCD0-\\uDCE8\\uDCF0-\\uDCF9\\uDD00-\\uDD34\\uDD36-\\uDD3F\\uDD50-\\uDD73\\uDD76\\uDD80-\\uDDC4\\uDDCA-\\uDDCC\\uDDD0-\\uDDDA\\uDDDC\\uDE00-\\uDE11\\uDE13-\\uDE37\\uDE3E\\uDE80-\\uDE86\\uDE88\\uDE8A-\\uDE8D\\uDE8F-\\uDE9D\\uDE9F-\\uDEA8\\uDEB0-\\uDEEA\\uDEF0-\\uDEF9\\uDF00-\\uDF03\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3C-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF50\\uDF57\\uDF5D-\\uDF63\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDC00-\\uDC4A\\uDC50-\\uDC59\\uDC80-\\uDCC5\\uDCC7\\uDCD0-\\uDCD9\\uDD80-\\uDDB5\\uDDB8-\\uDDC0\\uDDD8-\\uDDDD\\uDE00-\\uDE40\\uDE44\\uDE50-\\uDE59\\uDE80-\\uDEB7\\uDEC0-\\uDEC9\\uDF00-\\uDF19\\uDF1D-\\uDF2B\\uDF30-\\uDF39]|\\uD806[\\uDCA0-\\uDCE9\\uDCFF\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC36\\uDC38-\\uDC40\\uDC50-\\uDC59\\uDC72-\\uDC8F\\uDC92-\\uDCA7\\uDCA9-\\uDCB6]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE60-\\uDE69\\uDED0-\\uDEED\\uDEF0-\\uDEF4\\uDF00-\\uDF36\\uDF40-\\uDF43\\uDF50-\\uDF59\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50-\\uDF7E\\uDF8F-\\uDF9F\\uDFE0]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[\\uDC00-\\uDEF2]|\\uD82C[\\uDC00\\uDC01]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uDD69\\uDD6D-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB\\uDFCE-\\uDFFF]|\\uD836[\\uDE00-\\uDE36\\uDE3B-\\uDE6C\\uDE75\\uDE84\\uDE9B-\\uDE9F\\uDEA1-\\uDEAF]|\\uD838[\\uDC00-\\uDC06\\uDC08-\\uDC18\\uDC1B-\\uDC21\\uDC23\\uDC24\\uDC26-\\uDC2A]|\\uD83A[\\uDC00-\\uDCC4\\uDCD0-\\uDCD6\\uDD00-\\uDD4A\\uDD50-\\uDD59]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1]|\\uD87E[\\uDC00-\\uDE1D]|\\uDB40[\\uDD00-\\uDDEF]/};function l(E){return 48<=E&&E<=57}function p(E){return 48<=E&&E<=57||97<=E&&E<=102||65<=E&&E<=70}function y(E){return E>=48&&E<=55}a=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function h(E){return E===32||E===9||E===11||E===12||E===160||E>=5760&&a.indexOf(E)>=0}function g(E){return E===10||E===13||E===8232||E===8233}function c(E){if(E<=65535)return String.fromCharCode(E);var N=String.fromCharCode(Math.floor((E-65536)/1024)+55296),x=String.fromCharCode((E-65536)%1024+56320);return N+x}for(n=new Array(128),i=0;i<128;++i)n[i]=i>=97&&i<=122||i>=65&&i<=90||i===36||i===95;for(u=new Array(128),i=0;i<128;++i)u[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||i===36||i===95;function f(E){return E<128?n[E]:s.NonAsciiIdentifierStart.test(c(E))}function F(E){return E<128?u[E]:s.NonAsciiIdentifierPart.test(c(E))}function _(E){return E<128?n[E]:t.NonAsciiIdentifierStart.test(c(E))}function w(E){return E<128?u[E]:t.NonAsciiIdentifierPart.test(c(E))}r.exports={isDecimalDigit:l,isHexDigit:p,isOctalDigit:y,isWhiteSpace:h,isLineTerminator:g,isIdentifierStartES5:f,isIdentifierPartES5:F,isIdentifierStartES6:_,isIdentifierPartES6:w};}();}}),zm=te({\"node_modules/esutils/lib/keyword.js\"(e,r){ne(),function(){var t=so();function s(f){switch(f){case\"implements\":case\"interface\":case\"package\":case\"private\":case\"protected\":case\"public\":case\"static\":case\"let\":return !0;default:return !1}}function a(f,F){return !F&&f===\"yield\"?!1:n(f,F)}function n(f,F){if(F&&s(f))return !0;switch(f.length){case 2:return f===\"if\"||f===\"in\"||f===\"do\";case 3:return f===\"var\"||f===\"for\"||f===\"new\"||f===\"try\";case 4:return f===\"this\"||f===\"else\"||f===\"case\"||f===\"void\"||f===\"with\"||f===\"enum\";case 5:return f===\"while\"||f===\"break\"||f===\"catch\"||f===\"throw\"||f===\"const\"||f===\"yield\"||f===\"class\"||f===\"super\";case 6:return f===\"return\"||f===\"typeof\"||f===\"delete\"||f===\"switch\"||f===\"export\"||f===\"import\";case 7:return f===\"default\"||f===\"finally\"||f===\"extends\";case 8:return f===\"function\"||f===\"continue\"||f===\"debugger\";case 10:return f===\"instanceof\";default:return !1}}function u(f,F){return f===\"null\"||f===\"true\"||f===\"false\"||a(f,F)}function i(f,F){return f===\"null\"||f===\"true\"||f===\"false\"||n(f,F)}function l(f){return f===\"eval\"||f===\"arguments\"}function p(f){var F,_,w;if(f.length===0||(w=f.charCodeAt(0),!t.isIdentifierStartES5(w)))return !1;for(F=1,_=f.length;F<_;++F)if(w=f.charCodeAt(F),!t.isIdentifierPartES5(w))return !1;return !0}function y(f,F){return (f-55296)*1024+(F-56320)+65536}function h(f){var F,_,w,E,N;if(f.length===0)return !1;for(N=t.isIdentifierStartES6,F=0,_=f.length;F<_;++F){if(w=f.charCodeAt(F),55296<=w&&w<=56319){if(++F,F>=_||(E=f.charCodeAt(F),!(56320<=E&&E<=57343)))return !1;w=y(w,E);}if(!N(w))return !1;N=t.isIdentifierPartES6;}return !0}function g(f,F){return p(f)&&!u(f,F)}function c(f,F){return h(f)&&!i(f,F)}r.exports={isKeywordES5:a,isKeywordES6:n,isReservedWordES5:u,isReservedWordES6:i,isRestrictedWord:l,isIdentifierNameES5:p,isIdentifierNameES6:h,isIdentifierES5:g,isIdentifierES6:c};}();}}),Xm=te({\"node_modules/esutils/lib/utils.js\"(e){ne(),function(){e.ast=Jm(),e.code=so(),e.keyword=zm();}();}}),Pt=te({\"src/language-js/utils/is-block-comment.js\"(e,r){ne();var t=new Set([\"Block\",\"CommentBlock\",\"MultiLine\"]),s=a=>t.has(a?.type);r.exports=s;}}),Km=te({\"src/language-js/utils/is-node-matches.js\"(e,r){ne();function t(a,n){let u=n.split(\".\");for(let i=u.length-1;i>=0;i--){let l=u[i];if(i===0)return a.type===\"Identifier\"&&a.name===l;if(a.type!==\"MemberExpression\"||a.optional||a.computed||a.property.type!==\"Identifier\"||a.property.name!==l)return !1;a=a.object;}}function s(a,n){return n.some(u=>t(a,u))}r.exports=s;}}),Ke=te({\"src/language-js/utils/index.js\"(e,r){ne();var t=Xm().keyword.isIdentifierNameES5,{getLast:s,hasNewline:a,skipWhitespace:n,isNonEmptyArray:u,isNextLineEmptyAfterIndex:i,getStringWidth:l}=Ue(),{locStart:p,locEnd:y,hasSameLocStart:h}=ut(),g=Pt(),c=Km(),f=\"(?:(?=.)\\\\s)\",F=new RegExp(`^${f}*:`),_=new RegExp(`^${f}*::`);function w(O){var me,_e;return ((me=O.extra)===null||me===void 0?void 0:me.parenthesized)&&g((_e=O.trailingComments)===null||_e===void 0?void 0:_e[0])&&F.test(O.trailingComments[0].value)}function E(O){let me=O?.[0];return g(me)&&_.test(me.value)}function N(O,me){if(!O||typeof O!=\"object\")return !1;if(Array.isArray(O))return O.some(He=>N(He,me));let _e=me(O);return typeof _e==\"boolean\"?_e:Object.values(O).some(He=>N(He,me))}function x(O){return O.type===\"AssignmentExpression\"||O.type===\"BinaryExpression\"||O.type===\"LogicalExpression\"||O.type===\"NGPipeExpression\"||O.type===\"ConditionalExpression\"||de(O)||ue(O)||O.type===\"SequenceExpression\"||O.type===\"TaggedTemplateExpression\"||O.type===\"BindExpression\"||O.type===\"UpdateExpression\"&&!O.prefix||st(O)||O.type===\"TSNonNullExpression\"}function I(O){var me,_e,He,Ge,it,Qe;return O.expressions?O.expressions[0]:(me=(_e=(He=(Ge=(it=(Qe=O.left)!==null&&Qe!==void 0?Qe:O.test)!==null&&it!==void 0?it:O.callee)!==null&&Ge!==void 0?Ge:O.object)!==null&&He!==void 0?He:O.tag)!==null&&_e!==void 0?_e:O.argument)!==null&&me!==void 0?me:O.expression}function P(O,me){if(me.expressions)return [\"expressions\",0];if(me.left)return [\"left\"];if(me.test)return [\"test\"];if(me.object)return [\"object\"];if(me.callee)return [\"callee\"];if(me.tag)return [\"tag\"];if(me.argument)return [\"argument\"];if(me.expression)return [\"expression\"];throw new Error(\"Unexpected node has no left side.\")}function $(O){return O=new Set(O),me=>O.has(me?.type)}var D=$([\"Line\",\"CommentLine\",\"SingleLine\",\"HashbangComment\",\"HTMLOpen\",\"HTMLClose\"]),T=$([\"ExportDefaultDeclaration\",\"ExportDefaultSpecifier\",\"DeclareExportDeclaration\",\"ExportNamedDeclaration\",\"ExportAllDeclaration\"]);function m(O){let me=O.getParentNode();return O.getName()===\"declaration\"&&T(me)?me:null}var C=$([\"BooleanLiteral\",\"DirectiveLiteral\",\"Literal\",\"NullLiteral\",\"NumericLiteral\",\"BigIntLiteral\",\"DecimalLiteral\",\"RegExpLiteral\",\"StringLiteral\",\"TemplateLiteral\",\"TSTypeLiteral\",\"JSXText\"]);function o(O){return O.type===\"NumericLiteral\"||O.type===\"Literal\"&&typeof O.value==\"number\"}function d(O){return O.type===\"UnaryExpression\"&&(O.operator===\"+\"||O.operator===\"-\")&&o(O.argument)}function v(O){return O.type===\"StringLiteral\"||O.type===\"Literal\"&&typeof O.value==\"string\"}var S=$([\"ObjectTypeAnnotation\",\"TSTypeLiteral\",\"TSMappedType\"]),b=$([\"FunctionExpression\",\"ArrowFunctionExpression\"]);function B(O){return O.type===\"FunctionExpression\"||O.type===\"ArrowFunctionExpression\"&&O.body.type===\"BlockStatement\"}function k(O){return de(O)&&O.callee.type===\"Identifier\"&&[\"async\",\"inject\",\"fakeAsync\",\"waitForAsync\"].includes(O.callee.name)}var M=$([\"JSXElement\",\"JSXFragment\"]);function R(O,me){if(O.parentParser!==\"markdown\"&&O.parentParser!==\"mdx\")return !1;let _e=me.getNode();if(!_e.expression||!M(_e.expression))return !1;let He=me.getParentNode();return He.type===\"Program\"&&He.body.length===1}function q(O){return O.kind===\"get\"||O.kind===\"set\"}function J(O){return q(O)||h(O,O.value)}function L(O){return (O.type===\"ObjectTypeProperty\"||O.type===\"ObjectTypeInternalSlot\")&&O.value.type===\"FunctionTypeAnnotation\"&&!O.static&&!J(O)}function Q(O){return (O.type===\"TypeAnnotation\"||O.type===\"TSTypeAnnotation\")&&O.typeAnnotation.type===\"FunctionTypeAnnotation\"&&!O.static&&!h(O,O.typeAnnotation)}var V=$([\"BinaryExpression\",\"LogicalExpression\",\"NGPipeExpression\"]);function j(O){return ue(O)||O.type===\"BindExpression\"&&Boolean(O.object)}var Y=new Set([\"AnyTypeAnnotation\",\"TSAnyKeyword\",\"NullLiteralTypeAnnotation\",\"TSNullKeyword\",\"ThisTypeAnnotation\",\"TSThisType\",\"NumberTypeAnnotation\",\"TSNumberKeyword\",\"VoidTypeAnnotation\",\"TSVoidKeyword\",\"BooleanTypeAnnotation\",\"TSBooleanKeyword\",\"BigIntTypeAnnotation\",\"TSBigIntKeyword\",\"SymbolTypeAnnotation\",\"TSSymbolKeyword\",\"StringTypeAnnotation\",\"TSStringKeyword\",\"BooleanLiteralTypeAnnotation\",\"StringLiteralTypeAnnotation\",\"BigIntLiteralTypeAnnotation\",\"NumberLiteralTypeAnnotation\",\"TSLiteralType\",\"TSTemplateLiteralType\",\"EmptyTypeAnnotation\",\"MixedTypeAnnotation\",\"TSNeverKeyword\",\"TSObjectKeyword\",\"TSUndefinedKeyword\",\"TSUnknownKeyword\"]);function ie(O){return O?!!((O.type===\"GenericTypeAnnotation\"||O.type===\"TSTypeReference\")&&!O.typeParameters||Y.has(O.type)):!1}function ee(O){let me=/^(?:before|after)(?:Each|All)$/;return O.callee.type===\"Identifier\"&&me.test(O.callee.name)&&O.arguments.length===1}var ce=[\"it\",\"it.only\",\"it.skip\",\"describe\",\"describe.only\",\"describe.skip\",\"test\",\"test.only\",\"test.skip\",\"test.step\",\"test.describe\",\"test.describe.only\",\"test.describe.parallel\",\"test.describe.parallel.only\",\"test.describe.serial\",\"test.describe.serial.only\",\"skip\",\"xit\",\"xdescribe\",\"xtest\",\"fit\",\"fdescribe\",\"ftest\"];function W(O){return c(O,ce)}function K(O,me){if(O.type!==\"CallExpression\")return !1;if(O.arguments.length===1){if(k(O)&&me&&K(me))return b(O.arguments[0]);if(ee(O))return k(O.arguments[0])}else if((O.arguments.length===2||O.arguments.length===3)&&(O.arguments[0].type===\"TemplateLiteral\"||v(O.arguments[0]))&&W(O.callee))return O.arguments[2]&&!o(O.arguments[2])?!1:(O.arguments.length===2?b(O.arguments[1]):B(O.arguments[1])&&ve(O.arguments[1]).length<=1)||k(O.arguments[1]);return !1}var de=$([\"CallExpression\",\"OptionalCallExpression\"]),ue=$([\"MemberExpression\",\"OptionalMemberExpression\"]);function Fe(O){let me=\"expressions\";O.type===\"TSTemplateLiteralType\"&&(me=\"types\");let _e=O[me];return _e.length===0?!1:_e.every(He=>{if(Me(He))return !1;if(He.type===\"Identifier\"||He.type===\"ThisExpression\")return !0;if(ue(He)){let Ge=He;for(;ue(Ge);)if(Ge.property.type!==\"Identifier\"&&Ge.property.type!==\"Literal\"&&Ge.property.type!==\"StringLiteral\"&&Ge.property.type!==\"NumericLiteral\"||(Ge=Ge.object,Me(Ge)))return !1;return Ge.type===\"Identifier\"||Ge.type===\"ThisExpression\"}return !1})}function z(O,me){return O===\"+\"||O===\"-\"?O+me:me}function U(O,me){let _e=p(me),He=n(O,y(me));return He!==!1&&O.slice(_e,_e+2)===\"/*\"&&O.slice(He,He+2)===\"*/\"}function Z(O,me){return M(me)?Oe(me):Me(me,Te.Leading,_e=>a(O,y(_e)))}function se(O,me){return me.parser!==\"json\"&&v(O.key)&&oe(O.key).slice(1,-1)===O.key.value&&(t(O.key.value)&&!(me.parser===\"babel-ts\"&&O.type===\"ClassProperty\"||me.parser===\"typescript\"&&O.type===\"PropertyDefinition\")||fe(O.key.value)&&String(Number(O.key.value))===O.key.value&&(me.parser===\"babel\"||me.parser===\"acorn\"||me.parser===\"espree\"||me.parser===\"meriyah\"||me.parser===\"__babel_estree\"))}function fe(O){return /^(?:\\d+|\\d+\\.\\d+)$/.test(O)}function ge(O,me){let _e=/^[fx]?(?:describe|it|test)$/;return me.type===\"TaggedTemplateExpression\"&&me.quasi===O&&me.tag.type===\"MemberExpression\"&&me.tag.property.type===\"Identifier\"&&me.tag.property.name===\"each\"&&(me.tag.object.type===\"Identifier\"&&_e.test(me.tag.object.name)||me.tag.object.type===\"MemberExpression\"&&me.tag.object.property.type===\"Identifier\"&&(me.tag.object.property.name===\"only\"||me.tag.object.property.name===\"skip\")&&me.tag.object.object.type===\"Identifier\"&&_e.test(me.tag.object.object.name))}function he(O){return O.quasis.some(me=>me.value.raw.includes(`\n`))}function we(O,me){return (O.type===\"TemplateLiteral\"&&he(O)||O.type===\"TaggedTemplateExpression\"&&he(O.quasi))&&!a(me,p(O),{backwards:!0})}function ke(O){if(!Me(O))return !1;let me=s(ae(O,Te.Dangling));return me&&!g(me)}function Re(O){if(O.length<=1)return !1;let me=0;for(let _e of O)if(b(_e)){if(me+=1,me>1)return !0}else if(de(_e)){for(let He of _e.arguments)if(b(He))return !0}return !1}function Ne(O){let me=O.getValue(),_e=O.getParentNode();return de(me)&&de(_e)&&_e.callee===me&&me.arguments.length>_e.arguments.length&&_e.arguments.length>0}function Pe(O,me){if(me>=2)return !1;let _e=Qe=>Pe(Qe,me+1),He=O.type===\"Literal\"&&\"regex\"in O&&O.regex.pattern||O.type===\"RegExpLiteral\"&&O.pattern;if(He&&l(He)>5)return !1;if(O.type===\"Literal\"||O.type===\"BigIntLiteral\"||O.type===\"DecimalLiteral\"||O.type===\"BooleanLiteral\"||O.type===\"NullLiteral\"||O.type===\"NumericLiteral\"||O.type===\"RegExpLiteral\"||O.type===\"StringLiteral\"||O.type===\"Identifier\"||O.type===\"ThisExpression\"||O.type===\"Super\"||O.type===\"PrivateName\"||O.type===\"PrivateIdentifier\"||O.type===\"ArgumentPlaceholder\"||O.type===\"Import\")return !0;if(O.type===\"TemplateLiteral\")return O.quasis.every(Qe=>!Qe.value.raw.includes(`\n`))&&O.expressions.every(_e);if(O.type===\"ObjectExpression\")return O.properties.every(Qe=>!Qe.computed&&(Qe.shorthand||Qe.value&&_e(Qe.value)));if(O.type===\"ArrayExpression\")return O.elements.every(Qe=>Qe===null||_e(Qe));if(tt(O))return (O.type===\"ImportExpression\"||Pe(O.callee,me))&&Ye(O).every(_e);if(ue(O))return Pe(O.object,me)&&Pe(O.property,me);let Ge={\"!\":!0,\"-\":!0,\"+\":!0,\"~\":!0};if(O.type===\"UnaryExpression\"&&Ge[O.operator])return Pe(O.argument,me);let it={\"++\":!0,\"--\":!0};return O.type===\"UpdateExpression\"&&it[O.operator]?Pe(O.argument,me):O.type===\"TSNonNullExpression\"?Pe(O.expression,me):!1}function oe(O){var me,_e;return (me=(_e=O.extra)===null||_e===void 0?void 0:_e.raw)!==null&&me!==void 0?me:O.raw}function H(O){return O}function pe(O){return O.filepath&&/\\.tsx$/i.test(O.filepath)}function X(O){let me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"es5\";return O.trailingComma===\"es5\"&&me===\"es5\"||O.trailingComma===\"all\"&&(me===\"all\"||me===\"es5\")}function le(O,me){switch(O.type){case\"BinaryExpression\":case\"LogicalExpression\":case\"AssignmentExpression\":case\"NGPipeExpression\":return le(O.left,me);case\"MemberExpression\":case\"OptionalMemberExpression\":return le(O.object,me);case\"TaggedTemplateExpression\":return O.tag.type===\"FunctionExpression\"?!1:le(O.tag,me);case\"CallExpression\":case\"OptionalCallExpression\":return O.callee.type===\"FunctionExpression\"?!1:le(O.callee,me);case\"ConditionalExpression\":return le(O.test,me);case\"UpdateExpression\":return !O.prefix&&le(O.argument,me);case\"BindExpression\":return O.object&&le(O.object,me);case\"SequenceExpression\":return le(O.expressions[0],me);case\"TSSatisfiesExpression\":case\"TSAsExpression\":case\"TSNonNullExpression\":return le(O.expression,me);default:return me(O)}}var Ae={\"==\":!0,\"!=\":!0,\"===\":!0,\"!==\":!0},Ee={\"*\":!0,\"/\":!0,\"%\":!0},De={\">>\":!0,\">>>\":!0,\"<<\":!0};function A(O,me){return !(re(me)!==re(O)||O===\"**\"||Ae[O]&&Ae[me]||me===\"%\"&&Ee[O]||O===\"%\"&&Ee[me]||me!==O&&Ee[me]&&Ee[O]||De[O]&&De[me])}var G=new Map([[\"|>\"],[\"??\"],[\"||\"],[\"&&\"],[\"|\"],[\"^\"],[\"&\"],[\"==\",\"===\",\"!=\",\"!==\"],[\"<\",\">\",\"<=\",\">=\",\"in\",\"instanceof\"],[\">>\",\"<<\",\">>>\"],[\"+\",\"-\"],[\"*\",\"/\",\"%\"],[\"**\"]].flatMap((O,me)=>O.map(_e=>[_e,me])));function re(O){return G.get(O)}function ye(O){return Boolean(De[O])||O===\"|\"||O===\"^\"||O===\"&\"}function Ce(O){var me;if(O.rest)return !0;let _e=ve(O);return ((me=s(_e))===null||me===void 0?void 0:me.type)===\"RestElement\"}var Be=new WeakMap;function ve(O){if(Be.has(O))return Be.get(O);let me=[];return O.this&&me.push(O.this),Array.isArray(O.parameters)?me.push(...O.parameters):Array.isArray(O.params)&&me.push(...O.params),O.rest&&me.push(O.rest),Be.set(O,me),me}function ze(O,me){let _e=O.getValue(),He=0,Ge=it=>me(it,He++);_e.this&&O.call(Ge,\"this\"),Array.isArray(_e.parameters)?O.each(Ge,\"parameters\"):Array.isArray(_e.params)&&O.each(Ge,\"params\"),_e.rest&&O.call(Ge,\"rest\");}var be=new WeakMap;function Ye(O){if(be.has(O))return be.get(O);let me=O.arguments;return O.type===\"ImportExpression\"&&(me=[O.source],O.attributes&&me.push(O.attributes)),be.set(O,me),me}function Se(O,me){let _e=O.getValue();_e.type===\"ImportExpression\"?(O.call(He=>me(He,0),\"source\"),_e.attributes&&O.call(He=>me(He,1),\"attributes\")):O.each(me,\"arguments\");}function Ie(O){return O.value.trim()===\"prettier-ignore\"&&!O.unignore}function Oe(O){return O&&(O.prettierIgnore||Me(O,Te.PrettierIgnore))}function Je(O){let me=O.getValue();return Oe(me)}var Te={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},je=(O,me)=>{if(typeof O==\"function\"&&(me=O,O=0),O||me)return (_e,He,Ge)=>!(O&Te.Leading&&!_e.leading||O&Te.Trailing&&!_e.trailing||O&Te.Dangling&&(_e.leading||_e.trailing)||O&Te.Block&&!g(_e)||O&Te.Line&&!D(_e)||O&Te.First&&He!==0||O&Te.Last&&He!==Ge.length-1||O&Te.PrettierIgnore&&!Ie(_e)||me&&!me(_e))};function Me(O,me,_e){if(!u(O?.comments))return !1;let He=je(me,_e);return He?O.comments.some(He):!0}function ae(O,me,_e){if(!Array.isArray(O?.comments))return [];let He=je(me,_e);return He?O.comments.filter(He):O.comments}var nt=(O,me)=>{let{originalText:_e}=me;return i(_e,y(O))};function tt(O){return de(O)||O.type===\"NewExpression\"||O.type===\"ImportExpression\"}function Ve(O){return O&&(O.type===\"ObjectProperty\"||O.type===\"Property\"&&!O.method&&O.kind===\"init\")}function We(O){return Boolean(O.__isUsingHackPipeline)}var Xe=Symbol(\"ifWithoutBlockAndSameLineComment\");function st(O){return O.type===\"TSAsExpression\"||O.type===\"TSSatisfiesExpression\"}r.exports={getFunctionParameters:ve,iterateFunctionParametersPath:ze,getCallArguments:Ye,iterateCallArgumentsPath:Se,hasRestParameter:Ce,getLeftSide:I,getLeftSidePathName:P,getParentExportDeclaration:m,getTypeScriptMappedTypeModifier:z,hasFlowAnnotationComment:E,hasFlowShorthandAnnotationComment:w,hasLeadingOwnLineComment:Z,hasNakedLeftSide:x,hasNode:N,hasIgnoreComment:Je,hasNodeIgnoreComment:Oe,identity:H,isBinaryish:V,isCallLikeExpression:tt,isEnabledHackPipeline:We,isLineComment:D,isPrettierIgnoreComment:Ie,isCallExpression:de,isMemberExpression:ue,isExportDeclaration:T,isFlowAnnotationComment:U,isFunctionCompositionArgs:Re,isFunctionNotation:J,isFunctionOrArrowExpression:b,isGetterOrSetter:q,isJestEachTemplateLiteral:ge,isJsxNode:M,isLiteral:C,isLongCurriedCallExpression:Ne,isSimpleCallArgument:Pe,isMemberish:j,isNumericLiteral:o,isSignedNumericLiteral:d,isObjectProperty:Ve,isObjectType:S,isObjectTypePropertyAFunction:L,isSimpleType:ie,isSimpleNumber:fe,isSimpleTemplateLiteral:Fe,isStringLiteral:v,isStringPropSafeToUnquote:se,isTemplateOnItsOwnLine:we,isTestCall:K,isTheOnlyJsxElementInMarkdown:R,isTSXFile:pe,isTypeAnnotationAFunction:Q,isNextLineEmpty:nt,needsHardlineAfterDanglingComment:ke,rawText:oe,shouldPrintComma:X,isBitwiseOperator:ye,shouldFlatten:A,startsWithNoLookaheadToken:le,getPrecedence:re,hasComment:Me,getComments:ae,CommentCheckFlags:Te,markerForIfWithoutBlockAndSameLineComment:Xe,isTSTypeExpression:st};}}),jt=te({\"src/language-js/print/template-literal.js\"(e,r){ne();var t=lt(),{getStringWidth:s,getIndentSize:a}=Ue(),{builders:{join:n,hardline:u,softline:i,group:l,indent:p,align:y,lineSuffixBoundary:h,addAlignmentToDoc:g},printer:{printDocToString:c},utils:{mapDoc:f}}=qe(),{isBinaryish:F,isJestEachTemplateLiteral:_,isSimpleTemplateLiteral:w,hasComment:E,isMemberExpression:N,isTSTypeExpression:x}=Ke();function I(C,o,d){let v=C.getValue();if(v.type===\"TemplateLiteral\"&&_(v,C.getParentNode())){let R=P(C,d,o);if(R)return R}let b=\"expressions\";v.type===\"TSTemplateLiteralType\"&&(b=\"types\");let B=[],k=C.map(o,b),M=w(v);return M&&(k=k.map(R=>c(R,Object.assign(Object.assign({},d),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),B.push(h,\"`\"),C.each(R=>{let q=R.getName();if(B.push(o()),q1||S.some(b=>b.length>0)){o.__inJestEach=!0;let b=C.map(d,\"expressions\");o.__inJestEach=!1;let B=[],k=b.map(L=>\"${\"+c(L,Object.assign(Object.assign({},o),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:\"lf\"})).formatted+\"}\"),M=[{hasLineBreak:!1,cells:[]}];for(let L=1;LL.cells.length)),q=Array.from({length:R}).fill(0),J=[{cells:S},...M.filter(L=>L.cells.length>0)];for(let{cells:L}of J.filter(Q=>!Q.hasLineBreak))for(let[Q,V]of L.entries())q[Q]=Math.max(q[Q],s(V));return B.push(h,\"`\",p([u,n(u,J.map(L=>n(\" | \",L.cells.map((Q,V)=>L.hasLineBreak?Q:Q+\" \".repeat(q[V]-s(Q))))))]),u,\"`\"),B}}function $(C,o){let d=C.getValue(),v=o();return E(d)&&(v=l([p([i,v]),i])),[\"${\",v,h,\"}\"]}function D(C,o){return C.map(d=>$(d,o),\"expressions\")}function T(C,o){return f(C,d=>typeof d==\"string\"?o?d.replace(/(\\\\*)`/g,\"$1$1\\\\`\"):m(d):d)}function m(C){return C.replace(/([\\\\`]|\\${)/g,\"\\\\$1\")}r.exports={printTemplateLiteral:I,printTemplateExpressions:D,escapeTemplateCharacters:T,uncookTemplateElementValue:m};}}),Ym=te({\"src/language-js/embed/markdown.js\"(e,r){ne();var{builders:{indent:t,softline:s,literalline:a,dedentToRoot:n}}=qe(),{escapeTemplateCharacters:u}=jt();function i(p,y,h){let c=p.getValue().quasis[0].value.raw.replace(/((?:\\\\\\\\)*)\\\\`/g,(w,E)=>\"\\\\\".repeat(E.length/2)+\"`\"),f=l(c),F=f!==\"\";F&&(c=c.replace(new RegExp(`^${f}`,\"gm\"),\"\"));let _=u(h(c,{parser:\"markdown\",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return [\"`\",F?t([s,_]):[a,n(_)],s,\"`\"]}function l(p){let y=p.match(/^([^\\S\\n]*)\\S/m);return y===null?\"\":y[1]}r.exports=i;}}),Qm=te({\"src/language-js/embed/css.js\"(e,r){ne();var{isNonEmptyArray:t}=Ue(),{builders:{indent:s,hardline:a,softline:n},utils:{mapDoc:u,replaceEndOfLine:i,cleanDoc:l}}=qe(),{printTemplateExpressions:p}=jt();function y(c,f,F){let _=c.getValue(),w=_.quasis.map(P=>P.value.raw),E=0,N=w.reduce((P,$,D)=>D===0?$:P+\"@prettier-placeholder-\"+E+++\"-id\"+$,\"\"),x=F(N,{parser:\"scss\"},{stripTrailingHardline:!0}),I=p(c,f);return h(x,_,I)}function h(c,f,F){if(f.quasis.length===1&&!f.quasis[0].value.raw.trim())return \"``\";let w=g(c,F);if(!w)throw new Error(\"Couldn't insert all the expressions\");return [\"`\",s([a,w]),n,\"`\"]}function g(c,f){if(!t(f))return c;let F=0,_=u(l(c),w=>typeof w!=\"string\"||!w.includes(\"@prettier-placeholder\")?w:w.split(/@prettier-placeholder-(\\d+)-id/).map((E,N)=>N%2===0?i(E):(F++,f[E])));return f.length===F?_:null}r.exports=y;}}),Zm=te({\"src/language-js/embed/graphql.js\"(e,r){ne();var{builders:{indent:t,join:s,hardline:a}}=qe(),{escapeTemplateCharacters:n,printTemplateExpressions:u}=jt();function i(p,y,h){let g=p.getValue(),c=g.quasis.length;if(c===1&&g.quasis[0].value.raw.trim()===\"\")return \"``\";let f=u(p,y),F=[];for(let _=0;_2&&I[0].trim()===\"\"&&I[1].trim()===\"\",T=P>2&&I[P-1].trim()===\"\"&&I[P-2].trim()===\"\",m=I.every(o=>/^\\s*(?:#[^\\n\\r]*)?$/.test(o));if(!N&&/#[^\\n\\r]*$/.test(I[P-1]))return null;let C=null;m?C=l(I):C=h(x,{parser:\"graphql\"},{stripTrailingHardline:!0}),C?(C=n(C,!1),!E&&D&&F.push(\"\"),F.push(C),!N&&T&&F.push(\"\")):!E&&!N&&D&&F.push(\"\"),$&&F.push($);}return [\"`\",t([a,s(a,F)]),a,\"`\"]}function l(p){let y=[],h=!1,g=p.map(c=>c.trim());for(let[c,f]of g.entries())f!==\"\"&&(g[c-1]===\"\"&&h?y.push([a,f]):y.push(f),h=!0);return y.length===0?null:s(a,y)}r.exports=i;}}),ed=te({\"src/language-js/embed/html.js\"(e,r){ne();var{builders:{indent:t,line:s,hardline:a,group:n},utils:{mapDoc:u}}=qe(),{printTemplateExpressions:i,uncookTemplateElementValue:l}=jt(),p=0;function y(h,g,c,f,F){let{parser:_}=F,w=h.getValue(),E=p;p=p+1>>>0;let N=d=>`PRETTIER_HTML_PLACEHOLDER_${d}_${E}_IN_JS`,x=w.quasis.map((d,v,S)=>v===S.length-1?d.value.cooked:d.value.cooked+N(v)).join(\"\"),I=i(h,g);if(I.length===0&&x.trim().length===0)return \"``\";let P=new RegExp(N(\"(\\\\d+)\"),\"g\"),$=0,D=c(x,{parser:_,__onHtmlRoot(d){$=d.children.length;}},{stripTrailingHardline:!0}),T=u(D,d=>{if(typeof d!=\"string\")return d;let v=[],S=d.split(P);for(let b=0;b1?t(n(T)):n(T),C,\"`\"])}r.exports=y;}}),td=te({\"src/language-js/embed.js\"(e,r){ne();var{hasComment:t,CommentCheckFlags:s,isObjectProperty:a}=Ke(),n=Ym(),u=Qm(),i=Zm(),l=ed();function p(D){if(g(D)||_(D)||w(D)||c(D))return \"css\";if(x(D))return \"graphql\";if(P(D))return \"html\";if(f(D))return \"angular\";if(h(D))return \"markdown\"}function y(D,T,m,C){let o=D.getValue();if(o.type!==\"TemplateLiteral\"||$(o))return;let d=p(D);if(d){if(d===\"markdown\")return n(D,T,m);if(d===\"css\")return u(D,T,m);if(d===\"graphql\")return i(D,T,m);if(d===\"html\"||d===\"angular\")return l(D,T,m,C,{parser:d})}}function h(D){let T=D.getValue(),m=D.getParentNode();return m&&m.type===\"TaggedTemplateExpression\"&&T.quasis.length===1&&m.tag.type===\"Identifier\"&&(m.tag.name===\"md\"||m.tag.name===\"markdown\")}function g(D){let T=D.getValue(),m=D.getParentNode(),C=D.getParentNode(1);return C&&T.quasis&&m.type===\"JSXExpressionContainer\"&&C.type===\"JSXElement\"&&C.openingElement.name.name===\"style\"&&C.openingElement.attributes.some(o=>o.name.name===\"jsx\")||m&&m.type===\"TaggedTemplateExpression\"&&m.tag.type===\"Identifier\"&&m.tag.name===\"css\"||m&&m.type===\"TaggedTemplateExpression\"&&m.tag.type===\"MemberExpression\"&&m.tag.object.name===\"css\"&&(m.tag.property.name===\"global\"||m.tag.property.name===\"resolve\")}function c(D){return D.match(T=>T.type===\"TemplateLiteral\",(T,m)=>T.type===\"ArrayExpression\"&&m===\"elements\",(T,m)=>a(T)&&T.key.type===\"Identifier\"&&T.key.name===\"styles\"&&m===\"value\",...F)}function f(D){return D.match(T=>T.type===\"TemplateLiteral\",(T,m)=>a(T)&&T.key.type===\"Identifier\"&&T.key.name===\"template\"&&m===\"value\",...F)}var F=[(D,T)=>D.type===\"ObjectExpression\"&&T===\"properties\",(D,T)=>D.type===\"CallExpression\"&&D.callee.type===\"Identifier\"&&D.callee.name===\"Component\"&&T===\"arguments\",(D,T)=>D.type===\"Decorator\"&&T===\"expression\"];function _(D){let T=D.getParentNode();if(!T||T.type!==\"TaggedTemplateExpression\")return !1;let m=T.tag.type===\"ParenthesizedExpression\"?T.tag.expression:T.tag;switch(m.type){case\"MemberExpression\":return E(m.object)||N(m);case\"CallExpression\":return E(m.callee)||m.callee.type===\"MemberExpression\"&&(m.callee.object.type===\"MemberExpression\"&&(E(m.callee.object.object)||N(m.callee.object))||m.callee.object.type===\"CallExpression\"&&E(m.callee.object.callee));case\"Identifier\":return m.name===\"css\";default:return !1}}function w(D){let T=D.getParentNode(),m=D.getParentNode(1);return m&&T.type===\"JSXExpressionContainer\"&&m.type===\"JSXAttribute\"&&m.name.type===\"JSXIdentifier\"&&m.name.name===\"css\"}function E(D){return D.type===\"Identifier\"&&D.name===\"styled\"}function N(D){return /^[A-Z]/.test(D.object.name)&&D.property.name===\"extend\"}function x(D){let T=D.getValue(),m=D.getParentNode();return I(T,\"GraphQL\")||m&&(m.type===\"TaggedTemplateExpression\"&&(m.tag.type===\"MemberExpression\"&&m.tag.object.name===\"graphql\"&&m.tag.property.name===\"experimental\"||m.tag.type===\"Identifier\"&&(m.tag.name===\"gql\"||m.tag.name===\"graphql\"))||m.type===\"CallExpression\"&&m.callee.type===\"Identifier\"&&m.callee.name===\"graphql\")}function I(D,T){return t(D,s.Block|s.Leading,m=>{let{value:C}=m;return C===` ${T} `})}function P(D){return I(D.getValue(),\"HTML\")||D.match(T=>T.type===\"TemplateLiteral\",(T,m)=>T.type===\"TaggedTemplateExpression\"&&T.tag.type===\"Identifier\"&&T.tag.name===\"html\"&&m===\"quasi\")}function $(D){let{quasis:T}=D;return T.some(m=>{let{value:{cooked:C}}=m;return C===null})}r.exports=y;}}),rd=te({\"src/language-js/clean.js\"(e,r){ne();var t=Pt(),s=new Set([\"range\",\"raw\",\"comments\",\"leadingComments\",\"trailingComments\",\"innerComments\",\"extra\",\"start\",\"end\",\"loc\",\"flags\",\"errors\",\"tokens\"]),a=u=>{for(let i of u.quasis)delete i.value;};function n(u,i,l){if(u.type===\"Program\"&&delete i.sourceType,(u.type===\"BigIntLiteral\"||u.type===\"BigIntLiteralTypeAnnotation\")&&i.value&&(i.value=i.value.toLowerCase()),(u.type===\"BigIntLiteral\"||u.type===\"Literal\")&&i.bigint&&(i.bigint=i.bigint.toLowerCase()),u.type===\"DecimalLiteral\"&&(i.value=Number(i.value)),u.type===\"Literal\"&&i.decimal&&(i.decimal=Number(i.decimal)),u.type===\"EmptyStatement\"||u.type===\"JSXText\"||u.type===\"JSXExpressionContainer\"&&(u.expression.type===\"Literal\"||u.expression.type===\"StringLiteral\")&&u.expression.value===\" \")return null;if((u.type===\"Property\"||u.type===\"ObjectProperty\"||u.type===\"MethodDefinition\"||u.type===\"ClassProperty\"||u.type===\"ClassMethod\"||u.type===\"PropertyDefinition\"||u.type===\"TSDeclareMethod\"||u.type===\"TSPropertySignature\"||u.type===\"ObjectTypeProperty\")&&typeof u.key==\"object\"&&u.key&&(u.key.type===\"Literal\"||u.key.type===\"NumericLiteral\"||u.key.type===\"StringLiteral\"||u.key.type===\"Identifier\")&&delete i.key,u.type===\"JSXElement\"&&u.openingElement.name.name===\"style\"&&u.openingElement.attributes.some(h=>h.name.name===\"jsx\"))for(let{type:h,expression:g}of i.children)h===\"JSXExpressionContainer\"&&g.type===\"TemplateLiteral\"&&a(g);u.type===\"JSXAttribute\"&&u.name.name===\"css\"&&u.value.type===\"JSXExpressionContainer\"&&u.value.expression.type===\"TemplateLiteral\"&&a(i.value.expression),u.type===\"JSXAttribute\"&&u.value&&u.value.type===\"Literal\"&&/[\"']|"|'/.test(u.value.value)&&(i.value.value=i.value.value.replace(/[\"']|"|'/g,'\"'));let p=u.expression||u.callee;if(u.type===\"Decorator\"&&p.type===\"CallExpression\"&&p.callee.name===\"Component\"&&p.arguments.length===1){let h=u.expression.arguments[0].properties;for(let[g,c]of i.expression.arguments[0].properties.entries())switch(h[g].key.name){case\"styles\":c.value.type===\"ArrayExpression\"&&a(c.value.elements[0]);break;case\"template\":c.value.type===\"TemplateLiteral\"&&a(c.value);break}}if(u.type===\"TaggedTemplateExpression\"&&(u.tag.type===\"MemberExpression\"||u.tag.type===\"Identifier\"&&(u.tag.name===\"gql\"||u.tag.name===\"graphql\"||u.tag.name===\"css\"||u.tag.name===\"md\"||u.tag.name===\"markdown\"||u.tag.name===\"html\")||u.tag.type===\"CallExpression\")&&a(i.quasi),u.type===\"TemplateLiteral\"){var y;(!((y=u.leadingComments)===null||y===void 0)&&y.some(g=>t(g)&&[\"GraphQL\",\"HTML\"].some(c=>g.value===` ${c} `))||l.type===\"CallExpression\"&&l.callee.name===\"graphql\"||!u.leadingComments)&&a(i);}if(u.type===\"InterpreterDirective\"&&(i.value=i.value.trimEnd()),(u.type===\"TSIntersectionType\"||u.type===\"TSUnionType\")&&u.types.length===1)return i.types[0]}n.ignoredProperties=s,r.exports=n;}}),io={};Kt(io,{EOL:()=>Wn,arch:()=>nd,cpus:()=>Do,default:()=>vo,endianness:()=>ao,freemem:()=>po,getNetworkInterfaces:()=>ho,hostname:()=>oo,loadavg:()=>lo,networkInterfaces:()=>yo,platform:()=>ud,release:()=>go,tmpDir:()=>$n,tmpdir:()=>Vn,totalmem:()=>fo,type:()=>mo,uptime:()=>co});function ao(){if(typeof Tr>\"u\"){var e=new ArrayBuffer(2),r=new Uint8Array(e),t=new Uint16Array(e);if(r[0]=1,r[1]=2,t[0]===258)Tr=\"BE\";else if(t[0]===513)Tr=\"LE\";else throw new Error(\"unable to figure out endianess\")}return Tr}function oo(){return typeof globalThis.location<\"u\"?globalThis.location.hostname:\"\"}function lo(){return []}function co(){return 0}function po(){return Number.MAX_VALUE}function fo(){return Number.MAX_VALUE}function Do(){return []}function mo(){return \"Browser\"}function go(){return typeof globalThis.navigator<\"u\"?globalThis.navigator.appVersion:\"\"}function yo(){}function ho(){}function nd(){return \"javascript\"}function ud(){return \"browser\"}function $n(){return \"/tmp\"}var Tr,Vn,Wn,vo,sd=ht({\"node-modules-polyfills:os\"(){ne(),Vn=$n,Wn=`\n`,vo={EOL:Wn,tmpdir:Vn,tmpDir:$n,networkInterfaces:yo,getNetworkInterfaces:ho,release:go,type:mo,cpus:Do,totalmem:fo,freemem:po,uptime:co,loadavg:lo,hostname:oo,endianness:ao};}}),id=te({\"node-modules-polyfills-commonjs:os\"(e,r){ne();var t=(sd(),ft(io));if(t&&t.default){r.exports=t.default;for(let s in t)r.exports[s]=t[s];}else t&&(r.exports=t);}}),ad=te({\"node_modules/detect-newline/index.js\"(e,r){ne();var t=s=>{if(typeof s!=\"string\")throw new TypeError(\"Expected a string\");let a=s.match(/(?:\\r?\\n)/g)||[];if(a.length===0)return;let n=a.filter(i=>i===`\\r\n`).length,u=a.length-n;return n>u?`\\r\n`:`\n`};r.exports=t,r.exports.graceful=s=>typeof s==\"string\"&&t(s)||`\n`;}}),od=te({\"node_modules/jest-docblock/build/index.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0}),e.extract=c,e.parse=F,e.parseWithComments=_,e.print=w,e.strip=f;function r(){let N=id();return r=function(){return N},N}function t(){let N=s(ad());return t=function(){return N},N}function s(N){return N&&N.__esModule?N:{default:N}}var a=/\\*\\/$/,n=/^\\/\\*\\*?/,u=/^\\s*(\\/\\*\\*?(.|\\r?\\n)*?\\*\\/)/,i=/(^|\\s+)\\/\\/([^\\r\\n]*)/g,l=/^(\\r?\\n)+/,p=/(?:^|\\r?\\n) *(@[^\\r\\n]*?) *\\r?\\n *(?![^@\\r\\n]*\\/\\/[^]*)([^@\\r\\n\\s][^@\\r\\n]+?) *\\r?\\n/g,y=/(?:^|\\r?\\n) *@(\\S+) *([^\\r\\n]*)/g,h=/(\\r?\\n|^) *\\* ?/g,g=[];function c(N){let x=N.match(u);return x?x[0].trimLeft():\"\"}function f(N){let x=N.match(u);return x&&x[0]?N.substring(x[0].length):N}function F(N){return _(N).pragmas}function _(N){let x=(0, t().default)(N)||r().EOL;N=N.replace(n,\"\").replace(a,\"\").replace(h,\"$1\");let I=\"\";for(;I!==N;)I=N,N=N.replace(p,`${x}$1 $2${x}`);N=N.replace(l,\"\").trimRight();let P=Object.create(null),$=N.replace(y,\"\").replace(l,\"\").trimRight(),D;for(;D=y.exec(N);){let T=D[2].replace(i,\"\");typeof P[D[1]]==\"string\"||Array.isArray(P[D[1]])?P[D[1]]=g.concat(P[D[1]],T):P[D[1]]=T;}return {comments:$,pragmas:P}}function w(N){let{comments:x=\"\",pragmas:I={}}=N,P=(0, t().default)(x)||r().EOL,$=\"/**\",D=\" *\",T=\" */\",m=Object.keys(I),C=m.map(d=>E(d,I[d])).reduce((d,v)=>d.concat(v),[]).map(d=>`${D} ${d}${P}`).join(\"\");if(!x){if(m.length===0)return \"\";if(m.length===1&&!Array.isArray(I[m[0]])){let d=I[m[0]];return `${$} ${E(m[0],d)[0]}${T}`}}let o=x.split(P).map(d=>`${D} ${d}`).join(P)+P;return $+P+(x?o:\"\")+(x&&m.length?D+P:\"\")+C+T}function E(N,x){return g.concat(x).map(I=>`@${N} ${I}`.trim())}}}),ld=te({\"src/language-js/utils/get-shebang.js\"(e,r){ne();function t(s){if(!s.startsWith(\"#!\"))return \"\";let a=s.indexOf(`\n`);return a===-1?s:s.slice(0,a)}r.exports=t;}}),Co=te({\"src/language-js/pragma.js\"(e,r){ne();var{parseWithComments:t,strip:s,extract:a,print:n}=od(),{normalizeEndOfLine:u}=Jn(),i=ld();function l(h){let g=i(h);g&&(h=h.slice(g.length+1));let c=a(h),{pragmas:f,comments:F}=t(c);return {shebang:g,text:h,pragmas:f,comments:F}}function p(h){let g=Object.keys(l(h).pragmas);return g.includes(\"prettier\")||g.includes(\"format\")}function y(h){let{shebang:g,text:c,pragmas:f,comments:F}=l(h),_=s(c),w=n({pragmas:Object.assign({format:\"\"},f),comments:F.trimStart()});return (g?`${g}\n`:\"\")+u(w)+(_.startsWith(`\n`)?`\n`:`\n\n`)+_}r.exports={hasPragma:p,insertPragma:y};}}),cd=te({\"src/language-js/utils/is-type-cast-comment.js\"(e,r){ne();var t=Pt();function s(a){return t(a)&&a.value[0]===\"*\"&&/@(?:type|satisfies)\\b/.test(a.value)}r.exports=s;}}),Eo=te({\"src/language-js/comments.js\"(e,r){ne();var{getLast:t,hasNewline:s,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:a,getNextNonSpaceNonCommentCharacter:n,hasNewlineInRange:u,addLeadingComment:i,addTrailingComment:l,addDanglingComment:p,getNextNonSpaceNonCommentCharacterIndex:y,isNonEmptyArray:h}=Ue(),{getFunctionParameters:g,isPrettierIgnoreComment:c,isJsxNode:f,hasFlowShorthandAnnotationComment:F,hasFlowAnnotationComment:_,hasIgnoreComment:w,isCallLikeExpression:E,getCallArguments:N,isCallExpression:x,isMemberExpression:I,isObjectProperty:P,isLineComment:$,getComments:D,CommentCheckFlags:T,markerForIfWithoutBlockAndSameLineComment:m}=Ke(),{locStart:C,locEnd:o}=ut(),d=Pt(),v=cd();function S(De){return [H,Fe,Q,q,J,L,ie,he,se,ge,we,ke,ce,z,U].some(A=>A(De))}function b(De){return [R,Fe,V,we,q,J,L,ie,z,Z,fe,ge,Pe,U,X].some(A=>A(De))}function B(De){return [H,q,J,j,ue,ce,ge,de,K,pe,U,oe].some(A=>A(De))}function k(De,A){let G=(De.body||De.properties).find(re=>{let{type:ye}=re;return ye!==\"EmptyStatement\"});G?i(G,A):p(De,A);}function M(De,A){De.type===\"BlockStatement\"?k(De,A):i(De,A);}function R(De){let{comment:A,followingNode:G}=De;return G&&v(A)?(i(G,A),!0):!1}function q(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye,text:Ce}=De;if(re?.type!==\"IfStatement\"||!ye)return !1;if(n(Ce,A,o)===\")\")return l(G,A),!0;if(G===re.consequent&&ye===re.alternate){if(G.type===\"BlockStatement\")l(G,A);else {let ve=A.type===\"SingleLine\"||A.loc.start.line===A.loc.end.line,ze=A.loc.start.line===G.loc.start.line;ve&&ze?p(G,A,m):p(re,A);}return !0}return ye.type===\"BlockStatement\"?(k(ye,A),!0):ye.type===\"IfStatement\"?(M(ye.consequent,A),!0):re.consequent===ye?(i(ye,A),!0):!1}function J(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye,text:Ce}=De;return re?.type!==\"WhileStatement\"||!ye?!1:n(Ce,A,o)===\")\"?(l(G,A),!0):ye.type===\"BlockStatement\"?(k(ye,A),!0):re.body===ye?(i(ye,A),!0):!1}function L(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye}=De;return re?.type!==\"TryStatement\"&&re?.type!==\"CatchClause\"||!ye?!1:re.type===\"CatchClause\"&&G?(l(G,A),!0):ye.type===\"BlockStatement\"?(k(ye,A),!0):ye.type===\"TryStatement\"?(M(ye.finalizer,A),!0):ye.type===\"CatchClause\"?(M(ye.body,A),!0):!1}function Q(De){let{comment:A,enclosingNode:G,followingNode:re}=De;return I(G)&&re?.type===\"Identifier\"?(i(G,A),!0):!1}function V(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye,text:Ce}=De,Be=G&&!u(Ce,o(G),C(A));return (!G||!Be)&&(re?.type===\"ConditionalExpression\"||re?.type===\"TSConditionalType\")&&ye?(i(ye,A),!0):!1}function j(De){let{comment:A,precedingNode:G,enclosingNode:re}=De;return P(re)&&re.shorthand&&re.key===G&&re.value.type===\"AssignmentPattern\"?(l(re.value.left,A),!0):!1}var Y=new Set([\"ClassDeclaration\",\"ClassExpression\",\"DeclareClass\",\"DeclareInterface\",\"InterfaceDeclaration\",\"TSInterfaceDeclaration\"]);function ie(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye}=De;if(Y.has(re?.type)){if(h(re.decorators)&&!(ye&&ye.type===\"Decorator\"))return l(t(re.decorators),A),!0;if(re.body&&ye===re.body)return k(re.body,A),!0;if(ye){if(re.superClass&&ye===re.superClass&&G&&(G===re.id||G===re.typeParameters))return l(G,A),!0;for(let Ce of [\"implements\",\"extends\",\"mixins\"])if(re[Ce]&&ye===re[Ce][0])return G&&(G===re.id||G===re.typeParameters||G===re.superClass)?l(G,A):p(re,A,Ce),!0}}return !1}var ee=new Set([\"ClassMethod\",\"ClassProperty\",\"PropertyDefinition\",\"TSAbstractPropertyDefinition\",\"TSAbstractMethodDefinition\",\"TSDeclareMethod\",\"MethodDefinition\",\"ClassAccessorProperty\",\"AccessorProperty\",\"TSAbstractAccessorProperty\"]);function ce(De){let{comment:A,precedingNode:G,enclosingNode:re,text:ye}=De;return re&&G&&n(ye,A,o)===\"(\"&&(re.type===\"Property\"||re.type===\"TSDeclareMethod\"||re.type===\"TSAbstractMethodDefinition\")&&G.type===\"Identifier\"&&re.key===G&&n(ye,G,o)!==\":\"||G?.type===\"Decorator\"&&ee.has(re?.type)?(l(G,A),!0):!1}var W=new Set([\"FunctionDeclaration\",\"FunctionExpression\",\"ClassMethod\",\"MethodDefinition\",\"ObjectMethod\"]);function K(De){let{comment:A,precedingNode:G,enclosingNode:re,text:ye}=De;return n(ye,A,o)!==\"(\"?!1:G&&W.has(re?.type)?(l(G,A),!0):!1}function de(De){let{comment:A,enclosingNode:G,text:re}=De;if(G?.type!==\"ArrowFunctionExpression\")return !1;let ye=y(re,A,o);return ye!==!1&&re.slice(ye,ye+2)===\"=>\"?(p(G,A),!0):!1}function ue(De){let{comment:A,enclosingNode:G,text:re}=De;return n(re,A,o)!==\")\"?!1:G&&(le(G)&&g(G).length===0||E(G)&&N(G).length===0)?(p(G,A),!0):(G?.type===\"MethodDefinition\"||G?.type===\"TSAbstractMethodDefinition\")&&g(G.value).length===0?(p(G.value,A),!0):!1}function Fe(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye,text:Ce}=De;if(G?.type===\"FunctionTypeParam\"&&re?.type===\"FunctionTypeAnnotation\"&&ye?.type!==\"FunctionTypeParam\"||(G?.type===\"Identifier\"||G?.type===\"AssignmentPattern\")&&re&&le(re)&&n(Ce,A,o)===\")\")return l(G,A),!0;if(re?.type===\"FunctionDeclaration\"&&ye?.type===\"BlockStatement\"){let Be=(()=>{let ve=g(re);if(ve.length>0)return a(Ce,o(t(ve)));let ze=a(Ce,o(re.id));return ze!==!1&&a(Ce,ze+1)})();if(C(A)>Be)return k(ye,A),!0}return !1}function z(De){let{comment:A,enclosingNode:G}=De;return G?.type===\"LabeledStatement\"?(i(G,A),!0):!1}function U(De){let{comment:A,enclosingNode:G}=De;return (G?.type===\"ContinueStatement\"||G?.type===\"BreakStatement\")&&!G.label?(l(G,A),!0):!1}function Z(De){let{comment:A,precedingNode:G,enclosingNode:re}=De;return x(re)&&G&&re.callee===G&&re.arguments.length>0?(i(re.arguments[0],A),!0):!1}function se(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye}=De;return re?.type===\"UnionTypeAnnotation\"||re?.type===\"TSUnionType\"?(c(A)&&(ye.prettierIgnore=!0,A.unignore=!0),G?(l(G,A),!0):!1):((ye?.type===\"UnionTypeAnnotation\"||ye?.type===\"TSUnionType\")&&c(A)&&(ye.types[0].prettierIgnore=!0,A.unignore=!0),!1)}function fe(De){let{comment:A,enclosingNode:G}=De;return P(G)?(i(G,A),!0):!1}function ge(De){let{comment:A,enclosingNode:G,followingNode:re,ast:ye,isLastComment:Ce}=De;return ye&&ye.body&&ye.body.length===0?(Ce?p(ye,A):i(ye,A),!0):G?.type===\"Program\"&&G?.body.length===0&&!h(G.directives)?(Ce?p(G,A):i(G,A),!0):re?.type===\"Program\"&&re?.body.length===0&&G?.type===\"ModuleExpression\"?(p(re,A),!0):!1}function he(De){let{comment:A,enclosingNode:G}=De;return G?.type===\"ForInStatement\"||G?.type===\"ForOfStatement\"?(i(G,A),!0):!1}function we(De){let{comment:A,precedingNode:G,enclosingNode:re,text:ye}=De;if(re?.type===\"ImportSpecifier\"||re?.type===\"ExportSpecifier\")return i(re,A),!0;let Ce=G?.type===\"ImportSpecifier\"&&re?.type===\"ImportDeclaration\",Be=G?.type===\"ExportSpecifier\"&&re?.type===\"ExportNamedDeclaration\";return (Ce||Be)&&s(ye,o(A))?(l(G,A),!0):!1}function ke(De){let{comment:A,enclosingNode:G}=De;return G?.type===\"AssignmentPattern\"?(i(G,A),!0):!1}var Re=new Set([\"VariableDeclarator\",\"AssignmentExpression\",\"TypeAlias\",\"TSTypeAliasDeclaration\"]),Ne=new Set([\"ObjectExpression\",\"ArrayExpression\",\"TemplateLiteral\",\"TaggedTemplateExpression\",\"ObjectTypeAnnotation\",\"TSTypeLiteral\"]);function Pe(De){let{comment:A,enclosingNode:G,followingNode:re}=De;return Re.has(G?.type)&&re&&(Ne.has(re.type)||d(A))?(i(re,A),!0):!1}function oe(De){let{comment:A,enclosingNode:G,followingNode:re,text:ye}=De;return !re&&(G?.type===\"TSMethodSignature\"||G?.type===\"TSDeclareFunction\"||G?.type===\"TSAbstractMethodDefinition\")&&n(ye,A,o)===\";\"?(l(G,A),!0):!1}function H(De){let{comment:A,enclosingNode:G,followingNode:re}=De;if(c(A)&&G?.type===\"TSMappedType\"&&re?.type===\"TSTypeParameter\"&&re.constraint)return G.prettierIgnore=!0,A.unignore=!0,!0}function pe(De){let{comment:A,precedingNode:G,enclosingNode:re,followingNode:ye}=De;return re?.type!==\"TSMappedType\"?!1:ye?.type===\"TSTypeParameter\"&&ye.name?(i(ye.name,A),!0):G?.type===\"TSTypeParameter\"&&G.constraint?(l(G.constraint,A),!0):!1}function X(De){let{comment:A,enclosingNode:G,followingNode:re}=De;return !G||G.type!==\"SwitchCase\"||G.test||!re||re!==G.consequent[0]?!1:(re.type===\"BlockStatement\"&&$(A)?k(re,A):p(G,A),!0)}function le(De){return De.type===\"ArrowFunctionExpression\"||De.type===\"FunctionExpression\"||De.type===\"FunctionDeclaration\"||De.type===\"ObjectMethod\"||De.type===\"ClassMethod\"||De.type===\"TSDeclareFunction\"||De.type===\"TSCallSignatureDeclaration\"||De.type===\"TSConstructSignatureDeclaration\"||De.type===\"TSMethodSignature\"||De.type===\"TSConstructorType\"||De.type===\"TSFunctionType\"||De.type===\"TSDeclareMethod\"}function Ae(De,A){if((A.parser===\"typescript\"||A.parser===\"flow\"||A.parser===\"acorn\"||A.parser===\"espree\"||A.parser===\"meriyah\"||A.parser===\"__babel_estree\")&&De.type===\"MethodDefinition\"&&De.value&&De.value.type===\"FunctionExpression\"&&g(De.value).length===0&&!De.value.returnType&&!h(De.value.typeParameters)&&De.value.body)return [...De.decorators||[],De.key,De.value.body]}function Ee(De){let A=De.getValue(),G=De.getParentNode(),re=ye=>_(D(ye,T.Leading))||_(D(ye,T.Trailing));return (A&&(f(A)||F(A)||x(G)&&re(A))||G&&(G.type===\"JSXSpreadAttribute\"||G.type===\"JSXSpreadChild\"||G.type===\"UnionTypeAnnotation\"||G.type===\"TSUnionType\"||(G.type===\"ClassDeclaration\"||G.type===\"ClassExpression\")&&G.superClass===A))&&(!w(De)||G.type===\"UnionTypeAnnotation\"||G.type===\"TSUnionType\")}r.exports={handleOwnLineComment:S,handleEndOfLineComment:b,handleRemainingComment:B,getCommentChildNodes:Ae,willPrintOwnComments:Ee};}}),qt=te({\"src/language-js/needs-parens.js\"(e,r){ne();var t=lt(),s=Kn(),{getFunctionParameters:a,getLeftSidePathName:n,hasFlowShorthandAnnotationComment:u,hasNakedLeftSide:i,hasNode:l,isBitwiseOperator:p,startsWithNoLookaheadToken:y,shouldFlatten:h,getPrecedence:g,isCallExpression:c,isMemberExpression:f,isObjectProperty:F,isTSTypeExpression:_}=Ke();function w(D,T){let m=D.getParentNode();if(!m)return !1;let C=D.getName(),o=D.getNode();if(T.__isInHtmlInterpolation&&!T.bracketSpacing&&I(o)&&P(D))return !0;if(E(o))return !1;if(T.parser!==\"flow\"&&u(D.getValue()))return !0;if(o.type===\"Identifier\"){if(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\\d+_\\d+_IN_JS$/.test(o.name)||C===\"left\"&&(o.name===\"async\"&&!m.await||o.name===\"let\")&&m.type===\"ForOfStatement\")return !0;if(o.name===\"let\"){var d;let S=(d=D.findAncestor(b=>b.type===\"ForOfStatement\"))===null||d===void 0?void 0:d.left;if(S&&y(S,b=>b===o))return !0}if(C===\"object\"&&o.name===\"let\"&&m.type===\"MemberExpression\"&&m.computed&&!m.optional){let S=D.findAncestor(B=>B.type===\"ExpressionStatement\"||B.type===\"ForStatement\"||B.type===\"ForInStatement\"),b=S?S.type===\"ExpressionStatement\"?S.expression:S.type===\"ForStatement\"?S.init:S.left:void 0;if(b&&y(b,B=>B===o))return !0}return !1}if(o.type===\"ObjectExpression\"||o.type===\"FunctionExpression\"||o.type===\"ClassExpression\"||o.type===\"DoExpression\"){var v;let S=(v=D.findAncestor(b=>b.type===\"ExpressionStatement\"))===null||v===void 0?void 0:v.expression;if(S&&y(S,b=>b===o))return !0}switch(m.type){case\"ParenthesizedExpression\":return !1;case\"ClassDeclaration\":case\"ClassExpression\":{if(C===\"superClass\"&&(o.type===\"ArrowFunctionExpression\"||o.type===\"AssignmentExpression\"||o.type===\"AwaitExpression\"||o.type===\"BinaryExpression\"||o.type===\"ConditionalExpression\"||o.type===\"LogicalExpression\"||o.type===\"NewExpression\"||o.type===\"ObjectExpression\"||o.type===\"SequenceExpression\"||o.type===\"TaggedTemplateExpression\"||o.type===\"UnaryExpression\"||o.type===\"UpdateExpression\"||o.type===\"YieldExpression\"||o.type===\"TSNonNullExpression\"))return !0;break}case\"ExportDefaultDeclaration\":return $(D,T)||o.type===\"SequenceExpression\";case\"Decorator\":{if(C===\"expression\"){if(f(o)&&o.computed)return !0;let S=!1,b=!1,B=o;for(;B;)switch(B.type){case\"MemberExpression\":b=!0,B=B.object;break;case\"CallExpression\":if(b||S)return T.parser!==\"typescript\";S=!0,B=B.callee;break;case\"Identifier\":return !1;case\"TaggedTemplateExpression\":return T.parser!==\"typescript\";default:return !0}return !0}break}case\"ArrowFunctionExpression\":{if(C===\"body\"&&o.type!==\"SequenceExpression\"&&y(o,S=>S.type===\"ObjectExpression\"))return !0;break}}switch(o.type){case\"UpdateExpression\":if(m.type===\"UnaryExpression\")return o.prefix&&(o.operator===\"++\"&&m.operator===\"+\"||o.operator===\"--\"&&m.operator===\"-\");case\"UnaryExpression\":switch(m.type){case\"UnaryExpression\":return o.operator===m.operator&&(o.operator===\"+\"||o.operator===\"-\");case\"BindExpression\":return !0;case\"MemberExpression\":case\"OptionalMemberExpression\":return C===\"object\";case\"TaggedTemplateExpression\":return !0;case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return C===\"callee\";case\"BinaryExpression\":return C===\"left\"&&m.operator===\"**\";case\"TSNonNullExpression\":return !0;default:return !1}case\"BinaryExpression\":{if(m.type===\"UpdateExpression\"||o.operator===\"in\"&&N(D))return !0;if(o.operator===\"|>\"&&o.extra&&o.extra.parenthesized){let S=D.getParentNode(1);if(S.type===\"BinaryExpression\"&&S.operator===\"|>\")return !0}}case\"TSTypeAssertion\":case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"LogicalExpression\":switch(m.type){case\"TSSatisfiesExpression\":case\"TSAsExpression\":return !_(o);case\"ConditionalExpression\":return _(o);case\"CallExpression\":case\"NewExpression\":case\"OptionalCallExpression\":return C===\"callee\";case\"ClassExpression\":case\"ClassDeclaration\":return C===\"superClass\";case\"TSTypeAssertion\":case\"TaggedTemplateExpression\":case\"UnaryExpression\":case\"JSXSpreadAttribute\":case\"SpreadElement\":case\"SpreadProperty\":case\"BindExpression\":case\"AwaitExpression\":case\"TSNonNullExpression\":case\"UpdateExpression\":return !0;case\"MemberExpression\":case\"OptionalMemberExpression\":return C===\"object\";case\"AssignmentExpression\":case\"AssignmentPattern\":return C===\"left\"&&(o.type===\"TSTypeAssertion\"||_(o));case\"LogicalExpression\":if(o.type===\"LogicalExpression\")return m.operator!==o.operator;case\"BinaryExpression\":{let{operator:S,type:b}=o;if(!S&&b!==\"TSTypeAssertion\")return !0;let B=g(S),k=m.operator,M=g(k);return M>B||C===\"right\"&&M===B||M===B&&!h(k,S)?!0:M\");default:return !1}case\"TSConditionalType\":case\"TSFunctionType\":case\"TSConstructorType\":if(C===\"extendsType\"&&m.type===\"TSConditionalType\"){if(o.type===\"TSConditionalType\")return !0;let{typeAnnotation:S}=o.returnType||o.typeAnnotation;if(S.type===\"TSTypePredicate\"&&S.typeAnnotation&&(S=S.typeAnnotation.typeAnnotation),S.type===\"TSInferType\"&&S.typeParameter.constraint)return !0}if(C===\"checkType\"&&m.type===\"TSConditionalType\")return !0;case\"TSUnionType\":case\"TSIntersectionType\":if((m.type===\"TSUnionType\"||m.type===\"TSIntersectionType\")&&m.types.length>1&&(!o.types||o.types.length>1))return !0;case\"TSInferType\":if(o.type===\"TSInferType\"&&m.type===\"TSRestType\")return !1;case\"TSTypeOperator\":return m.type===\"TSArrayType\"||m.type===\"TSOptionalType\"||m.type===\"TSRestType\"||C===\"objectType\"&&m.type===\"TSIndexedAccessType\"||m.type===\"TSTypeOperator\"||m.type===\"TSTypeAnnotation\"&&D.getParentNode(1).type.startsWith(\"TSJSDoc\");case\"TSTypeQuery\":return C===\"objectType\"&&m.type===\"TSIndexedAccessType\"||C===\"elementType\"&&m.type===\"TSArrayType\";case\"TypeofTypeAnnotation\":return C===\"objectType\"&&(m.type===\"IndexedAccessType\"||m.type===\"OptionalIndexedAccessType\")||C===\"elementType\"&&m.type===\"ArrayTypeAnnotation\";case\"ArrayTypeAnnotation\":return m.type===\"NullableTypeAnnotation\";case\"IntersectionTypeAnnotation\":case\"UnionTypeAnnotation\":return m.type===\"ArrayTypeAnnotation\"||m.type===\"NullableTypeAnnotation\"||m.type===\"IntersectionTypeAnnotation\"||m.type===\"UnionTypeAnnotation\"||C===\"objectType\"&&(m.type===\"IndexedAccessType\"||m.type===\"OptionalIndexedAccessType\");case\"NullableTypeAnnotation\":return m.type===\"ArrayTypeAnnotation\"||C===\"objectType\"&&(m.type===\"IndexedAccessType\"||m.type===\"OptionalIndexedAccessType\");case\"FunctionTypeAnnotation\":{let S=m.type===\"NullableTypeAnnotation\"?D.getParentNode(1):m;return S.type===\"UnionTypeAnnotation\"||S.type===\"IntersectionTypeAnnotation\"||S.type===\"ArrayTypeAnnotation\"||C===\"objectType\"&&(S.type===\"IndexedAccessType\"||S.type===\"OptionalIndexedAccessType\")||S.type===\"NullableTypeAnnotation\"||m.type===\"FunctionTypeParam\"&&m.name===null&&a(o).some(b=>b.typeAnnotation&&b.typeAnnotation.type===\"NullableTypeAnnotation\")}case\"OptionalIndexedAccessType\":return C===\"objectType\"&&m.type===\"IndexedAccessType\";case\"StringLiteral\":case\"NumericLiteral\":case\"Literal\":if(typeof o.value==\"string\"&&m.type===\"ExpressionStatement\"&&!m.directive){let S=D.getParentNode(1);return S.type===\"Program\"||S.type===\"BlockStatement\"}return C===\"object\"&&m.type===\"MemberExpression\"&&typeof o.value==\"number\";case\"AssignmentExpression\":{let S=D.getParentNode(1);return C===\"body\"&&m.type===\"ArrowFunctionExpression\"?!0:C===\"key\"&&(m.type===\"ClassProperty\"||m.type===\"PropertyDefinition\")&&m.computed||(C===\"init\"||C===\"update\")&&m.type===\"ForStatement\"?!1:m.type===\"ExpressionStatement\"?o.left.type===\"ObjectPattern\":!(C===\"key\"&&m.type===\"TSPropertySignature\"||m.type===\"AssignmentExpression\"||m.type===\"SequenceExpression\"&&S&&S.type===\"ForStatement\"&&(S.init===m||S.update===m)||C===\"value\"&&m.type===\"Property\"&&S&&S.type===\"ObjectPattern\"&&S.properties.includes(m)||m.type===\"NGChainedExpression\")}case\"ConditionalExpression\":switch(m.type){case\"TaggedTemplateExpression\":case\"UnaryExpression\":case\"SpreadElement\":case\"SpreadProperty\":case\"BinaryExpression\":case\"LogicalExpression\":case\"NGPipeExpression\":case\"ExportDefaultDeclaration\":case\"AwaitExpression\":case\"JSXSpreadAttribute\":case\"TSTypeAssertion\":case\"TypeCastExpression\":case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"TSNonNullExpression\":return !0;case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return C===\"callee\";case\"ConditionalExpression\":return C===\"test\";case\"MemberExpression\":case\"OptionalMemberExpression\":return C===\"object\";default:return !1}case\"FunctionExpression\":switch(m.type){case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return C===\"callee\";case\"TaggedTemplateExpression\":return !0;default:return !1}case\"ArrowFunctionExpression\":switch(m.type){case\"BinaryExpression\":return m.operator!==\"|>\"||o.extra&&o.extra.parenthesized;case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return C===\"callee\";case\"MemberExpression\":case\"OptionalMemberExpression\":return C===\"object\";case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"TSNonNullExpression\":case\"BindExpression\":case\"TaggedTemplateExpression\":case\"UnaryExpression\":case\"LogicalExpression\":case\"AwaitExpression\":case\"TSTypeAssertion\":return !0;case\"ConditionalExpression\":return C===\"test\";default:return !1}case\"ClassExpression\":if(s(o.decorators))return !0;switch(m.type){case\"NewExpression\":return C===\"callee\";default:return !1}case\"OptionalMemberExpression\":case\"OptionalCallExpression\":{let S=D.getParentNode(1);if(C===\"object\"&&m.type===\"MemberExpression\"||C===\"callee\"&&(m.type===\"CallExpression\"||m.type===\"NewExpression\")||m.type===\"TSNonNullExpression\"&&S.type===\"MemberExpression\"&&S.object===m)return !0}case\"CallExpression\":case\"MemberExpression\":case\"TaggedTemplateExpression\":case\"TSNonNullExpression\":if(C===\"callee\"&&(m.type===\"BindExpression\"||m.type===\"NewExpression\")){let S=o;for(;S;)switch(S.type){case\"CallExpression\":case\"OptionalCallExpression\":return !0;case\"MemberExpression\":case\"OptionalMemberExpression\":case\"BindExpression\":S=S.object;break;case\"TaggedTemplateExpression\":S=S.tag;break;case\"TSNonNullExpression\":S=S.expression;break;default:return !1}}return !1;case\"BindExpression\":return C===\"callee\"&&(m.type===\"BindExpression\"||m.type===\"NewExpression\")||C===\"object\"&&f(m);case\"NGPipeExpression\":return !(m.type===\"NGRoot\"||m.type===\"NGMicrosyntaxExpression\"||m.type===\"ObjectProperty\"&&!(o.extra&&o.extra.parenthesized)||m.type===\"ArrayExpression\"||c(m)&&m.arguments[C]===o||C===\"right\"&&m.type===\"NGPipeExpression\"||C===\"property\"&&m.type===\"MemberExpression\"||m.type===\"AssignmentExpression\");case\"JSXFragment\":case\"JSXElement\":return C===\"callee\"||C===\"left\"&&m.type===\"BinaryExpression\"&&m.operator===\"<\"||m.type!==\"ArrayExpression\"&&m.type!==\"ArrowFunctionExpression\"&&m.type!==\"AssignmentExpression\"&&m.type!==\"AssignmentPattern\"&&m.type!==\"BinaryExpression\"&&m.type!==\"NewExpression\"&&m.type!==\"ConditionalExpression\"&&m.type!==\"ExpressionStatement\"&&m.type!==\"JsExpressionRoot\"&&m.type!==\"JSXAttribute\"&&m.type!==\"JSXElement\"&&m.type!==\"JSXExpressionContainer\"&&m.type!==\"JSXFragment\"&&m.type!==\"LogicalExpression\"&&!c(m)&&!F(m)&&m.type!==\"ReturnStatement\"&&m.type!==\"ThrowStatement\"&&m.type!==\"TypeCastExpression\"&&m.type!==\"VariableDeclarator\"&&m.type!==\"YieldExpression\";case\"TypeAnnotation\":return C===\"returnType\"&&m.type===\"ArrowFunctionExpression\"&&x(o)}return !1}function E(D){return D.type===\"BlockStatement\"||D.type===\"BreakStatement\"||D.type===\"ClassBody\"||D.type===\"ClassDeclaration\"||D.type===\"ClassMethod\"||D.type===\"ClassProperty\"||D.type===\"PropertyDefinition\"||D.type===\"ClassPrivateProperty\"||D.type===\"ContinueStatement\"||D.type===\"DebuggerStatement\"||D.type===\"DeclareClass\"||D.type===\"DeclareExportAllDeclaration\"||D.type===\"DeclareExportDeclaration\"||D.type===\"DeclareFunction\"||D.type===\"DeclareInterface\"||D.type===\"DeclareModule\"||D.type===\"DeclareModuleExports\"||D.type===\"DeclareVariable\"||D.type===\"DoWhileStatement\"||D.type===\"EnumDeclaration\"||D.type===\"ExportAllDeclaration\"||D.type===\"ExportDefaultDeclaration\"||D.type===\"ExportNamedDeclaration\"||D.type===\"ExpressionStatement\"||D.type===\"ForInStatement\"||D.type===\"ForOfStatement\"||D.type===\"ForStatement\"||D.type===\"FunctionDeclaration\"||D.type===\"IfStatement\"||D.type===\"ImportDeclaration\"||D.type===\"InterfaceDeclaration\"||D.type===\"LabeledStatement\"||D.type===\"MethodDefinition\"||D.type===\"ReturnStatement\"||D.type===\"SwitchStatement\"||D.type===\"ThrowStatement\"||D.type===\"TryStatement\"||D.type===\"TSDeclareFunction\"||D.type===\"TSEnumDeclaration\"||D.type===\"TSImportEqualsDeclaration\"||D.type===\"TSInterfaceDeclaration\"||D.type===\"TSModuleDeclaration\"||D.type===\"TSNamespaceExportDeclaration\"||D.type===\"TypeAlias\"||D.type===\"VariableDeclaration\"||D.type===\"WhileStatement\"||D.type===\"WithStatement\"}function N(D){let T=0,m=D.getValue();for(;m;){let C=D.getParentNode(T++);if(C&&C.type===\"ForStatement\"&&C.init===m)return !0;m=C;}return !1}function x(D){return l(D,T=>T.type===\"ObjectTypeAnnotation\"&&l(T,m=>m.type===\"FunctionTypeAnnotation\"||void 0)||void 0)}function I(D){switch(D.type){case\"ObjectExpression\":return !0;default:return !1}}function P(D){let T=D.getValue(),m=D.getParentNode(),C=D.getName();switch(m.type){case\"NGPipeExpression\":if(typeof C==\"number\"&&m.arguments[C]===T&&m.arguments.length-1===C)return D.callParent(P);break;case\"ObjectProperty\":if(C===\"value\"){let o=D.getParentNode(1);return t(o.properties)===m}break;case\"BinaryExpression\":case\"LogicalExpression\":if(C===\"right\")return D.callParent(P);break;case\"ConditionalExpression\":if(C===\"alternate\")return D.callParent(P);break;case\"UnaryExpression\":if(m.prefix)return D.callParent(P);break}return !1}function $(D,T){let m=D.getValue(),C=D.getParentNode();return m.type===\"FunctionExpression\"||m.type===\"ClassExpression\"?C.type===\"ExportDefaultDeclaration\"||!w(D,T):!i(m)||C.type!==\"ExportDefaultDeclaration\"&&w(D,T)?!1:D.call(o=>$(o,T),...n(D,m))}r.exports=w;}}),Fo=te({\"src/language-js/print-preprocess.js\"(e,r){ne();function t(s,a){switch(a.parser){case\"json\":case\"json5\":case\"json-stringify\":case\"__js_expression\":case\"__vue_expression\":case\"__vue_ts_expression\":return Object.assign(Object.assign({},s),{},{type:a.parser.startsWith(\"__\")?\"JsExpressionRoot\":\"JsonRoot\",node:s,comments:[],rootMarker:a.rootMarker});default:return s}}r.exports=t;}}),pd=te({\"src/language-js/print/html-binding.js\"(e,r){ne();var{builders:{join:t,line:s,group:a,softline:n,indent:u}}=qe();function i(p,y,h){let g=p.getValue();if(y.__onHtmlBindingRoot&&p.getName()===null&&y.__onHtmlBindingRoot(g,y),g.type===\"File\"){if(y.__isVueForBindingLeft)return p.call(c=>{let f=t([\",\",s],c.map(h,\"params\")),{params:F}=c.getValue();return F.length===1?f:[\"(\",u([n,a(f)]),n,\")\"]},\"program\",\"body\",0);if(y.__isVueBindings)return p.call(c=>t([\",\",s],c.map(h,\"params\")),\"program\",\"body\",0)}}function l(p){switch(p.type){case\"MemberExpression\":switch(p.property.type){case\"Identifier\":case\"NumericLiteral\":case\"StringLiteral\":return l(p.object)}return !1;case\"Identifier\":return !0;default:return !1}}r.exports={isVueEventBindingExpression:l,printHtmlBinding:i};}}),ru=te({\"src/language-js/print/binaryish.js\"(e,r){ne();var{printComments:t}=et(),{getLast:s}=Ue(),{builders:{join:a,line:n,softline:u,group:i,indent:l,align:p,indentIfBreak:y},utils:{cleanDoc:h,getDocParts:g,isConcat:c}}=qe(),{hasLeadingOwnLineComment:f,isBinaryish:F,isJsxNode:_,shouldFlatten:w,hasComment:E,CommentCheckFlags:N,isCallExpression:x,isMemberExpression:I,isObjectProperty:P,isEnabledHackPipeline:$}=Ke(),D=0;function T(o,d,v){let S=o.getValue(),b=o.getParentNode(),B=o.getParentNode(1),k=S!==b.body&&(b.type===\"IfStatement\"||b.type===\"WhileStatement\"||b.type===\"SwitchStatement\"||b.type===\"DoWhileStatement\"),M=$(d)&&S.operator===\"|>\",R=m(o,v,d,!1,k);if(k)return R;if(M)return i(R);if(x(b)&&b.callee===S||b.type===\"UnaryExpression\"||I(b)&&!b.computed)return i([l([u,...R]),u]);let q=b.type===\"ReturnStatement\"||b.type===\"ThrowStatement\"||b.type===\"JSXExpressionContainer\"&&B.type===\"JSXAttribute\"||S.operator!==\"|\"&&b.type===\"JsExpressionRoot\"||S.type!==\"NGPipeExpression\"&&(b.type===\"NGRoot\"&&d.parser===\"__ng_binding\"||b.type===\"NGMicrosyntaxExpression\"&&B.type===\"NGMicrosyntax\"&&B.body.length===1)||S===b.body&&b.type===\"ArrowFunctionExpression\"||S!==b.body&&b.type===\"ForStatement\"||b.type===\"ConditionalExpression\"&&B.type!==\"ReturnStatement\"&&B.type!==\"ThrowStatement\"&&!x(B)||b.type===\"TemplateLiteral\",J=b.type===\"AssignmentExpression\"||b.type===\"VariableDeclarator\"||b.type===\"ClassProperty\"||b.type===\"PropertyDefinition\"||b.type===\"TSAbstractPropertyDefinition\"||b.type===\"ClassPrivateProperty\"||P(b),L=F(S.left)&&w(S.operator,S.left.operator);if(q||C(S)&&!L||!C(S)&&J)return i(R);if(R.length===0)return \"\";let Q=_(S.right),V=R.findIndex(W=>typeof W!=\"string\"&&!Array.isArray(W)&&W.type===\"group\"),j=R.slice(0,V===-1?1:V+1),Y=R.slice(j.length,Q?-1:void 0),ie=Symbol(\"logicalChain-\"+ ++D),ee=i([...j,l(Y)],{id:ie});if(!Q)return ee;let ce=s(R);return i([ee,y(ce,{groupId:ie})])}function m(o,d,v,S,b){let B=o.getValue();if(!F(B))return [i(d())];let k=[];w(B.operator,B.left.operator)?k=o.call(Y=>m(Y,d,v,!0,b),\"left\"):k.push(i(d(\"left\")));let M=C(B),R=(B.operator===\"|>\"||B.type===\"NGPipeExpression\"||B.operator===\"|\"&&v.parser===\"__vue_expression\")&&!f(v.originalText,B.right),q=B.type===\"NGPipeExpression\"?\"|\":B.operator,J=B.type===\"NGPipeExpression\"&&B.arguments.length>0?i(l([n,\": \",a([n,\": \"],o.map(d,\"arguments\").map(Y=>p(2,i(Y))))])):\"\",L;if(M)L=[q,\" \",d(\"right\"),J];else {let ie=$(v)&&q===\"|>\"?o.call(ee=>m(ee,d,v,!0,b),\"right\"):d(\"right\");L=[R?n:\"\",q,R?\" \":n,ie,J];}let Q=o.getParentNode(),V=E(B.left,N.Trailing|N.Line),j=V||!(b&&B.type===\"LogicalExpression\")&&Q.type!==B.type&&B.left.type!==B.type&&B.right.type!==B.type;if(k.push(R?\"\":\" \",j?i(L,{shouldBreak:V}):L),S&&E(B)){let Y=h(t(o,k,v));return c(Y)||Y.type===\"fill\"?g(Y):[Y]}return k}function C(o){return o.type!==\"LogicalExpression\"?!1:!!(o.right.type===\"ObjectExpression\"&&o.right.properties.length>0||o.right.type===\"ArrayExpression\"&&o.right.elements.length>0||_(o.right))}r.exports={printBinaryishExpression:T,shouldInlineLogicalExpression:C};}}),fd=te({\"src/language-js/print/angular.js\"(e,r){ne();var{builders:{join:t,line:s,group:a}}=qe(),{hasNode:n,hasComment:u,getComments:i}=Ke(),{printBinaryishExpression:l}=ru();function p(g,c,f){let F=g.getValue();if(F.type.startsWith(\"NG\"))switch(F.type){case\"NGRoot\":return [f(\"node\"),u(F.node)?\" //\"+i(F.node)[0].value.trimEnd():\"\"];case\"NGPipeExpression\":return l(g,c,f);case\"NGChainedExpression\":return a(t([\";\",s],g.map(_=>h(_)?f():[\"(\",f(),\")\"],\"expressions\")));case\"NGEmptyExpression\":return \"\";case\"NGQuotedExpression\":return [F.prefix,\": \",F.value.trim()];case\"NGMicrosyntax\":return g.map((_,w)=>[w===0?\"\":y(_.getValue(),w,F)?\" \":[\";\",s],f()],\"body\");case\"NGMicrosyntaxKey\":return /^[$_a-z][\\w$]*(?:-[$_a-z][\\w$])*$/i.test(F.name)?F.name:JSON.stringify(F.name);case\"NGMicrosyntaxExpression\":return [f(\"expression\"),F.alias===null?\"\":[\" as \",f(\"alias\")]];case\"NGMicrosyntaxKeyedExpression\":{let _=g.getName(),w=g.getParentNode(),E=y(F,_,w)||(_===1&&(F.key.name===\"then\"||F.key.name===\"else\")||_===2&&F.key.name===\"else\"&&w.body[_-1].type===\"NGMicrosyntaxKeyedExpression\"&&w.body[_-1].key.name===\"then\")&&w.body[0].type===\"NGMicrosyntaxExpression\";return [f(\"key\"),E?\" \":\": \",f(\"expression\")]}case\"NGMicrosyntaxLet\":return [\"let \",f(\"key\"),F.value===null?\"\":[\" = \",f(\"value\")]];case\"NGMicrosyntaxAs\":return [f(\"key\"),\" as \",f(\"alias\")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(F.type)}.`)}}function y(g,c,f){return g.type===\"NGMicrosyntaxKeyedExpression\"&&g.key.name===\"of\"&&c===1&&f.body[0].type===\"NGMicrosyntaxLet\"&&f.body[0].value===null}function h(g){return n(g.getValue(),c=>{switch(c.type){case void 0:return !1;case\"CallExpression\":case\"OptionalCallExpression\":case\"AssignmentExpression\":return !0}})}r.exports={printAngular:p};}}),Dd=te({\"src/language-js/print/jsx.js\"(e,r){ne();var{printComments:t,printDanglingComments:s,printCommentsSeparately:a}=et(),{builders:{line:n,hardline:u,softline:i,group:l,indent:p,conditionalGroup:y,fill:h,ifBreak:g,lineSuffixBoundary:c,join:f},utils:{willBreak:F}}=qe(),{getLast:_,getPreferredQuote:w}=Ue(),{isJsxNode:E,rawText:N,isCallExpression:x,isStringLiteral:I,isBinaryish:P,hasComment:$,CommentCheckFlags:D,hasNodeIgnoreComment:T}=Ke(),m=qt(),{willPrintOwnComments:C}=Eo(),o=U=>U===\"\"||U===n||U===u||U===i;function d(U,Z,se){let fe=U.getValue();if(fe.type===\"JSXElement\"&&de(fe))return [se(\"openingElement\"),se(\"closingElement\")];let ge=fe.type===\"JSXElement\"?se(\"openingElement\"):se(\"openingFragment\"),he=fe.type===\"JSXElement\"?se(\"closingElement\"):se(\"closingFragment\");if(fe.children.length===1&&fe.children[0].type===\"JSXExpressionContainer\"&&(fe.children[0].expression.type===\"TemplateLiteral\"||fe.children[0].expression.type===\"TaggedTemplateExpression\"))return [ge,...U.map(se,\"children\"),he];fe.children=fe.children.map(A=>Fe(A)?{type:\"JSXText\",value:\" \",raw:\" \"}:A);let we=fe.children.some(E),ke=fe.children.filter(A=>A.type===\"JSXExpressionContainer\").length>1,Re=fe.type===\"JSXElement\"&&fe.openingElement.attributes.length>1,Ne=F(ge)||we||Re||ke,Pe=U.getParentNode().rootMarker===\"mdx\",oe=Z.singleQuote?\"{' '}\":'{\" \"}',H=Pe?\" \":g([oe,i],\" \"),pe=fe.openingElement&&fe.openingElement.name&&fe.openingElement.name.name===\"fbt\",X=v(U,Z,se,H,pe),le=fe.children.some(A=>ue(A));for(let A=X.length-2;A>=0;A--){let G=X[A]===\"\"&&X[A+1]===\"\",re=X[A]===u&&X[A+1]===\"\"&&X[A+2]===u,ye=(X[A]===i||X[A]===u)&&X[A+1]===\"\"&&X[A+2]===H,Ce=X[A]===H&&X[A+1]===\"\"&&(X[A+2]===i||X[A+2]===u),Be=X[A]===H&&X[A+1]===\"\"&&X[A+2]===H,ve=X[A]===i&&X[A+1]===\"\"&&X[A+2]===u||X[A]===u&&X[A+1]===\"\"&&X[A+2]===i;re&&le||G||ye||Be||ve?X.splice(A,2):Ce&&X.splice(A+1,2);}for(;X.length>0&&o(_(X));)X.pop();for(;X.length>1&&o(X[0])&&o(X[1]);)X.shift(),X.shift();let Ae=[];for(let[A,G]of X.entries()){if(G===H){if(A===1&&X[A-1]===\"\"){if(X.length===2){Ae.push(oe);continue}Ae.push([oe,u]);continue}else if(A===X.length-1){Ae.push(oe);continue}else if(X[A-1]===\"\"&&X[A-2]===u){Ae.push(oe);continue}}Ae.push(G),F(G)&&(Ne=!0);}let Ee=le?h(Ae):l(Ae,{shouldBreak:!0});if(Pe)return Ee;let De=l([ge,p([u,Ee]),u,he]);return Ne?De:y([l([ge,...X,he]),De])}function v(U,Z,se,fe,ge){let he=[];return U.each((we,ke,Re)=>{let Ne=we.getValue();if(Ne.type===\"JSXText\"){let Pe=N(Ne);if(ue(Ne)){let oe=Pe.split(ce);if(oe[0]===\"\"){if(he.push(\"\"),oe.shift(),/\\n/.test(oe[0])){let pe=Re[ke+1];he.push(b(ge,oe[1],Ne,pe));}else he.push(fe);oe.shift();}let H;if(_(oe)===\"\"&&(oe.pop(),H=oe.pop()),oe.length===0)return;for(let[pe,X]of oe.entries())pe%2===1?he.push(n):he.push(X);if(H!==void 0)if(/\\n/.test(H)){let pe=Re[ke+1];he.push(b(ge,_(he),Ne,pe));}else he.push(fe);else {let pe=Re[ke+1];he.push(S(ge,_(he),Ne,pe));}}else /\\n/.test(Pe)?Pe.match(/\\n/g).length>1&&he.push(\"\",u):he.push(\"\",fe);}else {let Pe=se();he.push(Pe);let oe=Re[ke+1];if(oe&&ue(oe)){let pe=K(N(oe)).split(ce)[0];he.push(S(ge,pe,Ne,oe));}else he.push(u);}},\"children\"),he}function S(U,Z,se,fe){return U?\"\":se.type===\"JSXElement\"&&!se.closingElement||fe&&fe.type===\"JSXElement\"&&!fe.closingElement?Z.length===1?i:u:i}function b(U,Z,se,fe){return U?u:Z.length===1?se.type===\"JSXElement\"&&!se.closingElement||fe&&fe.type===\"JSXElement\"&&!fe.closingElement?u:i:u}function B(U,Z,se){let fe=U.getParentNode();if(!fe||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[fe.type])return Z;let he=U.match(void 0,ke=>ke.type===\"ArrowFunctionExpression\",x,ke=>ke.type===\"JSXExpressionContainer\"),we=m(U,se);return l([we?\"\":g(\"(\"),p([i,Z]),i,we?\"\":g(\")\")],{shouldBreak:he})}function k(U,Z,se){let fe=U.getValue(),ge=[];if(ge.push(se(\"name\")),fe.value){let he;if(I(fe.value)){let ke=N(fe.value).slice(1,-1).replace(/'/g,\"'\").replace(/"/g,'\"'),{escaped:Re,quote:Ne,regex:Pe}=w(ke,Z.jsxSingleQuote?\"'\":'\"');ke=ke.replace(Pe,Re);let{leading:oe,trailing:H}=U.call(()=>a(U,Z),\"value\");he=[oe,Ne,ke,Ne,H];}else he=se(\"value\");ge.push(\"=\",he);}return ge}function M(U,Z,se){let fe=U.getValue(),ge=(he,we)=>he.type===\"JSXEmptyExpression\"||!$(he)&&(he.type===\"ArrayExpression\"||he.type===\"ObjectExpression\"||he.type===\"ArrowFunctionExpression\"||he.type===\"AwaitExpression\"&&(ge(he.argument,he)||he.argument.type===\"JSXElement\")||x(he)||he.type===\"FunctionExpression\"||he.type===\"TemplateLiteral\"||he.type===\"TaggedTemplateExpression\"||he.type===\"DoExpression\"||E(we)&&(he.type===\"ConditionalExpression\"||P(he)));return ge(fe.expression,U.getParentNode(0))?l([\"{\",se(\"expression\"),c,\"}\"]):l([\"{\",p([i,se(\"expression\")]),i,c,\"}\"])}function R(U,Z,se){let fe=U.getValue(),ge=fe.name&&$(fe.name)||fe.typeParameters&&$(fe.typeParameters);if(fe.selfClosing&&fe.attributes.length===0&&!ge)return [\"<\",se(\"name\"),se(\"typeParameters\"),\" />\"];if(fe.attributes&&fe.attributes.length===1&&fe.attributes[0].value&&I(fe.attributes[0].value)&&!fe.attributes[0].value.value.includes(`\n`)&&!ge&&!$(fe.attributes[0]))return l([\"<\",se(\"name\"),se(\"typeParameters\"),\" \",...U.map(se,\"attributes\"),fe.selfClosing?\" />\":\">\"]);let he=fe.attributes&&fe.attributes.some(ke=>ke.value&&I(ke.value)&&ke.value.value.includes(`\n`)),we=Z.singleAttributePerLine&&fe.attributes.length>1?u:n;return l([\"<\",se(\"name\"),se(\"typeParameters\"),p(U.map(()=>[we,se()],\"attributes\")),...q(fe,Z,ge)],{shouldBreak:he})}function q(U,Z,se){return U.selfClosing?[n,\"/>\"]:J(U,Z,se)?[\">\"]:[i,\">\"]}function J(U,Z,se){let fe=U.attributes.length>0&&$(_(U.attributes),D.Trailing);return U.attributes.length===0&&!se||(Z.bracketSameLine||Z.jsxBracketSameLine)&&(!se||U.attributes.length>0)&&!fe}function L(U,Z,se){let fe=U.getValue(),ge=[];ge.push(\"\"),ge}function Q(U,Z){let se=U.getValue(),fe=$(se),ge=$(se,D.Line),he=se.type===\"JSXOpeningFragment\";return [he?\"<\":\"\"]}function V(U,Z,se){let fe=t(U,d(U,Z,se),Z);return B(U,fe,Z)}function j(U,Z){let se=U.getValue(),fe=$(se,D.Line);return [s(U,Z,!fe),fe?u:\"\"]}function Y(U,Z,se){let fe=U.getValue();return [\"{\",U.call(ge=>{let he=[\"...\",se()],we=ge.getValue();return !$(we)||!C(ge)?he:[p([i,t(ge,he,Z)]),i]},fe.type===\"JSXSpreadAttribute\"?\"argument\":\"expression\"),\"}\"]}function ie(U,Z,se){let fe=U.getValue();if(fe.type.startsWith(\"JSX\"))switch(fe.type){case\"JSXAttribute\":return k(U,Z,se);case\"JSXIdentifier\":return String(fe.name);case\"JSXNamespacedName\":return f(\":\",[se(\"namespace\"),se(\"name\")]);case\"JSXMemberExpression\":return f(\".\",[se(\"object\"),se(\"property\")]);case\"JSXSpreadAttribute\":return Y(U,Z,se);case\"JSXSpreadChild\":return Y(U,Z,se);case\"JSXExpressionContainer\":return M(U,Z,se);case\"JSXFragment\":case\"JSXElement\":return V(U,Z,se);case\"JSXOpeningElement\":return R(U,Z,se);case\"JSXClosingElement\":return L(U,Z,se);case\"JSXOpeningFragment\":case\"JSXClosingFragment\":return Q(U,Z);case\"JSXEmptyExpression\":return j(U,Z);case\"JSXText\":throw new Error(\"JSXText should be handled by JSXElement\");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(fe.type)}.`)}}var ee=` \n\\r\t`,ce=new RegExp(\"([\"+ee+\"]+)\"),W=new RegExp(\"[^\"+ee+\"]\"),K=U=>U.replace(new RegExp(\"(?:^\"+ce.source+\"|\"+ce.source+\"$)\"),\"\");function de(U){if(U.children.length===0)return !0;if(U.children.length>1)return !1;let Z=U.children[0];return Z.type===\"JSXText\"&&!ue(Z)}function ue(U){return U.type===\"JSXText\"&&(W.test(N(U))||!/\\n/.test(N(U)))}function Fe(U){return U.type===\"JSXExpressionContainer\"&&I(U.expression)&&U.expression.value===\" \"&&!$(U.expression)}function z(U){let Z=U.getValue(),se=U.getParentNode();if(!se||!Z||!E(Z)||!E(se))return !1;let fe=se.children.indexOf(Z),ge=null;for(let he=fe;he>0;he--){let we=se.children[he-1];if(!(we.type===\"JSXText\"&&!ue(we))){ge=we;break}}return ge&&ge.type===\"JSXExpressionContainer\"&&ge.expression.type===\"JSXEmptyExpression\"&&T(ge.expression)}r.exports={hasJsxIgnoreComment:z,printJsx:ie};}}),ct=te({\"src/language-js/print/misc.js\"(e,r){ne();var{isNonEmptyArray:t}=Ue(),{builders:{indent:s,join:a,line:n}}=qe(),{isFlowAnnotationComment:u}=Ke();function i(_){let w=_.getValue();return !w.optional||w.type===\"Identifier\"&&w===_.getParentNode().key?\"\":w.type===\"OptionalCallExpression\"||w.type===\"OptionalMemberExpression\"&&w.computed?\"?.\":\"?\"}function l(_){return _.getValue().definite||_.match(void 0,(w,E)=>E===\"id\"&&w.type===\"VariableDeclarator\"&&w.definite)?\"!\":\"\"}function p(_,w,E){let N=_.getValue();return N.typeArguments?E(\"typeArguments\"):N.typeParameters?E(\"typeParameters\"):\"\"}function y(_,w,E){let N=_.getValue();if(!N.typeAnnotation)return \"\";let x=_.getParentNode(),I=x.type===\"DeclareFunction\"&&x.id===N;return u(w.originalText,N.typeAnnotation)?[\" /*: \",E(\"typeAnnotation\"),\" */\"]:[I?\"\":\": \",E(\"typeAnnotation\")]}function h(_,w,E){return [\"::\",E(\"callee\")]}function g(_,w,E){let N=_.getValue();return t(N.modifiers)?[a(\" \",_.map(E,\"modifiers\")),\" \"]:\"\"}function c(_,w,E){return _.type===\"EmptyStatement\"?\";\":_.type===\"BlockStatement\"||E?[\" \",w]:s([n,w])}function f(_,w,E){return [\"...\",E(\"argument\"),y(_,w,E)]}function F(_,w){let E=_.slice(1,-1);if(E.includes('\"')||E.includes(\"'\"))return _;let N=w.singleQuote?\"'\":'\"';return N+E+N}r.exports={printOptionalToken:i,printDefiniteToken:l,printFunctionTypeParameters:p,printBindExpressionCallee:h,printTypeScriptModifiers:g,printTypeAnnotation:y,printRestSpread:f,adjustClause:c,printDirective:F};}}),er=te({\"src/language-js/print/array.js\"(e,r){ne();var{printDanglingComments:t}=et(),{builders:{line:s,softline:a,hardline:n,group:u,indent:i,ifBreak:l,fill:p}}=qe(),{getLast:y,hasNewline:h}=Ue(),{shouldPrintComma:g,hasComment:c,CommentCheckFlags:f,isNextLineEmpty:F,isNumericLiteral:_,isSignedNumericLiteral:w}=Ke(),{locStart:E}=ut(),{printOptionalToken:N,printTypeAnnotation:x}=ct();function I(T,m,C){let o=T.getValue(),d=[],v=o.type===\"TupleExpression\"?\"#[\":\"[\",S=\"]\";if(o.elements.length===0)c(o,f.Dangling)?d.push(u([v,t(T,m),a,S])):d.push(v,S);else {let b=y(o.elements),B=!(b&&b.type===\"RestElement\"),k=b===null,M=Symbol(\"array\"),R=!m.__inJestEach&&o.elements.length>1&&o.elements.every((L,Q,V)=>{let j=L&&L.type;if(j!==\"ArrayExpression\"&&j!==\"ObjectExpression\")return !1;let Y=V[Q+1];if(Y&&j!==Y.type)return !1;let ie=j===\"ArrayExpression\"?\"elements\":\"properties\";return L[ie]&&L[ie].length>1}),q=P(o,m),J=B?k?\",\":g(m)?q?l(\",\",\"\",{groupId:M}):l(\",\"):\"\":\"\";d.push(u([v,i([a,q?D(T,m,C,J):[$(T,m,\"elements\",C),J],t(T,m,!0)]),a,S],{shouldBreak:R,id:M}));}return d.push(N(T),x(T,m,C)),d}function P(T,m){return T.elements.length>1&&T.elements.every(C=>C&&(_(C)||w(C)&&!c(C.argument))&&!c(C,f.Trailing|f.Line,o=>!h(m.originalText,E(o),{backwards:!0})))}function $(T,m,C,o){let d=[],v=[];return T.each(S=>{d.push(v,u(o())),v=[\",\",s],S.getValue()&&F(S.getValue(),m)&&v.push(a);},C),d}function D(T,m,C,o){let d=[];return T.each((v,S,b)=>{let B=S===b.length-1;d.push([C(),B?o:\",\"]),B||d.push(F(v.getValue(),m)?[n,n]:c(b[S+1],f.Leading|f.Line)?n:s);},\"elements\"),p(d)}r.exports={printArray:I,printArrayItems:$,isConciselyPrintedArray:P};}}),Ao=te({\"src/language-js/print/call-arguments.js\"(e,r){ne();var{printDanglingComments:t}=et(),{getLast:s,getPenultimate:a}=Ue(),{getFunctionParameters:n,hasComment:u,CommentCheckFlags:i,isFunctionCompositionArgs:l,isJsxNode:p,isLongCurriedCallExpression:y,shouldPrintComma:h,getCallArguments:g,iterateCallArgumentsPath:c,isNextLineEmpty:f,isCallExpression:F,isStringLiteral:_,isObjectProperty:w,isTSTypeExpression:E}=Ke(),{builders:{line:N,hardline:x,softline:I,group:P,indent:$,conditionalGroup:D,ifBreak:T,breakParent:m},utils:{willBreak:C}}=qe(),{ArgExpansionBailout:o}=Qt(),{isConciselyPrintedArray:d}=er();function v(q,J,L){let Q=q.getValue(),V=Q.type===\"ImportExpression\",j=g(Q);if(j.length===0)return [\"(\",t(q,J,!0),\")\"];if(k(j))return [\"(\",L([\"arguments\",0]),\", \",L([\"arguments\",1]),\")\"];let Y=!1,ie=!1,ee=j.length-1,ce=[];c(q,(z,U)=>{let Z=z.getNode(),se=[L()];U===ee||(f(Z,J)?(U===0&&(ie=!0),Y=!0,se.push(\",\",x,x)):se.push(\",\",N)),ce.push(se);});let W=!(V||Q.callee&&Q.callee.type===\"Import\")&&h(J,\"all\")?\",\":\"\";function K(){return P([\"(\",$([N,...ce]),W,N,\")\"],{shouldBreak:!0})}if(Y||q.getParentNode().type!==\"Decorator\"&&l(j))return K();let de=B(j),ue=b(j,J);if(de||ue){if(de?ce.slice(1).some(C):ce.slice(0,-1).some(C))return K();let z=[];try{q.try(()=>{c(q,(U,Z)=>{de&&Z===0&&(z=[[L([],{expandFirstArg:!0}),ce.length>1?\",\":\"\",ie?x:N,ie?x:\"\"],...ce.slice(1)]),ue&&Z===ee&&(z=[...ce.slice(0,-1),L([],{expandLastArg:!0})]);});});}catch(U){if(U instanceof o)return K();throw U}return [ce.some(C)?m:\"\",D([[\"(\",...z,\")\"],de?[\"(\",P(z[0],{shouldBreak:!0}),...z.slice(1),\")\"]:[\"(\",...ce.slice(0,-1),P(s(z),{shouldBreak:!0}),\")\"],K()])]}let Fe=[\"(\",$([I,...ce]),T(W),I,\")\"];return y(q)?Fe:P(Fe,{shouldBreak:ce.some(C)||Y})}function S(q){let J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return q.type===\"ObjectExpression\"&&(q.properties.length>0||u(q))||q.type===\"ArrayExpression\"&&(q.elements.length>0||u(q))||q.type===\"TSTypeAssertion\"&&S(q.expression)||E(q)&&S(q.expression)||q.type===\"FunctionExpression\"||q.type===\"ArrowFunctionExpression\"&&(!q.returnType||!q.returnType.typeAnnotation||q.returnType.typeAnnotation.type!==\"TSTypeReference\"||M(q.body))&&(q.body.type===\"BlockStatement\"||q.body.type===\"ArrowFunctionExpression\"&&S(q.body,!0)||q.body.type===\"ObjectExpression\"||q.body.type===\"ArrayExpression\"||!J&&(F(q.body)||q.body.type===\"ConditionalExpression\")||p(q.body))||q.type===\"DoExpression\"||q.type===\"ModuleExpression\"}function b(q,J){let L=s(q),Q=a(q);return !u(L,i.Leading)&&!u(L,i.Trailing)&&S(L)&&(!Q||Q.type!==L.type)&&(q.length!==2||Q.type!==\"ArrowFunctionExpression\"||L.type!==\"ArrayExpression\")&&!(q.length>1&&L.type===\"ArrayExpression\"&&d(L,J))}function B(q){if(q.length!==2)return !1;let[J,L]=q;return J.type===\"ModuleExpression\"&&R(L)?!0:!u(J)&&(J.type===\"FunctionExpression\"||J.type===\"ArrowFunctionExpression\"&&J.body.type===\"BlockStatement\")&&L.type!==\"FunctionExpression\"&&L.type!==\"ArrowFunctionExpression\"&&L.type!==\"ConditionalExpression\"&&!S(L)}function k(q){return q.length===2&&q[0].type===\"ArrowFunctionExpression\"&&n(q[0]).length===0&&q[0].body.type===\"BlockStatement\"&&q[1].type===\"ArrayExpression\"&&!q.some(J=>u(J))}function M(q){return q.type===\"BlockStatement\"&&(q.body.some(J=>J.type!==\"EmptyStatement\")||u(q,i.Dangling))}function R(q){return q.type===\"ObjectExpression\"&&q.properties.length===1&&w(q.properties[0])&&q.properties[0].key.type===\"Identifier\"&&q.properties[0].key.name===\"type\"&&_(q.properties[0].value)&&q.properties[0].value.value===\"module\"}r.exports=v;}}),So=te({\"src/language-js/print/member.js\"(e,r){ne();var{builders:{softline:t,group:s,indent:a,label:n}}=qe(),{isNumericLiteral:u,isMemberExpression:i,isCallExpression:l}=Ke(),{printOptionalToken:p}=ct();function y(g,c,f){let F=g.getValue(),_=g.getParentNode(),w,E=0;do w=g.getParentNode(E),E++;while(w&&(i(w)||w.type===\"TSNonNullExpression\"));let N=f(\"object\"),x=h(g,c,f),I=w&&(w.type===\"NewExpression\"||w.type===\"BindExpression\"||w.type===\"AssignmentExpression\"&&w.left.type!==\"Identifier\")||F.computed||F.object.type===\"Identifier\"&&F.property.type===\"Identifier\"&&!i(_)||(_.type===\"AssignmentExpression\"||_.type===\"VariableDeclarator\")&&(l(F.object)&&F.object.arguments.length>0||F.object.type===\"TSNonNullExpression\"&&l(F.object.expression)&&F.object.expression.arguments.length>0||N.label===\"member-chain\");return n(N.label===\"member-chain\"?\"member-chain\":\"member\",[N,I?x:s(a([t,x]))])}function h(g,c,f){let F=f(\"property\"),_=g.getValue(),w=p(g);return _.computed?!_.property||u(_.property)?[w,\"[\",F,\"]\"]:s([w,\"[\",a([t,F]),t,\"]\"]):[w,\".\",F]}r.exports={printMemberExpression:y,printMemberLookup:h};}}),md=te({\"src/language-js/print/member-chain.js\"(e,r){ne();var{printComments:t}=et(),{getLast:s,isNextLineEmptyAfterIndex:a,getNextNonSpaceNonCommentCharacterIndex:n}=Ue(),u=qt(),{isCallExpression:i,isMemberExpression:l,isFunctionOrArrowExpression:p,isLongCurriedCallExpression:y,isMemberish:h,isNumericLiteral:g,isSimpleCallArgument:c,hasComment:f,CommentCheckFlags:F,isNextLineEmpty:_}=Ke(),{locEnd:w}=ut(),{builders:{join:E,hardline:N,group:x,indent:I,conditionalGroup:P,breakParent:$,label:D},utils:{willBreak:T}}=qe(),m=Ao(),{printMemberLookup:C}=So(),{printOptionalToken:o,printFunctionTypeParameters:d,printBindExpressionCallee:v}=ct();function S(b,B,k){let M=b.getParentNode(),R=!M||M.type===\"ExpressionStatement\",q=[];function J(Ne){let{originalText:Pe}=B,oe=n(Pe,Ne,w);return Pe.charAt(oe)===\")\"?oe!==!1&&a(Pe,oe+1):_(Ne,B)}function L(Ne){let Pe=Ne.getValue();i(Pe)&&(h(Pe.callee)||i(Pe.callee))?(q.unshift({node:Pe,printed:[t(Ne,[o(Ne),d(Ne,B,k),m(Ne,B,k)],B),J(Pe)?N:\"\"]}),Ne.call(oe=>L(oe),\"callee\")):h(Pe)?(q.unshift({node:Pe,needsParens:u(Ne,B),printed:t(Ne,l(Pe)?C(Ne,B,k):v(Ne,B,k),B)}),Ne.call(oe=>L(oe),\"object\")):Pe.type===\"TSNonNullExpression\"?(q.unshift({node:Pe,printed:t(Ne,\"!\",B)}),Ne.call(oe=>L(oe),\"expression\")):q.unshift({node:Pe,printed:k()});}let Q=b.getValue();q.unshift({node:Q,printed:[o(b),d(b,B,k),m(b,B,k)]}),Q.callee&&b.call(Ne=>L(Ne),\"callee\");let V=[],j=[q[0]],Y=1;for(;Y0&&V.push(j);function ee(Ne){return /^[A-Z]|^[$_]+$/.test(Ne)}function ce(Ne){return Ne.length<=B.tabWidth}function W(Ne){let Pe=Ne[1].length>0&&Ne[1][0].node.computed;if(Ne[0].length===1){let H=Ne[0][0].node;return H.type===\"ThisExpression\"||H.type===\"Identifier\"&&(ee(H.name)||R&&ce(H.name)||Pe)}let oe=s(Ne[0]).node;return l(oe)&&oe.property.type===\"Identifier\"&&(ee(oe.property.name)||Pe)}let K=V.length>=2&&!f(V[1][0].node)&&W(V);function de(Ne){let Pe=Ne.map(oe=>oe.printed);return Ne.length>0&&s(Ne).needsParens?[\"(\",...Pe,\")\"]:Pe}function ue(Ne){return Ne.length===0?\"\":I(x([N,E(N,Ne.map(de))]))}let Fe=V.map(de),z=Fe,U=K?3:2,Z=V.flat(),se=Z.slice(1,-1).some(Ne=>f(Ne.node,F.Leading))||Z.slice(0,-1).some(Ne=>f(Ne.node,F.Trailing))||V[U]&&f(V[U][0].node,F.Leading);if(V.length<=U&&!se)return y(b)?z:x(z);let fe=s(V[K?1:0]).node,ge=!i(fe)&&J(fe),he=[de(V[0]),K?V.slice(1,2).map(de):\"\",ge?N:\"\",ue(V.slice(K?2:1))],we=q.map(Ne=>{let{node:Pe}=Ne;return Pe}).filter(i);function ke(){let Ne=s(s(V)).node,Pe=s(Fe);return i(Ne)&&T(Pe)&&we.slice(0,-1).some(oe=>oe.arguments.some(p))}let Re;return se||we.length>2&&we.some(Ne=>!Ne.arguments.every(Pe=>c(Pe,0)))||Fe.slice(0,-1).some(T)||ke()?Re=x(he):Re=[T(z)||ge?$:\"\",P([z,he])],D(\"member-chain\",Re)}r.exports=S;}}),xo=te({\"src/language-js/print/call-expression.js\"(e,r){ne();var{builders:{join:t,group:s}}=qe(),a=qt(),{getCallArguments:n,hasFlowAnnotationComment:u,isCallExpression:i,isMemberish:l,isStringLiteral:p,isTemplateOnItsOwnLine:y,isTestCall:h,iterateCallArgumentsPath:g}=Ke(),c=md(),f=Ao(),{printOptionalToken:F,printFunctionTypeParameters:_}=ct();function w(N,x,I){let P=N.getValue(),$=N.getParentNode(),D=P.type===\"NewExpression\",T=P.type===\"ImportExpression\",m=F(N),C=n(P);if(C.length>0&&(!T&&!D&&E(P,$)||C.length===1&&y(C[0],x.originalText)||!D&&h(P,$))){let v=[];return g(N,()=>{v.push(I());}),[D?\"new \":\"\",I(\"callee\"),m,_(N,x,I),\"(\",t(\", \",v),\")\"]}let o=(x.parser===\"babel\"||x.parser===\"babel-flow\")&&P.callee&&P.callee.type===\"Identifier\"&&u(P.callee.trailingComments);if(o&&(P.callee.trailingComments[0].printed=!0),!T&&!D&&l(P.callee)&&!N.call(v=>a(v,x),\"callee\"))return c(N,x,I);let d=[D?\"new \":\"\",T?\"import\":I(\"callee\"),m,o?`/*:: ${P.callee.trailingComments[0].value.slice(2).trim()} */`:\"\",_(N,x,I),f(N,x,I)];return T||i(P.callee)?s(d):d}function E(N,x){if(N.callee.type!==\"Identifier\")return !1;if(N.callee.name===\"require\")return !0;if(N.callee.name===\"define\"){let I=n(N);return x.type===\"ExpressionStatement\"&&(I.length===1||I.length===2&&I[0].type===\"ArrayExpression\"||I.length===3&&p(I[0])&&I[1].type===\"ArrayExpression\")}return !1}r.exports={printCallExpression:w};}}),tr=te({\"src/language-js/print/assignment.js\"(e,r){ne();var{isNonEmptyArray:t,getStringWidth:s}=Ue(),{builders:{line:a,group:n,indent:u,indentIfBreak:i,lineSuffixBoundary:l},utils:{cleanDoc:p,willBreak:y,canBreak:h}}=qe(),{hasLeadingOwnLineComment:g,isBinaryish:c,isStringLiteral:f,isLiteral:F,isNumericLiteral:_,isCallExpression:w,isMemberExpression:E,getCallArguments:N,rawText:x,hasComment:I,isSignedNumericLiteral:P,isObjectProperty:$}=Ke(),{shouldInlineLogicalExpression:D}=ru(),{printCallExpression:T}=xo();function m(W,K,de,ue,Fe,z){let U=d(W,K,de,ue,z),Z=de(z,{assignmentLayout:U});switch(U){case\"break-after-operator\":return n([n(ue),Fe,n(u([a,Z]))]);case\"never-break-after-operator\":return n([n(ue),Fe,\" \",Z]);case\"fluid\":{let se=Symbol(\"assignment\");return n([n(ue),Fe,n(u(a),{id:se}),l,i(Z,{groupId:se})])}case\"break-lhs\":return n([ue,Fe,\" \",n(Z)]);case\"chain\":return [n(ue),Fe,a,Z];case\"chain-tail\":return [n(ue),Fe,u([a,Z])];case\"chain-tail-arrow-chain\":return [n(ue),Fe,Z];case\"only-left\":return ue}}function C(W,K,de){let ue=W.getValue();return m(W,K,de,de(\"left\"),[\" \",ue.operator],\"right\")}function o(W,K,de){return m(W,K,de,de(\"id\"),\" =\",\"init\")}function d(W,K,de,ue,Fe){let z=W.getValue(),U=z[Fe];if(!U)return \"only-left\";let Z=!b(U);if(W.match(b,B,he=>!Z||he.type!==\"ExpressionStatement\"&&he.type!==\"VariableDeclaration\"))return Z?U.type===\"ArrowFunctionExpression\"&&U.body.type===\"ArrowFunctionExpression\"?\"chain-tail-arrow-chain\":\"chain-tail\":\"chain\";if(!Z&&b(U.right)||g(K.originalText,U))return \"break-after-operator\";if(U.type===\"CallExpression\"&&U.callee.name===\"require\"||K.parser===\"json5\"||K.parser===\"json\")return \"never-break-after-operator\";if(S(z)||k(z)||q(z)||J(z)&&h(ue))return \"break-lhs\";let ge=ie(z,ue,K);return W.call(()=>v(W,K,de,ge),Fe)?\"break-after-operator\":ge||U.type===\"TemplateLiteral\"||U.type===\"TaggedTemplateExpression\"||U.type===\"BooleanLiteral\"||_(U)||U.type===\"ClassExpression\"?\"never-break-after-operator\":\"fluid\"}function v(W,K,de,ue){let Fe=W.getValue();if(c(Fe)&&!D(Fe))return !0;switch(Fe.type){case\"StringLiteralTypeAnnotation\":case\"SequenceExpression\":return !0;case\"ConditionalExpression\":{let{test:Z}=Fe;return c(Z)&&!D(Z)}case\"ClassExpression\":return t(Fe.decorators)}if(ue)return !1;let z=Fe,U=[];for(;;)if(z.type===\"UnaryExpression\")z=z.argument,U.push(\"argument\");else if(z.type===\"TSNonNullExpression\")z=z.expression,U.push(\"expression\");else break;return !!(f(z)||W.call(()=>V(W,K,de),...U))}function S(W){if(B(W)){let K=W.left||W.id;return K.type===\"ObjectPattern\"&&K.properties.length>2&&K.properties.some(de=>$(de)&&(!de.shorthand||de.value&&de.value.type===\"AssignmentPattern\"))}return !1}function b(W){return W.type===\"AssignmentExpression\"}function B(W){return b(W)||W.type===\"VariableDeclarator\"}function k(W){let K=M(W);if(t(K)){let de=W.type===\"TSTypeAliasDeclaration\"?\"constraint\":\"bound\";if(K.length>1&&K.some(ue=>ue[de]||ue.default))return !0}return !1}function M(W){return R(W)&&W.typeParameters&&W.typeParameters.params?W.typeParameters.params:null}function R(W){return W.type===\"TSTypeAliasDeclaration\"||W.type===\"TypeAlias\"}function q(W){if(W.type!==\"VariableDeclarator\")return !1;let{typeAnnotation:K}=W.id;if(!K||!K.typeAnnotation)return !1;let de=L(K.typeAnnotation);return t(de)&&de.length>1&&de.some(ue=>t(L(ue))||ue.type===\"TSConditionalType\")}function J(W){return W.type===\"VariableDeclarator\"&&W.init&&W.init.type===\"ArrowFunctionExpression\"}function L(W){return Q(W)&&W.typeParameters&&W.typeParameters.params?W.typeParameters.params:null}function Q(W){return W.type===\"TSTypeReference\"||W.type===\"GenericTypeAnnotation\"}function V(W,K,de){let ue=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Fe=W.getValue(),z=()=>V(W,K,de,!0);if(Fe.type===\"TSNonNullExpression\")return W.call(z,\"expression\");if(w(Fe)){if(T(W,K,de).label===\"member-chain\")return !1;let Z=N(Fe);return !(Z.length===0||Z.length===1&&Y(Z[0],K))||ee(Fe,de)?!1:W.call(z,\"callee\")}return E(Fe)?W.call(z,\"object\"):ue&&(Fe.type===\"Identifier\"||Fe.type===\"ThisExpression\")}var j=.25;function Y(W,K){let{printWidth:de}=K;if(I(W))return !1;let ue=de*j;if(W.type===\"ThisExpression\"||W.type===\"Identifier\"&&W.name.length<=ue||P(W)&&!I(W.argument))return !0;let Fe=W.type===\"Literal\"&&\"regex\"in W&&W.regex.pattern||W.type===\"RegExpLiteral\"&&W.pattern;return Fe?Fe.length<=ue:f(W)?x(W).length<=ue:W.type===\"TemplateLiteral\"?W.expressions.length===0&&W.quasis[0].value.raw.length<=ue&&!W.quasis[0].value.raw.includes(`\n`):F(W)}function ie(W,K,de){if(!$(W))return !1;K=p(K);let ue=3;return typeof K==\"string\"&&s(K)1)return !0;if(de.length===1){let Fe=de[0];if(Fe.type===\"TSUnionType\"||Fe.type===\"UnionTypeAnnotation\"||Fe.type===\"TSIntersectionType\"||Fe.type===\"IntersectionTypeAnnotation\"||Fe.type===\"TSTypeLiteral\"||Fe.type===\"ObjectTypeAnnotation\")return !0}let ue=W.typeParameters?\"typeParameters\":\"typeArguments\";if(y(K(ue)))return !0}return !1}function ce(W){return W.typeParameters&&W.typeParameters.params||W.typeArguments&&W.typeArguments.params}r.exports={printVariableDeclarator:o,printAssignmentExpression:C,printAssignment:m,isArrowFunctionVariableDeclarator:J};}}),Lr=te({\"src/language-js/print/function-parameters.js\"(e,r){ne();var{getNextNonSpaceNonCommentCharacter:t}=Ue(),{printDanglingComments:s}=et(),{builders:{line:a,hardline:n,softline:u,group:i,indent:l,ifBreak:p},utils:{removeLines:y,willBreak:h}}=qe(),{getFunctionParameters:g,iterateFunctionParametersPath:c,isSimpleType:f,isTestCall:F,isTypeAnnotationAFunction:_,isObjectType:w,isObjectTypePropertyAFunction:E,hasRestParameter:N,shouldPrintComma:x,hasComment:I,isNextLineEmpty:P}=Ke(),{locEnd:$}=ut(),{ArgExpansionBailout:D}=Qt(),{printFunctionTypeParameters:T}=ct();function m(v,S,b,B,k){let M=v.getValue(),R=g(M),q=k?T(v,b,S):\"\";if(R.length===0)return [q,\"(\",s(v,b,!0,ie=>t(b.originalText,ie,$)===\")\"),\")\"];let J=v.getParentNode(),L=F(J),Q=C(M),V=[];if(c(v,(ie,ee)=>{let ce=ee===R.length-1;ce&&M.rest&&V.push(\"...\"),V.push(S()),!ce&&(V.push(\",\"),L||Q?V.push(\" \"):P(R[ee],b)?V.push(n,n):V.push(a));}),B){if(h(q)||h(V))throw new D;return i([y(q),\"(\",y(V),\")\"])}let j=R.every(ie=>!ie.decorators);return Q&&j?[q,\"(\",...V,\")\"]:L?[q,\"(\",...V,\")\"]:(E(J)||_(J)||J.type===\"TypeAlias\"||J.type===\"UnionTypeAnnotation\"||J.type===\"TSUnionType\"||J.type===\"IntersectionTypeAnnotation\"||J.type===\"FunctionTypeAnnotation\"&&J.returnType===M)&&R.length===1&&R[0].name===null&&M.this!==R[0]&&R[0].typeAnnotation&&M.typeParameters===null&&f(R[0].typeAnnotation)&&!M.rest?b.arrowParens===\"always\"?[\"(\",...V,\")\"]:V:[q,\"(\",l([u,...V]),p(!N(M)&&x(b,\"all\")?\",\":\"\"),u,\")\"]}function C(v){if(!v)return !1;let S=g(v);if(S.length!==1)return !1;let[b]=S;return !I(b)&&(b.type===\"ObjectPattern\"||b.type===\"ArrayPattern\"||b.type===\"Identifier\"&&b.typeAnnotation&&(b.typeAnnotation.type===\"TypeAnnotation\"||b.typeAnnotation.type===\"TSTypeAnnotation\")&&w(b.typeAnnotation.typeAnnotation)||b.type===\"FunctionTypeParam\"&&w(b.typeAnnotation)||b.type===\"AssignmentPattern\"&&(b.left.type===\"ObjectPattern\"||b.left.type===\"ArrayPattern\")&&(b.right.type===\"Identifier\"||b.right.type===\"ObjectExpression\"&&b.right.properties.length===0||b.right.type===\"ArrayExpression\"&&b.right.elements.length===0))}function o(v){let S;return v.returnType?(S=v.returnType,S.typeAnnotation&&(S=S.typeAnnotation)):v.typeAnnotation&&(S=v.typeAnnotation),S}function d(v,S){let b=o(v);if(!b)return !1;let B=v.typeParameters&&v.typeParameters.params;if(B){if(B.length>1)return !1;if(B.length===1){let k=B[0];if(k.constraint||k.default)return !1}}return g(v).length===1&&(w(b)||h(S))}r.exports={printFunctionParameters:m,shouldHugFunctionParameters:C,shouldGroupFunctionParameters:d};}}),Or=te({\"src/language-js/print/type-annotation.js\"(e,r){ne();var{printComments:t,printDanglingComments:s}=et(),{isNonEmptyArray:a}=Ue(),{builders:{group:n,join:u,line:i,softline:l,indent:p,align:y,ifBreak:h}}=qe(),g=qt(),{locStart:c}=ut(),{isSimpleType:f,isObjectType:F,hasLeadingOwnLineComment:_,isObjectTypePropertyAFunction:w,shouldPrintComma:E}=Ke(),{printAssignment:N}=tr(),{printFunctionParameters:x,shouldGroupFunctionParameters:I}=Lr(),{printArrayItems:P}=er();function $(b){if(f(b)||F(b))return !0;if(b.type===\"UnionTypeAnnotation\"||b.type===\"TSUnionType\"){let B=b.types.filter(M=>M.type===\"VoidTypeAnnotation\"||M.type===\"TSVoidKeyword\"||M.type===\"NullLiteralTypeAnnotation\"||M.type===\"TSNullKeyword\").length,k=b.types.some(M=>M.type===\"ObjectTypeAnnotation\"||M.type===\"TSTypeLiteral\"||M.type===\"GenericTypeAnnotation\"||M.type===\"TSTypeReference\");if(b.types.length-1===B&&k)return !0}return !1}function D(b,B,k){let M=B.semi?\";\":\"\",R=b.getValue(),q=[];return q.push(\"opaque type \",k(\"id\"),k(\"typeParameters\")),R.supertype&&q.push(\": \",k(\"supertype\")),R.impltype&&q.push(\" = \",k(\"impltype\")),q.push(M),q}function T(b,B,k){let M=B.semi?\";\":\"\",R=b.getValue(),q=[];R.declare&&q.push(\"declare \"),q.push(\"type \",k(\"id\"),k(\"typeParameters\"));let J=R.type===\"TSTypeAliasDeclaration\"?\"typeAnnotation\":\"right\";return [N(b,B,k,q,\" =\",J),M]}function m(b,B,k){let M=b.getValue(),R=b.map(k,\"types\"),q=[],J=!1;for(let L=0;L1&&(J=!0),q.push(\" & \",L>1?p(R[L]):R[L]));return n(q)}function C(b,B,k){let M=b.getValue(),R=b.getParentNode(),q=R.type!==\"TypeParameterInstantiation\"&&R.type!==\"TSTypeParameterInstantiation\"&&R.type!==\"GenericTypeAnnotation\"&&R.type!==\"TSTypeReference\"&&R.type!==\"TSTypeAssertion\"&&R.type!==\"TupleTypeAnnotation\"&&R.type!==\"TSTupleType\"&&!(R.type===\"FunctionTypeParam\"&&!R.name&&b.getParentNode(1).this!==R)&&!((R.type===\"TypeAlias\"||R.type===\"VariableDeclarator\"||R.type===\"TSTypeAliasDeclaration\")&&_(B.originalText,M)),J=$(M),L=b.map(j=>{let Y=k();return J||(Y=y(2,Y)),t(j,Y,B)},\"types\");if(J)return u(\" | \",L);let Q=q&&!_(B.originalText,M),V=[h([Q?i:\"\",\"| \"]),u([i,\"| \"],L)];return g(b,B)?n([p(V),l]):R.type===\"TupleTypeAnnotation\"&&R.types.length>1||R.type===\"TSTupleType\"&&R.elementTypes.length>1?n([p([h([\"(\",l]),V]),l,h(\")\")]):n(q?p(V):V)}function o(b,B,k){let M=b.getValue(),R=[],q=b.getParentNode(0),J=b.getParentNode(1),L=b.getParentNode(2),Q=M.type===\"TSFunctionType\"||!((q.type===\"ObjectTypeProperty\"||q.type===\"ObjectTypeInternalSlot\")&&!q.variance&&!q.optional&&c(q)===c(M)||q.type===\"ObjectTypeCallProperty\"||L&&L.type===\"DeclareFunction\"),V=Q&&(q.type===\"TypeAnnotation\"||q.type===\"TSTypeAnnotation\"),j=V&&Q&&(q.type===\"TypeAnnotation\"||q.type===\"TSTypeAnnotation\")&&J.type===\"ArrowFunctionExpression\";w(q)&&(Q=!0,V=!0),j&&R.push(\"(\");let Y=x(b,k,B,!1,!0),ie=M.returnType||M.predicate||M.typeAnnotation?[Q?\" => \":\": \",k(\"returnType\"),k(\"predicate\"),k(\"typeAnnotation\")]:\"\",ee=I(M,ie);return R.push(ee?n(Y):Y),ie&&R.push(ie),j&&R.push(\")\"),n(R)}function d(b,B,k){let M=b.getValue(),R=M.type===\"TSTupleType\"?\"elementTypes\":\"types\",q=M[R],J=a(q),L=J?l:\"\";return n([\"[\",p([L,P(b,B,R,k)]),h(J&&E(B,\"all\")?\",\":\"\"),s(b,B,!0),L,\"]\"])}function v(b,B,k){let M=b.getValue(),R=M.type===\"OptionalIndexedAccessType\"&&M.optional?\"?.[\":\"[\";return [k(\"objectType\"),R,k(\"indexType\"),\"]\"]}function S(b,B,k){let M=b.getValue();return [M.postfix?\"\":k,B(\"typeAnnotation\"),M.postfix?k:\"\"]}r.exports={printOpaqueType:D,printTypeAlias:T,printIntersectionType:m,printUnionType:C,printFunctionType:o,printTupleType:d,printIndexedAccessType:v,shouldHugType:$,printJSDocType:S};}}),jr=te({\"src/language-js/print/type-parameters.js\"(e,r){ne();var{printDanglingComments:t}=et(),{builders:{join:s,line:a,hardline:n,softline:u,group:i,indent:l,ifBreak:p}}=qe(),{isTestCall:y,hasComment:h,CommentCheckFlags:g,isTSXFile:c,shouldPrintComma:f,getFunctionParameters:F,isObjectType:_,getTypeScriptMappedTypeModifier:w}=Ke(),{createGroupIdMapper:E}=Ue(),{shouldHugType:N}=Or(),{isArrowFunctionVariableDeclarator:x}=tr(),I=E(\"typeParameters\");function P(T,m,C,o){let d=T.getValue();if(!d[o])return \"\";if(!Array.isArray(d[o]))return C(o);let v=T.getNode(2),S=v&&y(v),b=T.match(M=>!(M[o].length===1&&_(M[o][0])),void 0,(M,R)=>R===\"typeAnnotation\",M=>M.type===\"Identifier\",x);if(d[o].length===0||!b&&(S||d[o].length===1&&(d[o][0].type===\"NullableTypeAnnotation\"||N(d[o][0]))))return [\"<\",s(\", \",T.map(C,o)),$(T,m),\">\"];let k=d.type===\"TSTypeParameterInstantiation\"?\"\":F(d).length===1&&c(m)&&!d[o][0].constraint&&T.getParentNode().type===\"ArrowFunctionExpression\"?\",\":f(m,\"all\")?p(\",\"):\"\";return i([\"<\",l([u,s([\",\",a],T.map(C,o))]),k,u,\">\"],{id:I(d)})}function $(T,m){let C=T.getValue();if(!h(C,g.Dangling))return \"\";let o=!h(C,g.Line),d=t(T,m,o);return o?d:[d,n]}function D(T,m,C){let o=T.getValue(),d=[o.type===\"TSTypeParameter\"&&o.const?\"const \":\"\"],v=T.getParentNode();return v.type===\"TSMappedType\"?(v.readonly&&d.push(w(v.readonly,\"readonly\"),\" \"),d.push(\"[\",C(\"name\")),o.constraint&&d.push(\" in \",C(\"constraint\")),v.nameType&&d.push(\" as \",T.callParent(()=>C(\"nameType\"))),d.push(\"]\"),d):(o.variance&&d.push(C(\"variance\")),o.in&&d.push(\"in \"),o.out&&d.push(\"out \"),d.push(C(\"name\")),o.bound&&d.push(\": \",C(\"bound\")),o.constraint&&d.push(\" extends \",C(\"constraint\")),o.default&&d.push(\" = \",C(\"default\")),d)}r.exports={printTypeParameter:D,printTypeParameters:P,getTypeParametersGroupId:I};}}),rr=te({\"src/language-js/print/property.js\"(e,r){ne();var{printComments:t}=et(),{printString:s,printNumber:a}=Ue(),{isNumericLiteral:n,isSimpleNumber:u,isStringLiteral:i,isStringPropSafeToUnquote:l,rawText:p}=Ke(),{printAssignment:y}=tr(),h=new WeakMap;function g(f,F,_){let w=f.getNode();if(w.computed)return [\"[\",_(\"key\"),\"]\"];let E=f.getParentNode(),{key:N}=w;if(F.quoteProps===\"consistent\"&&!h.has(E)){let x=(E.properties||E.body||E.members).some(I=>!I.computed&&I.key&&i(I.key)&&!l(I,F));h.set(E,x);}if((N.type===\"Identifier\"||n(N)&&u(a(p(N)))&&String(N.value)===a(p(N))&&!(F.parser===\"typescript\"||F.parser===\"babel-ts\"))&&(F.parser===\"json\"||F.quoteProps===\"consistent\"&&h.get(E))){let x=s(JSON.stringify(N.type===\"Identifier\"?N.name:N.value.toString()),F);return f.call(I=>t(I,x,F),\"key\")}return l(w,F)&&(F.quoteProps===\"as-needed\"||F.quoteProps===\"consistent\"&&!h.get(E))?f.call(x=>t(x,/^\\d/.test(N.value)?a(N.value):N.value,F),\"key\"):_(\"key\")}function c(f,F,_){return f.getValue().shorthand?_(\"value\"):y(f,F,_,g(f,F,_),\":\",\"value\")}r.exports={printProperty:c,printPropertyKey:g};}}),qr=te({\"src/language-js/print/function.js\"(e,r){ne();var t=Zt(),{printDanglingComments:s,printCommentsSeparately:a}=et(),n=lt(),{getNextNonSpaceNonCommentCharacterIndex:u}=Ue(),{builders:{line:i,softline:l,group:p,indent:y,ifBreak:h,hardline:g,join:c,indentIfBreak:f},utils:{removeLines:F,willBreak:_}}=qe(),{ArgExpansionBailout:w}=Qt(),{getFunctionParameters:E,hasLeadingOwnLineComment:N,isFlowAnnotationComment:x,isJsxNode:I,isTemplateOnItsOwnLine:P,shouldPrintComma:$,startsWithNoLookaheadToken:D,isBinaryish:T,isLineComment:m,hasComment:C,getComments:o,CommentCheckFlags:d,isCallLikeExpression:v,isCallExpression:S,getCallArguments:b,hasNakedLeftSide:B,getLeftSide:k}=Ke(),{locEnd:M}=ut(),{printFunctionParameters:R,shouldGroupFunctionParameters:q}=Lr(),{printPropertyKey:J}=rr(),{printFunctionTypeParameters:L}=ct();function Q(U,Z,se,fe){let ge=U.getValue(),he=!1;if((ge.type===\"FunctionDeclaration\"||ge.type===\"FunctionExpression\")&&fe&&fe.expandLastArg){let Pe=U.getParentNode();S(Pe)&&b(Pe).length>1&&(he=!0);}let we=[];ge.type===\"TSDeclareFunction\"&&ge.declare&&we.push(\"declare \"),ge.async&&we.push(\"async \"),ge.generator?we.push(\"function* \"):we.push(\"function \"),ge.id&&we.push(Z(\"id\"));let ke=R(U,Z,se,he),Re=K(U,Z,se),Ne=q(ge,Re);return we.push(L(U,se,Z),p([Ne?p(ke):ke,Re]),ge.body?\" \":\"\",Z(\"body\")),se.semi&&(ge.declare||!ge.body)&&we.push(\";\"),we}function V(U,Z,se){let fe=U.getNode(),{kind:ge}=fe,he=fe.value||fe,we=[];return !ge||ge===\"init\"||ge===\"method\"||ge===\"constructor\"?he.async&&we.push(\"async \"):(t.ok(ge===\"get\"||ge===\"set\"),we.push(ge,\" \")),he.generator&&we.push(\"*\"),we.push(J(U,Z,se),fe.optional||fe.key.optional?\"?\":\"\"),fe===he?we.push(j(U,Z,se)):he.type===\"FunctionExpression\"?we.push(U.call(ke=>j(ke,Z,se),\"value\")):we.push(se(\"value\")),we}function j(U,Z,se){let fe=U.getNode(),ge=R(U,se,Z),he=K(U,se,Z),we=q(fe,he),ke=[L(U,Z,se),p([we?p(ge):ge,he])];return fe.body?ke.push(\" \",se(\"body\")):ke.push(Z.semi?\";\":\"\"),ke}function Y(U,Z,se,fe){let ge=U.getValue(),he=[];if(ge.async&&he.push(\"async \"),W(U,Z))he.push(se([\"params\",0]));else {let ke=fe&&(fe.expandLastArg||fe.expandFirstArg),Re=K(U,se,Z);if(ke){if(_(Re))throw new w;Re=p(F(Re));}he.push(p([R(U,se,Z,ke,!0),Re]));}let we=s(U,Z,!0,ke=>{let Re=u(Z.originalText,ke,M);return Re!==!1&&Z.originalText.slice(Re,Re+2)===\"=>\"});return we&&he.push(\" \",we),he}function ie(U,Z,se,fe,ge,he){let we=U.getName(),ke=U.getParentNode(),Re=v(ke)&&we===\"callee\",Ne=Boolean(Z&&Z.assignmentLayout),Pe=he.body.type!==\"BlockStatement\"&&he.body.type!==\"ObjectExpression\"&&he.body.type!==\"SequenceExpression\",oe=Re&&Pe||Z&&Z.assignmentLayout===\"chain-tail-arrow-chain\",H=Symbol(\"arrow-chain\");return he.body.type===\"SequenceExpression\"&&(ge=p([\"(\",y([l,ge]),l,\")\"])),p([p(y([Re||Ne?l:\"\",p(c([\" =>\",i],se),{shouldBreak:fe})]),{id:H,shouldBreak:oe}),\" =>\",f(Pe?y([i,ge]):[\" \",ge],{groupId:H}),Re?h(l,\"\",{groupId:H}):\"\"])}function ee(U,Z,se,fe){let ge=U.getValue(),he=[],we=[],ke=!1;if(function H(){let pe=Y(U,Z,se,fe);if(he.length===0)he.push(pe);else {let{leading:X,trailing:le}=a(U,Z);he.push([X,pe]),we.unshift(le);}ke=ke||ge.returnType&&E(ge).length>0||ge.typeParameters||E(ge).some(X=>X.type!==\"Identifier\"),ge.body.type!==\"ArrowFunctionExpression\"||fe&&fe.expandLastArg?we.unshift(se(\"body\",fe)):(ge=ge.body,U.call(H,\"body\"));}(),he.length>1)return ie(U,fe,he,ke,we,ge);let Re=he;if(Re.push(\" =>\"),!N(Z.originalText,ge.body)&&(ge.body.type===\"ArrayExpression\"||ge.body.type===\"ObjectExpression\"||ge.body.type===\"BlockStatement\"||I(ge.body)||P(ge.body,Z.originalText)||ge.body.type===\"ArrowFunctionExpression\"||ge.body.type===\"DoExpression\"))return p([...Re,\" \",we]);if(ge.body.type===\"SequenceExpression\")return p([...Re,p([\" (\",y([l,we]),l,\")\"])]);let Ne=(fe&&fe.expandLastArg||U.getParentNode().type===\"JSXExpressionContainer\")&&!C(ge),Pe=fe&&fe.expandLastArg&&$(Z,\"all\"),oe=ge.body.type===\"ConditionalExpression\"&&!D(ge.body,H=>H.type===\"ObjectExpression\");return p([...Re,p([y([i,oe?h(\"\",\"(\"):\"\",we,oe?h(\"\",\")\"):\"\"]),Ne?[h(Pe?\",\":\"\"),l]:\"\"])])}function ce(U){let Z=E(U);return Z.length===1&&!U.typeParameters&&!C(U,d.Dangling)&&Z[0].type===\"Identifier\"&&!Z[0].typeAnnotation&&!C(Z[0])&&!Z[0].optional&&!U.predicate&&!U.returnType}function W(U,Z){if(Z.arrowParens===\"always\")return !1;if(Z.arrowParens===\"avoid\"){let se=U.getValue();return ce(se)}return !1}function K(U,Z,se){let fe=U.getValue(),ge=Z(\"returnType\");if(fe.returnType&&x(se.originalText,fe.returnType))return [\" /*: \",ge,\" */\"];let he=[ge];return fe.returnType&&fe.returnType.typeAnnotation&&he.unshift(\": \"),fe.predicate&&he.push(fe.returnType?\" \":\": \",Z(\"predicate\")),he}function de(U,Z,se){let fe=U.getValue(),ge=Z.semi?\";\":\"\",he=[];fe.argument&&(z(Z,fe.argument)?he.push([\" (\",y([g,se(\"argument\")]),g,\")\"]):T(fe.argument)||fe.argument.type===\"SequenceExpression\"?he.push(p([h(\" (\",\" \"),y([l,se(\"argument\")]),l,h(\")\")])):he.push(\" \",se(\"argument\")));let we=o(fe),ke=n(we),Re=ke&&m(ke);return Re&&he.push(ge),C(fe,d.Dangling)&&he.push(\" \",s(U,Z,!0)),Re||he.push(ge),he}function ue(U,Z,se){return [\"return\",de(U,Z,se)]}function Fe(U,Z,se){return [\"throw\",de(U,Z,se)]}function z(U,Z){if(N(U.originalText,Z))return !0;if(B(Z)){let se=Z,fe;for(;fe=k(se);)if(se=fe,N(U.originalText,se))return !0}return !1}r.exports={printFunction:Q,printArrowFunction:ee,printMethod:V,printReturnStatement:ue,printThrowStatement:Fe,printMethodInternal:j,shouldPrintParamsWithoutParens:W};}}),nu=te({\"src/language-js/print/decorators.js\"(e,r){ne();var{isNonEmptyArray:t,hasNewline:s}=Ue(),{builders:{line:a,hardline:n,join:u,breakParent:i,group:l}}=qe(),{locStart:p,locEnd:y}=ut(),{getParentExportDeclaration:h}=Ke();function g(w,E,N){let x=w.getValue();return l([u(a,w.map(N,\"decorators\")),F(x,E)?n:a])}function c(w,E,N){return [u(n,w.map(N,\"declaration\",\"decorators\")),n]}function f(w,E,N){let x=w.getValue(),{decorators:I}=x;if(!t(I)||_(w.getParentNode()))return;let P=x.type===\"ClassExpression\"||x.type===\"ClassDeclaration\"||F(x,E);return [h(w)?n:P?i:\"\",u(a,w.map(N,\"decorators\")),a]}function F(w,E){return w.decorators.some(N=>s(E.originalText,y(N)))}function _(w){if(w.type!==\"ExportDefaultDeclaration\"&&w.type!==\"ExportNamedDeclaration\"&&w.type!==\"DeclareExportDeclaration\")return !1;let E=w.declaration&&w.declaration.decorators;return t(E)&&p(w)===p(E[0])}r.exports={printDecorators:f,printClassMemberDecorators:g,printDecoratorsBeforeExport:c,hasDecoratorsBeforeExport:_};}}),nr=te({\"src/language-js/print/class.js\"(e,r){ne();var{isNonEmptyArray:t,createGroupIdMapper:s}=Ue(),{printComments:a,printDanglingComments:n}=et(),{builders:{join:u,line:i,hardline:l,softline:p,group:y,indent:h,ifBreak:g}}=qe(),{hasComment:c,CommentCheckFlags:f}=Ke(),{getTypeParametersGroupId:F}=jr(),{printMethod:_}=qr(),{printOptionalToken:w,printTypeAnnotation:E,printDefiniteToken:N}=ct(),{printPropertyKey:x}=rr(),{printAssignment:I}=tr(),{printClassMemberDecorators:P}=nu();function $(b,B,k){let M=b.getValue(),R=[];M.declare&&R.push(\"declare \"),M.abstract&&R.push(\"abstract \"),R.push(\"class\");let q=M.id&&c(M.id,f.Trailing)||M.typeParameters&&c(M.typeParameters,f.Trailing)||M.superClass&&c(M.superClass)||t(M.extends)||t(M.mixins)||t(M.implements),J=[],L=[];if(M.id&&J.push(\" \",k(\"id\")),J.push(k(\"typeParameters\")),M.superClass){let Q=[d(b,B,k),k(\"superTypeParameters\")],V=b.call(j=>[\"extends \",a(j,Q,B)],\"superClass\");q?L.push(i,y(V)):L.push(\" \",V);}else L.push(o(b,B,k,\"extends\"));if(L.push(o(b,B,k,\"mixins\"),o(b,B,k,\"implements\")),q){let Q;C(M)?Q=[...J,h(L)]:Q=h([...J,L]),R.push(y(Q,{id:D(M)}));}else R.push(...J,...L);return R.push(\" \",k(\"body\")),R}var D=s(\"heritageGroup\");function T(b){return g(l,\"\",{groupId:D(b)})}function m(b){return [\"superClass\",\"extends\",\"mixins\",\"implements\"].filter(B=>Boolean(b[B])).length>1}function C(b){return b.typeParameters&&!c(b.typeParameters,f.Trailing|f.Line)&&!m(b)}function o(b,B,k,M){let R=b.getValue();if(!t(R[M]))return \"\";let q=n(b,B,!0,J=>{let{marker:L}=J;return L===M});return [C(R)?g(\" \",i,{groupId:F(R.typeParameters)}):i,q,q&&l,M,y(h([i,u([\",\",i],b.map(k,M))]))]}function d(b,B,k){let M=k(\"superClass\");return b.getParentNode().type===\"AssignmentExpression\"?y(g([\"(\",h([p,M]),p,\")\"],M)):M}function v(b,B,k){let M=b.getValue(),R=[];return t(M.decorators)&&R.push(P(b,B,k)),M.accessibility&&R.push(M.accessibility+\" \"),M.readonly&&R.push(\"readonly \"),M.declare&&R.push(\"declare \"),M.static&&R.push(\"static \"),(M.type===\"TSAbstractMethodDefinition\"||M.abstract)&&R.push(\"abstract \"),M.override&&R.push(\"override \"),R.push(_(b,B,k)),R}function S(b,B,k){let M=b.getValue(),R=[],q=B.semi?\";\":\"\";return t(M.decorators)&&R.push(P(b,B,k)),M.accessibility&&R.push(M.accessibility+\" \"),M.declare&&R.push(\"declare \"),M.static&&R.push(\"static \"),(M.type===\"TSAbstractPropertyDefinition\"||M.type===\"TSAbstractAccessorProperty\"||M.abstract)&&R.push(\"abstract \"),M.override&&R.push(\"override \"),M.readonly&&R.push(\"readonly \"),M.variance&&R.push(k(\"variance\")),(M.type===\"ClassAccessorProperty\"||M.type===\"AccessorProperty\"||M.type===\"TSAbstractAccessorProperty\")&&R.push(\"accessor \"),R.push(x(b,B,k),w(b),N(b),E(b,B,k)),[I(b,B,k,R,\" =\",\"value\"),q]}r.exports={printClass:$,printClassMethod:v,printClassProperty:S,printHardlineAfterHeritage:T};}}),bo=te({\"src/language-js/print/interface.js\"(e,r){ne();var{isNonEmptyArray:t}=Ue(),{builders:{join:s,line:a,group:n,indent:u,ifBreak:i}}=qe(),{hasComment:l,identity:p,CommentCheckFlags:y}=Ke(),{getTypeParametersGroupId:h}=jr(),{printTypeScriptModifiers:g}=ct();function c(f,F,_){let w=f.getValue(),E=[];w.declare&&E.push(\"declare \"),w.type===\"TSInterfaceDeclaration\"&&E.push(w.abstract?\"abstract \":\"\",g(f,F,_)),E.push(\"interface\");let N=[],x=[];w.type!==\"InterfaceTypeAnnotation\"&&N.push(\" \",_(\"id\"),_(\"typeParameters\"));let I=w.typeParameters&&!l(w.typeParameters,y.Trailing|y.Line);return t(w.extends)&&x.push(I?i(\" \",a,{groupId:h(w.typeParameters)}):a,\"extends \",(w.extends.length===1?p:u)(s([\",\",a],f.map(_,\"extends\")))),w.id&&l(w.id,y.Trailing)||t(w.extends)?I?E.push(n([...N,u(x)])):E.push(n(u([...N,...x]))):E.push(...N,...x),E.push(\" \",_(\"body\")),n(E)}r.exports={printInterface:c};}}),To=te({\"src/language-js/print/module.js\"(e,r){ne();var{isNonEmptyArray:t}=Ue(),{builders:{softline:s,group:a,indent:n,join:u,line:i,ifBreak:l,hardline:p}}=qe(),{printDanglingComments:y}=et(),{hasComment:h,CommentCheckFlags:g,shouldPrintComma:c,needsHardlineAfterDanglingComment:f,isStringLiteral:F,rawText:_}=Ke(),{locStart:w,hasSameLoc:E}=ut(),{hasDecoratorsBeforeExport:N,printDecoratorsBeforeExport:x}=nu();function I(S,b,B){let k=S.getValue(),M=b.semi?\";\":\"\",R=[],{importKind:q}=k;return R.push(\"import\"),q&&q!==\"value\"&&R.push(\" \",q),R.push(m(S,b,B),T(S,b,B),o(S,b,B),M),R}function P(S,b,B){let k=S.getValue(),M=[];N(k)&&M.push(x(S,b,B));let{type:R,exportKind:q,declaration:J}=k;return M.push(\"export\"),(k.default||R===\"ExportDefaultDeclaration\")&&M.push(\" default\"),h(k,g.Dangling)&&(M.push(\" \",y(S,b,!0)),f(k)&&M.push(p)),J?M.push(\" \",B(\"declaration\")):M.push(q===\"type\"?\" type\":\"\",m(S,b,B),T(S,b,B),o(S,b,B)),D(k,b)&&M.push(\";\"),M}function $(S,b,B){let k=S.getValue(),M=b.semi?\";\":\"\",R=[],{exportKind:q,exported:J}=k;return R.push(\"export\"),q===\"type\"&&R.push(\" type\"),R.push(\" *\"),J&&R.push(\" as \",B(\"exported\")),R.push(T(S,b,B),o(S,b,B),M),R}function D(S,b){if(!b.semi)return !1;let{type:B,declaration:k}=S,M=S.default||B===\"ExportDefaultDeclaration\";if(!k)return !0;let{type:R}=k;return !!(M&&R!==\"ClassDeclaration\"&&R!==\"FunctionDeclaration\"&&R!==\"TSInterfaceDeclaration\"&&R!==\"DeclareClass\"&&R!==\"DeclareFunction\"&&R!==\"TSDeclareFunction\"&&R!==\"EnumDeclaration\")}function T(S,b,B){let k=S.getValue();if(!k.source)return \"\";let M=[];return C(k,b)||M.push(\" from\"),M.push(\" \",B(\"source\")),M}function m(S,b,B){let k=S.getValue();if(C(k,b))return \"\";let M=[\" \"];if(t(k.specifiers)){let R=[],q=[];S.each(()=>{let J=S.getValue().type;if(J===\"ExportNamespaceSpecifier\"||J===\"ExportDefaultSpecifier\"||J===\"ImportNamespaceSpecifier\"||J===\"ImportDefaultSpecifier\")R.push(B());else if(J===\"ExportSpecifier\"||J===\"ImportSpecifier\")q.push(B());else throw new Error(`Unknown specifier type ${JSON.stringify(J)}`)},\"specifiers\"),M.push(u(\", \",R)),q.length>0&&(R.length>0&&M.push(\", \"),q.length>1||R.length>0||k.specifiers.some(L=>h(L))?M.push(a([\"{\",n([b.bracketSpacing?i:s,u([\",\",i],q)]),l(c(b)?\",\":\"\"),b.bracketSpacing?i:s,\"}\"])):M.push([\"{\",b.bracketSpacing?\" \":\"\",...q,b.bracketSpacing?\" \":\"\",\"}\"]));}else M.push(\"{}\");return M}function C(S,b){let{type:B,importKind:k,source:M,specifiers:R}=S;return B!==\"ImportDeclaration\"||t(R)||k===\"type\"?!1:!/{\\s*}/.test(b.originalText.slice(w(S),w(M)))}function o(S,b,B){let k=S.getNode();return t(k.assertions)?[\" assert {\",b.bracketSpacing?\" \":\"\",u(\", \",S.map(B,\"assertions\")),b.bracketSpacing?\" \":\"\",\"}\"]:\"\"}function d(S,b,B){let k=S.getNode(),{type:M}=k,R=[],q=M===\"ImportSpecifier\"?k.importKind:k.exportKind;q&&q!==\"value\"&&R.push(q,\" \");let J=M.startsWith(\"Import\"),L=J?\"imported\":\"local\",Q=J?\"local\":\"exported\",V=k[L],j=k[Q],Y=\"\",ie=\"\";return M===\"ExportNamespaceSpecifier\"||M===\"ImportNamespaceSpecifier\"?Y=\"*\":V&&(Y=B(L)),j&&!v(k)&&(ie=B(Q)),R.push(Y,Y&&ie?\" as \":\"\",ie),R}function v(S){if(S.type!==\"ImportSpecifier\"&&S.type!==\"ExportSpecifier\")return !1;let{local:b,[S.type===\"ImportSpecifier\"?\"imported\":\"exported\"]:B}=S;if(b.type!==B.type||!E(b,B))return !1;if(F(b))return b.value===B.value&&_(b)===_(B);switch(b.type){case\"Identifier\":return b.name===B.name;default:return !1}}r.exports={printImportDeclaration:I,printExportDeclaration:P,printExportAllDeclaration:$,printModuleSpecifier:d};}}),uu=te({\"src/language-js/print/object.js\"(e,r){ne();var{printDanglingComments:t}=et(),{builders:{line:s,softline:a,group:n,indent:u,ifBreak:i,hardline:l}}=qe(),{getLast:p,hasNewlineInRange:y,hasNewline:h,isNonEmptyArray:g}=Ue(),{shouldPrintComma:c,hasComment:f,getComments:F,CommentCheckFlags:_,isNextLineEmpty:w}=Ke(),{locStart:E,locEnd:N}=ut(),{printOptionalToken:x,printTypeAnnotation:I}=ct(),{shouldHugFunctionParameters:P}=Lr(),{shouldHugType:$}=Or(),{printHardlineAfterHeritage:D}=nr();function T(m,C,o){let d=C.semi?\";\":\"\",v=m.getValue(),S;v.type===\"TSTypeLiteral\"?S=\"members\":v.type===\"TSInterfaceBody\"?S=\"body\":S=\"properties\";let b=v.type===\"ObjectTypeAnnotation\",B=[S];b&&B.push(\"indexers\",\"callProperties\",\"internalSlots\");let k=B.map(W=>v[W][0]).sort((W,K)=>E(W)-E(K))[0],M=m.getParentNode(0),R=b&&M&&(M.type===\"InterfaceDeclaration\"||M.type===\"DeclareInterface\"||M.type===\"DeclareClass\")&&m.getName()===\"body\",q=v.type===\"TSInterfaceBody\"||R||v.type===\"ObjectPattern\"&&M.type!==\"FunctionDeclaration\"&&M.type!==\"FunctionExpression\"&&M.type!==\"ArrowFunctionExpression\"&&M.type!==\"ObjectMethod\"&&M.type!==\"ClassMethod\"&&M.type!==\"ClassPrivateMethod\"&&M.type!==\"AssignmentPattern\"&&M.type!==\"CatchClause\"&&v.properties.some(W=>W.value&&(W.value.type===\"ObjectPattern\"||W.value.type===\"ArrayPattern\"))||v.type!==\"ObjectPattern\"&&k&&y(C.originalText,E(v),E(k)),J=R?\";\":v.type===\"TSInterfaceBody\"||v.type===\"TSTypeLiteral\"?i(d,\";\"):\",\",L=v.type===\"RecordExpression\"?\"#{\":v.exact?\"{|\":\"{\",Q=v.exact?\"|}\":\"}\",V=[];for(let W of B)m.each(K=>{let de=K.getValue();V.push({node:de,printed:o(),loc:E(de)});},W);B.length>1&&V.sort((W,K)=>W.loc-K.loc);let j=[],Y=V.map(W=>{let K=[...j,n(W.printed)];return j=[J,s],(W.node.type===\"TSPropertySignature\"||W.node.type===\"TSMethodSignature\"||W.node.type===\"TSConstructSignatureDeclaration\")&&f(W.node,_.PrettierIgnore)&&j.shift(),w(W.node,C)&&j.push(l),K});if(v.inexact){let W;if(f(v,_.Dangling)){let K=f(v,_.Line);W=[t(m,C,!0),K||h(C.originalText,N(p(F(v))))?l:s,\"...\"];}else W=[\"...\"];Y.push([...j,...W]);}let ie=p(v[S]),ee=!(v.inexact||ie&&ie.type===\"RestElement\"||ie&&(ie.type===\"TSPropertySignature\"||ie.type===\"TSCallSignatureDeclaration\"||ie.type===\"TSMethodSignature\"||ie.type===\"TSConstructSignatureDeclaration\")&&f(ie,_.PrettierIgnore)),ce;if(Y.length===0){if(!f(v,_.Dangling))return [L,Q,I(m,C,o)];ce=n([L,t(m,C),a,Q,x(m),I(m,C,o)]);}else ce=[R&&g(v.properties)?D(M):\"\",L,u([C.bracketSpacing?s:a,...Y]),i(ee&&(J!==\",\"||c(C))?J:\"\"),C.bracketSpacing?s:a,Q,x(m),I(m,C,o)];return m.match(W=>W.type===\"ObjectPattern\"&&!W.decorators,(W,K,de)=>P(W)&&(K===\"params\"||K===\"parameters\"||K===\"this\"||K===\"rest\")&&de===0)||m.match($,(W,K)=>K===\"typeAnnotation\",(W,K)=>K===\"typeAnnotation\",(W,K,de)=>P(W)&&(K===\"params\"||K===\"parameters\"||K===\"this\"||K===\"rest\")&&de===0)||!q&&m.match(W=>W.type===\"ObjectPattern\",W=>W.type===\"AssignmentExpression\"||W.type===\"VariableDeclarator\")?ce:n(ce,{shouldBreak:q})}r.exports={printObject:T};}}),dd=te({\"src/language-js/print/flow.js\"(e,r){ne();var t=Zt(),{printDanglingComments:s}=et(),{printString:a,printNumber:n}=Ue(),{builders:{hardline:u,softline:i,group:l,indent:p}}=qe(),{getParentExportDeclaration:y,isFunctionNotation:h,isGetterOrSetter:g,rawText:c,shouldPrintComma:f}=Ke(),{locStart:F,locEnd:_}=ut(),{replaceTextEndOfLine:w}=Yt(),{printClass:E}=nr(),{printOpaqueType:N,printTypeAlias:x,printIntersectionType:I,printUnionType:P,printFunctionType:$,printTupleType:D,printIndexedAccessType:T}=Or(),{printInterface:m}=bo(),{printTypeParameter:C,printTypeParameters:o}=jr(),{printExportDeclaration:d,printExportAllDeclaration:v}=To(),{printArrayItems:S}=er(),{printObject:b}=uu(),{printPropertyKey:B}=rr(),{printOptionalToken:k,printTypeAnnotation:M,printRestSpread:R}=ct();function q(L,Q,V){let j=L.getValue(),Y=Q.semi?\";\":\"\",ie=[];switch(j.type){case\"DeclareClass\":return J(L,E(L,Q,V));case\"DeclareFunction\":return J(L,[\"function \",V(\"id\"),j.predicate?\" \":\"\",V(\"predicate\"),Y]);case\"DeclareModule\":return J(L,[\"module \",V(\"id\"),\" \",V(\"body\")]);case\"DeclareModuleExports\":return J(L,[\"module.exports\",\": \",V(\"typeAnnotation\"),Y]);case\"DeclareVariable\":return J(L,[\"var \",V(\"id\"),Y]);case\"DeclareOpaqueType\":return J(L,N(L,Q,V));case\"DeclareInterface\":return J(L,m(L,Q,V));case\"DeclareTypeAlias\":return J(L,x(L,Q,V));case\"DeclareExportDeclaration\":return J(L,d(L,Q,V));case\"DeclareExportAllDeclaration\":return J(L,v(L,Q,V));case\"OpaqueType\":return N(L,Q,V);case\"TypeAlias\":return x(L,Q,V);case\"IntersectionTypeAnnotation\":return I(L,Q,V);case\"UnionTypeAnnotation\":return P(L,Q,V);case\"FunctionTypeAnnotation\":return $(L,Q,V);case\"TupleTypeAnnotation\":return D(L,Q,V);case\"GenericTypeAnnotation\":return [V(\"id\"),o(L,Q,V,\"typeParameters\")];case\"IndexedAccessType\":case\"OptionalIndexedAccessType\":return T(L,Q,V);case\"TypeAnnotation\":return V(\"typeAnnotation\");case\"TypeParameter\":return C(L,Q,V);case\"TypeofTypeAnnotation\":return [\"typeof \",V(\"argument\")];case\"ExistsTypeAnnotation\":return \"*\";case\"EmptyTypeAnnotation\":return \"empty\";case\"MixedTypeAnnotation\":return \"mixed\";case\"ArrayTypeAnnotation\":return [V(\"elementType\"),\"[]\"];case\"BooleanLiteralTypeAnnotation\":return String(j.value);case\"EnumDeclaration\":return [\"enum \",V(\"id\"),\" \",V(\"body\")];case\"EnumBooleanBody\":case\"EnumNumberBody\":case\"EnumStringBody\":case\"EnumSymbolBody\":{if(j.type===\"EnumSymbolBody\"||j.explicitType){let ee=null;switch(j.type){case\"EnumBooleanBody\":ee=\"boolean\";break;case\"EnumNumberBody\":ee=\"number\";break;case\"EnumStringBody\":ee=\"string\";break;case\"EnumSymbolBody\":ee=\"symbol\";break}ie.push(\"of \",ee,\" \");}if(j.members.length===0&&!j.hasUnknownMembers)ie.push(l([\"{\",s(L,Q),i,\"}\"]));else {let ee=j.members.length>0?[u,S(L,Q,\"members\",V),j.hasUnknownMembers||f(Q)?\",\":\"\"]:[];ie.push(l([\"{\",p([...ee,...j.hasUnknownMembers?[u,\"...\"]:[]]),s(L,Q,!0),u,\"}\"]));}return ie}case\"EnumBooleanMember\":case\"EnumNumberMember\":case\"EnumStringMember\":return [V(\"id\"),\" = \",typeof j.init==\"object\"?V(\"init\"):String(j.init)];case\"EnumDefaultedMember\":return V(\"id\");case\"FunctionTypeParam\":{let ee=j.name?V(\"name\"):L.getParentNode().this===j?\"this\":\"\";return [ee,k(L),ee?\": \":\"\",V(\"typeAnnotation\")]}case\"InterfaceDeclaration\":case\"InterfaceTypeAnnotation\":return m(L,Q,V);case\"ClassImplements\":case\"InterfaceExtends\":return [V(\"id\"),V(\"typeParameters\")];case\"NullableTypeAnnotation\":return [\"?\",V(\"typeAnnotation\")];case\"Variance\":{let{kind:ee}=j;return t.ok(ee===\"plus\"||ee===\"minus\"),ee===\"plus\"?\"+\":\"-\"}case\"ObjectTypeCallProperty\":return j.static&&ie.push(\"static \"),ie.push(V(\"value\")),ie;case\"ObjectTypeIndexer\":return [j.static?\"static \":\"\",j.variance?V(\"variance\"):\"\",\"[\",V(\"id\"),j.id?\": \":\"\",V(\"key\"),\"]: \",V(\"value\")];case\"ObjectTypeProperty\":{let ee=\"\";return j.proto?ee=\"proto \":j.static&&(ee=\"static \"),[ee,g(j)?j.kind+\" \":\"\",j.variance?V(\"variance\"):\"\",B(L,Q,V),k(L),h(j)?\"\":\": \",V(\"value\")]}case\"ObjectTypeAnnotation\":return b(L,Q,V);case\"ObjectTypeInternalSlot\":return [j.static?\"static \":\"\",\"[[\",V(\"id\"),\"]]\",k(L),j.method?\"\":\": \",V(\"value\")];case\"ObjectTypeSpreadProperty\":return R(L,Q,V);case\"QualifiedTypeofIdentifier\":case\"QualifiedTypeIdentifier\":return [V(\"qualification\"),\".\",V(\"id\")];case\"StringLiteralTypeAnnotation\":return w(a(c(j),Q));case\"NumberLiteralTypeAnnotation\":t.strictEqual(typeof j.value,\"number\");case\"BigIntLiteralTypeAnnotation\":return j.extra?n(j.extra.raw):n(j.raw);case\"TypeCastExpression\":return [\"(\",V(\"expression\"),M(L,Q,V),\")\"];case\"TypeParameterDeclaration\":case\"TypeParameterInstantiation\":{let ee=o(L,Q,V,\"params\");if(Q.parser===\"flow\"){let ce=F(j),W=_(j),K=Q.originalText.lastIndexOf(\"/*\",ce),de=Q.originalText.indexOf(\"*/\",W);if(K!==-1&&de!==-1){let ue=Q.originalText.slice(K+2,de).trim();if(ue.startsWith(\"::\")&&!ue.includes(\"/*\")&&!ue.includes(\"*/\"))return [\"/*:: \",ee,\" */\"]}}return ee}case\"InferredPredicate\":return \"%checks\";case\"DeclaredPredicate\":return [\"%checks(\",V(\"value\"),\")\"];case\"AnyTypeAnnotation\":return \"any\";case\"BooleanTypeAnnotation\":return \"boolean\";case\"BigIntTypeAnnotation\":return \"bigint\";case\"NullLiteralTypeAnnotation\":return \"null\";case\"NumberTypeAnnotation\":return \"number\";case\"SymbolTypeAnnotation\":return \"symbol\";case\"StringTypeAnnotation\":return \"string\";case\"VoidTypeAnnotation\":return \"void\";case\"ThisTypeAnnotation\":return \"this\";case\"Node\":case\"Printable\":case\"SourceLocation\":case\"Position\":case\"Statement\":case\"Function\":case\"Pattern\":case\"Expression\":case\"Declaration\":case\"Specifier\":case\"NamedSpecifier\":case\"Comment\":case\"MemberTypeAnnotation\":case\"Type\":throw new Error(\"unprintable type: \"+JSON.stringify(j.type))}}function J(L,Q){let V=y(L);return V?(t.strictEqual(V.type,\"DeclareExportDeclaration\"),Q):[\"declare \",Q]}r.exports={printFlow:q};}}),gd=te({\"src/language-js/utils/is-ts-keyword-type.js\"(e,r){ne();function t(s){let{type:a}=s;return a.startsWith(\"TS\")&&a.endsWith(\"Keyword\")}r.exports=t;}}),Bo=te({\"src/language-js/print/ternary.js\"(e,r){ne();var{hasNewlineInRange:t}=Ue(),{isJsxNode:s,getComments:a,isCallExpression:n,isMemberExpression:u,isTSTypeExpression:i}=Ke(),{locStart:l,locEnd:p}=ut(),y=Pt(),{builders:{line:h,softline:g,group:c,indent:f,align:F,ifBreak:_,dedent:w,breakParent:E}}=qe();function N(D){let T=[D];for(let m=0;mR[ue]===C),J=R.type===C.type&&!q,L,Q,V=0;do Q=L||C,L=D.getParentNode(V),V++;while(L&&L.type===C.type&&S.every(ue=>L[ue]!==Q));let j=L||R,Y=Q;if(o&&(s(C[S[0]])||s(b)||s(B)||N(Y))){M=!0,J=!0;let ue=z=>[_(\"(\"),f([g,z]),g,_(\")\")],Fe=z=>z.type===\"NullLiteral\"||z.type===\"Literal\"&&z.value===null||z.type===\"Identifier\"&&z.name===\"undefined\";k.push(\" ? \",Fe(b)?m(d):ue(m(d)),\" : \",B.type===C.type||Fe(B)?m(v):ue(m(v)));}else {let ue=[h,\"? \",b.type===C.type?_(\"\",\"(\"):\"\",F(2,m(d)),b.type===C.type?_(\"\",\")\"):\"\",h,\": \",B.type===C.type?m(v):F(2,m(v))];k.push(R.type!==C.type||R[v]===C||q?ue:T.useTabs?w(f(ue)):F(Math.max(0,T.tabWidth-2),ue));}let ee=[...S.map(ue=>a(C[ue])),a(b),a(B)].flat().some(ue=>y(ue)&&t(T.originalText,l(ue),p(ue))),ce=ue=>R===j?c(ue,{shouldBreak:ee}):ee?[ue,E]:ue,W=!M&&(u(R)||R.type===\"NGPipeExpression\"&&R.left===C)&&!R.computed,K=P(D),de=ce([x(D,T,m),J?k:f(k),o&&W&&!K?g:\"\"]);return q||K?c([f([g,de]),g]):de}r.exports={printTernary:$};}}),No=te({\"src/language-js/print/statement.js\"(e,r){ne();var{builders:{hardline:t}}=qe(),s=qt(),{getLeftSidePathName:a,hasNakedLeftSide:n,isJsxNode:u,isTheOnlyJsxElementInMarkdown:i,hasComment:l,CommentCheckFlags:p,isNextLineEmpty:y}=Ke(),{shouldPrintParamsWithoutParens:h}=qr();function g(x,I,P,$){let D=x.getValue(),T=[],m=D.type===\"ClassBody\",C=c(D[$]);return x.each((o,d,v)=>{let S=o.getValue();if(S.type===\"EmptyStatement\")return;let b=P();!I.semi&&!m&&!i(I,o)&&f(o,I)?l(S,p.Leading)?T.push(P([],{needsSemi:!0})):T.push(\";\",b):T.push(b),!I.semi&&m&&E(S)&&N(S,v[d+1])&&T.push(\";\"),S!==C&&(T.push(t),y(S,I)&&T.push(t));},$),T}function c(x){for(let I=x.length-1;I>=0;I--){let P=x[I];if(P.type!==\"EmptyStatement\")return P}}function f(x,I){return x.getNode().type!==\"ExpressionStatement\"?!1:x.call($=>F($,I),\"expression\")}function F(x,I){let P=x.getValue();switch(P.type){case\"ParenthesizedExpression\":case\"TypeCastExpression\":case\"ArrayExpression\":case\"ArrayPattern\":case\"TemplateLiteral\":case\"TemplateElement\":case\"RegExpLiteral\":return !0;case\"ArrowFunctionExpression\":{if(!h(x,I))return !0;break}case\"UnaryExpression\":{let{prefix:$,operator:D}=P;if($&&(D===\"+\"||D===\"-\"))return !0;break}case\"BindExpression\":{if(!P.object)return !0;break}case\"Literal\":{if(P.regex)return !0;break}default:if(u(P))return !0}return s(x,I)?!0:n(P)?x.call($=>F($,I),...a(x,P)):!1}function _(x,I,P){return g(x,I,P,\"body\")}function w(x,I,P){return g(x,I,P,\"consequent\")}var E=x=>{let{type:I}=x;return I===\"ClassProperty\"||I===\"PropertyDefinition\"||I===\"ClassPrivateProperty\"||I===\"ClassAccessorProperty\"||I===\"AccessorProperty\"||I===\"TSAbstractPropertyDefinition\"||I===\"TSAbstractAccessorProperty\"};function N(x,I){let{type:P,name:$}=x.key;if(!x.computed&&P===\"Identifier\"&&($===\"static\"||$===\"get\"||$===\"set\"||$===\"accessor\")&&!x.value&&!x.typeAnnotation)return !0;if(!I||I.static||I.accessibility)return !1;if(!I.computed){let D=I.key&&I.key.name;if(D===\"in\"||D===\"instanceof\")return !0}if(E(I)&&I.variance&&!I.static&&!I.declare)return !0;switch(I.type){case\"ClassProperty\":case\"PropertyDefinition\":case\"TSAbstractPropertyDefinition\":return I.computed;case\"MethodDefinition\":case\"TSAbstractMethodDefinition\":case\"ClassMethod\":case\"ClassPrivateMethod\":{if((I.value?I.value.async:I.async)||I.kind===\"get\"||I.kind===\"set\")return !1;let T=I.value?I.value.generator:I.generator;return !!(I.computed||T)}case\"TSIndexSignature\":return !0}return !1}r.exports={printBody:_,printSwitchCaseConsequent:w};}}),wo=te({\"src/language-js/print/block.js\"(e,r){ne();var{printDanglingComments:t}=et(),{isNonEmptyArray:s}=Ue(),{builders:{hardline:a,indent:n}}=qe(),{hasComment:u,CommentCheckFlags:i,isNextLineEmpty:l}=Ke(),{printHardlineAfterHeritage:p}=nr(),{printBody:y}=No();function h(c,f,F){let _=c.getValue(),w=[];if(_.type===\"StaticBlock\"&&w.push(\"static \"),_.type===\"ClassBody\"&&s(_.body)){let N=c.getParentNode();w.push(p(N));}w.push(\"{\");let E=g(c,f,F);if(E)w.push(n([a,E]),a);else {let N=c.getParentNode(),x=c.getParentNode(1);N.type===\"ArrowFunctionExpression\"||N.type===\"FunctionExpression\"||N.type===\"FunctionDeclaration\"||N.type===\"ObjectMethod\"||N.type===\"ClassMethod\"||N.type===\"ClassPrivateMethod\"||N.type===\"ForStatement\"||N.type===\"WhileStatement\"||N.type===\"DoWhileStatement\"||N.type===\"DoExpression\"||N.type===\"CatchClause\"&&!x.finalizer||N.type===\"TSModuleDeclaration\"||N.type===\"TSDeclareFunction\"||_.type===\"StaticBlock\"||_.type===\"ClassBody\"||w.push(a);}return w.push(\"}\"),w}function g(c,f,F){let _=c.getValue(),w=s(_.directives),E=_.body.some(I=>I.type!==\"EmptyStatement\"),N=u(_,i.Dangling);if(!w&&!E&&!N)return \"\";let x=[];if(w&&c.each((I,P,$)=>{x.push(F()),(P<$.length-1||E||N)&&(x.push(a),l(I.getValue(),f)&&x.push(a));},\"directives\"),E&&x.push(y(c,f,F)),N&&x.push(t(c,f,!0)),_.type===\"Program\"){let I=c.getParentNode();(!I||I.type!==\"ModuleExpression\")&&x.push(a);}return x}r.exports={printBlock:h,printBlockBody:g};}}),yd=te({\"src/language-js/print/typescript.js\"(e,r){ne();var{printDanglingComments:t}=et(),{hasNewlineInRange:s}=Ue(),{builders:{join:a,line:n,hardline:u,softline:i,group:l,indent:p,conditionalGroup:y,ifBreak:h}}=qe(),{isStringLiteral:g,getTypeScriptMappedTypeModifier:c,shouldPrintComma:f,isCallExpression:F,isMemberExpression:_}=Ke(),w=gd(),{locStart:E,locEnd:N}=ut(),{printOptionalToken:x,printTypeScriptModifiers:I}=ct(),{printTernary:P}=Bo(),{printFunctionParameters:$,shouldGroupFunctionParameters:D}=Lr(),{printTemplateLiteral:T}=jt(),{printArrayItems:m}=er(),{printObject:C}=uu(),{printClassProperty:o,printClassMethod:d}=nr(),{printTypeParameter:v,printTypeParameters:S}=jr(),{printPropertyKey:b}=rr(),{printFunction:B,printMethodInternal:k}=qr(),{printInterface:M}=bo(),{printBlock:R}=wo(),{printTypeAlias:q,printIntersectionType:J,printUnionType:L,printFunctionType:Q,printTupleType:V,printIndexedAccessType:j,printJSDocType:Y}=Or();function ie(ee,ce,W){let K=ee.getValue();if(!K.type.startsWith(\"TS\"))return;if(w(K))return K.type.slice(2,-7).toLowerCase();let de=ce.semi?\";\":\"\",ue=[];switch(K.type){case\"TSThisType\":return \"this\";case\"TSTypeAssertion\":{let Fe=!(K.expression.type===\"ArrayExpression\"||K.expression.type===\"ObjectExpression\"),z=l([\"<\",p([i,W(\"typeAnnotation\")]),i,\">\"]),U=[h(\"(\"),p([i,W(\"expression\")]),i,h(\")\")];return Fe?y([[z,W(\"expression\")],[z,l(U,{shouldBreak:!0})],[z,W(\"expression\")]]):l([z,W(\"expression\")])}case\"TSDeclareFunction\":return B(ee,W,ce);case\"TSExportAssignment\":return [\"export = \",W(\"expression\"),de];case\"TSModuleBlock\":return R(ee,ce,W);case\"TSInterfaceBody\":case\"TSTypeLiteral\":return C(ee,ce,W);case\"TSTypeAliasDeclaration\":return q(ee,ce,W);case\"TSQualifiedName\":return a(\".\",[W(\"left\"),W(\"right\")]);case\"TSAbstractMethodDefinition\":case\"TSDeclareMethod\":return d(ee,ce,W);case\"TSAbstractAccessorProperty\":case\"TSAbstractPropertyDefinition\":return o(ee,ce,W);case\"TSInterfaceHeritage\":case\"TSExpressionWithTypeArguments\":return ue.push(W(\"expression\")),K.typeParameters&&ue.push(W(\"typeParameters\")),ue;case\"TSTemplateLiteralType\":return T(ee,W,ce);case\"TSNamedTupleMember\":return [W(\"label\"),K.optional?\"?\":\"\",\": \",W(\"elementType\")];case\"TSRestType\":return [\"...\",W(\"typeAnnotation\")];case\"TSOptionalType\":return [W(\"typeAnnotation\"),\"?\"];case\"TSInterfaceDeclaration\":return M(ee,ce,W);case\"TSClassImplements\":return [W(\"expression\"),W(\"typeParameters\")];case\"TSTypeParameterDeclaration\":case\"TSTypeParameterInstantiation\":return S(ee,ce,W,\"params\");case\"TSTypeParameter\":return v(ee,ce,W);case\"TSSatisfiesExpression\":case\"TSAsExpression\":{let Fe=K.type===\"TSAsExpression\"?\"as\":\"satisfies\";ue.push(W(\"expression\"),` ${Fe} `,W(\"typeAnnotation\"));let z=ee.getParentNode();return F(z)&&z.callee===K||_(z)&&z.object===K?l([p([i,...ue]),i]):ue}case\"TSArrayType\":return [W(\"elementType\"),\"[]\"];case\"TSPropertySignature\":return K.readonly&&ue.push(\"readonly \"),ue.push(b(ee,ce,W),x(ee)),K.typeAnnotation&&ue.push(\": \",W(\"typeAnnotation\")),K.initializer&&ue.push(\" = \",W(\"initializer\")),ue;case\"TSParameterProperty\":return K.accessibility&&ue.push(K.accessibility+\" \"),K.export&&ue.push(\"export \"),K.static&&ue.push(\"static \"),K.override&&ue.push(\"override \"),K.readonly&&ue.push(\"readonly \"),ue.push(W(\"parameter\")),ue;case\"TSTypeQuery\":return [\"typeof \",W(\"exprName\"),W(\"typeParameters\")];case\"TSIndexSignature\":{let Fe=ee.getParentNode(),z=K.parameters.length>1?h(f(ce)?\",\":\"\"):\"\",U=l([p([i,a([\", \",i],ee.map(W,\"parameters\"))]),z,i]);return [K.export?\"export \":\"\",K.accessibility?[K.accessibility,\" \"]:\"\",K.static?\"static \":\"\",K.readonly?\"readonly \":\"\",K.declare?\"declare \":\"\",\"[\",K.parameters?U:\"\",K.typeAnnotation?\"]: \":\"]\",K.typeAnnotation?W(\"typeAnnotation\"):\"\",Fe.type===\"ClassBody\"?de:\"\"]}case\"TSTypePredicate\":return [K.asserts?\"asserts \":\"\",W(\"parameterName\"),K.typeAnnotation?[\" is \",W(\"typeAnnotation\")]:\"\"];case\"TSNonNullExpression\":return [W(\"expression\"),\"!\"];case\"TSImportType\":return [K.isTypeOf?\"typeof \":\"\",\"import(\",W(K.parameter?\"parameter\":\"argument\"),\")\",K.qualifier?[\".\",W(\"qualifier\")]:\"\",S(ee,ce,W,\"typeParameters\")];case\"TSLiteralType\":return W(\"literal\");case\"TSIndexedAccessType\":return j(ee,ce,W);case\"TSConstructSignatureDeclaration\":case\"TSCallSignatureDeclaration\":case\"TSConstructorType\":{if(K.type===\"TSConstructorType\"&&K.abstract&&ue.push(\"abstract \"),K.type!==\"TSCallSignatureDeclaration\"&&ue.push(\"new \"),ue.push(l($(ee,W,ce,!1,!0))),K.returnType||K.typeAnnotation){let Fe=K.type===\"TSConstructorType\";ue.push(Fe?\" => \":\": \",W(\"returnType\"),W(\"typeAnnotation\"));}return ue}case\"TSTypeOperator\":return [K.operator,\" \",W(\"typeAnnotation\")];case\"TSMappedType\":{let Fe=s(ce.originalText,E(K),N(K));return l([\"{\",p([ce.bracketSpacing?n:i,W(\"typeParameter\"),K.optional?c(K.optional,\"?\"):\"\",K.typeAnnotation?\": \":\"\",W(\"typeAnnotation\"),h(de)]),t(ee,ce,!0),ce.bracketSpacing?n:i,\"}\"],{shouldBreak:Fe})}case\"TSMethodSignature\":{let Fe=K.kind&&K.kind!==\"method\"?`${K.kind} `:\"\";ue.push(K.accessibility?[K.accessibility,\" \"]:\"\",Fe,K.export?\"export \":\"\",K.static?\"static \":\"\",K.readonly?\"readonly \":\"\",K.abstract?\"abstract \":\"\",K.declare?\"declare \":\"\",K.computed?\"[\":\"\",W(\"key\"),K.computed?\"]\":\"\",x(ee));let z=$(ee,W,ce,!1,!0),U=K.returnType?\"returnType\":\"typeAnnotation\",Z=K[U],se=Z?W(U):\"\",fe=D(K,se);return ue.push(fe?l(z):z),Z&&ue.push(\": \",l(se)),l(ue)}case\"TSNamespaceExportDeclaration\":return ue.push(\"export as namespace \",W(\"id\")),ce.semi&&ue.push(\";\"),l(ue);case\"TSEnumDeclaration\":return K.declare&&ue.push(\"declare \"),K.modifiers&&ue.push(I(ee,ce,W)),K.const&&ue.push(\"const \"),ue.push(\"enum \",W(\"id\"),\" \"),K.members.length===0?ue.push(l([\"{\",t(ee,ce),i,\"}\"])):ue.push(l([\"{\",p([u,m(ee,ce,\"members\",W),f(ce,\"es5\")?\",\":\"\"]),t(ee,ce,!0),u,\"}\"])),ue;case\"TSEnumMember\":return K.computed?ue.push(\"[\",W(\"id\"),\"]\"):ue.push(W(\"id\")),K.initializer&&ue.push(\" = \",W(\"initializer\")),ue;case\"TSImportEqualsDeclaration\":return K.isExport&&ue.push(\"export \"),ue.push(\"import \"),K.importKind&&K.importKind!==\"value\"&&ue.push(K.importKind,\" \"),ue.push(W(\"id\"),\" = \",W(\"moduleReference\")),ce.semi&&ue.push(\";\"),l(ue);case\"TSExternalModuleReference\":return [\"require(\",W(\"expression\"),\")\"];case\"TSModuleDeclaration\":{let Fe=ee.getParentNode(),z=g(K.id),U=Fe.type===\"TSModuleDeclaration\",Z=K.body&&K.body.type===\"TSModuleDeclaration\";if(U)ue.push(\".\");else {K.declare&&ue.push(\"declare \"),ue.push(I(ee,ce,W));let se=ce.originalText.slice(E(K),E(K.id));K.id.type===\"Identifier\"&&K.id.name===\"global\"&&!/namespace|module/.test(se)||ue.push(z||/(?:^|\\s)module(?:\\s|$)/.test(se)?\"module \":\"namespace \");}return ue.push(W(\"id\")),Z?ue.push(W(\"body\")):K.body?ue.push(\" \",l(W(\"body\"))):ue.push(de),ue}case\"TSConditionalType\":return P(ee,ce,W);case\"TSInferType\":return [\"infer\",\" \",W(\"typeParameter\")];case\"TSIntersectionType\":return J(ee,ce,W);case\"TSUnionType\":return L(ee,ce,W);case\"TSFunctionType\":return Q(ee,ce,W);case\"TSTupleType\":return V(ee,ce,W);case\"TSTypeReference\":return [W(\"typeName\"),S(ee,ce,W,\"typeParameters\")];case\"TSTypeAnnotation\":return W(\"typeAnnotation\");case\"TSEmptyBodyFunctionExpression\":return k(ee,ce,W);case\"TSJSDocAllType\":return \"*\";case\"TSJSDocUnknownType\":return \"?\";case\"TSJSDocNullableType\":return Y(ee,W,\"?\");case\"TSJSDocNonNullableType\":return Y(ee,W,\"!\");case\"TSInstantiationExpression\":return [W(\"expression\"),W(\"typeParameters\")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(K.type)}.`)}}r.exports={printTypescript:ie};}}),hd=te({\"src/language-js/print/comment.js\"(e,r){ne();var{hasNewline:t}=Ue(),{builders:{join:s,hardline:a},utils:{replaceTextEndOfLine:n}}=qe(),{isLineComment:u}=Ke(),{locStart:i,locEnd:l}=ut(),p=Pt();function y(c,f){let F=c.getValue();if(u(F))return f.originalText.slice(i(F),l(F)).trimEnd();if(p(F)){if(h(F)){let E=g(F);return F.trailing&&!t(f.originalText,i(F),{backwards:!0})?[a,E]:E}let _=l(F),w=f.originalText.slice(_-3,_)===\"*-/\";return [\"/*\",n(F.value),w?\"*-/\":\"*/\"]}throw new Error(\"Not a comment: \"+JSON.stringify(F))}function h(c){let f=`*${c.value}*`.split(`\n`);return f.length>1&&f.every(F=>F.trim()[0]===\"*\")}function g(c){let f=c.value.split(`\n`);return [\"/*\",s(a,f.map((F,_)=>_===0?F.trimEnd():\" \"+(_{let{marker:Je}=Oe;return Je===C});return [ve(\"expression\"),x(Be,Ce)?\"\":Ye,Ie?[\" \",Ie]:\"\"]}case\"ParenthesizedExpression\":return !E(be.expression)&&(be.expression.type===\"ObjectExpression\"||be.expression.type===\"ArrayExpression\")?[\"(\",ve(\"expression\"),\")\"]:l([\"(\",p([i,ve(\"expression\")]),i,\")\"]);case\"AssignmentExpression\":return oe(Ce,Be,ve);case\"VariableDeclarator\":return Pe(Ce,Be,ve);case\"BinaryExpression\":case\"LogicalExpression\":return H(Ce,Be,ve);case\"AssignmentPattern\":return [ve(\"left\"),\" = \",ve(\"right\")];case\"OptionalMemberExpression\":case\"MemberExpression\":return X(Ce,Be,ve);case\"MetaProperty\":return [ve(\"meta\"),\".\",ve(\"property\")];case\"BindExpression\":return be.object&&Se.push(ve(\"object\")),Se.push(l(p([i,L(Ce,Be,ve)]))),Se;case\"Identifier\":return [be.name,J(Ce),Y(Ce),Q(Ce,Be,ve)];case\"V8IntrinsicIdentifier\":return [\"%\",be.name];case\"SpreadElement\":case\"SpreadElementPattern\":case\"SpreadProperty\":case\"SpreadPropertyPattern\":case\"RestElement\":return j(Ce,Be,ve);case\"FunctionDeclaration\":case\"FunctionExpression\":return ge(Ce,ve,Be,ze);case\"ArrowFunctionExpression\":return he(Ce,Be,ve,ze);case\"YieldExpression\":return Se.push(\"yield\"),be.delegate&&Se.push(\"*\"),be.argument&&Se.push(\" \",ve(\"argument\")),Se;case\"AwaitExpression\":{if(Se.push(\"await\"),be.argument){Se.push(\" \",ve(\"argument\"));let Ie=Ce.getParentNode();if(T(Ie)&&Ie.callee===be||m(Ie)&&Ie.object===be){Se=[p([i,...Se]),i];let Oe=Ce.findAncestor(Je=>Je.type===\"AwaitExpression\"||Je.type===\"BlockStatement\");if(!Oe||Oe.type!==\"AwaitExpression\")return l(Se)}}return Se}case\"ExportDefaultDeclaration\":case\"ExportNamedDeclaration\":return ce(Ce,Be,ve);case\"ExportAllDeclaration\":return W(Ce,Be,ve);case\"ImportDeclaration\":return ee(Ce,Be,ve);case\"ImportSpecifier\":case\"ExportSpecifier\":case\"ImportNamespaceSpecifier\":case\"ExportNamespaceSpecifier\":case\"ImportDefaultSpecifier\":case\"ExportDefaultSpecifier\":return K(Ce,Be,ve);case\"ImportAttribute\":return [ve(\"key\"),\": \",ve(\"value\")];case\"Import\":return \"import\";case\"BlockStatement\":case\"StaticBlock\":case\"ClassBody\":return le(Ce,Be,ve);case\"ThrowStatement\":return Re(Ce,Be,ve);case\"ReturnStatement\":return ke(Ce,Be,ve);case\"NewExpression\":case\"ImportExpression\":case\"OptionalCallExpression\":case\"CallExpression\":return Ne(Ce,Be,ve);case\"ObjectExpression\":case\"ObjectPattern\":case\"RecordExpression\":return z(Ce,Be,ve);case\"ObjectProperty\":case\"Property\":return be.method||be.kind===\"get\"||be.kind===\"set\"?we(Ce,Be,ve):fe(Ce,Be,ve);case\"ObjectMethod\":return we(Ce,Be,ve);case\"Decorator\":return [\"@\",ve(\"expression\")];case\"ArrayExpression\":case\"ArrayPattern\":case\"TupleExpression\":return Fe(Ce,Be,ve);case\"SequenceExpression\":{let Ie=Ce.getParentNode(0);if(Ie.type===\"ExpressionStatement\"||Ie.type===\"ForStatement\"){let Oe=[];return Ce.each((Je,Te)=>{Te===0?Oe.push(ve()):Oe.push(\",\",p([n,ve()]));},\"expressions\"),l(Oe)}return l(a([\",\",n],Ce.map(ve,\"expressions\")))}case\"ThisExpression\":return \"this\";case\"Super\":return \"super\";case\"Directive\":return [ve(\"value\"),Ye];case\"DirectiveLiteral\":return ie(be.extra.raw,Be);case\"UnaryExpression\":return Se.push(be.operator),/[a-z]$/.test(be.operator)&&Se.push(\" \"),E(be.argument)?Se.push(l([\"(\",p([i,ve(\"argument\")]),i,\")\"])):Se.push(ve(\"argument\")),Se;case\"UpdateExpression\":return Se.push(ve(\"argument\"),be.operator),be.prefix&&Se.reverse(),Se;case\"ConditionalExpression\":return de(Ce,Be,ve);case\"VariableDeclaration\":{let Ie=Ce.map(ve,\"declarations\"),Oe=Ce.getParentNode(),Je=Oe.type===\"ForStatement\"||Oe.type===\"ForInStatement\"||Oe.type===\"ForOfStatement\",Te=be.declarations.some(Me=>Me.init),je;return Ie.length===1&&!E(be.declarations[0])?je=Ie[0]:Ie.length>0&&(je=p(Ie[0])),Se=[be.declare?\"declare \":\"\",be.kind,je?[\" \",je]:\"\",p(Ie.slice(1).map(Me=>[\",\",Te&&!Je?u:n,Me]))],Je&&Oe.body!==be||Se.push(Ye),l(Se)}case\"WithStatement\":return l([\"with (\",ve(\"object\"),\")\",V(be.body,ve(\"body\"))]);case\"IfStatement\":{let Ie=V(be.consequent,ve(\"consequent\")),Oe=l([\"if (\",l([p([i,ve(\"test\")]),i]),\")\",Ie]);if(Se.push(Oe),be.alternate){let Je=E(be.consequent,N.Trailing|N.Line)||$(be),Te=be.consequent.type===\"BlockStatement\"&&!Je;Se.push(Te?\" \":u),E(be,N.Dangling)&&Se.push(t(Ce,Be,!0),Je?u:\" \"),Se.push(\"else\",l(V(be.alternate,ve(\"alternate\"),be.alternate.type===\"IfStatement\")));}return Se}case\"ForStatement\":{let Ie=V(be.body,ve(\"body\")),Oe=t(Ce,Be,!0),Je=Oe?[Oe,i]:\"\";return !be.init&&!be.test&&!be.update?[Je,l([\"for (;;)\",Ie])]:[Je,l([\"for (\",l([p([i,ve(\"init\"),\";\",n,ve(\"test\"),\";\",n,ve(\"update\")]),i]),\")\",Ie])]}case\"WhileStatement\":return l([\"while (\",l([p([i,ve(\"test\")]),i]),\")\",V(be.body,ve(\"body\"))]);case\"ForInStatement\":return l([\"for (\",ve(\"left\"),\" in \",ve(\"right\"),\")\",V(be.body,ve(\"body\"))]);case\"ForOfStatement\":return l([\"for\",be.await?\" await\":\"\",\" (\",ve(\"left\"),\" of \",ve(\"right\"),\")\",V(be.body,ve(\"body\"))]);case\"DoWhileStatement\":{let Ie=V(be.body,ve(\"body\"));return Se=[l([\"do\",Ie])],be.body.type===\"BlockStatement\"?Se.push(\" \"):Se.push(u),Se.push(\"while (\",l([p([i,ve(\"test\")]),i]),\")\",Ye),Se}case\"DoExpression\":return [be.async?\"async \":\"\",\"do \",ve(\"body\")];case\"BreakStatement\":return Se.push(\"break\"),be.label&&Se.push(\" \",ve(\"label\")),Se.push(Ye),Se;case\"ContinueStatement\":return Se.push(\"continue\"),be.label&&Se.push(\" \",ve(\"label\")),Se.push(Ye),Se;case\"LabeledStatement\":return be.body.type===\"EmptyStatement\"?[ve(\"label\"),\":;\"]:[ve(\"label\"),\": \",ve(\"body\")];case\"TryStatement\":return [\"try \",ve(\"block\"),be.handler?[\" \",ve(\"handler\")]:\"\",be.finalizer?[\" finally \",ve(\"finalizer\")]:\"\"];case\"CatchClause\":if(be.param){let Ie=E(be.param,Je=>!v(Je)||Je.leading&&s(Be.originalText,d(Je))||Je.trailing&&s(Be.originalText,o(Je),{backwards:!0})),Oe=ve(\"param\");return [\"catch \",Ie?[\"(\",p([i,Oe]),i,\") \"]:[\"(\",Oe,\") \"],ve(\"body\")]}return [\"catch \",ve(\"body\")];case\"SwitchStatement\":return [l([\"switch (\",p([i,ve(\"discriminant\")]),i,\")\"]),\" {\",be.cases.length>0?p([u,a(u,Ce.map((Ie,Oe,Je)=>{let Te=Ie.getValue();return [ve(),Oe!==Je.length-1&&P(Te,Be)?u:\"\"]},\"cases\"))]):\"\",u,\"}\"];case\"SwitchCase\":{be.test?Se.push(\"case \",ve(\"test\"),\":\"):Se.push(\"default:\"),E(be,N.Dangling)&&Se.push(\" \",t(Ce,Be,!0));let Ie=be.consequent.filter(Oe=>Oe.type!==\"EmptyStatement\");if(Ie.length>0){let Oe=pe(Ce,Be,ve);Se.push(Ie.length===1&&Ie[0].type===\"BlockStatement\"?[\" \",Oe]:p([u,Oe]));}return Se}case\"DebuggerStatement\":return [\"debugger\",Ye];case\"ClassDeclaration\":case\"ClassExpression\":return U(Ce,Be,ve);case\"ClassMethod\":case\"ClassPrivateMethod\":case\"MethodDefinition\":return Z(Ce,Be,ve);case\"ClassProperty\":case\"PropertyDefinition\":case\"ClassPrivateProperty\":case\"ClassAccessorProperty\":case\"AccessorProperty\":return se(Ce,Be,ve);case\"TemplateElement\":return y(be.value.raw);case\"TemplateLiteral\":return ue(Ce,ve,Be);case\"TaggedTemplateExpression\":return [ve(\"tag\"),ve(\"typeParameters\"),ve(\"quasi\")];case\"PrivateIdentifier\":return [\"#\",ve(\"name\")];case\"PrivateName\":return [\"#\",ve(\"id\")];case\"InterpreterDirective\":return Se.push(\"#!\",be.value,u),P(be,Be)&&Se.push(u),Se;case\"TopicReference\":return \"%\";case\"ArgumentPlaceholder\":return \"?\";case\"ModuleExpression\":{Se.push(\"module {\");let Ie=ve(\"body\");return Ie&&Se.push(p([u,Ie]),u),Se.push(\"}\"),Se}default:throw new Error(\"unknown type: \"+JSON.stringify(be.type))}}function ye(Ce){return Ce.type&&!v(Ce)&&!I(Ce)&&Ce.type!==\"EmptyStatement\"&&Ce.type!==\"TemplateElement\"&&Ce.type!==\"Import\"&&Ce.type!==\"TSEmptyBodyFunctionExpression\"}r.exports={preprocess:_,print:G,embed:h,insertPragma:c,massageAstNode:g,hasPrettierIgnore(Ce){return D(Ce)||M(Ce)},willPrintOwnComments:f.willPrintOwnComments,canAttachComment:ye,printComment:Ee,isBlockComment:v,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes};}}),Ed=te({\"src/language-js/printer-estree-json.js\"(e,r){ne();var{builders:{hardline:t,indent:s,join:a}}=qe(),n=Fo();function u(y,h,g){let c=y.getValue();switch(c.type){case\"JsonRoot\":return [g(\"node\"),t];case\"ArrayExpression\":{if(c.elements.length===0)return \"[]\";let f=y.map(()=>y.getValue()===null?\"null\":g(),\"elements\");return [\"[\",s([t,a([\",\",t],f)]),t,\"]\"]}case\"ObjectExpression\":return c.properties.length===0?\"{}\":[\"{\",s([t,a([\",\",t],y.map(g,\"properties\"))]),t,\"}\"];case\"ObjectProperty\":return [g(\"key\"),\": \",g(\"value\")];case\"UnaryExpression\":return [c.operator===\"+\"?\"\":c.operator,g(\"argument\")];case\"NullLiteral\":return \"null\";case\"BooleanLiteral\":return c.value?\"true\":\"false\";case\"StringLiteral\":return JSON.stringify(c.value);case\"NumericLiteral\":return i(y)?JSON.stringify(String(c.value)):JSON.stringify(c.value);case\"Identifier\":return i(y)?JSON.stringify(c.name):c.name;case\"TemplateLiteral\":return g([\"quasis\",0]);case\"TemplateElement\":return JSON.stringify(c.value.cooked);default:throw new Error(\"unknown type: \"+JSON.stringify(c.type))}}function i(y){return y.getName()===\"key\"&&y.getParentNode().type===\"ObjectProperty\"}var l=new Set([\"start\",\"end\",\"extra\",\"loc\",\"comments\",\"leadingComments\",\"trailingComments\",\"innerComments\",\"errors\",\"range\",\"tokens\"]);function p(y,h){let{type:g}=y;if(g===\"ObjectProperty\"){let{key:c}=y;c.type===\"Identifier\"?h.key={type:\"StringLiteral\",value:c.name}:c.type===\"NumericLiteral\"&&(h.key={type:\"StringLiteral\",value:String(c.value)});return}if(g===\"UnaryExpression\"&&y.operator===\"+\")return h.argument;if(g===\"ArrayExpression\"){for(let[c,f]of y.elements.entries())f===null&&h.elements.splice(c,0,{type:\"NullLiteral\"});return}if(g===\"TemplateLiteral\")return {type:\"StringLiteral\",value:y.quasis[0].value.cooked}}p.ignoredProperties=l,r.exports={preprocess:n,print:u,massageAstNode:p};}}),Mt=te({\"src/common/common-options.js\"(e,r){ne();var t=\"Common\";r.exports={bracketSpacing:{since:\"0.0.0\",category:t,type:\"boolean\",default:!0,description:\"Print spaces between brackets.\",oppositeDescription:\"Do not print spaces between brackets.\"},singleQuote:{since:\"0.0.0\",category:t,type:\"boolean\",default:!1,description:\"Use single quotes instead of double quotes.\"},proseWrap:{since:\"1.8.2\",category:t,type:\"choice\",default:[{since:\"1.8.2\",value:!0},{since:\"1.9.0\",value:\"preserve\"}],description:\"How to wrap prose.\",choices:[{since:\"1.9.0\",value:\"always\",description:\"Wrap prose if it exceeds the print width.\"},{since:\"1.9.0\",value:\"never\",description:\"Do not wrap prose.\"},{since:\"1.9.0\",value:\"preserve\",description:\"Wrap prose as-is.\"}]},bracketSameLine:{since:\"2.4.0\",category:t,type:\"boolean\",default:!1,description:\"Put > of opening tags on the last line instead of on a new line.\"},singleAttributePerLine:{since:\"2.6.0\",category:t,type:\"boolean\",default:!1,description:\"Enforce single attribute per line in HTML, Vue and JSX.\"}};}}),Fd=te({\"src/language-js/options.js\"(e,r){ne();var t=Mt(),s=\"JavaScript\";r.exports={arrowParens:{since:\"1.9.0\",category:s,type:\"choice\",default:[{since:\"1.9.0\",value:\"avoid\"},{since:\"2.0.0\",value:\"always\"}],description:\"Include parentheses around a sole arrow function parameter.\",choices:[{value:\"always\",description:\"Always include parens. Example: `(x) => x`\"},{value:\"avoid\",description:\"Omit parens when possible. Example: `x => x`\"}]},bracketSameLine:t.bracketSameLine,bracketSpacing:t.bracketSpacing,jsxBracketSameLine:{since:\"0.17.0\",category:s,type:\"boolean\",description:\"Put > on the last line instead of at a new line.\",deprecated:\"2.4.0\"},semi:{since:\"1.0.0\",category:s,type:\"boolean\",default:!0,description:\"Print semicolons.\",oppositeDescription:\"Do not print semicolons, except at the beginning of lines which may need them.\"},singleQuote:t.singleQuote,jsxSingleQuote:{since:\"1.15.0\",category:s,type:\"boolean\",default:!1,description:\"Use single quotes in JSX.\"},quoteProps:{since:\"1.17.0\",category:s,type:\"choice\",default:\"as-needed\",description:\"Change when properties in objects are quoted.\",choices:[{value:\"as-needed\",description:\"Only add quotes around object properties where required.\"},{value:\"consistent\",description:\"If at least one property in an object requires quotes, quote all properties.\"},{value:\"preserve\",description:\"Respect the input use of quotes in object properties.\"}]},trailingComma:{since:\"0.0.0\",category:s,type:\"choice\",default:[{since:\"0.0.0\",value:!1},{since:\"0.19.0\",value:\"none\"},{since:\"2.0.0\",value:\"es5\"}],description:\"Print trailing commas wherever possible when multi-line.\",choices:[{value:\"es5\",description:\"Trailing commas where valid in ES5 (objects, arrays, etc.)\"},{value:\"none\",description:\"No trailing commas.\"},{value:\"all\",description:\"Trailing commas wherever possible (including function arguments).\"}]},singleAttributePerLine:t.singleAttributePerLine};}}),Ad=te({\"src/language-js/parse/parsers.js\"(){ne();}}),Ln=te({\"node_modules/linguist-languages/data/JavaScript.json\"(e,r){r.exports={name:\"JavaScript\",type:\"programming\",tmScope:\"source.js\",aceMode:\"javascript\",codemirrorMode:\"javascript\",codemirrorMimeType:\"text/javascript\",color:\"#f1e05a\",aliases:[\"js\",\"node\"],extensions:[\".js\",\"._js\",\".bones\",\".cjs\",\".es\",\".es6\",\".frag\",\".gs\",\".jake\",\".javascript\",\".jsb\",\".jscad\",\".jsfl\",\".jslib\",\".jsm\",\".jspre\",\".jss\",\".jsx\",\".mjs\",\".njs\",\".pac\",\".sjs\",\".ssjs\",\".xsjs\",\".xsjslib\"],filenames:[\"Jakefile\"],interpreters:[\"chakra\",\"d8\",\"gjs\",\"js\",\"node\",\"nodejs\",\"qjs\",\"rhino\",\"v8\",\"v8-shell\"],languageId:183};}}),Sd=te({\"node_modules/linguist-languages/data/TypeScript.json\"(e,r){r.exports={name:\"TypeScript\",type:\"programming\",color:\"#3178c6\",aliases:[\"ts\"],interpreters:[\"deno\",\"ts-node\"],extensions:[\".ts\",\".cts\",\".mts\"],tmScope:\"source.ts\",aceMode:\"typescript\",codemirrorMode:\"javascript\",codemirrorMimeType:\"application/typescript\",languageId:378};}}),xd=te({\"node_modules/linguist-languages/data/TSX.json\"(e,r){r.exports={name:\"TSX\",type:\"programming\",color:\"#3178c6\",group:\"TypeScript\",extensions:[\".tsx\"],tmScope:\"source.tsx\",aceMode:\"javascript\",codemirrorMode:\"jsx\",codemirrorMimeType:\"text/jsx\",languageId:94901924};}}),wa=te({\"node_modules/linguist-languages/data/JSON.json\"(e,r){r.exports={name:\"JSON\",type:\"data\",color:\"#292929\",tmScope:\"source.json\",aceMode:\"json\",codemirrorMode:\"javascript\",codemirrorMimeType:\"application/json\",aliases:[\"geojson\",\"jsonl\",\"topojson\"],extensions:[\".json\",\".4DForm\",\".4DProject\",\".avsc\",\".geojson\",\".gltf\",\".har\",\".ice\",\".JSON-tmLanguage\",\".jsonl\",\".mcmeta\",\".tfstate\",\".tfstate.backup\",\".topojson\",\".webapp\",\".webmanifest\",\".yy\",\".yyp\"],filenames:[\".arcconfig\",\".auto-changelog\",\".c8rc\",\".htmlhintrc\",\".imgbotconfig\",\".nycrc\",\".tern-config\",\".tern-project\",\".watchmanconfig\",\"Pipfile.lock\",\"composer.lock\",\"mcmod.info\"],languageId:174};}}),bd=te({\"node_modules/linguist-languages/data/JSON with Comments.json\"(e,r){r.exports={name:\"JSON with Comments\",type:\"data\",color:\"#292929\",group:\"JSON\",tmScope:\"source.js\",aceMode:\"javascript\",codemirrorMode:\"javascript\",codemirrorMimeType:\"text/javascript\",aliases:[\"jsonc\"],extensions:[\".jsonc\",\".code-snippets\",\".sublime-build\",\".sublime-commands\",\".sublime-completions\",\".sublime-keymap\",\".sublime-macro\",\".sublime-menu\",\".sublime-mousemap\",\".sublime-project\",\".sublime-settings\",\".sublime-theme\",\".sublime-workspace\",\".sublime_metrics\",\".sublime_session\"],filenames:[\".babelrc\",\".devcontainer.json\",\".eslintrc.json\",\".jscsrc\",\".jshintrc\",\".jslintrc\",\"api-extractor.json\",\"devcontainer.json\",\"jsconfig.json\",\"language-configuration.json\",\"tsconfig.json\",\"tslint.json\"],languageId:423};}}),Td=te({\"node_modules/linguist-languages/data/JSON5.json\"(e,r){r.exports={name:\"JSON5\",type:\"data\",color:\"#267CB9\",extensions:[\".json5\"],tmScope:\"source.js\",aceMode:\"javascript\",codemirrorMode:\"javascript\",codemirrorMimeType:\"application/json\",languageId:175};}}),Bd=te({\"src/language-js/index.js\"(e,r){ne();var t=_t(),s=Cd(),a=Ed(),n=Fd(),u=Ad(),i=[t(Ln(),p=>({since:\"0.0.0\",parsers:[\"babel\",\"acorn\",\"espree\",\"meriyah\",\"babel-flow\",\"babel-ts\",\"flow\",\"typescript\"],vscodeLanguageIds:[\"javascript\",\"mongo\"],interpreters:[...p.interpreters,\"zx\"],extensions:[...p.extensions.filter(y=>y!==\".jsx\"),\".wxs\"]})),t(Ln(),()=>({name:\"Flow\",since:\"0.0.0\",parsers:[\"flow\",\"babel-flow\"],vscodeLanguageIds:[\"javascript\"],aliases:[],filenames:[],extensions:[\".js.flow\"]})),t(Ln(),()=>({name:\"JSX\",since:\"0.0.0\",parsers:[\"babel\",\"babel-flow\",\"babel-ts\",\"flow\",\"typescript\",\"espree\",\"meriyah\"],vscodeLanguageIds:[\"javascriptreact\"],aliases:void 0,filenames:void 0,extensions:[\".jsx\"],group:\"JavaScript\",interpreters:void 0,tmScope:\"source.js.jsx\",aceMode:\"javascript\",codemirrorMode:\"jsx\",codemirrorMimeType:\"text/jsx\",color:void 0})),t(Sd(),()=>({since:\"1.4.0\",parsers:[\"typescript\",\"babel-ts\"],vscodeLanguageIds:[\"typescript\"]})),t(xd(),()=>({since:\"1.4.0\",parsers:[\"typescript\",\"babel-ts\"],vscodeLanguageIds:[\"typescriptreact\"]})),t(wa(),()=>({name:\"JSON.stringify\",since:\"1.13.0\",parsers:[\"json-stringify\"],vscodeLanguageIds:[\"json\"],extensions:[\".importmap\"],filenames:[\"package.json\",\"package-lock.json\",\"composer.json\"]})),t(wa(),p=>({since:\"1.5.0\",parsers:[\"json\"],vscodeLanguageIds:[\"json\"],extensions:p.extensions.filter(y=>y!==\".jsonl\")})),t(bd(),p=>({since:\"1.5.0\",parsers:[\"json\"],vscodeLanguageIds:[\"jsonc\"],filenames:[...p.filenames,\".eslintrc\",\".swcrc\"]})),t(Td(),()=>({since:\"1.13.0\",parsers:[\"json5\"],vscodeLanguageIds:[\"json5\"]}))],l={estree:s,\"estree-json\":a};r.exports={languages:i,options:n,printers:l,parsers:u};}}),Nd=te({\"src/language-css/clean.js\"(e,r){ne();var{isFrontMatterNode:t}=Ue(),s=lt(),a=new Set([\"raw\",\"raws\",\"sourceIndex\",\"source\",\"before\",\"after\",\"trailingComma\"]);function n(i,l,p){if(t(i)&&i.lang===\"yaml\"&&delete l.value,i.type===\"css-comment\"&&p.type===\"css-root\"&&p.nodes.length>0&&((p.nodes[0]===i||t(p.nodes[0])&&p.nodes[1]===i)&&(delete l.text,/^\\*\\s*@(?:format|prettier)\\s*$/.test(i.text))||p.type===\"css-root\"&&s(p.nodes)===i))return null;if(i.type===\"value-root\"&&delete l.text,(i.type===\"media-query\"||i.type===\"media-query-list\"||i.type===\"media-feature-expression\")&&delete l.value,i.type===\"css-rule\"&&delete l.params,i.type===\"selector-combinator\"&&(l.value=l.value.replace(/\\s+/g,\" \")),i.type===\"media-feature\"&&(l.value=l.value.replace(/ /g,\"\")),(i.type===\"value-word\"&&(i.isColor&&i.isHex||[\"initial\",\"inherit\",\"unset\",\"revert\"].includes(l.value.replace().toLowerCase()))||i.type===\"media-feature\"||i.type===\"selector-root-invalid\"||i.type===\"selector-pseudo\")&&(l.value=l.value.toLowerCase()),i.type===\"css-decl\"&&(l.prop=l.prop.toLowerCase()),(i.type===\"css-atrule\"||i.type===\"css-import\")&&(l.name=l.name.toLowerCase()),i.type===\"value-number\"&&(l.unit=l.unit.toLowerCase()),(i.type===\"media-feature\"||i.type===\"media-keyword\"||i.type===\"media-type\"||i.type===\"media-unknown\"||i.type===\"media-url\"||i.type===\"media-value\"||i.type===\"selector-attribute\"||i.type===\"selector-string\"||i.type===\"selector-class\"||i.type===\"selector-combinator\"||i.type===\"value-string\")&&l.value&&(l.value=u(l.value)),i.type===\"selector-attribute\"&&(l.attribute=l.attribute.trim(),l.namespace&&typeof l.namespace==\"string\"&&(l.namespace=l.namespace.trim(),l.namespace.length===0&&(l.namespace=!0)),l.value&&(l.value=l.value.trim().replace(/^[\"']|[\"']$/g,\"\"),delete l.quoted)),(i.type===\"media-value\"||i.type===\"media-type\"||i.type===\"value-number\"||i.type===\"selector-root-invalid\"||i.type===\"selector-class\"||i.type===\"selector-combinator\"||i.type===\"selector-tag\")&&l.value&&(l.value=l.value.replace(/([\\d+.Ee-]+)([A-Za-z]*)/g,(y,h,g)=>{let c=Number(h);return Number.isNaN(c)?y:c+g.toLowerCase()})),i.type===\"selector-tag\"){let y=i.value.toLowerCase();[\"from\",\"to\"].includes(y)&&(l.value=y);}if(i.type===\"css-atrule\"&&i.name.toLowerCase()===\"supports\"&&delete l.value,i.type===\"selector-unknown\"&&delete l.value,i.type===\"value-comma_group\"){let y=i.groups.findIndex(h=>h.type===\"value-number\"&&h.unit===\"...\");y!==-1&&(l.groups[y].unit=\"\",l.groups.splice(y+1,0,{type:\"value-word\",value:\"...\",isColor:!1,isHex:!1}));}if(i.type===\"value-comma_group\"&&i.groups.some(y=>y.type===\"value-atword\"&&y.value.endsWith(\"[\")||y.type===\"value-word\"&&y.value.startsWith(\"]\")))return {type:\"value-atword\",value:i.groups.map(y=>y.value).join(\"\"),group:{open:null,close:null,groups:[],type:\"value-paren_group\"}}}n.ignoredProperties=a;function u(i){return i.replace(/'/g,'\"').replace(/\\\\([^\\dA-Fa-f])/g,\"$1\")}r.exports=n;}}),su=te({\"src/utils/front-matter/print.js\"(e,r){ne();var{builders:{hardline:t,markAsRoot:s}}=qe();function a(n,u){if(n.lang===\"yaml\"){let i=n.value.trim(),l=i?u(i,{parser:\"yaml\"},{stripTrailingHardline:!0}):\"\";return s([n.startDelimiter,t,l,l?t:\"\",n.endDelimiter])}}r.exports=a;}}),wd=te({\"src/language-css/embed.js\"(e,r){ne();var{builders:{hardline:t}}=qe(),s=su();function a(n,u,i){let l=n.getValue();if(l.type===\"front-matter\"){let p=s(l,i);return p?[p,t]:\"\"}}r.exports=a;}}),_o=te({\"src/utils/front-matter/parse.js\"(e,r){ne();var t=new RegExp(\"^(?-{3}|\\\\+{3})(?[^\\\\n]*)\\\\n(?:|(?.*?)\\\\n)(?\\\\k|\\\\.{3})[^\\\\S\\\\n]*(?:\\\\n|$)\",\"s\");function s(a){let n=a.match(t);if(!n)return {content:a};let{startDelimiter:u,language:i,value:l=\"\",endDelimiter:p}=n.groups,y=i.trim()||\"yaml\";if(u===\"+++\"&&(y=\"toml\"),y!==\"yaml\"&&u!==p)return {content:a};let[h]=n;return {frontMatter:{type:\"front-matter\",lang:y,value:l,startDelimiter:u,endDelimiter:p,raw:h.replace(/\\n$/,\"\")},content:h.replace(/[^\\n]/g,\" \")+a.slice(h.length)}}r.exports=s;}}),_d=te({\"src/language-css/pragma.js\"(e,r){ne();var t=Co(),s=_o();function a(u){return t.hasPragma(s(u).content)}function n(u){let{frontMatter:i,content:l}=s(u);return (i?i.raw+`\n\n`:\"\")+t.insertPragma(l)}r.exports={hasPragma:a,insertPragma:n};}}),Pd=te({\"src/language-css/utils/index.js\"(e,r){ne();var t=new Set([\"red\",\"green\",\"blue\",\"alpha\",\"a\",\"rgb\",\"hue\",\"h\",\"saturation\",\"s\",\"lightness\",\"l\",\"whiteness\",\"w\",\"blackness\",\"b\",\"tint\",\"shade\",\"blend\",\"blenda\",\"contrast\",\"hsl\",\"hsla\",\"hwb\",\"hwba\"]);function s(z,U){let Z=Array.isArray(U)?U:[U],se=-1,fe;for(;fe=z.getParentNode(++se);)if(Z.includes(fe.type))return se;return -1}function a(z,U){let Z=s(z,U);return Z===-1?null:z.getParentNode(Z)}function n(z){var U;let Z=a(z,\"css-decl\");return Z==null||(U=Z.prop)===null||U===void 0?void 0:U.toLowerCase()}var u=new Set([\"initial\",\"inherit\",\"unset\",\"revert\"]);function i(z){return u.has(z.toLowerCase())}function l(z,U){let Z=a(z,\"css-atrule\");return Z?.name&&Z.name.toLowerCase().endsWith(\"keyframes\")&&[\"from\",\"to\"].includes(U.toLowerCase())}function p(z){return z.includes(\"$\")||z.includes(\"@\")||z.includes(\"#\")||z.startsWith(\"%\")||z.startsWith(\"--\")||z.startsWith(\":--\")||z.includes(\"(\")&&z.includes(\")\")?z:z.toLowerCase()}function y(z,U){var Z;let se=a(z,\"value-func\");return (se==null||(Z=se.value)===null||Z===void 0?void 0:Z.toLowerCase())===U}function h(z){var U;let Z=a(z,\"css-rule\"),se=Z==null||(U=Z.raws)===null||U===void 0?void 0:U.selector;return se&&(se.startsWith(\":import\")||se.startsWith(\":export\"))}function g(z,U){let Z=Array.isArray(U)?U:[U],se=a(z,\"css-atrule\");return se&&Z.includes(se.name.toLowerCase())}function c(z){let U=z.getValue(),Z=a(z,\"css-atrule\");return Z?.name===\"import\"&&U.groups[0].value===\"url\"&&U.groups.length===2}function f(z){return z.type===\"value-func\"&&z.value.toLowerCase()===\"url\"}function F(z,U){var Z;let se=(Z=z.getParentNode())===null||Z===void 0?void 0:Z.nodes;return se&&se.indexOf(U)===se.length-1}function _(z){let{selector:U}=z;return U?typeof U==\"string\"&&/^@.+:.*$/.test(U)||U.value&&/^@.+:.*$/.test(U.value):!1}function w(z){return z.type===\"value-word\"&&[\"from\",\"through\",\"end\"].includes(z.value)}function E(z){return z.type===\"value-word\"&&[\"and\",\"or\",\"not\"].includes(z.value)}function N(z){return z.type===\"value-word\"&&z.value===\"in\"}function x(z){return z.type===\"value-operator\"&&z.value===\"*\"}function I(z){return z.type===\"value-operator\"&&z.value===\"/\"}function P(z){return z.type===\"value-operator\"&&z.value===\"+\"}function $(z){return z.type===\"value-operator\"&&z.value===\"-\"}function D(z){return z.type===\"value-operator\"&&z.value===\"%\"}function T(z){return x(z)||I(z)||P(z)||$(z)||D(z)}function m(z){return z.type===\"value-word\"&&[\"==\",\"!=\"].includes(z.value)}function C(z){return z.type===\"value-word\"&&[\"<\",\">\",\"<=\",\">=\"].includes(z.value)}function o(z){return z.type===\"css-atrule\"&&[\"if\",\"else\",\"for\",\"each\",\"while\"].includes(z.name)}function d(z){var U;return ((U=z.raws)===null||U===void 0?void 0:U.params)&&/^\\(\\s*\\)$/.test(z.raws.params)}function v(z){return z.name.startsWith(\"prettier-placeholder\")}function S(z){return z.prop.startsWith(\"@prettier-placeholder\")}function b(z,U){return z.value===\"$$\"&&z.type===\"value-func\"&&U?.type===\"value-word\"&&!U.raws.before}function B(z){var U,Z;return ((U=z.value)===null||U===void 0?void 0:U.type)===\"value-root\"&&((Z=z.value.group)===null||Z===void 0?void 0:Z.type)===\"value-value\"&&z.prop.toLowerCase()===\"composes\"}function k(z){var U,Z,se;return ((U=z.value)===null||U===void 0||(Z=U.group)===null||Z===void 0||(se=Z.group)===null||se===void 0?void 0:se.type)===\"value-paren_group\"&&z.value.group.group.open!==null&&z.value.group.group.close!==null}function M(z){var U;return ((U=z.raws)===null||U===void 0?void 0:U.before)===\"\"}function R(z){var U,Z;return z.type===\"value-comma_group\"&&((U=z.groups)===null||U===void 0||(Z=U[1])===null||Z===void 0?void 0:Z.type)===\"value-colon\"}function q(z){var U;return z.type===\"value-paren_group\"&&((U=z.groups)===null||U===void 0?void 0:U[0])&&R(z.groups[0])}function J(z){var U;let Z=z.getValue();if(Z.groups.length===0)return !1;let se=z.getParentNode(1);if(!q(Z)&&!(se&&q(se)))return !1;let fe=a(z,\"css-decl\");return !!(fe!=null&&(U=fe.prop)!==null&&U!==void 0&&U.startsWith(\"$\")||q(se)||se.type===\"value-func\")}function L(z){return z.type===\"value-comment\"&&z.inline}function Q(z){return z.type===\"value-word\"&&z.value===\"#\"}function V(z){return z.type===\"value-word\"&&z.value===\"{\"}function j(z){return z.type===\"value-word\"&&z.value===\"}\"}function Y(z){return [\"value-word\",\"value-atword\"].includes(z.type)}function ie(z){return z?.type===\"value-colon\"}function ee(z,U){if(!R(U))return !1;let{groups:Z}=U,se=Z.indexOf(z);return se===-1?!1:ie(Z[se+1])}function ce(z){return z.value&&[\"not\",\"and\",\"or\"].includes(z.value.toLowerCase())}function W(z){return z.type!==\"value-func\"?!1:t.has(z.value.toLowerCase())}function K(z){return /\\/\\//.test(z.split(/[\\n\\r]/).pop())}function de(z){return z?.type===\"value-atword\"&&z.value.startsWith(\"prettier-placeholder-\")}function ue(z,U){var Z,se;if(((Z=z.open)===null||Z===void 0?void 0:Z.value)!==\"(\"||((se=z.close)===null||se===void 0?void 0:se.value)!==\")\"||z.groups.some(fe=>fe.type!==\"value-comma_group\"))return !1;if(U.type===\"value-comma_group\"){let fe=U.groups.indexOf(z)-1,ge=U.groups[fe];if(ge?.type===\"value-word\"&&ge.value===\"with\")return !0}return !1}function Fe(z){var U,Z;return z.type===\"value-paren_group\"&&((U=z.open)===null||U===void 0?void 0:U.value)===\"(\"&&((Z=z.close)===null||Z===void 0?void 0:Z.value)===\")\"}r.exports={getAncestorCounter:s,getAncestorNode:a,getPropOfDeclNode:n,maybeToLowerCase:p,insideValueFunctionNode:y,insideICSSRuleNode:h,insideAtRuleNode:g,insideURLFunctionInImportAtRuleNode:c,isKeyframeAtRuleKeywords:l,isWideKeywords:i,isLastNode:F,isSCSSControlDirectiveNode:o,isDetachedRulesetDeclarationNode:_,isRelationalOperatorNode:C,isEqualityOperatorNode:m,isMultiplicationNode:x,isDivisionNode:I,isAdditionNode:P,isSubtractionNode:$,isModuloNode:D,isMathOperatorNode:T,isEachKeywordNode:N,isForKeywordNode:w,isURLFunctionNode:f,isIfElseKeywordNode:E,hasComposesNode:B,hasParensAroundNode:k,hasEmptyRawBefore:M,isDetachedRulesetCallNode:d,isTemplatePlaceholderNode:v,isTemplatePropNode:S,isPostcssSimpleVarNode:b,isKeyValuePairNode:R,isKeyValuePairInParenGroupNode:q,isKeyInValuePairNode:ee,isSCSSMapItemNode:J,isInlineValueCommentNode:L,isHashNode:Q,isLeftCurlyBraceNode:V,isRightCurlyBraceNode:j,isWordNode:Y,isColonNode:ie,isMediaAndSupportsKeywords:ce,isColorAdjusterFuncNode:W,lastLineHasInlineComment:K,isAtWordPlaceholderNode:de,isConfigurationNode:ue,isParenGroupNode:Fe};}}),Id=te({\"src/utils/line-column-to-index.js\"(e,r){ne(),r.exports=function(t,s){let a=0;for(let n=0;n0?h:\"\"]}case\"css-comment\":{let Ve=ae.inline||ae.raws.inline,We=je.originalText.slice(Ae(ae),Ee(ae));return Ve?We.trimEnd():We}case\"css-rule\":return [Me(\"selector\"),ae.important?\" !important\":\"\",ae.nodes?[ae.selector&&ae.selector.type===\"selector-unknown\"&&H(ae.selector.value)?y:\" \",\"{\",ae.nodes.length>0?F([h,Ce(Te,je,Me)]):\"\",h,\"}\",M(ae)?\";\":\"\"]:\";\"];case\"css-decl\":{let Ve=Te.getParentNode(),{between:We}=ae.raws,Xe=We.trim(),st=Xe===\":\",O=W(ae)?N(Me(\"value\")):Me(\"value\");return !st&&H(Xe)&&(O=F([h,_(O)])),[ae.raws.before.replace(/[\\s;]/g,\"\"),Ve.type===\"css-atrule\"&&Ve.variable||o(Te)?ae.prop:m(ae.prop),Xe.startsWith(\"//\")?\" \":\"\",Xe,ae.extend?\"\":\" \",De(je)&&ae.extend&&ae.selector?[\"extend(\",Me(\"selector\"),\")\"]:\"\",O,ae.raws.important?ae.raws.important.replace(/\\s*!\\s*important/i,\" !important\"):ae.important?\" !important\":\"\",ae.raws.scssDefault?ae.raws.scssDefault.replace(/\\s*!default/i,\" !default\"):ae.scssDefault?\" !default\":\"\",ae.raws.scssGlobal?ae.raws.scssGlobal.replace(/\\s*!global/i,\" !global\"):ae.scssGlobal?\" !global\":\"\",ae.nodes?[\" {\",F([g,Ce(Te,je,Me)]),g,\"}\"]:Z(ae)&&!Ve.raws.semicolon&&je.originalText[Ee(ae)-1]!==\";\"?\"\":je.__isHTMLStyleAttribute&&B(Te,ae)?w(\";\"):\";\"]}case\"css-atrule\":{let Ve=Te.getParentNode(),We=U(ae)&&!Ve.raws.semicolon&&je.originalText[Ee(ae)-1]!==\";\";if(De(je)){if(ae.mixin)return [Me(\"selector\"),ae.important?\" !important\":\"\",We?\"\":\";\"];if(ae.function)return [ae.name,Me(\"params\"),We?\"\":\";\"];if(ae.variable)return [\"@\",ae.name,\": \",ae.value?Me(\"value\"):\"\",ae.raws.between.trim()?ae.raws.between.trim()+\" \":\"\",ae.nodes?[\"{\",F([ae.nodes.length>0?g:\"\",Ce(Te,je,Me)]),g,\"}\"]:\"\",We?\"\":\";\"]}return [\"@\",z(ae)||ae.name.endsWith(\":\")?ae.name:m(ae.name),ae.params?[z(ae)?\"\":U(ae)?ae.raws.afterName===\"\"?\"\":ae.name.endsWith(\":\")?\" \":/^\\s*\\n\\s*\\n/.test(ae.raws.afterName)?[h,h]:/^\\s*\\n/.test(ae.raws.afterName)?h:\" \":\" \",Me(\"params\")]:\"\",ae.selector?F([\" \",Me(\"selector\")]):\"\",ae.value?c([\" \",Me(\"value\"),k(ae)?K(ae)?\" \":y:\"\"]):ae.name===\"else\"?\" \":\"\",ae.nodes?[k(ae)?\"\":ae.selector&&!ae.selector.nodes&&typeof ae.selector.value==\"string\"&&H(ae.selector.value)||!ae.selector&&typeof ae.params==\"string\"&&H(ae.params)?y:\" \",\"{\",F([ae.nodes.length>0?g:\"\",Ce(Te,je,Me)]),g,\"}\"]:We?\"\":\";\"]}case\"media-query-list\":{let Ve=[];return Te.each(We=>{let Xe=We.getValue();Xe.type===\"media-query\"&&Xe.value===\"\"||Ve.push(Me());},\"nodes\"),c(F(p(y,Ve)))}case\"media-query\":return [p(\" \",Te.map(Me,\"nodes\")),B(Te,ae)?\"\":\",\"];case\"media-type\":return Oe(Se(ae.value,je));case\"media-feature-expression\":return ae.nodes?[\"(\",...Te.map(Me,\"nodes\"),\")\"]:ae.value;case\"media-feature\":return m(Se(ae.value.replace(/ +/g,\" \"),je));case\"media-colon\":return [ae.value,\" \"];case\"media-value\":return Oe(Se(ae.value,je));case\"media-keyword\":return Se(ae.value,je);case\"media-url\":return Se(ae.value.replace(/^url\\(\\s+/gi,\"url(\").replace(/\\s+\\)$/g,\")\"),je);case\"media-unknown\":return ae.value;case\"selector-root\":return c([d(Te,\"custom-selector\")?[D(Te,\"css-atrule\").customSelector,y]:\"\",p([\",\",d(Te,[\"extend\",\"custom-selector\",\"nest\"])?y:h],Te.map(Me,\"nodes\"))]);case\"selector-selector\":return c(F(Te.map(Me,\"nodes\")));case\"selector-comment\":return ae.value;case\"selector-string\":return Se(ae.value,je);case\"selector-tag\":{let Ve=Te.getParentNode(),We=Ve&&Ve.nodes.indexOf(ae),Xe=We&&Ve.nodes[We-1];return [ae.namespace?[ae.namespace===!0?\"\":ae.namespace.trim(),\"|\"]:\"\",Xe.type===\"selector-nesting\"?ae.value:Oe(S(Te,ae.value)?ae.value.toLowerCase():ae.value)]}case\"selector-id\":return [\"#\",ae.value];case\"selector-class\":return [\".\",Oe(Se(ae.value,je))];case\"selector-attribute\":{var nt;return [\"[\",ae.namespace?[ae.namespace===!0?\"\":ae.namespace.trim(),\"|\"]:\"\",ae.attribute.trim(),(nt=ae.operator)!==null&&nt!==void 0?nt:\"\",ae.value?Ie(Se(ae.value.trim(),je),je):\"\",ae.insensitive?\" i\":\"\",\"]\"]}case\"selector-combinator\":{if(ae.value===\"+\"||ae.value===\">\"||ae.value===\"~\"||ae.value===\">>>\"){let Xe=Te.getParentNode();return [Xe.type===\"selector-selector\"&&Xe.nodes[0]===ae?\"\":y,ae.value,B(Te,ae)?\"\":\" \"]}let Ve=ae.value.trim().startsWith(\"(\")?y:\"\",We=Oe(Se(ae.value.trim(),je))||y;return [Ve,We]}case\"selector-universal\":return [ae.namespace?[ae.namespace===!0?\"\":ae.namespace.trim(),\"|\"]:\"\",ae.value];case\"selector-pseudo\":return [m(ae.value),l(ae.nodes)?c([\"(\",F([g,p([\",\",y],Te.map(Me,\"nodes\"))]),g,\")\"]):\"\"];case\"selector-nesting\":return ae.value;case\"selector-unknown\":{let Ve=D(Te,\"css-rule\");if(Ve&&Ve.isSCSSNesterProperty)return Oe(Se(m(ae.value),je));let We=Te.getParentNode();if(We.raws&&We.raws.selector){let st=Ae(We),O=st+We.raws.selector.length;return je.originalText.slice(st,O).trim()}let Xe=Te.getParentNode(1);if(We.type===\"value-paren_group\"&&Xe&&Xe.type===\"value-func\"&&Xe.value===\"selector\"){let st=Ee(We.open)+1,O=Ae(We.close),me=je.originalText.slice(st,O).trim();return H(me)?[E,me]:me}return ae.value}case\"value-value\":case\"value-root\":return Me(\"group\");case\"value-comment\":return je.originalText.slice(Ae(ae),Ee(ae));case\"value-comma_group\":{let Ve=Te.getParentNode(),We=Te.getParentNode(1),Xe=T(Te),st=Xe&&Ve.type===\"value-value\"&&(Xe===\"grid\"||Xe.startsWith(\"grid-template\")),O=D(Te,\"css-atrule\"),me=O&&k(O),_e=ae.groups.some(at=>ge(at)),He=Te.map(Me,\"groups\"),Ge=[],it=C(Te,\"url\"),Qe=!1,rt=!1;for(let at=0;atVr:$r!==-1?Qe=!0:Vr!==-1&&(Qe=!1);}if(Qe||Ne(Le)||Ne($e)||Le.type===\"value-atword\"&&(Le.value===\"\"||Le.value.endsWith(\"[\"))||$e.type===\"value-word\"&&$e.value.startsWith(\"]\")||Le.value===\"~\"||Le.value&&Le.value.includes(\"\\\\\")&&$e&&$e.type!==\"value-comment\"||Ze&&Ze.value&&Ze.value.indexOf(\"\\\\\")===Ze.value.length-1&&Le.type===\"value-operator\"&&Le.value===\"/\"||Le.value===\"\\\\\"||se(Le,$e)||he(Le)||we(Le)||ke($e)||we($e)&&de($e)||ke(Le)&&de($e)||Le.value===\"--\"&&he($e))continue;let Rr=j(Le),ou=j($e);if((Rr&&he($e)||ou&&ke(Le))&&de($e)||!Ze&&L(Le)||C(Te,\"calc\")&&(Q(Le)||Q($e)||V(Le)||V($e))&&de($e))continue;let qo=(Q(Le)||V(Le))&&at===0&&($e.type===\"value-number\"||$e.isHex)&&We&&oe(We)&&!de($e),lu=sr&&sr.type===\"value-func\"||sr&&Re(sr)||Le.type===\"value-func\"||Re(Le),cu=$e.type===\"value-func\"||Re($e)||Ze&&Ze.type===\"value-func\"||Ze&&Re(Ze);if(!(!(J($e)||J(Le))&&!C(Te,\"calc\")&&!qo&&(L($e)&&!lu||L(Le)&&!cu||Q($e)&&!lu||Q(Le)&&!cu||V($e)||V(Le))&&(de($e)||Rr&&(!Ze||Ze&&j(Ze))))&&!((je.parser===\"scss\"||je.parser===\"less\")&&Rr&&Le.value===\"-\"&&le($e)&&Ee(Le)===Ae($e.open)&&$e.open.value===\"(\")){if(ge(Le)){if(Ve.type===\"value-paren_group\"){Ge.push(_(h));continue}Ge.push(h);continue}if(me&&(q($e)||R($e)||ce($e)||Y(Le)||ie(Le))){Ge.push(\" \");continue}if(O&&O.name.toLowerCase()===\"namespace\"){Ge.push(\" \");continue}if(st){Le.source&&$e.source&&Le.source.start.line!==$e.source.start.line?(Ge.push(h),rt=!0):Ge.push(\" \");continue}if(ou){Ge.push(\" \");continue}if(!($e&&$e.value===\"...\")&&!(pe(Le)&&pe($e)&&Ee(Le)===Ae($e))){if(pe(Le)&&le($e)&&Ee(Le)===Ae($e.open)){Ge.push(g);continue}if(Le.value===\"with\"&&le($e)){Ge.push(\" \");continue}(tt=Le.value)!==null&&tt!==void 0&&tt.endsWith(\"#\")&&$e.value===\"{\"&&le($e.group)||Ge.push(y);}}}return _e&&Ge.push(E),rt&&Ge.unshift(h),me?c(F(Ge)):v(Te)?c(f(Ge)):c(F(f(Ge)))}case\"value-paren_group\":{let Ve=Te.getParentNode();if(Ve&&ee(Ve)&&(ae.groups.length===1||ae.groups.length>0&&ae.groups[0].type===\"value-comma_group\"&&ae.groups[0].groups.length>0&&ae.groups[0].groups[0].type===\"value-word\"&&ae.groups[0].groups[0].value.startsWith(\"data:\")))return [ae.open?Me(\"open\"):\"\",p(\",\",Te.map(Me,\"groups\")),ae.close?Me(\"close\"):\"\"];if(!ae.open){let it=Te.map(Me,\"groups\"),Qe=[];for(let rt=0;rt{let rt=it.getValue(),at=Qe===ae.groups.length-1,Ze=[Me(),at?\"\":\",\"];if(ue(rt)&&rt.type===\"value-comma_group\"&&rt.groups&&rt.groups[0].type!==\"value-paren_group\"&&rt.groups[2]&&rt.groups[2].type===\"value-paren_group\"){let Le=x(Ze[0].contents.contents);Le[1]=c(Le[1]),Ze=[c(_(Ze))];}if(!at&&rt.type===\"value-comma_group\"&&l(rt.groups)){let Le=t(rt.groups);!Le.source&&Le.close&&(Le=Le.close),Le.source&&i(je.originalText,Le,Ee)&&Ze.push(h);}return Ze},\"groups\"))]),w(!st&&A(je.parser,je.originalText)&&We&&re(je)?\",\":\"\"),g,ae.close?Me(\"close\"):\"\"],{shouldBreak:_e});return He?_(Ge):Ge}case\"value-func\":return [ae.value,d(Te,\"supports\")&&Pe(ae)?\" \":\"\",Me(\"group\")];case\"value-paren\":return ae.value;case\"value-number\":return [Je(ae.value),G(ae.unit)];case\"value-operator\":return ae.value;case\"value-word\":return ae.isColor&&ae.isHex||b(ae.value)?ae.value.toLowerCase():ae.value;case\"value-colon\":{let Ve=Te.getParentNode(),We=Ve&&Ve.groups.indexOf(ae),Xe=We&&Ve.groups[We-1];return [ae.value,Xe&&typeof Xe.value==\"string\"&&t(Xe.value)===\"\\\\\"||C(Te,\"url\")?\"\":y]}case\"value-comma\":return [ae.value,\" \"];case\"value-string\":return a(ae.raws.quote+ae.value+ae.raws.quote,je);case\"value-atword\":return [\"@\",ae.value];case\"value-unicode-range\":return ae.value;case\"value-unknown\":return ae.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(ae.type)}`)}}function Ce(Te,je,Me){let ae=[];return Te.each((nt,tt,Ve)=>{let We=Ve[tt-1];if(We&&We.type===\"css-comment\"&&We.text.trim()===\"prettier-ignore\"){let Xe=nt.getValue();ae.push(je.originalText.slice(Ae(Xe),Ee(Xe)));}else ae.push(Me());tt!==Ve.length-1&&(Ve[tt+1].type===\"css-comment\"&&!n(je.originalText,Ae(Ve[tt+1]),{backwards:!0})&&!u(Ve[tt])||Ve[tt+1].type===\"css-atrule\"&&Ve[tt+1].name===\"else\"&&Ve[tt].type!==\"css-comment\"?ae.push(\" \"):(ae.push(je.__isHTMLStyleAttribute?y:h),i(je.originalText,nt.getValue(),Ee)&&!u(Ve[tt])&&ae.push(h)));},\"nodes\"),ae}var Be=/([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*\\1/gs,ve=/(?:\\d*\\.\\d+|\\d+\\.?)(?:[Ee][+-]?\\d+)?/g,ze=/[A-Za-z]+/g,be=/[$@]?[A-Z_a-z\\u0080-\\uFFFF][\\w\\u0080-\\uFFFF-]*/g,Ye=new RegExp(Be.source+`|(${be.source})?(${ve.source})(${ze.source})?`,\"g\");function Se(Te,je){return Te.replace(Be,Me=>a(Me,je))}function Ie(Te,je){let Me=je.singleQuote?\"'\":'\"';return Te.includes('\"')||Te.includes(\"'\")?Te:Me+Te+Me}function Oe(Te){return Te.replace(Ye,(je,Me,ae,nt,tt)=>!ae&&nt?Je(nt)+m(tt||\"\"):je)}function Je(Te){return s(Te).replace(/\\.0(?=$|e)/,\"\")}r.exports={print:ye,embed:P,insertPragma:$,massageAstNode:I};}}),Rd=te({\"src/language-css/options.js\"(e,r){ne();var t=Mt();r.exports={singleQuote:t.singleQuote};}}),$d=te({\"src/language-css/parsers.js\"(){ne();}}),Vd=te({\"node_modules/linguist-languages/data/CSS.json\"(e,r){r.exports={name:\"CSS\",type:\"markup\",tmScope:\"source.css\",aceMode:\"css\",codemirrorMode:\"css\",codemirrorMimeType:\"text/css\",color:\"#563d7c\",extensions:[\".css\"],languageId:50};}}),Wd=te({\"node_modules/linguist-languages/data/PostCSS.json\"(e,r){r.exports={name:\"PostCSS\",type:\"markup\",color:\"#dc3a0c\",tmScope:\"source.postcss\",group:\"CSS\",extensions:[\".pcss\",\".postcss\"],aceMode:\"text\",languageId:262764437};}}),Hd=te({\"node_modules/linguist-languages/data/Less.json\"(e,r){r.exports={name:\"Less\",type:\"markup\",color:\"#1d365d\",aliases:[\"less-css\"],extensions:[\".less\"],tmScope:\"source.css.less\",aceMode:\"less\",codemirrorMode:\"css\",codemirrorMimeType:\"text/css\",languageId:198};}}),Gd=te({\"node_modules/linguist-languages/data/SCSS.json\"(e,r){r.exports={name:\"SCSS\",type:\"markup\",color:\"#c6538c\",tmScope:\"source.css.scss\",aceMode:\"scss\",codemirrorMode:\"css\",codemirrorMimeType:\"text/x-scss\",extensions:[\".scss\"],languageId:329};}}),Ud=te({\"src/language-css/index.js\"(e,r){ne();var t=_t(),s=Md(),a=Rd(),n=$d(),u=[t(Vd(),l=>({since:\"1.4.0\",parsers:[\"css\"],vscodeLanguageIds:[\"css\"],extensions:[...l.extensions,\".wxss\"]})),t(Wd(),()=>({since:\"1.4.0\",parsers:[\"css\"],vscodeLanguageIds:[\"postcss\"]})),t(Hd(),()=>({since:\"1.4.0\",parsers:[\"less\"],vscodeLanguageIds:[\"less\"]})),t(Gd(),()=>({since:\"1.4.0\",parsers:[\"scss\"],vscodeLanguageIds:[\"scss\"]}))],i={postcss:s};r.exports={languages:u,options:a,printers:i,parsers:n};}}),Jd=te({\"src/language-handlebars/loc.js\"(e,r){ne();function t(a){return a.loc.start.offset}function s(a){return a.loc.end.offset}r.exports={locStart:t,locEnd:s};}}),zd=te({\"src/language-handlebars/clean.js\"(e,r){ne();function t(s,a){if(s.type===\"TextNode\"){let n=s.chars.trim();if(!n)return null;a.chars=n.replace(/[\\t\\n\\f\\r ]+/g,\" \");}s.type===\"AttrNode\"&&s.name.toLowerCase()===\"class\"&&delete a.value;}t.ignoredProperties=new Set([\"loc\",\"selfClosing\"]),r.exports=t;}}),Xd=te({\"src/language-handlebars/html-void-elements.evaluate.js\"(e,r){r.exports=[\"area\",\"base\",\"br\",\"col\",\"command\",\"embed\",\"hr\",\"img\",\"input\",\"keygen\",\"link\",\"meta\",\"param\",\"source\",\"track\",\"wbr\"];}}),Kd=te({\"src/language-handlebars/utils.js\"(e,r){ne();var t=lt(),s=Xd();function a(x){let I=x.getValue(),P=x.getParentNode(0);return !!(g(x,[\"ElementNode\"])&&t(P.children)===I||g(x,[\"Block\"])&&t(P.body)===I)}function n(x){return x.toUpperCase()===x}function u(x){return h(x,[\"ElementNode\"])&&typeof x.tag==\"string\"&&!x.tag.startsWith(\":\")&&(n(x.tag[0])||x.tag.includes(\".\"))}var i=new Set(s);function l(x){return i.has(x.toLowerCase())&&!n(x[0])}function p(x){return x.selfClosing===!0||l(x.tag)||u(x)&&x.children.every(I=>y(I))}function y(x){return h(x,[\"TextNode\"])&&!/\\S/.test(x.chars)}function h(x,I){return x&&I.includes(x.type)}function g(x,I){let P=x.getParentNode(0);return h(P,I)}function c(x,I){let P=_(x);return h(P,I)}function f(x,I){let P=w(x);return h(P,I)}function F(x,I){var P,$,D,T;let m=x.getValue(),C=(P=x.getParentNode(0))!==null&&P!==void 0?P:{},o=($=(D=(T=C.children)!==null&&T!==void 0?T:C.body)!==null&&D!==void 0?D:C.parts)!==null&&$!==void 0?$:[],d=o.indexOf(m);return d!==-1&&o[d+I]}function _(x){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return F(x,-I)}function w(x){return F(x,1)}function E(x){return h(x,[\"MustacheCommentStatement\"])&&typeof x.value==\"string\"&&x.value.trim()===\"prettier-ignore\"}function N(x){let I=x.getValue(),P=_(x,2);return E(I)||E(P)}r.exports={getNextNode:w,getPreviousNode:_,hasPrettierIgnore:N,isLastNodeOfSiblings:a,isNextNodeOfSomeType:f,isNodeOfSomeType:h,isParentOfSomeType:g,isPreviousNodeOfSomeType:c,isVoid:p,isWhitespaceNode:y};}}),Yd=te({\"src/language-handlebars/printer-glimmer.js\"(e,r){ne();var{builders:{dedent:t,fill:s,group:a,hardline:n,ifBreak:u,indent:i,join:l,line:p,softline:y},utils:{getDocParts:h,replaceTextEndOfLine:g}}=qe(),{getPreferredQuote:c,isNonEmptyArray:f}=Ue(),{locStart:F,locEnd:_}=Jd(),w=zd(),{getNextNode:E,getPreviousNode:N,hasPrettierIgnore:x,isLastNodeOfSiblings:I,isNextNodeOfSomeType:P,isNodeOfSomeType:$,isParentOfSomeType:D,isPreviousNodeOfSomeType:T,isVoid:m,isWhitespaceNode:C}=Kd(),o=2;function d(H,pe,X){let le=H.getValue();if(!le)return \"\";if(x(H))return pe.originalText.slice(F(le),_(le));let Ae=pe.singleQuote?\"'\":'\"';switch(le.type){case\"Block\":case\"Program\":case\"Template\":return a(H.map(X,\"body\"));case\"ElementNode\":{let Ee=a(S(H,X)),De=pe.htmlWhitespaceSensitivity===\"ignore\"&&P(H,[\"ElementNode\"])?y:\"\";if(m(le))return [Ee,De];let A=[\"\"];return le.children.length===0?[Ee,i(A),De]:pe.htmlWhitespaceSensitivity===\"ignore\"?[Ee,i(b(H,pe,X)),n,i(A),De]:[Ee,i(a(b(H,pe,X))),i(A),De]}case\"BlockStatement\":{let Ee=H.getParentNode(1);return Ee&&Ee.inverse&&Ee.inverse.body.length===1&&Ee.inverse.body[0]===le&&Ee.inverse.body[0].path.parts[0]===Ee.path.parts[0]?[ie(H,X,Ee.inverse.body[0].path.parts[0]),de(H,X,pe),ue(H,X,pe)]:[j(H,X),a([de(H,X,pe),ue(H,X,pe),ee(H,X,pe)])]}case\"ElementModifierStatement\":return a([\"{{\",Re(H,X),\"}}\"]);case\"MustacheStatement\":return a([k(le),Re(H,X),M(le)]);case\"SubExpression\":return a([\"(\",ke(H,X),y,\")\"]);case\"AttrNode\":{let Ee=le.value.type===\"TextNode\";if(Ee&&le.value.chars===\"\"&&F(le.value)===_(le.value))return le.name;let A=Ee?c(le.value.chars,Ae).quote:le.value.type===\"ConcatStatement\"?c(le.value.parts.filter(re=>re.type===\"TextNode\").map(re=>re.chars).join(\"\"),Ae).quote:\"\",G=X(\"value\");return [le.name,\"=\",A,le.name===\"class\"&&A?a(i(G)):G,A]}case\"ConcatStatement\":return H.map(X,\"parts\");case\"Hash\":return l(p,H.map(X,\"pairs\"));case\"HashPair\":return [le.key,\"=\",X(\"value\")];case\"TextNode\":{let Ee=le.chars.replace(/{{/g,\"\\\\{{\"),De=U(H);if(De){if(De===\"class\"){let Ye=Ee.trim().split(/\\s+/).join(\" \"),Se=!1,Ie=!1;return D(H,[\"ConcatStatement\"])&&(T(H,[\"MustacheStatement\"])&&/^\\s/.test(Ee)&&(Se=!0),P(H,[\"MustacheStatement\"])&&/\\s$/.test(Ee)&&Ye!==\"\"&&(Ie=!0)),[Se?p:\"\",Ye,Ie?p:\"\"]}return g(Ee)}let G=/^[\\t\\n\\f\\r ]*$/.test(Ee),re=!N(H),ye=!E(H);if(pe.htmlWhitespaceSensitivity!==\"ignore\"){let Ye=/^[\\t\\n\\f\\r ]*/,Se=/[\\t\\n\\f\\r ]*$/,Ie=ye&&D(H,[\"Template\"]),Oe=re&&D(H,[\"Template\"]);if(G){if(Oe||Ie)return \"\";let ae=[p],nt=Z(Ee);return nt&&(ae=ge(nt)),I(H)&&(ae=ae.map(tt=>t(tt))),ae}let[Je]=Ee.match(Ye),[Te]=Ee.match(Se),je=[];if(Je){je=[p];let ae=Z(Je);ae&&(je=ge(ae)),Ee=Ee.replace(Ye,\"\");}let Me=[];if(Te){if(!Ie){Me=[p];let ae=Z(Te);ae&&(Me=ge(ae)),I(H)&&(Me=Me.map(nt=>t(nt)));}Ee=Ee.replace(Se,\"\");}return [...je,s(Fe(Ee)),...Me]}let Ce=Z(Ee),Be=se(Ee),ve=fe(Ee);if((re||ye)&&G&&D(H,[\"Block\",\"ElementNode\",\"Template\"]))return \"\";G&&Ce?(Be=Math.min(Ce,o),ve=0):(P(H,[\"BlockStatement\",\"ElementNode\"])&&(ve=Math.max(ve,1)),T(H,[\"BlockStatement\",\"ElementNode\"])&&(Be=Math.max(Be,1)));let ze=\"\",be=\"\";return ve===0&&P(H,[\"MustacheStatement\"])&&(be=\" \"),Be===0&&T(H,[\"MustacheStatement\"])&&(ze=\" \"),re&&(Be=0,ze=\"\"),ye&&(ve=0,be=\"\"),Ee=Ee.replace(/^[\\t\\n\\f\\r ]+/g,ze).replace(/[\\t\\n\\f\\r ]+$/,be),[...ge(Be),s(Fe(Ee)),...ge(ve)]}case\"MustacheCommentStatement\":{let Ee=F(le),De=_(le),A=pe.originalText.charAt(Ee+2)===\"~\",G=pe.originalText.charAt(De-3)===\"~\",re=le.value.includes(\"}}\")?\"--\":\"\";return [\"{{\",A?\"~\":\"\",\"!\",re,le.value,re,G?\"~\":\"\",\"}}\"]}case\"PathExpression\":return le.original;case\"BooleanLiteral\":return String(le.value);case\"CommentStatement\":return [\"\"];case\"StringLiteral\":{if(we(H)){let Ee=pe.singleQuote?'\"':\"'\";return he(le.value,Ee)}return he(le.value,Ae)}case\"NumberLiteral\":return String(le.value);case\"UndefinedLiteral\":return \"undefined\";case\"NullLiteral\":return \"null\";default:throw new Error(\"unknown glimmer type: \"+JSON.stringify(le.type))}}function v(H,pe){return F(H)-F(pe)}function S(H,pe){let X=H.getValue(),le=[\"attributes\",\"modifiers\",\"comments\"].filter(Ee=>f(X[Ee])),Ae=le.flatMap(Ee=>X[Ee]).sort(v);for(let Ee of le)H.each(De=>{let A=Ae.indexOf(De.getValue());Ae.splice(A,1,[p,pe()]);},Ee);return f(X.blockParams)&&Ae.push(p,oe(X)),[\"<\",X.tag,i(Ae),B(X)]}function b(H,pe,X){let Ae=H.getValue().children.every(Ee=>C(Ee));return pe.htmlWhitespaceSensitivity===\"ignore\"&&Ae?\"\":H.map((Ee,De)=>{let A=X();return De===0&&pe.htmlWhitespaceSensitivity===\"ignore\"?[y,A]:A},\"children\")}function B(H){return m(H)?u([y,\"/>\"],[\" />\",y]):u([y,\">\"],\">\")}function k(H){let pe=H.escaped===!1?\"{{{\":\"{{\",X=H.strip&&H.strip.open?\"~\":\"\";return [pe,X]}function M(H){let pe=H.escaped===!1?\"}}}\":\"}}\";return [H.strip&&H.strip.close?\"~\":\"\",pe]}function R(H){let pe=k(H),X=H.openStrip.open?\"~\":\"\";return [pe,X,\"#\"]}function q(H){let pe=M(H);return [H.openStrip.close?\"~\":\"\",pe]}function J(H){let pe=k(H),X=H.closeStrip.open?\"~\":\"\";return [pe,X,\"/\"]}function L(H){let pe=M(H);return [H.closeStrip.close?\"~\":\"\",pe]}function Q(H){let pe=k(H),X=H.inverseStrip.open?\"~\":\"\";return [pe,X]}function V(H){let pe=M(H);return [H.inverseStrip.close?\"~\":\"\",pe]}function j(H,pe){let X=H.getValue(),le=[],Ae=Pe(H,pe);return Ae&&le.push(a(Ae)),f(X.program.blockParams)&&le.push(oe(X.program)),a([R(X),Ne(H,pe),le.length>0?i([p,l(p,le)]):\"\",y,q(X)])}function Y(H,pe){return [pe.htmlWhitespaceSensitivity===\"ignore\"?n:\"\",Q(H),\"else\",V(H)]}function ie(H,pe,X){let le=H.getValue(),Ae=H.getParentNode(1);return a([Q(Ae),[\"else\",\" \",X],i([p,a(Pe(H,pe)),...f(le.program.blockParams)?[p,oe(le.program)]:[]]),y,V(Ae)])}function ee(H,pe,X){let le=H.getValue();return X.htmlWhitespaceSensitivity===\"ignore\"?[ce(le)?y:n,J(le),pe(\"path\"),L(le)]:[J(le),pe(\"path\"),L(le)]}function ce(H){return $(H,[\"BlockStatement\"])&&H.program.body.every(pe=>C(pe))}function W(H){return K(H)&&H.inverse.body.length===1&&$(H.inverse.body[0],[\"BlockStatement\"])&&H.inverse.body[0].path.parts[0]===H.path.parts[0]}function K(H){return $(H,[\"BlockStatement\"])&&H.inverse}function de(H,pe,X){let le=H.getValue();if(ce(le))return \"\";let Ae=pe(\"program\");return X.htmlWhitespaceSensitivity===\"ignore\"?i([n,Ae]):i(Ae)}function ue(H,pe,X){let le=H.getValue(),Ae=pe(\"inverse\"),Ee=X.htmlWhitespaceSensitivity===\"ignore\"?[n,Ae]:Ae;return W(le)?Ee:K(le)?[Y(le,X),i(Ee)]:\"\"}function Fe(H){return h(l(p,z(H)))}function z(H){return H.split(/[\\t\\n\\f\\r ]+/)}function U(H){for(let pe=0;pe<2;pe++){let X=H.getParentNode(pe);if(X&&X.type===\"AttrNode\")return X.name.toLowerCase()}}function Z(H){return H=typeof H==\"string\"?H:\"\",H.split(`\n`).length-1}function se(H){H=typeof H==\"string\"?H:\"\";let pe=(H.match(/^([^\\S\\n\\r]*[\\n\\r])+/g)||[])[0]||\"\";return Z(pe)}function fe(H){H=typeof H==\"string\"?H:\"\";let pe=(H.match(/([\\n\\r][^\\S\\n\\r]*)+$/g)||[])[0]||\"\";return Z(pe)}function ge(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(H,o)}).fill(n)}function he(H,pe){let{quote:X,regex:le}=c(H,pe);return [X,H.replace(le,`\\\\${X}`),X]}function we(H){let pe=0,X=H.getParentNode(pe);for(;X&&$(X,[\"SubExpression\"]);)pe++,X=H.getParentNode(pe);return !!(X&&$(H.getParentNode(pe+1),[\"ConcatStatement\"])&&$(H.getParentNode(pe+2),[\"AttrNode\"]))}function ke(H,pe){let X=Ne(H,pe),le=Pe(H,pe);return le?i([X,p,a(le)]):X}function Re(H,pe){let X=Ne(H,pe),le=Pe(H,pe);return le?[i([X,p,le]),y]:X}function Ne(H,pe){return pe(\"path\")}function Pe(H,pe){let X=H.getValue(),le=[];if(X.params.length>0){let Ae=H.map(pe,\"params\");le.push(...Ae);}if(X.hash&&X.hash.pairs.length>0){let Ae=pe(\"hash\");le.push(Ae);}return le.length===0?\"\":l(p,le)}function oe(H){return [\"as |\",H.blockParams.join(\" \"),\"|\"]}r.exports={print:d,massageAstNode:w};}}),Qd=te({\"src/language-handlebars/parsers.js\"(){ne();}}),Zd=te({\"node_modules/linguist-languages/data/Handlebars.json\"(e,r){r.exports={name:\"Handlebars\",type:\"markup\",color:\"#f7931e\",aliases:[\"hbs\",\"htmlbars\"],extensions:[\".handlebars\",\".hbs\"],tmScope:\"text.html.handlebars\",aceMode:\"handlebars\",languageId:155};}}),eg=te({\"src/language-handlebars/index.js\"(e,r){ne();var t=_t(),s=Yd(),a=Qd(),n=[t(Zd(),()=>({since:\"2.3.0\",parsers:[\"glimmer\"],vscodeLanguageIds:[\"handlebars\"]}))],u={glimmer:s};r.exports={languages:n,printers:u,parsers:a};}}),tg=te({\"src/language-graphql/pragma.js\"(e,r){ne();function t(a){return /^\\s*#[^\\S\\n]*@(?:format|prettier)\\s*(?:\\n|$)/.test(a)}function s(a){return `# @format\n\n`+a}r.exports={hasPragma:t,insertPragma:s};}}),rg=te({\"src/language-graphql/loc.js\"(e,r){ne();function t(a){return typeof a.start==\"number\"?a.start:a.loc&&a.loc.start}function s(a){return typeof a.end==\"number\"?a.end:a.loc&&a.loc.end}r.exports={locStart:t,locEnd:s};}}),ng=te({\"src/language-graphql/printer-graphql.js\"(e,r){ne();var{builders:{join:t,hardline:s,line:a,softline:n,group:u,indent:i,ifBreak:l}}=qe(),{isNextLineEmpty:p,isNonEmptyArray:y}=Ue(),{insertPragma:h}=tg(),{locStart:g,locEnd:c}=rg();function f(P,$,D){let T=P.getValue();if(!T)return \"\";if(typeof T==\"string\")return T;switch(T.kind){case\"Document\":{let m=[];return P.each((C,o,d)=>{m.push(D()),o!==d.length-1&&(m.push(s),p($.originalText,C.getValue(),c)&&m.push(s));},\"definitions\"),[...m,s]}case\"OperationDefinition\":{let m=$.originalText[g(T)]!==\"{\",C=Boolean(T.name);return [m?T.operation:\"\",m&&C?[\" \",D(\"name\")]:\"\",m&&!C&&y(T.variableDefinitions)?\" \":\"\",y(T.variableDefinitions)?u([\"(\",i([n,t([l(\"\",\", \"),n],P.map(D,\"variableDefinitions\"))]),n,\")\"]):\"\",F(P,D,T),T.selectionSet?!m&&!C?\"\":\" \":\"\",D(\"selectionSet\")]}case\"FragmentDefinition\":return [\"fragment \",D(\"name\"),y(T.variableDefinitions)?u([\"(\",i([n,t([l(\"\",\", \"),n],P.map(D,\"variableDefinitions\"))]),n,\")\"]):\"\",\" on \",D(\"typeCondition\"),F(P,D,T),\" \",D(\"selectionSet\")];case\"SelectionSet\":return [\"{\",i([s,t(s,_(P,$,D,\"selections\"))]),s,\"}\"];case\"Field\":return u([T.alias?[D(\"alias\"),\": \"]:\"\",D(\"name\"),T.arguments.length>0?u([\"(\",i([n,t([l(\"\",\", \"),n],_(P,$,D,\"arguments\"))]),n,\")\"]):\"\",F(P,D,T),T.selectionSet?\" \":\"\",D(\"selectionSet\")]);case\"Name\":return T.value;case\"StringValue\":{if(T.block){let m=T.value.replace(/\"\"\"/g,\"\\\\$&\").split(`\n`);return m.length===1&&(m[0]=m[0].trim()),m.every(C=>C===\"\")&&(m.length=0),t(s,['\"\"\"',...m,'\"\"\"'])}return ['\"',T.value.replace(/[\"\\\\]/g,\"\\\\$&\").replace(/\\n/g,\"\\\\n\"),'\"']}case\"IntValue\":case\"FloatValue\":case\"EnumValue\":return T.value;case\"BooleanValue\":return T.value?\"true\":\"false\";case\"NullValue\":return \"null\";case\"Variable\":return [\"$\",D(\"name\")];case\"ListValue\":return u([\"[\",i([n,t([l(\"\",\", \"),n],P.map(D,\"values\"))]),n,\"]\"]);case\"ObjectValue\":return u([\"{\",$.bracketSpacing&&T.fields.length>0?\" \":\"\",i([n,t([l(\"\",\", \"),n],P.map(D,\"fields\"))]),n,l(\"\",$.bracketSpacing&&T.fields.length>0?\" \":\"\"),\"}\"]);case\"ObjectField\":case\"Argument\":return [D(\"name\"),\": \",D(\"value\")];case\"Directive\":return [\"@\",D(\"name\"),T.arguments.length>0?u([\"(\",i([n,t([l(\"\",\", \"),n],_(P,$,D,\"arguments\"))]),n,\")\"]):\"\"];case\"NamedType\":return D(\"name\");case\"VariableDefinition\":return [D(\"variable\"),\": \",D(\"type\"),T.defaultValue?[\" = \",D(\"defaultValue\")]:\"\",F(P,D,T)];case\"ObjectTypeExtension\":case\"ObjectTypeDefinition\":return [D(\"description\"),T.description?s:\"\",T.kind===\"ObjectTypeExtension\"?\"extend \":\"\",\"type \",D(\"name\"),T.interfaces.length>0?[\" implements \",...N(P,$,D)]:\"\",F(P,D,T),T.fields.length>0?[\" {\",i([s,t(s,_(P,$,D,\"fields\"))]),s,\"}\"]:\"\"];case\"FieldDefinition\":return [D(\"description\"),T.description?s:\"\",D(\"name\"),T.arguments.length>0?u([\"(\",i([n,t([l(\"\",\", \"),n],_(P,$,D,\"arguments\"))]),n,\")\"]):\"\",\": \",D(\"type\"),F(P,D,T)];case\"DirectiveDefinition\":return [D(\"description\"),T.description?s:\"\",\"directive \",\"@\",D(\"name\"),T.arguments.length>0?u([\"(\",i([n,t([l(\"\",\", \"),n],_(P,$,D,\"arguments\"))]),n,\")\"]):\"\",T.repeatable?\" repeatable\":\"\",\" on \",t(\" | \",P.map(D,\"locations\"))];case\"EnumTypeExtension\":case\"EnumTypeDefinition\":return [D(\"description\"),T.description?s:\"\",T.kind===\"EnumTypeExtension\"?\"extend \":\"\",\"enum \",D(\"name\"),F(P,D,T),T.values.length>0?[\" {\",i([s,t(s,_(P,$,D,\"values\"))]),s,\"}\"]:\"\"];case\"EnumValueDefinition\":return [D(\"description\"),T.description?s:\"\",D(\"name\"),F(P,D,T)];case\"InputValueDefinition\":return [D(\"description\"),T.description?T.description.block?s:a:\"\",D(\"name\"),\": \",D(\"type\"),T.defaultValue?[\" = \",D(\"defaultValue\")]:\"\",F(P,D,T)];case\"InputObjectTypeExtension\":case\"InputObjectTypeDefinition\":return [D(\"description\"),T.description?s:\"\",T.kind===\"InputObjectTypeExtension\"?\"extend \":\"\",\"input \",D(\"name\"),F(P,D,T),T.fields.length>0?[\" {\",i([s,t(s,_(P,$,D,\"fields\"))]),s,\"}\"]:\"\"];case\"SchemaExtension\":return [\"extend schema\",F(P,D,T),...T.operationTypes.length>0?[\" {\",i([s,t(s,_(P,$,D,\"operationTypes\"))]),s,\"}\"]:[]];case\"SchemaDefinition\":return [D(\"description\"),T.description?s:\"\",\"schema\",F(P,D,T),\" {\",T.operationTypes.length>0?i([s,t(s,_(P,$,D,\"operationTypes\"))]):\"\",s,\"}\"];case\"OperationTypeDefinition\":return [D(\"operation\"),\": \",D(\"type\")];case\"InterfaceTypeExtension\":case\"InterfaceTypeDefinition\":return [D(\"description\"),T.description?s:\"\",T.kind===\"InterfaceTypeExtension\"?\"extend \":\"\",\"interface \",D(\"name\"),T.interfaces.length>0?[\" implements \",...N(P,$,D)]:\"\",F(P,D,T),T.fields.length>0?[\" {\",i([s,t(s,_(P,$,D,\"fields\"))]),s,\"}\"]:\"\"];case\"FragmentSpread\":return [\"...\",D(\"name\"),F(P,D,T)];case\"InlineFragment\":return [\"...\",T.typeCondition?[\" on \",D(\"typeCondition\")]:\"\",F(P,D,T),\" \",D(\"selectionSet\")];case\"UnionTypeExtension\":case\"UnionTypeDefinition\":return u([D(\"description\"),T.description?s:\"\",u([T.kind===\"UnionTypeExtension\"?\"extend \":\"\",\"union \",D(\"name\"),F(P,D,T),T.types.length>0?[\" =\",l(\"\",\" \"),i([l([a,\" \"]),t([a,\"| \"],P.map(D,\"types\"))])]:\"\"])]);case\"ScalarTypeExtension\":case\"ScalarTypeDefinition\":return [D(\"description\"),T.description?s:\"\",T.kind===\"ScalarTypeExtension\"?\"extend \":\"\",\"scalar \",D(\"name\"),F(P,D,T)];case\"NonNullType\":return [D(\"type\"),\"!\"];case\"ListType\":return [\"[\",D(\"type\"),\"]\"];default:throw new Error(\"unknown graphql type: \"+JSON.stringify(T.kind))}}function F(P,$,D){if(D.directives.length===0)return \"\";let T=t(a,P.map($,\"directives\"));return D.kind===\"FragmentDefinition\"||D.kind===\"OperationDefinition\"?u([a,T]):[\" \",u(i([n,T]))]}function _(P,$,D,T){return P.map((m,C,o)=>{let d=D();return CD(d),\"interfaces\");for(let d=0;dT.value.trim()===\"prettier-ignore\")}r.exports={print:f,massageAstNode:x,hasPrettierIgnore:I,insertPragma:h,printComment:E,canAttachComment:w};}}),ug=te({\"src/language-graphql/options.js\"(e,r){ne();var t=Mt();r.exports={bracketSpacing:t.bracketSpacing};}}),sg=te({\"src/language-graphql/parsers.js\"(){ne();}}),ig=te({\"node_modules/linguist-languages/data/GraphQL.json\"(e,r){r.exports={name:\"GraphQL\",type:\"data\",color:\"#e10098\",extensions:[\".graphql\",\".gql\",\".graphqls\"],tmScope:\"source.graphql\",aceMode:\"text\",languageId:139};}}),ag=te({\"src/language-graphql/index.js\"(e,r){ne();var t=_t(),s=ng(),a=ug(),n=sg(),u=[t(ig(),()=>({since:\"1.5.0\",parsers:[\"graphql\"],vscodeLanguageIds:[\"graphql\"]}))],i={graphql:s};r.exports={languages:u,options:a,printers:i,parsers:n};}}),Po=te({\"node_modules/collapse-white-space/index.js\"(e,r){ne(),r.exports=t;function t(s){return String(s).replace(/\\s+/g,\" \")}}}),Io=te({\"src/language-markdown/loc.js\"(e,r){ne();function t(a){return a.position.start.offset}function s(a){return a.position.end.offset}r.exports={locStart:t,locEnd:s};}}),og=te({\"src/language-markdown/constants.evaluate.js\"(e,r){r.exports={cjkPattern:\"(?:[\\\\u02ea-\\\\u02eb\\\\u1100-\\\\u11ff\\\\u2e80-\\\\u2e99\\\\u2e9b-\\\\u2ef3\\\\u2f00-\\\\u2fd5\\\\u2ff0-\\\\u303f\\\\u3041-\\\\u3096\\\\u3099-\\\\u309f\\\\u30a1-\\\\u30fa\\\\u30fc-\\\\u30ff\\\\u3105-\\\\u312f\\\\u3131-\\\\u318e\\\\u3190-\\\\u3191\\\\u3196-\\\\u31ba\\\\u31c0-\\\\u31e3\\\\u31f0-\\\\u321e\\\\u322a-\\\\u3247\\\\u3260-\\\\u327e\\\\u328a-\\\\u32b0\\\\u32c0-\\\\u32cb\\\\u32d0-\\\\u3370\\\\u337b-\\\\u337f\\\\u33e0-\\\\u33fe\\\\u3400-\\\\u4db5\\\\u4e00-\\\\u9fef\\\\ua960-\\\\ua97c\\\\uac00-\\\\ud7a3\\\\ud7b0-\\\\ud7c6\\\\ud7cb-\\\\ud7fb\\\\uf900-\\\\ufa6d\\\\ufa70-\\\\ufad9\\\\ufe10-\\\\ufe1f\\\\ufe30-\\\\ufe6f\\\\uff00-\\\\uffef]|[\\\\ud840-\\\\ud868\\\\ud86a-\\\\ud86c\\\\ud86f-\\\\ud872\\\\ud874-\\\\ud879][\\\\udc00-\\\\udfff]|\\\\ud82c[\\\\udc00-\\\\udd1e\\\\udd50-\\\\udd52\\\\udd64-\\\\udd67]|\\\\ud83c[\\\\ude00\\\\ude50-\\\\ude51]|\\\\ud869[\\\\udc00-\\\\uded6\\\\udf00-\\\\udfff]|\\\\ud86d[\\\\udc00-\\\\udf34\\\\udf40-\\\\udfff]|\\\\ud86e[\\\\udc00-\\\\udc1d\\\\udc20-\\\\udfff]|\\\\ud873[\\\\udc00-\\\\udea1\\\\udeb0-\\\\udfff]|\\\\ud87a[\\\\udc00-\\\\udfe0]|\\\\ud87e[\\\\udc00-\\\\ude1d])(?:[\\\\ufe00-\\\\ufe0f]|\\\\udb40[\\\\udd00-\\\\uddef])?\",kPattern:\"[\\\\u1100-\\\\u11ff\\\\u3001-\\\\u3003\\\\u3008-\\\\u3011\\\\u3013-\\\\u301f\\\\u302e-\\\\u3030\\\\u3037\\\\u30fb\\\\u3131-\\\\u318e\\\\u3200-\\\\u321e\\\\u3260-\\\\u327e\\\\ua960-\\\\ua97c\\\\uac00-\\\\ud7a3\\\\ud7b0-\\\\ud7c6\\\\ud7cb-\\\\ud7fb\\\\ufe45-\\\\ufe46\\\\uff61-\\\\uff65\\\\uffa0-\\\\uffbe\\\\uffc2-\\\\uffc7\\\\uffca-\\\\uffcf\\\\uffd2-\\\\uffd7\\\\uffda-\\\\uffdc]\",punctuationPattern:\"[\\\\u0021-\\\\u002f\\\\u003a-\\\\u0040\\\\u005b-\\\\u0060\\\\u007b-\\\\u007e\\\\u00a1\\\\u00a7\\\\u00ab\\\\u00b6-\\\\u00b7\\\\u00bb\\\\u00bf\\\\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\\\\u09fd\\\\u0a76\\\\u0af0\\\\u0c77\\\\u0c84\\\\u0df4\\\\u0e4f\\\\u0e5a-\\\\u0e5b\\\\u0f04-\\\\u0f12\\\\u0f14\\\\u0f3a-\\\\u0f3d\\\\u0f85\\\\u0fd0-\\\\u0fd4\\\\u0fd9-\\\\u0fda\\\\u104a-\\\\u104f\\\\u10fb\\\\u1360-\\\\u1368\\\\u1400\\\\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-\\\\u2e4f\\\\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]|\\\\ud803[\\\\udf55-\\\\udf59]|\\\\ud804[\\\\udc47-\\\\udc4d\\\\udcbb-\\\\udcbc\\\\udcbe-\\\\udcc1\\\\udd40-\\\\udd43\\\\udd74-\\\\udd75\\\\uddc5-\\\\uddc8\\\\uddcd\\\\udddb\\\\udddd-\\\\udddf\\\\ude38-\\\\ude3d\\\\udea9]|\\\\ud805[\\\\udc4b-\\\\udc4f\\\\udc5b\\\\udc5d\\\\udcc6\\\\uddc1-\\\\uddd7\\\\ude41-\\\\ude43\\\\ude60-\\\\ude6c\\\\udf3c-\\\\udf3e]|\\\\ud806[\\\\udc3b\\\\udde2\\\\ude3f-\\\\ude46\\\\ude9a-\\\\ude9c\\\\ude9e-\\\\udea2]|\\\\ud807[\\\\udc41-\\\\udc45\\\\udc70-\\\\udc71\\\\udef7-\\\\udef8\\\\udfff]|\\\\ud809[\\\\udc70-\\\\udc74]|\\\\ud81a[\\\\ude6e-\\\\ude6f\\\\udef5\\\\udf37-\\\\udf3b\\\\udf44]|\\\\ud81b[\\\\ude97-\\\\ude9a\\\\udfe2]|\\\\ud82f[\\\\udc9f]|\\\\ud836[\\\\ude87-\\\\ude8b]|\\\\ud83a[\\\\udd5e-\\\\udd5f]\"};}}),iu=te({\"src/language-markdown/utils.js\"(e,r){ne();var{getLast:t}=Ue(),{locStart:s,locEnd:a}=Io(),{cjkPattern:n,kPattern:u,punctuationPattern:i}=og(),l=[\"liquidNode\",\"inlineCode\",\"emphasis\",\"esComment\",\"strong\",\"delete\",\"wikiLink\",\"link\",\"linkReference\",\"image\",\"imageReference\",\"footnote\",\"footnoteReference\",\"sentence\",\"whitespace\",\"word\",\"break\",\"inlineMath\"],p=[...l,\"tableCell\",\"paragraph\",\"heading\"],y=new RegExp(u),h=new RegExp(i);function g(E,N){let x=\"non-cjk\",I=\"cj-letter\",P=\"k-letter\",$=\"cjk-punctuation\",D=[],T=(N.proseWrap===\"preserve\"?E:E.replace(new RegExp(`(${n})\n(${n})`,\"g\"),\"$1$2\")).split(/([\\t\\n ]+)/);for(let[C,o]of T.entries()){if(C%2===1){D.push({type:\"whitespace\",value:/\\n/.test(o)?`\n`:\" \"});continue}if((C===0||C===T.length-1)&&o===\"\")continue;let d=o.split(new RegExp(`(${n})`));for(let[v,S]of d.entries())if(!((v===0||v===d.length-1)&&S===\"\")){if(v%2===0){S!==\"\"&&m({type:\"word\",value:S,kind:x,hasLeadingPunctuation:h.test(S[0]),hasTrailingPunctuation:h.test(t(S))});continue}m(h.test(S)?{type:\"word\",value:S,kind:$,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:\"word\",value:S,kind:y.test(S)?P:I,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1});}}return D;function m(C){let o=t(D);o&&o.type===\"word\"&&(o.kind===x&&C.kind===I&&!o.hasTrailingPunctuation||o.kind===I&&C.kind===x&&!C.hasLeadingPunctuation?D.push({type:\"whitespace\",value:\" \"}):!d(x,$)&&![o.value,C.value].some(v=>/\\u3000/.test(v))&&D.push({type:\"whitespace\",value:\"\"})),D.push(C);function d(v,S){return o.kind===v&&C.kind===S||o.kind===S&&C.kind===v}}}function c(E,N){let[,x,I,P]=N.slice(E.position.start.offset,E.position.end.offset).match(/^\\s*(\\d+)(\\.|\\))(\\s*)/);return {numberText:x,marker:I,leadingSpaces:P}}function f(E,N){if(!E.ordered||E.children.length<2)return !1;let x=Number(c(E.children[0],N.originalText).numberText),I=Number(c(E.children[1],N.originalText).numberText);if(x===0&&E.children.length>2){let P=Number(c(E.children[2],N.originalText).numberText);return I===1&&P===1}return I===1}function F(E,N){let{value:x}=E;return E.position.end.offset===N.length&&x.endsWith(`\n`)&&N.endsWith(`\n`)?x.slice(0,-1):x}function _(E,N){return function x(I,P,$){let D=Object.assign({},N(I,P,$));return D.children&&(D.children=D.children.map((T,m)=>x(T,m,[D,...$]))),D}(E,null,[])}function w(E){if(E?.type!==\"link\"||E.children.length!==1)return !1;let[N]=E.children;return s(E)===s(N)&&a(E)===a(N)}r.exports={mapAst:_,splitText:g,punctuationPattern:i,getFencedCodeBlockValue:F,getOrderedListItemInfo:c,hasGitDiffFriendlyOrderedList:f,INLINE_NODE_TYPES:l,INLINE_NODE_WRAPPER_TYPES:p,isAutolink:w};}}),lg=te({\"src/language-markdown/embed.js\"(e,r){ne();var{inferParserByLanguage:t,getMaxContinuousCount:s}=Ue(),{builders:{hardline:a,markAsRoot:n},utils:{replaceEndOfLine:u}}=qe(),i=su(),{getFencedCodeBlockValue:l}=iu();function p(y,h,g,c){let f=y.getValue();if(f.type===\"code\"&&f.lang!==null){let F=t(f.lang,c);if(F){let _=c.__inJsTemplate?\"~\":\"`\",w=_.repeat(Math.max(3,s(f.value,_)+1)),E={parser:F};f.lang===\"tsx\"&&(E.filepath=\"dummy.tsx\");let N=g(l(f,c.originalText),E,{stripTrailingHardline:!0});return n([w,f.lang,f.meta?\" \"+f.meta:\"\",a,u(N),a,w])}}switch(f.type){case\"front-matter\":return i(f,g);case\"importExport\":return [g(f.value,{parser:\"babel\"},{stripTrailingHardline:!0}),a];case\"jsx\":return g(`<$>${f.value}`,{parser:\"__js_expression\",rootMarker:\"mdx\"},{stripTrailingHardline:!0})}return null}r.exports=p;}}),ko=te({\"src/language-markdown/pragma.js\"(e,r){ne();var t=_o(),s=[\"format\",\"prettier\"];function a(n){let u=`@(${s.join(\"|\")})`,i=new RegExp([``,`{\\\\s*\\\\/\\\\*\\\\s*${u}\\\\s*\\\\*\\\\/\\\\s*}`,``].join(\"|\"),\"m\"),l=n.match(i);return l?.index===0}r.exports={startWithPragma:a,hasPragma:n=>a(t(n).content.trimStart()),insertPragma:n=>{let u=t(n),i=``;return u.frontMatter?`${u.frontMatter.raw}\n\n${i}\n\n${u.content}`:`${i}\n\n${u.content}`}};}}),cg=te({\"src/language-markdown/print-preprocess.js\"(e,r){ne();var t=lt(),{getOrderedListItemInfo:s,mapAst:a,splitText:n}=iu(),u=/^.$/su;function i(w,E){return w=y(w,E),w=c(w),w=p(w,E),w=F(w,E),w=_(w,E),w=f(w,E),w=l(w),w=h(w),w}function l(w){return a(w,E=>E.type!==\"import\"&&E.type!==\"export\"?E:Object.assign(Object.assign({},E),{},{type:\"importExport\"}))}function p(w,E){return a(w,N=>N.type!==\"inlineCode\"||E.proseWrap===\"preserve\"?N:Object.assign(Object.assign({},N),{},{value:N.value.replace(/\\s+/g,\" \")}))}function y(w,E){return a(w,N=>N.type!==\"text\"||N.value===\"*\"||N.value===\"_\"||!u.test(N.value)||N.position.end.offset-N.position.start.offset===N.value.length?N:Object.assign(Object.assign({},N),{},{value:E.originalText.slice(N.position.start.offset,N.position.end.offset)}))}function h(w){return g(w,(E,N)=>E.type===\"importExport\"&&N.type===\"importExport\",(E,N)=>({type:\"importExport\",value:E.value+`\n\n`+N.value,position:{start:E.position.start,end:N.position.end}}))}function g(w,E,N){return a(w,x=>{if(!x.children)return x;let I=x.children.reduce((P,$)=>{let D=t(P);return D&&E(D,$)?P.splice(-1,1,N(D,$)):P.push($),P},[]);return Object.assign(Object.assign({},x),{},{children:I})})}function c(w){return g(w,(E,N)=>E.type===\"text\"&&N.type===\"text\",(E,N)=>({type:\"text\",value:E.value+N.value,position:{start:E.position.start,end:N.position.end}}))}function f(w,E){return a(w,(N,x,I)=>{let[P]=I;if(N.type!==\"text\")return N;let{value:$}=N;return P.type===\"paragraph\"&&(x===0&&($=$.trimStart()),x===P.children.length-1&&($=$.trimEnd())),{type:\"sentence\",position:N.position,children:n($,E)}})}function F(w,E){return a(w,(N,x,I)=>{if(N.type===\"code\"){let P=/^\\n?(?: {4,}|\\t)/.test(E.originalText.slice(N.position.start.offset,N.position.end.offset));if(N.isIndented=P,P)for(let $=0;${if(I.type===\"list\"&&I.children.length>0){for(let D=0;D<$.length;D++){let T=$[D];if(T.type===\"list\"&&!T.isAligned)return I.isAligned=!1,I}I.isAligned=x(I);}return I});function N(I){return I.children.length===0?-1:I.children[0].position.start.column-1}function x(I){if(!I.ordered)return !0;let[P,$]=I.children;if(s(P,E.originalText).leadingSpaces.length>1)return !0;let T=N(P);if(T===-1)return !1;if(I.children.length===1)return T%E.tabWidth===0;let m=N($);return T!==m?!1:T%E.tabWidth===0?!0:s($,E.originalText).leadingSpaces.length>1}}r.exports=i;}}),pg=te({\"src/language-markdown/clean.js\"(e,r){ne();var t=Po(),{isFrontMatterNode:s}=Ue(),{startWithPragma:a}=ko(),n=new Set([\"position\",\"raw\"]);function u(i,l,p){if((i.type===\"front-matter\"||i.type===\"code\"||i.type===\"yaml\"||i.type===\"import\"||i.type===\"export\"||i.type===\"jsx\")&&delete l.value,i.type===\"list\"&&delete l.isAligned,(i.type===\"list\"||i.type===\"listItem\")&&(delete l.spread,delete l.loose),i.type===\"text\"||(i.type===\"inlineCode\"&&(l.value=i.value.replace(/[\\t\\n ]+/g,\" \")),i.type===\"wikiLink\"&&(l.value=i.value.trim().replace(/[\\t\\n]+/g,\" \")),(i.type===\"definition\"||i.type===\"linkReference\"||i.type===\"imageReference\")&&(l.label=t(i.label)),(i.type===\"definition\"||i.type===\"link\"||i.type===\"image\")&&i.title&&(l.title=i.title.replace(/\\\\([\"')])/g,\"$1\")),p&&p.type===\"root\"&&p.children.length>0&&(p.children[0]===i||s(p.children[0])&&p.children[1]===i)&&i.type===\"html\"&&a(i.value)))return null}u.ignoredProperties=n,r.exports=u;}}),fg=te({\"src/language-markdown/printer-markdown.js\"(e,r){ne();var t=Po(),{getLast:s,getMinNotPresentContinuousCount:a,getMaxContinuousCount:n,getStringWidth:u,isNonEmptyArray:i}=Ue(),{builders:{breakParent:l,join:p,line:y,literalline:h,markAsRoot:g,hardline:c,softline:f,ifBreak:F,fill:_,align:w,indent:E,group:N,hardlineWithoutBreakParent:x},utils:{normalizeDoc:I,replaceTextEndOfLine:P},printer:{printDocToString:$}}=qe(),D=lg(),{insertPragma:T}=ko(),{locStart:m,locEnd:C}=Io(),o=cg(),d=pg(),{getFencedCodeBlockValue:v,hasGitDiffFriendlyOrderedList:S,splitText:b,punctuationPattern:B,INLINE_NODE_TYPES:k,INLINE_NODE_WRAPPER_TYPES:M,isAutolink:R}=iu(),q=new Set([\"importExport\"]),J=[\"heading\",\"tableCell\",\"link\",\"wikiLink\"],L=new Set([\"listItem\",\"definition\",\"footnoteDefinition\"]);function Q(oe,H,pe){let X=oe.getValue();if(ge(oe))return b(H.originalText.slice(X.position.start.offset,X.position.end.offset),H).map(le=>le.type===\"word\"?le.value:le.value===\"\"?\"\":W(oe,le.value,H));switch(X.type){case\"front-matter\":return H.originalText.slice(X.position.start.offset,X.position.end.offset);case\"root\":return X.children.length===0?\"\":[I(de(oe,H,pe)),q.has(z(X).type)?\"\":c];case\"paragraph\":return ue(oe,H,pe,{postprocessor:_});case\"sentence\":return ue(oe,H,pe);case\"word\":{let le=X.value.replace(/\\*/g,\"\\\\$&\").replace(new RegExp([`(^|${B})(_+)`,`(_+)(${B}|$)`].join(\"|\"),\"g\"),(De,A,G,re,ye)=>(G?`${A}${G}`:`${re}${ye}`).replace(/_/g,\"\\\\_\")),Ae=(De,A,G)=>De.type===\"sentence\"&&G===0,Ee=(De,A,G)=>R(De.children[G-1]);return le!==X.value&&(oe.match(void 0,Ae,Ee)||oe.match(void 0,Ae,(De,A,G)=>De.type===\"emphasis\"&&G===0,Ee))&&(le=le.replace(/^(\\\\?[*_])+/,De=>De.replace(/\\\\/g,\"\"))),le}case\"whitespace\":{let le=oe.getParentNode(),Ae=le.children.indexOf(X),Ee=le.children[Ae+1],De=Ee&&/^>|^(?:[*+-]|#{1,6}|\\d+[).])$/.test(Ee.value)?\"never\":H.proseWrap;return W(oe,X.value,{proseWrap:De})}case\"emphasis\":{let le;if(R(X.children[0]))le=H.originalText[X.position.start.offset];else {let Ae=oe.getParentNode(),Ee=Ae.children.indexOf(X),De=Ae.children[Ee-1],A=Ae.children[Ee+1];le=De&&De.type===\"sentence\"&&De.children.length>0&&s(De.children).type===\"word\"&&!s(De.children).hasTrailingPunctuation||A&&A.type===\"sentence\"&&A.children.length>0&&A.children[0].type===\"word\"&&!A.children[0].hasLeadingPunctuation||ce(oe,\"emphasis\")?\"*\":\"_\";}return [le,ue(oe,H,pe),le]}case\"strong\":return [\"**\",ue(oe,H,pe),\"**\"];case\"delete\":return [\"~~\",ue(oe,H,pe),\"~~\"];case\"inlineCode\":{let le=a(X.value,\"`\"),Ae=\"`\".repeat(le||1),Ee=le&&!/^\\s/.test(X.value)?\" \":\"\";return [Ae,Ee,X.value,Ee,Ae]}case\"wikiLink\":{let le=\"\";return H.proseWrap===\"preserve\"?le=X.value:le=X.value.replace(/[\\t\\n]+/g,\" \"),[\"[[\",le,\"]]\"]}case\"link\":switch(H.originalText[X.position.start.offset]){case\"<\":{let le=\"mailto:\";return [\"<\",X.url.startsWith(le)&&H.originalText.slice(X.position.start.offset+1,X.position.start.offset+1+le.length)!==le?X.url.slice(le.length):X.url,\">\"]}case\"[\":return [\"[\",ue(oe,H,pe),\"](\",he(X.url,\")\"),we(X.title,H),\")\"];default:return H.originalText.slice(X.position.start.offset,X.position.end.offset)}case\"image\":return [\"![\",X.alt||\"\",\"](\",he(X.url,\")\"),we(X.title,H),\")\"];case\"blockquote\":return [\"> \",w(\"> \",ue(oe,H,pe))];case\"heading\":return [\"#\".repeat(X.depth)+\" \",ue(oe,H,pe)];case\"code\":{if(X.isIndented){let Ee=\" \".repeat(4);return w(Ee,[Ee,...P(X.value,c)])}let le=H.__inJsTemplate?\"~\":\"`\",Ae=le.repeat(Math.max(3,n(X.value,le)+1));return [Ae,X.lang||\"\",X.meta?\" \"+X.meta:\"\",c,...P(v(X,H.originalText),c),c,Ae]}case\"html\":{let le=oe.getParentNode(),Ae=le.type===\"root\"&&s(le.children)===X?X.value.trimEnd():X.value,Ee=/^$/s.test(Ae);return P(Ae,Ee?c:g(h))}case\"list\":{let le=Y(X,oe.getParentNode()),Ae=S(X,H);return ue(oe,H,pe,{processor:(Ee,De)=>{let A=re(),G=Ee.getValue();if(G.children.length===2&&G.children[1].type===\"html\"&&G.children[0].position.start.column!==G.children[1].position.start.column)return [A,V(Ee,H,pe,A)];return [A,w(\" \".repeat(A.length),V(Ee,H,pe,A))];function re(){let ye=X.ordered?(De===0?X.start:Ae?1:X.start+De)+(le%2===0?\". \":\") \"):le%2===0?\"- \":\"* \";return X.isAligned||X.hasIndentedCodeblock?j(ye,H):ye}}})}case\"thematicBreak\":{let le=ee(oe,\"list\");return le===-1?\"---\":Y(oe.getParentNode(le),oe.getParentNode(le+1))%2===0?\"***\":\"---\"}case\"linkReference\":return [\"[\",ue(oe,H,pe),\"]\",X.referenceType===\"full\"?Ne(X):X.referenceType===\"collapsed\"?\"[]\":\"\"];case\"imageReference\":switch(X.referenceType){case\"full\":return [\"![\",X.alt||\"\",\"]\",Ne(X)];default:return [\"![\",X.alt,\"]\",X.referenceType===\"collapsed\"?\"[]\":\"\"]}case\"definition\":{let le=H.proseWrap===\"always\"?y:\" \";return N([Ne(X),\":\",E([le,he(X.url),X.title===null?\"\":[le,we(X.title,H,!1)]])])}case\"footnote\":return [\"[^\",ue(oe,H,pe),\"]\"];case\"footnoteReference\":return Pe(X);case\"footnoteDefinition\":{let le=oe.getParentNode().children[oe.getName()+1],Ae=X.children.length===1&&X.children[0].type===\"paragraph\"&&(H.proseWrap===\"never\"||H.proseWrap===\"preserve\"&&X.children[0].position.start.line===X.children[0].position.end.line);return [Pe(X),\": \",Ae?ue(oe,H,pe):N([w(\" \".repeat(4),ue(oe,H,pe,{processor:(Ee,De)=>De===0?N([f,pe()]):pe()})),le&&le.type===\"footnoteDefinition\"?f:\"\"])]}case\"table\":return K(oe,H,pe);case\"tableCell\":return ue(oe,H,pe);case\"break\":return /\\s/.test(H.originalText[X.position.start.offset])?[\" \",g(h)]:[\"\\\\\",c];case\"liquidNode\":return P(X.value,c);case\"importExport\":return [X.value,c];case\"esComment\":return [\"{/* \",X.value,\" */}\"];case\"jsx\":return X.value;case\"math\":return [\"$$\",c,X.value?[...P(X.value,c),c]:\"\",\"$$\"];case\"inlineMath\":return H.originalText.slice(m(X),C(X));case\"tableRow\":case\"listItem\":default:throw new Error(`Unknown markdown type ${JSON.stringify(X.type)}`)}}function V(oe,H,pe,X){let le=oe.getValue(),Ae=le.checked===null?\"\":le.checked?\"[x] \":\"[ ] \";return [Ae,ue(oe,H,pe,{processor:(Ee,De)=>{if(De===0&&Ee.getValue().type!==\"list\")return w(\" \".repeat(Ae.length),pe());let A=\" \".repeat(ke(H.tabWidth-X.length,0,3));return [A,w(A,pe())]}})]}function j(oe,H){let pe=X();return oe+\" \".repeat(pe>=4?0:pe);function X(){let le=oe.length%H.tabWidth;return le===0?0:H.tabWidth-le}}function Y(oe,H){return ie(oe,H,pe=>pe.ordered===oe.ordered)}function ie(oe,H,pe){let X=-1;for(let le of H.children)if(le.type===oe.type&&pe(le)?X++:X=-1,le===oe)return X}function ee(oe,H){let pe=Array.isArray(H)?H:[H],X=-1,le;for(;le=oe.getParentNode(++X);)if(pe.includes(le.type))return X;return -1}function ce(oe,H){let pe=ee(oe,H);return pe===-1?null:oe.getParentNode(pe)}function W(oe,H,pe){if(pe.proseWrap===\"preserve\"&&H===`\n`)return c;let X=pe.proseWrap===\"always\"&&!ce(oe,J);return H!==\"\"?X?y:\" \":X?f:\"\"}function K(oe,H,pe){let X=oe.getValue(),le=[],Ae=oe.map(ye=>ye.map((Ce,Be)=>{let ve=$(pe(),H).formatted,ze=u(ve);return le[Be]=Math.max(le[Be]||3,ze),{text:ve,width:ze}},\"children\"),\"children\"),Ee=A(!1);if(H.proseWrap!==\"never\")return [l,Ee];let De=A(!0);return [l,N(F(De,Ee))];function A(ye){let Ce=[re(Ae[0],ye),G(ye)];return Ae.length>1&&Ce.push(p(x,Ae.slice(1).map(Be=>re(Be,ye)))),p(x,Ce)}function G(ye){return `| ${le.map((Be,ve)=>{let ze=X.align[ve],be=ze===\"center\"||ze===\"left\"?\":\":\"-\",Ye=ze===\"center\"||ze===\"right\"?\":\":\"-\",Se=ye?\"-\":\"-\".repeat(Be-2);return `${be}${Se}${Ye}`}).join(\" | \")} |`}function re(ye,Ce){return `| ${ye.map((ve,ze)=>{let{text:be,width:Ye}=ve;if(Ce)return be;let Se=le[ze]-Ye,Ie=X.align[ze],Oe=0;Ie===\"right\"?Oe=Se:Ie===\"center\"&&(Oe=Math.floor(Se/2));let Je=Se-Oe;return `${\" \".repeat(Oe)}${be}${\" \".repeat(Je)}`}).join(\" | \")} |`}}function de(oe,H,pe){let X=[],le=null,{children:Ae}=oe.getValue();for(let[Ee,De]of Ae.entries())switch(U(De)){case\"start\":le===null&&(le={index:Ee,offset:De.position.end.offset});break;case\"end\":le!==null&&(X.push({start:le,end:{index:Ee,offset:De.position.start.offset}}),le=null);break;}return ue(oe,H,pe,{processor:(Ee,De)=>{if(X.length>0){let A=X[0];if(De===A.start.index)return [Fe(Ae[A.start.index]),H.originalText.slice(A.start.offset,A.end.offset),Fe(Ae[A.end.index])];if(A.start.index3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:le}=X,Ae=X.processor||(()=>pe()),Ee=oe.getValue(),De=[],A;return oe.each((G,re)=>{let ye=G.getValue(),Ce=Ae(G,re);if(Ce!==!1){let Be={parts:De,prevNode:A,parentNode:Ee,options:H};Z(ye,Be)&&(De.push(c),A&&q.has(A.type)||(se(ye,Be)||fe(ye,Be))&&De.push(c),fe(ye,Be)&&De.push(c)),De.push(Ce),A=ye;}},\"children\"),le?le(De):De}function Fe(oe){if(oe.type===\"html\")return oe.value;if(oe.type===\"paragraph\"&&Array.isArray(oe.children)&&oe.children.length===1&&oe.children[0].type===\"esComment\")return [\"{/* \",oe.children[0].value,\" */}\"]}function z(oe){let H=oe;for(;i(H.children);)H=s(H.children);return H}function U(oe){let H;if(oe.type===\"html\")H=oe.value.match(/^$/);else {let pe;oe.type===\"esComment\"?pe=oe:oe.type===\"paragraph\"&&oe.children.length===1&&oe.children[0].type===\"esComment\"&&(pe=oe.children[0]),pe&&(H=pe.value.match(/^prettier-ignore(?:-(start|end))?$/));}return H?H[1]||\"next\":!1}function Z(oe,H){let pe=H.parts.length===0,X=k.includes(oe.type),le=oe.type===\"html\"&&M.includes(H.parentNode.type);return !pe&&!X&&!le}function se(oe,H){var pe,X,le;let Ee=(H.prevNode&&H.prevNode.type)===oe.type&&L.has(oe.type),De=H.parentNode.type===\"listItem\"&&!H.parentNode.loose,A=((pe=H.prevNode)===null||pe===void 0?void 0:pe.type)===\"listItem\"&&H.prevNode.loose,G=U(H.prevNode)===\"next\",re=oe.type===\"html\"&&((X=H.prevNode)===null||X===void 0?void 0:X.type)===\"html\"&&H.prevNode.position.end.line+1===oe.position.start.line,ye=oe.type===\"html\"&&H.parentNode.type===\"listItem\"&&((le=H.prevNode)===null||le===void 0?void 0:le.type)===\"paragraph\"&&H.prevNode.position.end.line+1===oe.position.start.line;return A||!(Ee||De||G||re||ye)}function fe(oe,H){let pe=H.prevNode&&H.prevNode.type===\"list\",X=oe.type===\"code\"&&oe.isIndented;return pe&&X}function ge(oe){let H=ce(oe,[\"linkReference\",\"imageReference\"]);return H&&(H.type!==\"linkReference\"||H.referenceType!==\"full\")}function he(oe){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],pe=[\" \",...Array.isArray(H)?H:[H]];return new RegExp(pe.map(X=>`\\\\${X}`).join(\"|\")).test(oe)?`<${oe}>`:oe}function we(oe,H){let pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!oe)return \"\";if(pe)return \" \"+we(oe,H,!1);if(oe=oe.replace(/\\\\([\"')])/g,\"$1\"),oe.includes('\"')&&oe.includes(\"'\")&&!oe.includes(\")\"))return `(${oe})`;let X=oe.split(\"'\").length-1,le=oe.split('\"').length-1,Ae=X>le?'\"':le>X||H.singleQuote?\"'\":'\"';return oe=oe.replace(/\\\\/,\"\\\\\\\\\"),oe=oe.replace(new RegExp(`(${Ae})`,\"g\"),\"\\\\$1\"),`${Ae}${oe}${Ae}`}function ke(oe,H,pe){return oepe?pe:oe}function Re(oe){let H=Number(oe.getName());if(H===0)return !1;let pe=oe.getParentNode().children[H-1];return U(pe)===\"next\"}function Ne(oe){return `[${t(oe.label)}]`}function Pe(oe){return `[^${oe.label}]`}r.exports={preprocess:o,print:Q,embed:D,massageAstNode:d,hasPrettierIgnore:Re,insertPragma:T};}}),Dg=te({\"src/language-markdown/options.js\"(e,r){ne();var t=Mt();r.exports={proseWrap:t.proseWrap,singleQuote:t.singleQuote};}}),mg=te({\"src/language-markdown/parsers.js\"(){ne();}}),_a=te({\"node_modules/linguist-languages/data/Markdown.json\"(e,r){r.exports={name:\"Markdown\",type:\"prose\",color:\"#083fa1\",aliases:[\"pandoc\"],aceMode:\"markdown\",codemirrorMode:\"gfm\",codemirrorMimeType:\"text/x-gfm\",wrap:!0,extensions:[\".md\",\".livemd\",\".markdown\",\".mdown\",\".mdwn\",\".mdx\",\".mkd\",\".mkdn\",\".mkdown\",\".ronn\",\".scd\",\".workbook\"],filenames:[\"contents.lr\"],tmScope:\"source.gfm\",languageId:222};}}),dg=te({\"src/language-markdown/index.js\"(e,r){ne();var t=_t(),s=fg(),a=Dg(),n=mg(),u=[t(_a(),l=>({since:\"1.8.0\",parsers:[\"markdown\"],vscodeLanguageIds:[\"markdown\"],filenames:[...l.filenames,\"README\"],extensions:l.extensions.filter(p=>p!==\".mdx\")})),t(_a(),()=>({name:\"MDX\",since:\"1.15.0\",parsers:[\"mdx\"],vscodeLanguageIds:[\"mdx\"],filenames:[],extensions:[\".mdx\"]}))],i={mdast:s};r.exports={languages:u,options:a,printers:i,parsers:n};}}),gg=te({\"src/language-html/clean.js\"(e,r){ne();var{isFrontMatterNode:t}=Ue(),s=new Set([\"sourceSpan\",\"startSourceSpan\",\"endSourceSpan\",\"nameSpan\",\"valueSpan\"]);function a(n,u){if(n.type===\"text\"||n.type===\"comment\"||t(n)||n.type===\"yaml\"||n.type===\"toml\")return null;n.type===\"attribute\"&&delete u.value,n.type===\"docType\"&&delete u.value;}a.ignoredProperties=s,r.exports=a;}}),yg=te({\"src/language-html/constants.evaluate.js\"(e,r){r.exports={CSS_DISPLAY_TAGS:{area:\"none\",base:\"none\",basefont:\"none\",datalist:\"none\",head:\"none\",link:\"none\",meta:\"none\",noembed:\"none\",noframes:\"none\",param:\"block\",rp:\"none\",script:\"block\",source:\"block\",style:\"none\",template:\"inline\",track:\"block\",title:\"none\",html:\"block\",body:\"block\",address:\"block\",blockquote:\"block\",center:\"block\",div:\"block\",figure:\"block\",figcaption:\"block\",footer:\"block\",form:\"block\",header:\"block\",hr:\"block\",legend:\"block\",listing:\"block\",main:\"block\",p:\"block\",plaintext:\"block\",pre:\"block\",xmp:\"block\",slot:\"contents\",ruby:\"ruby\",rt:\"ruby-text\",article:\"block\",aside:\"block\",h1:\"block\",h2:\"block\",h3:\"block\",h4:\"block\",h5:\"block\",h6:\"block\",hgroup:\"block\",nav:\"block\",section:\"block\",dir:\"block\",dd:\"block\",dl:\"block\",dt:\"block\",ol:\"block\",ul:\"block\",li:\"list-item\",table:\"table\",caption:\"table-caption\",colgroup:\"table-column-group\",col:\"table-column\",thead:\"table-header-group\",tbody:\"table-row-group\",tfoot:\"table-footer-group\",tr:\"table-row\",td:\"table-cell\",th:\"table-cell\",fieldset:\"block\",button:\"inline-block\",details:\"block\",summary:\"block\",dialog:\"block\",meter:\"inline-block\",progress:\"inline-block\",object:\"inline-block\",video:\"inline-block\",audio:\"inline-block\",select:\"inline-block\",option:\"block\",optgroup:\"block\"},CSS_DISPLAY_DEFAULT:\"inline\",CSS_WHITE_SPACE_TAGS:{listing:\"pre\",plaintext:\"pre\",pre:\"pre\",xmp:\"pre\",nobr:\"nowrap\",table:\"initial\",textarea:\"pre-wrap\"},CSS_WHITE_SPACE_DEFAULT:\"normal\"};}}),hg=te({\"src/language-html/utils/is-unknown-namespace.js\"(e,r){ne();function t(s){return s.type===\"element\"&&!s.hasExplicitNamespace&&![\"html\",\"svg\"].includes(s.namespace)}r.exports=t;}}),Rt=te({\"src/language-html/utils/index.js\"(e,r){ne();var{inferParserByLanguage:t,isFrontMatterNode:s}=Ue(),{builders:{line:a,hardline:n,join:u},utils:{getDocParts:i,replaceTextEndOfLine:l}}=qe(),{CSS_DISPLAY_TAGS:p,CSS_DISPLAY_DEFAULT:y,CSS_WHITE_SPACE_TAGS:h,CSS_WHITE_SPACE_DEFAULT:g}=yg(),c=hg(),f=new Set([\"\t\",`\n`,\"\\f\",\"\\r\",\" \"]),F=A=>A.replace(/^[\\t\\n\\f\\r ]+/,\"\"),_=A=>A.replace(/[\\t\\n\\f\\r ]+$/,\"\"),w=A=>F(_(A)),E=A=>A.replace(/^[\\t\\f\\r ]*\\n/g,\"\"),N=A=>E(_(A)),x=A=>A.split(/[\\t\\n\\f\\r ]+/),I=A=>A.match(/^[\\t\\n\\f\\r ]*/)[0],P=A=>{let[,G,re,ye]=A.match(/^([\\t\\n\\f\\r ]*)(.*?)([\\t\\n\\f\\r ]*)$/s);return {leadingWhitespace:G,trailingWhitespace:ye,text:re}},$=A=>/[\\t\\n\\f\\r ]/.test(A);function D(A,G){return !!(A.type===\"ieConditionalComment\"&&A.lastChild&&!A.lastChild.isSelfClosing&&!A.lastChild.endSourceSpan||A.type===\"ieConditionalComment\"&&!A.complete||se(A)&&A.children.some(re=>re.type!==\"text\"&&re.type!==\"interpolation\")||X(A,G)&&!o(A)&&A.type!==\"interpolation\")}function T(A){return A.type===\"attribute\"||!A.parent||!A.prev?!1:m(A.prev)}function m(A){return A.type===\"comment\"&&A.value.trim()===\"prettier-ignore\"}function C(A){return A.type===\"text\"||A.type===\"comment\"}function o(A){return A.type===\"element\"&&(A.fullName===\"script\"||A.fullName===\"style\"||A.fullName===\"svg:style\"||c(A)&&(A.name===\"script\"||A.name===\"style\"))}function d(A){return A.children&&!o(A)}function v(A){return o(A)||A.type===\"interpolation\"||S(A)}function S(A){return we(A).startsWith(\"pre\")}function b(A,G){let re=ye();if(re&&!A.prev&&A.parent&&A.parent.tagDefinition&&A.parent.tagDefinition.ignoreFirstLf)return A.type===\"interpolation\";return re;function ye(){return s(A)?!1:(A.type===\"text\"||A.type===\"interpolation\")&&A.prev&&(A.prev.type===\"text\"||A.prev.type===\"interpolation\")?!0:!A.parent||A.parent.cssDisplay===\"none\"?!1:se(A.parent)?!0:!(!A.prev&&(A.parent.type===\"root\"||se(A)&&A.parent||o(A.parent)||H(A.parent,G)||!ue(A.parent.cssDisplay))||A.prev&&!U(A.prev.cssDisplay))}}function B(A,G){return s(A)?!1:(A.type===\"text\"||A.type===\"interpolation\")&&A.next&&(A.next.type===\"text\"||A.next.type===\"interpolation\")?!0:!A.parent||A.parent.cssDisplay===\"none\"?!1:se(A.parent)?!0:!(!A.next&&(A.parent.type===\"root\"||se(A)&&A.parent||o(A.parent)||H(A.parent,G)||!Fe(A.parent.cssDisplay))||A.next&&!z(A.next.cssDisplay))}function k(A){return Z(A.cssDisplay)&&!o(A)}function M(A){return s(A)||A.next&&A.sourceSpan.end&&A.sourceSpan.end.line+10&&([\"body\",\"script\",\"style\"].includes(A.name)||A.children.some(G=>ee(G)))||A.firstChild&&A.firstChild===A.lastChild&&A.firstChild.type!==\"text\"&&V(A.firstChild)&&(!A.lastChild.isTrailingSpaceSensitive||j(A.lastChild))}function q(A){return A.type===\"element\"&&A.children.length>0&&([\"html\",\"head\",\"ul\",\"ol\",\"select\"].includes(A.name)||A.cssDisplay.startsWith(\"table\")&&A.cssDisplay!==\"table-cell\")}function J(A){return Y(A)||A.prev&&L(A.prev)||Q(A)}function L(A){return Y(A)||A.type===\"element\"&&A.fullName===\"br\"||Q(A)}function Q(A){return V(A)&&j(A)}function V(A){return A.hasLeadingSpaces&&(A.prev?A.prev.sourceSpan.end.lineA.sourceSpan.end.line:A.parent.type===\"root\"||A.parent.endSourceSpan&&A.parent.endSourceSpan.start.line>A.sourceSpan.end.line)}function Y(A){switch(A.type){case\"ieConditionalComment\":case\"comment\":case\"directive\":return !0;case\"element\":return [\"script\",\"select\"].includes(A.name)}return !1}function ie(A){return A.lastChild?ie(A.lastChild):A}function ee(A){return A.children&&A.children.some(G=>G.type!==\"text\")}function ce(A){let{type:G,lang:re}=A.attrMap;if(G===\"module\"||G===\"text/javascript\"||G===\"text/babel\"||G===\"application/javascript\"||re===\"jsx\")return \"babel\";if(G===\"application/x-typescript\"||re===\"ts\"||re===\"tsx\")return \"typescript\";if(G===\"text/markdown\")return \"markdown\";if(G===\"text/html\")return \"html\";if(G&&(G.endsWith(\"json\")||G.endsWith(\"importmap\"))||G===\"speculationrules\")return \"json\";if(G===\"text/x-handlebars-template\")return \"glimmer\"}function W(A,G){let{lang:re}=A.attrMap;if(!re||re===\"postcss\"||re===\"css\")return \"css\";if(re===\"scss\")return \"scss\";if(re===\"less\")return \"less\";if(re===\"stylus\")return t(\"stylus\",G)}function K(A,G){if(A.name===\"script\"&&!A.attrMap.src)return !A.attrMap.lang&&!A.attrMap.type?\"babel\":ce(A);if(A.name===\"style\")return W(A,G);if(G&&X(A,G))return ce(A)||!(\"src\"in A.attrMap)&&t(A.attrMap.lang,G)}function de(A){return A===\"block\"||A===\"list-item\"||A.startsWith(\"table\")}function ue(A){return !de(A)&&A!==\"inline-block\"}function Fe(A){return !de(A)&&A!==\"inline-block\"}function z(A){return !de(A)}function U(A){return !de(A)}function Z(A){return !de(A)&&A!==\"inline-block\"}function se(A){return we(A).startsWith(\"pre\")}function fe(A,G){let re=0;for(let ye=A.stack.length-1;ye>=0;ye--){let Ce=A.stack[ye];Ce&&typeof Ce==\"object\"&&!Array.isArray(Ce)&&G(Ce)&&re++;}return re}function ge(A,G){let re=A;for(;re;){if(G(re))return !0;re=re.parent;}return !1}function he(A,G){if(A.prev&&A.prev.type===\"comment\"){let ye=A.prev.value.match(/^\\s*display:\\s*([a-z]+)\\s*$/);if(ye)return ye[1]}let re=!1;if(A.type===\"element\"&&A.namespace===\"svg\")if(ge(A,ye=>ye.fullName===\"svg:foreignObject\"))re=!0;else return A.name===\"svg\"?\"inline-block\":\"block\";switch(G.htmlWhitespaceSensitivity){case\"strict\":return \"inline\";case\"ignore\":return \"block\";default:return G.parser===\"vue\"&&A.parent&&A.parent.type===\"root\"?\"block\":A.type===\"element\"&&(!A.namespace||re||c(A))&&p[A.name]||y}}function we(A){return A.type===\"element\"&&(!A.namespace||c(A))&&h[A.name]||g}function ke(A){let G=Number.POSITIVE_INFINITY;for(let re of A.split(`\n`)){if(re.length===0)continue;if(!f.has(re[0]))return 0;let ye=I(re).length;re.length!==ye&&ye1&&arguments[1]!==void 0?arguments[1]:ke(A);return G===0?A:A.split(`\n`).map(re=>re.slice(G)).join(`\n`)}function Ne(A,G){let re=0;for(let ye=0;ye1&&arguments[1]!==void 0?arguments[1]:A.value;return A.parent.isWhitespaceSensitive?A.parent.isIndentationSensitive?l(G):l(Re(N(G)),n):i(u(a,x(G)))}function De(A,G){return pe(A,G)&&A.name===\"script\"}r.exports={htmlTrim:w,htmlTrimPreserveIndentation:N,hasHtmlWhitespace:$,getLeadingAndTrailingHtmlWhitespace:P,canHaveInterpolation:d,countChars:Ne,countParents:fe,dedentString:Re,forceBreakChildren:q,forceBreakContent:R,forceNextEmptyLine:M,getLastDescendant:ie,getNodeCssStyleDisplay:he,getNodeCssStyleWhiteSpace:we,hasPrettierIgnore:T,inferScriptParser:K,isVueCustomBlock:H,isVueNonHtmlBlock:X,isVueScriptTag:De,isVueSlotAttribute:le,isVueSfcBindingsAttribute:Ae,isVueSfcBlock:pe,isDanglingSpaceSensitiveNode:k,isIndentationSensitiveNode:S,isLeadingSpaceSensitiveNode:b,isPreLikeNode:se,isScriptLikeTag:o,isTextLikeNode:C,isTrailingSpaceSensitiveNode:B,isWhitespaceSensitiveNode:v,isUnknownNamespace:c,preferHardlineAsLeadingSpaces:J,preferHardlineAsTrailingSpaces:L,shouldPreserveContent:D,unescapeQuoteEntities:Pe,getTextValueParts:Ee};}}),vg=te({\"node_modules/angular-html-parser/lib/compiler/src/chars.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96;function r(i){return i>=e.$TAB&&i<=e.$SPACE||i==e.$NBSP}e.isWhitespace=r;function t(i){return e.$0<=i&&i<=e.$9}e.isDigit=t;function s(i){return i>=e.$a&&i<=e.$z||i>=e.$A&&i<=e.$Z}e.isAsciiLetter=s;function a(i){return i>=e.$a&&i<=e.$f||i>=e.$A&&i<=e.$F||t(i)}e.isAsciiHexDigit=a;function n(i){return i===e.$LF||i===e.$CR}e.isNewLine=n;function u(i){return e.$0<=i&&i<=e.$7}e.isOctalDigit=u;}}),Cg=te({\"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=class{constructor(s,a,n){this.filePath=s,this.name=a,this.members=n;}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=r;var t=class{constructor(){this.cache=new Map;}get(s,a,n){n=n||[];let u=n.length?`.${n.join(\".\")}`:\"\",i=`\"${s}\".${a}${u}`,l=this.cache.get(i);return l||(l=new r(s,a,n),this.cache.set(i,l)),l}};e.StaticSymbolCache=t;}}),Eg=te({\"node_modules/angular-html-parser/lib/compiler/src/util.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=/-+([a-z0-9])/g;function t(o){return o.replace(r,function(){for(var d=arguments.length,v=new Array(d),S=0;Su(v,this,d))}visitStringMap(o,d){let v={};return Object.keys(o).forEach(S=>{v[S]=u(o[S],this,d);}),v}visitPrimitive(o,d){return o}visitOther(o,d){return o}};e.ValueTransformer=p,e.SyncAsync={assertSync:o=>{if(P(o))throw new Error(\"Illegal state: value cannot be a promise\");return o},then:(o,d)=>P(o)?o.then(d):d(o),all:o=>o.some(P)?Promise.all(o):o};function y(o){throw new Error(`Internal Error: ${o}`)}e.error=y;function h(o,d){let v=Error(o);return v[g]=!0,d&&(v[c]=d),v}e.syntaxError=h;var g=\"ngSyntaxError\",c=\"ngParseErrors\";function f(o){return o[g]}e.isSyntaxError=f;function F(o){return o[c]||[]}e.getParseErrors=F;function _(o){return o.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g,\"\\\\$1\")}e.escapeRegExp=_;var w=Object.getPrototypeOf({});function E(o){return typeof o==\"object\"&&o!==null&&Object.getPrototypeOf(o)===w}function N(o){let d=\"\";for(let v=0;v=55296&&S<=56319&&o.length>v+1){let b=o.charCodeAt(v+1);b>=56320&&b<=57343&&(v++,S=(S-55296<<10)+b-56320+65536);}S<=127?d+=String.fromCharCode(S):S<=2047?d+=String.fromCharCode(S>>6&31|192,S&63|128):S<=65535?d+=String.fromCharCode(S>>12|224,S>>6&63|128,S&63|128):S<=2097151&&(d+=String.fromCharCode(S>>18&7|240,S>>12&63|128,S>>6&63|128,S&63|128));}return d}e.utf8Encode=N;function x(o){if(typeof o==\"string\")return o;if(o instanceof Array)return \"[\"+o.map(x).join(\", \")+\"]\";if(o==null)return \"\"+o;if(o.overriddenName)return `${o.overriddenName}`;if(o.name)return `${o.name}`;if(!o.toString)return \"object\";let d=o.toString();if(d==null)return \"\"+d;let v=d.indexOf(`\n`);return v===-1?d:d.substring(0,v)}e.stringify=x;function I(o){return typeof o==\"function\"&&o.hasOwnProperty(\"__forward_ref__\")?o():o}e.resolveForwardRef=I;function P(o){return !!o&&typeof o.then==\"function\"}e.isPromise=P;var $=class{constructor(o){this.full=o;let d=o.split(\".\");this.major=d[0],this.minor=d[1],this.patch=d.slice(2).join(\".\");}};e.Version=$;var D=typeof window<\"u\"&&window,T=typeof self<\"u\"&&typeof WorkerGlobalScope<\"u\"&&self instanceof WorkerGlobalScope&&self,m=typeof globalThis<\"u\"&&globalThis,C=m||D||T;e.global=C;}}),Fg=te({\"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=Cg(),t=Eg(),s=/^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))|(\\@[-\\w]+)$/;function a(v){return v.replace(/\\W/g,\"_\")}e.sanitizeIdentifier=a;var n=0;function u(v){if(!v||!v.reference)return null;let S=v.reference;if(S instanceof r.StaticSymbol)return S.name;if(S.__anonymousType)return S.__anonymousType;let b=t.stringify(S);return b.indexOf(\"(\")>=0?(b=`anonymous_${n++}`,S.__anonymousType=b):b=a(b),b}e.identifierName=u;function i(v){let S=v.reference;return S instanceof r.StaticSymbol?S.filePath:`./${t.stringify(S)}`}e.identifierModuleUrl=i;function l(v,S){return `View_${u({reference:v})}_${S}`}e.viewClassName=l;function p(v){return `RenderType_${u({reference:v})}`}e.rendererTypeName=p;function y(v){return `HostView_${u({reference:v})}`}e.hostViewClassName=y;function h(v){return `${u({reference:v})}NgFactory`}e.componentFactoryName=h;var g;(function(v){v[v.Pipe=0]=\"Pipe\",v[v.Directive=1]=\"Directive\",v[v.NgModule=2]=\"NgModule\",v[v.Injectable=3]=\"Injectable\";})(g=e.CompileSummaryKind||(e.CompileSummaryKind={}));function c(v){return v.value!=null?a(v.value):u(v.identifier)}e.tokenName=c;function f(v){return v.identifier!=null?v.identifier.reference:v.value}e.tokenReference=f;var F=class{constructor(){let{moduleUrl:v,styles:S,styleUrls:b}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=v||null,this.styles=P(S),this.styleUrls=P(b);}};e.CompileStylesheetMetadata=F;var _=class{constructor(v){let{encapsulation:S,template:b,templateUrl:B,htmlAst:k,styles:M,styleUrls:R,externalStylesheets:q,animations:J,ngContentSelectors:L,interpolation:Q,isInline:V,preserveWhitespaces:j}=v;if(this.encapsulation=S,this.template=b,this.templateUrl=B,this.htmlAst=k,this.styles=P(M),this.styleUrls=P(R),this.externalStylesheets=P(q),this.animations=J?D(J):[],this.ngContentSelectors=L||[],Q&&Q.length!=2)throw new Error(\"'interpolation' should have a start and an end symbol.\");this.interpolation=Q,this.isInline=V,this.preserveWhitespaces=j;}toSummary(){return {ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=_;var w=class{static create(v){let{isHost:S,type:b,isComponent:B,selector:k,exportAs:M,changeDetection:R,inputs:q,outputs:J,host:L,providers:Q,viewProviders:V,queries:j,guards:Y,viewQueries:ie,entryComponents:ee,template:ce,componentViewType:W,rendererType:K,componentFactory:de}=v,ue={},Fe={},z={};L!=null&&Object.keys(L).forEach(se=>{let fe=L[se],ge=se.match(s);ge===null?z[se]=fe:ge[1]!=null?Fe[ge[1]]=fe:ge[2]!=null&&(ue[ge[2]]=fe);});let U={};q?.forEach(se=>{let fe=t.splitAtColon(se,[se,se]);U[fe[0]]=fe[1];});let Z={};return J?.forEach(se=>{let fe=t.splitAtColon(se,[se,se]);Z[fe[0]]=fe[1];}),new w({isHost:S,type:b,isComponent:!!B,selector:k,exportAs:M,changeDetection:R,inputs:U,outputs:Z,hostListeners:ue,hostProperties:Fe,hostAttributes:z,providers:Q,viewProviders:V,queries:j,guards:Y,viewQueries:ie,entryComponents:ee,template:ce,componentViewType:W,rendererType:K,componentFactory:de})}constructor(v){let{isHost:S,type:b,isComponent:B,selector:k,exportAs:M,changeDetection:R,inputs:q,outputs:J,hostListeners:L,hostProperties:Q,hostAttributes:V,providers:j,viewProviders:Y,queries:ie,guards:ee,viewQueries:ce,entryComponents:W,template:K,componentViewType:de,rendererType:ue,componentFactory:Fe}=v;this.isHost=!!S,this.type=b,this.isComponent=B,this.selector=k,this.exportAs=M,this.changeDetection=R,this.inputs=q,this.outputs=J,this.hostListeners=L,this.hostProperties=Q,this.hostAttributes=V,this.providers=P(j),this.viewProviders=P(Y),this.queries=P(ie),this.guards=ee,this.viewQueries=P(ce),this.entryComponents=P(W),this.template=K,this.componentViewType=de,this.rendererType=ue,this.componentFactory=Fe;}toSummary(){return {summaryKind:g.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=w;var E=class{constructor(v){let{type:S,name:b,pure:B}=v;this.type=S,this.name=b,this.pure=!!B;}toSummary(){return {summaryKind:g.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=E;var N=class{};e.CompileShallowModuleMetadata=N;var x=class{constructor(v){let{type:S,providers:b,declaredDirectives:B,exportedDirectives:k,declaredPipes:M,exportedPipes:R,entryComponents:q,bootstrapComponents:J,importedModules:L,exportedModules:Q,schemas:V,transitiveModule:j,id:Y}=v;this.type=S||null,this.declaredDirectives=P(B),this.exportedDirectives=P(k),this.declaredPipes=P(M),this.exportedPipes=P(R),this.providers=P(b),this.entryComponents=P(q),this.bootstrapComponents=P(J),this.importedModules=P(L),this.exportedModules=P(Q),this.schemas=P(V),this.id=Y||null,this.transitiveModule=j||null;}toSummary(){let v=this.transitiveModule;return {summaryKind:g.NgModule,type:this.type,entryComponents:v.entryComponents,providers:v.providers,modules:v.modules,exportedDirectives:v.exportedDirectives,exportedPipes:v.exportedPipes}}};e.CompileNgModuleMetadata=x;var I=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[];}addProvider(v,S){this.providers.push({provider:v,module:S});}addDirective(v){this.directivesSet.has(v.reference)||(this.directivesSet.add(v.reference),this.directives.push(v));}addExportedDirective(v){this.exportedDirectivesSet.has(v.reference)||(this.exportedDirectivesSet.add(v.reference),this.exportedDirectives.push(v));}addPipe(v){this.pipesSet.has(v.reference)||(this.pipesSet.add(v.reference),this.pipes.push(v));}addExportedPipe(v){this.exportedPipesSet.has(v.reference)||(this.exportedPipesSet.add(v.reference),this.exportedPipes.push(v));}addModule(v){this.modulesSet.has(v.reference)||(this.modulesSet.add(v.reference),this.modules.push(v));}addEntryComponent(v){this.entryComponentsSet.has(v.componentType)||(this.entryComponentsSet.add(v.componentType),this.entryComponents.push(v));}};e.TransitiveCompileNgModuleMetadata=I;function P(v){return v||[]}var $=class{constructor(v,S){let{useClass:b,useValue:B,useExisting:k,useFactory:M,deps:R,multi:q}=S;this.token=v,this.useClass=b||null,this.useValue=B,this.useExisting=k,this.useFactory=M||null,this.dependencies=R||null,this.multi=!!q;}};e.ProviderMeta=$;function D(v){return v.reduce((S,b)=>{let B=Array.isArray(b)?D(b):b;return S.concat(B)},[])}e.flatten=D;function T(v){return v.replace(/(\\w+:\\/\\/[\\w:-]+)?(\\/+)?/,\"ng:///\")}function m(v,S,b){let B;return b.isInline?S.type.reference instanceof r.StaticSymbol?B=`${S.type.reference.filePath}.${S.type.reference.name}.html`:B=`${u(v)}/${u(S.type)}.html`:B=b.templateUrl,S.type.reference instanceof r.StaticSymbol?B:T(B)}e.templateSourceUrl=m;function C(v,S){let b=v.moduleUrl.split(/\\/\\\\/g),B=b[b.length-1];return T(`css/${S}${B}.ngstyle.js`)}e.sharedStylesheetJitUrl=C;function o(v){return T(`${u(v.type)}/module.ngfactory.js`)}e.ngModuleJitUrl=o;function d(v,S){return T(`${u(v)}/${u(S.type)}.ngfactory.js`)}e.templateJitUrl=d;}}),Ag=te({\"node_modules/angular-html-parser/lib/compiler/src/parse_util.js\"(e){ne(),Object.defineProperty(e,\"__esModule\",{value:!0});var r=vg(),t=Fg(),s=class{constructor(y,h,g,c){this.file=y,this.offset=h,this.line=g,this.col=c;}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(y){let h=this.file.content,g=h.length,c=this.offset,f=this.line,F=this.col;for(;c>0&&y<0;)if(c--,y++,h.charCodeAt(c)==r.$LF){f--;let w=h.substr(0,c-1).lastIndexOf(String.fromCharCode(r.$LF));F=w>0?c-w:c;}else F--;for(;c0;){let _=h.charCodeAt(c);c++,y--,_==r.$LF?(f++,F=0):F++;}return new s(this.file,c,f,F)}getContext(y,h){let g=this.file.content,c=this.offset;if(c!=null){c>g.length-1&&(c=g.length-1);let f=c,F=0,_=0;for(;F0&&(c--,F++,!(g[c]==`\n`&&++_==h)););for(F=0,_=0;F2&&arguments[2]!==void 0?arguments[2]:null;this.start=y,this.end=h,this.details=g;}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=n,e.EMPTY_PARSE_LOCATION=new s(new a(\"\",\"\"),0,0,0),e.EMPTY_SOURCE_SPAN=new n(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION);var u;(function(y){y[y.WARNING=0]=\"WARNING\",y[y.ERROR=1]=\"ERROR\";})(u=e.ParseErrorLevel||(e.ParseErrorLevel={}));var i=class{constructor(y,h){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:u.ERROR;this.span=y,this.msg=h,this.level=g;}contextualMessage(){let y=this.span.start.getContext(100,3);return y?`${this.msg} (\"${y.before}[${u[this.level]} ->]${y.after}\")`:this.msg}toString(){let y=this.span.details?`, ${this.span.details}`:\"\";return `${this.contextualMessage()}: ${this.span.start}${y}`}};e.ParseError=i;function l(y,h){let g=t.identifierModuleUrl(h),c=g!=null?`in ${y} ${t.identifierName(h)} in ${g}`:`in ${y} ${t.identifierName(h)}`,f=new a(\"\",c);return new n(new s(f,-1,-1,-1),new s(f,-1,-1,-1))}e.typeSourceSpan=l;function p(y,h,g){let c=`in ${y} ${h} in ${g}`,f=new a(\"\",c);return new n(new s(f,-1,-1,-1),new s(f,-1,-1,-1))}e.r3JitTypeSourceSpan=p;}}),Sg=te({\"src/language-html/print-preprocess.js\"(e,r){ne();var{ParseSourceSpan:t}=Ag(),{htmlTrim:s,getLeadingAndTrailingHtmlWhitespace:a,hasHtmlWhitespace:n,canHaveInterpolation:u,getNodeCssStyleDisplay:i,isDanglingSpaceSensitiveNode:l,isIndentationSensitiveNode:p,isLeadingSpaceSensitiveNode:y,isTrailingSpaceSensitiveNode:h,isWhitespaceSensitiveNode:g,isVueScriptTag:c}=Rt(),f=[_,w,N,I,P,T,$,D,m,x,C];function F(o,d){for(let v of f)v(o,d);return o}function _(o){o.walk(d=>{if(d.type===\"element\"&&d.tagDefinition.ignoreFirstLf&&d.children.length>0&&d.children[0].type===\"text\"&&d.children[0].value[0]===`\n`){let v=d.children[0];v.value.length===1?d.removeChild(v):v.value=v.value.slice(1);}});}function w(o){let d=v=>v.type===\"element\"&&v.prev&&v.prev.type===\"ieConditionalStartComment\"&&v.prev.sourceSpan.end.offset===v.startSourceSpan.start.offset&&v.firstChild&&v.firstChild.type===\"ieConditionalEndComment\"&&v.firstChild.sourceSpan.start.offset===v.startSourceSpan.end.offset;o.walk(v=>{if(v.children)for(let S=0;S{if(S.children)for(let b=0;bd.type===\"cdata\",d=>``)}function x(o){let d=v=>v.type===\"element\"&&v.attrs.length===0&&v.children.length===1&&v.firstChild.type===\"text\"&&!n(v.children[0].value)&&!v.firstChild.hasLeadingSpaces&&!v.firstChild.hasTrailingSpaces&&v.isLeadingSpaceSensitive&&!v.hasLeadingSpaces&&v.isTrailingSpaceSensitive&&!v.hasTrailingSpaces&&v.prev&&v.prev.type===\"text\"&&v.next&&v.next.type===\"text\";o.walk(v=>{if(v.children)for(let S=0;S`+b.firstChild.value+``+k.value,B.sourceSpan=new t(B.sourceSpan.start,k.sourceSpan.end),B.isTrailingSpaceSensitive=k.isTrailingSpaceSensitive,B.hasTrailingSpaces=k.hasTrailingSpaces,v.removeChild(b),S--,v.removeChild(k);}});}function I(o,d){if(d.parser===\"html\")return;let v=/{{(.+?)}}/s;o.walk(S=>{if(u(S))for(let b of S.children){if(b.type!==\"text\")continue;let B=b.sourceSpan.start,k=null,M=b.value.split(v);for(let R=0;R0&&S.insertChildBefore(b,{type:\"text\",value:q,sourceSpan:new t(B,k)});continue}k=B.moveBy(q.length+4),S.insertChildBefore(b,{type:\"interpolation\",sourceSpan:new t(B,k),children:q.length===0?[]:[{type:\"text\",value:q,sourceSpan:new t(B.moveBy(2),k.moveBy(-2))}]});}S.removeChild(b);}});}function P(o){o.walk(d=>{if(!d.children)return;if(d.children.length===0||d.children.length===1&&d.children[0].type===\"text\"&&s(d.children[0].value).length===0){d.hasDanglingSpaces=d.children.length>0,d.children=[];return}let v=g(d),S=p(d);if(!v)for(let b=0;b{d.isSelfClosing=!d.children||d.type===\"element\"&&(d.tagDefinition.isVoid||d.startSourceSpan===d.endSourceSpan);});}function D(o,d){o.walk(v=>{v.type===\"element\"&&(v.hasHtmComponentClosingTag=v.endSourceSpan&&/^<\\s*\\/\\s*\\/\\s*>$/.test(d.originalText.slice(v.endSourceSpan.start.offset,v.endSourceSpan.end.offset)));});}function T(o,d){o.walk(v=>{v.cssDisplay=i(v,d);});}function m(o,d){o.walk(v=>{let{children:S}=v;if(S){if(S.length===0){v.isDanglingSpaceSensitive=l(v);return}for(let b of S)b.isLeadingSpaceSensitive=y(b,d),b.isTrailingSpaceSensitive=h(b,d);for(let b=0;bc(b,d));if(!v)return;let{lang:S}=v.attrMap;(S===\"ts\"||S===\"typescript\")&&(d.__should_parse_vue_template_with_ts=!0);}}r.exports=F;}}),xg=te({\"src/language-html/pragma.js\"(e,r){ne();function t(a){return /^\\s*/.test(a)}function s(a){return `\n\n`+a.replace(/^\\s*\\n/,\"\")}r.exports={hasPragma:t,insertPragma:s};}}),au=te({\"src/language-html/loc.js\"(e,r){ne();function t(a){return a.sourceSpan.start.offset}function s(a){return a.sourceSpan.end.offset}r.exports={locStart:t,locEnd:s};}}),ur=te({\"src/language-html/print/tag.js\"(e,r){ne();var t=Zt(),{isNonEmptyArray:s}=Ue(),{builders:{indent:a,join:n,line:u,softline:i,hardline:l},utils:{replaceTextEndOfLine:p}}=qe(),{locStart:y,locEnd:h}=au(),{isTextLikeNode:g,getLastDescendant:c,isPreLikeNode:f,hasPrettierIgnore:F,shouldPreserveContent:_,isVueSfcBlock:w}=Rt();function E(L,Q){return [L.isSelfClosing?\"\":N(L,Q),x(L,Q)]}function N(L,Q){return L.lastChild&&o(L.lastChild)?\"\":[I(L,Q),$(L,Q)]}function x(L,Q){return (L.next?m(L.next):C(L.parent))?\"\":[D(L,Q),P(L,Q)]}function I(L,Q){return C(L)?D(L.lastChild,Q):\"\"}function P(L,Q){return o(L)?$(L.parent,Q):d(L)?q(L.next):\"\"}function $(L,Q){if(t(!L.isSelfClosing),T(L,Q))return \"\";switch(L.type){case\"ieConditionalComment\":return \"\";case\"ieConditionalStartComment\":return \"]>\";case\"interpolation\":return \"}}\";case\"element\":if(L.isSelfClosing)return \"/>\";default:return \">\"}}function T(L,Q){return !L.isSelfClosing&&!L.endSourceSpan&&(F(L)||_(L.parent,Q))}function m(L){return L.prev&&L.prev.type!==\"docType\"&&!g(L.prev)&&L.isLeadingSpaceSensitive&&!L.hasLeadingSpaces}function C(L){return L.lastChild&&L.lastChild.isTrailingSpaceSensitive&&!L.lastChild.hasTrailingSpaces&&!g(c(L.lastChild))&&!f(L)}function o(L){return !L.next&&!L.hasTrailingSpaces&&L.isTrailingSpaceSensitive&&g(c(L))}function d(L){return L.next&&!g(L.next)&&g(L)&&L.isTrailingSpaceSensitive&&!L.hasTrailingSpaces}function v(L){let Q=L.trim().match(/^prettier-ignore-attribute(?:\\s+(.+))?$/s);return Q?Q[1]?Q[1].split(/\\s+/):!0:!1}function S(L){return !L.prev&&L.isLeadingSpaceSensitive&&!L.hasLeadingSpaces}function b(L,Q,V){let j=L.getValue();if(!s(j.attrs))return j.isSelfClosing?\" \":\"\";let Y=j.prev&&j.prev.type===\"comment\"&&v(j.prev.value),ie=typeof Y==\"boolean\"?()=>Y:Array.isArray(Y)?ue=>Y.includes(ue.rawName):()=>!1,ee=L.map(ue=>{let Fe=ue.getValue();return ie(Fe)?p(Q.originalText.slice(y(Fe),h(Fe))):V()},\"attrs\"),ce=j.type===\"element\"&&j.fullName===\"script\"&&j.attrs.length===1&&j.attrs[0].fullName===\"src\"&&j.children.length===0,K=Q.singleAttributePerLine&&j.attrs.length>1&&!w(j,Q)?l:u,de=[a([ce?\" \":u,n(K,ee)])];return j.firstChild&&S(j.firstChild)||j.isSelfClosing&&C(j.parent)||ce?de.push(j.isSelfClosing?\" \":\"\"):de.push(Q.bracketSameLine?j.isSelfClosing?\" \":\"\":j.isSelfClosing?u:i),de}function B(L){return L.firstChild&&S(L.firstChild)?\"\":J(L)}function k(L,Q,V){let j=L.getValue();return [M(j,Q),b(L,Q,V),j.isSelfClosing?\"\":B(j)]}function M(L,Q){return L.prev&&d(L.prev)?\"\":[R(L,Q),q(L)]}function R(L,Q){return S(L)?J(L.parent):m(L)?D(L.prev,Q):\"\"}function q(L){switch(L.type){case\"ieConditionalComment\":case\"ieConditionalStartComment\":return `<${L.rawName}`;default:return `<${L.rawName}`}}function J(L){switch(t(!L.isSelfClosing),L.type){case\"ieConditionalComment\":return \"]>\";case\"element\":if(L.condition)return \">\";default:return \">\"}}r.exports={printClosingTag:E,printClosingTagStart:N,printClosingTagStartMarker:$,printClosingTagEndMarker:D,printClosingTagSuffix:P,printClosingTagEnd:x,needsToBorrowLastChildClosingTagEndMarker:C,needsToBorrowParentClosingTagStartMarker:o,needsToBorrowPrevClosingTagEndMarker:m,printOpeningTag:k,printOpeningTagStart:M,printOpeningTagPrefix:R,printOpeningTagStartMarker:q,printOpeningTagEndMarker:J,needsToBorrowNextOpeningTagStartMarker:d,needsToBorrowParentOpeningTagEndMarker:S};}}),bg=te({\"node_modules/parse-srcset/src/parse-srcset.js\"(e,r){ne(),function(t,s){typeof define==\"function\"&&define.amd?define([],s):typeof r==\"object\"&&r.exports?r.exports=s():t.parseSrcset=s();}(e,function(){return function(t,s){var a=s&&s.logger||console;function n($){return $===\" \"||$===\"\t\"||$===`\n`||$===\"\\f\"||$===\"\\r\"}function u($){var D,T=$.exec(t.substring(N));if(T)return D=T[0],N+=D.length,D}for(var i=t.length,l=/^[ \\t\\n\\r\\u000c]+/,p=/^[, \\t\\n\\r\\u000c]+/,y=/^[^ \\t\\n\\r\\u000c]+/,h=/[,]+$/,g=/^\\d+$/,c=/^-?(?:[0-9]+|[0-9]*\\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,f,F,_,w,E,N=0,x=[];;){if(u(p),N>=i)return x;f=u(y),F=[],f.slice(-1)===\",\"?(f=f.replace(h,\"\"),P()):I();}function I(){for(u(l),_=\"\",w=\"in descriptor\";;){if(E=t.charAt(N),w===\"in descriptor\")if(n(E))_&&(F.push(_),_=\"\",w=\"after descriptor\");else if(E===\",\"){N+=1,_&&F.push(_),P();return}else if(E===\"(\")_=_+E,w=\"in parens\";else if(E===\"\"){_&&F.push(_),P();return}else _=_+E;else if(w===\"in parens\")if(E===\")\")_=_+E,w=\"in descriptor\";else if(E===\"\"){F.push(_),P();return}else _=_+E;else if(w===\"after descriptor\"&&!n(E))if(E===\"\"){P();return}else w=\"in descriptor\",N-=1;N+=1;}}function P(){var $=!1,D,T,m,C,o={},d,v,S,b,B;for(C=0;C{let{w:P}=I;return P}),h=p.some(I=>{let{h:P}=I;return P}),g=p.some(I=>{let{d:P}=I;return P});if(y+h+g>1)throw new Error(\"Mixed descriptor in srcset is not supported\");let c=y?\"w\":h?\"h\":\"d\",f=y?\"w\":h?\"h\":\"x\",F=I=>Math.max(...I),_=p.map(I=>I.url),w=F(_.map(I=>I.length)),E=p.map(I=>I[c]).map(I=>I?I.toString():\"\"),N=E.map(I=>{let P=I.indexOf(\".\");return P===-1?I.length:P}),x=F(N);return a([\",\",n],_.map((I,P)=>{let $=[I],D=E[P];if(D){let T=w-I.length+1,m=x-N[P],C=\" \".repeat(T+m);$.push(s(C,\" \"),D+f);}return $}))}function i(l){return l.trim().split(/\\s+/).join(\" \")}r.exports={printImgSrcset:u,printClassNames:i};}}),Bg=te({\"src/language-html/syntax-vue.js\"(e,r){ne();var{builders:{group:t}}=qe();function s(i,l){let{left:p,operator:y,right:h}=a(i);return [t(l(`function _(${p}) {}`,{parser:\"babel\",__isVueForBindingLeft:!0})),\" \",y,\" \",l(h,{parser:\"__js_expression\"},{stripTrailingHardline:!0})]}function a(i){let l=/(.*?)\\s+(in|of)\\s+(.*)/s,p=/,([^,\\]}]*)(?:,([^,\\]}]*))?$/,y=/^\\(|\\)$/g,h=i.match(l);if(!h)return;let g={};if(g.for=h[3].trim(),!g.for)return;let c=h[1].trim().replace(y,\"\"),f=c.match(p);f?(g.alias=c.replace(p,\"\"),g.iterator1=f[1].trim(),f[2]&&(g.iterator2=f[2].trim())):g.alias=c;let F=[g.alias,g.iterator1,g.iterator2];if(!F.some((_,w)=>!_&&(w===0||F.slice(w+1).some(Boolean))))return {left:F.filter(Boolean).join(\",\"),operator:h[2],right:g.for}}function n(i,l){return l(`function _(${i}) {}`,{parser:\"babel\",__isVueBindings:!0})}function u(i){let l=/^(?:[\\w$]+|\\([^)]*\\))\\s*=>|^function\\s*\\(/,p=/^[$A-Z_a-z][\\w$]*(?:\\.[$A-Z_a-z][\\w$]*|\\['[^']*']|\\[\"[^\"]*\"]|\\[\\d+]|\\[[$A-Z_a-z][\\w$]*])*$/,y=i.trim();return l.test(y)||p.test(y)}r.exports={isVueEventBindingExpression:u,printVueFor:s,printVueBindings:n};}}),Lo=te({\"src/language-html/get-node-content.js\"(e,r){ne();var{needsToBorrowParentClosingTagStartMarker:t,printClosingTagStartMarker:s,needsToBorrowLastChildClosingTagEndMarker:a,printClosingTagEndMarker:n,needsToBorrowParentOpeningTagEndMarker:u,printOpeningTagEndMarker:i}=ur();function l(p,y){let h=p.startSourceSpan.end.offset;p.firstChild&&u(p.firstChild)&&(h-=i(p).length);let g=p.endSourceSpan.start.offset;return p.lastChild&&t(p.lastChild)?g+=s(p,y).length:a(p)&&(g-=n(p.lastChild,y).length),y.originalText.slice(h,g)}r.exports=l;}}),Ng=te({\"src/language-html/embed.js\"(e,r){ne();var{builders:{breakParent:t,group:s,hardline:a,indent:n,line:u,fill:i,softline:l},utils:{mapDoc:p,replaceTextEndOfLine:y}}=qe(),h=su(),{printClosingTag:g,printClosingTagSuffix:c,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:F,printOpeningTag:_}=ur(),{printImgSrcset:w,printClassNames:E}=Tg(),{printVueFor:N,printVueBindings:x,isVueEventBindingExpression:I}=Bg(),{isScriptLikeTag:P,isVueNonHtmlBlock:$,inferScriptParser:D,htmlTrimPreserveIndentation:T,dedentString:m,unescapeQuoteEntities:C,isVueSlotAttribute:o,isVueSfcBindingsAttribute:d,getTextValueParts:v}=Rt(),S=Lo();function b(k,M,R){let q=ee=>new RegExp(ee.join(\"|\")).test(k.fullName),J=()=>C(k.value),L=!1,Q=(ee,ce)=>{let W=ee.type===\"NGRoot\"?ee.node.type===\"NGMicrosyntax\"&&ee.node.body.length===1&&ee.node.body[0].type===\"NGMicrosyntaxExpression\"?ee.node.body[0].expression:ee.node:ee.type===\"JsExpressionRoot\"?ee.node:ee;W&&(W.type===\"ObjectExpression\"||W.type===\"ArrayExpression\"||ce.parser===\"__vue_expression\"&&(W.type===\"TemplateLiteral\"||W.type===\"StringLiteral\"))&&(L=!0);},V=ee=>s(ee),j=function(ee){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return s([n([l,ee]),ce?l:\"\"])},Y=ee=>L?V(ee):j(ee),ie=(ee,ce)=>M(ee,Object.assign({__onHtmlBindingRoot:Q,__embeddedInHtml:!0},ce));if(k.fullName===\"srcset\"&&(k.parent.fullName===\"img\"||k.parent.fullName===\"source\"))return j(w(J()));if(k.fullName===\"class\"&&!R.parentParser){let ee=J();if(!ee.includes(\"{{\"))return E(ee)}if(k.fullName===\"style\"&&!R.parentParser){let ee=J();if(!ee.includes(\"{{\"))return j(ie(ee,{parser:\"css\",__isHTMLStyleAttribute:!0}))}if(R.parser===\"vue\"){if(k.fullName===\"v-for\")return N(J(),ie);if(o(k)||d(k,R))return x(J(),ie);let ee=[\"^@\",\"^v-on:\"],ce=[\"^:\",\"^v-bind:\"],W=[\"^v-\"];if(q(ee)){let K=J(),de=I(K)?\"__js_expression\":R.__should_parse_vue_template_with_ts?\"__vue_ts_event_binding\":\"__vue_event_binding\";return Y(ie(K,{parser:de}))}if(q(ce))return Y(ie(J(),{parser:\"__vue_expression\"}));if(q(W))return Y(ie(J(),{parser:\"__js_expression\"}))}if(R.parser===\"angular\"){let ee=(z,U)=>ie(z,Object.assign(Object.assign({},U),{},{trailingComma:\"none\"})),ce=[\"^\\\\*\"],W=[\"^\\\\(.+\\\\)$\",\"^on-\"],K=[\"^\\\\[.+\\\\]$\",\"^bind(on)?-\",\"^ng-(if|show|hide|class|style)$\"],de=[\"^i18n(-.+)?$\"];if(q(W))return Y(ee(J(),{parser:\"__ng_action\"}));if(q(K))return Y(ee(J(),{parser:\"__ng_binding\"}));if(q(de)){let z=J().trim();return j(i(v(k,z)),!z.includes(\"@@\"))}if(q(ce))return Y(ee(J(),{parser:\"__ng_directive\"}));let ue=/{{(.+?)}}/s,Fe=J();if(ue.test(Fe)){let z=[];for(let[U,Z]of Fe.split(ue).entries())if(U%2===0)z.push(y(Z));else try{z.push(s([\"{{\",n([u,ee(Z,{parser:\"__ng_interpolation\",__isInHtmlInterpolation:!0})]),u,\"}}\"]));}catch{z.push(\"{{\",y(Z),\"}}\");}return s(z)}}return null}function B(k,M,R,q){let J=k.getValue();switch(J.type){case\"element\":{if(P(J)||J.type===\"interpolation\")return;if(!J.isSelfClosing&&$(J,q)){let L=D(J,q);if(!L)return;let Q=S(J,q),V=/^\\s*$/.test(Q),j=\"\";return V||(j=R(T(Q),{parser:L,__embeddedInHtml:!0},{stripTrailingHardline:!0}),V=j===\"\"),[F(J,q),s(_(k,q,M)),V?\"\":a,j,V?\"\":a,g(J,q),c(J,q)]}break}case\"text\":{if(P(J.parent)){let L=D(J.parent,q);if(L){let Q=L===\"markdown\"?m(J.value.replace(/^[^\\S\\n]*\\n/,\"\")):J.value,V={parser:L,__embeddedInHtml:!0};if(q.parser===\"html\"&&L===\"babel\"){let j=\"script\",{attrMap:Y}=J.parent;Y&&(Y.type===\"module\"||Y.type===\"text/babel\"&&Y[\"data-type\"]===\"module\")&&(j=\"module\"),V.__babelSourceType=j;}return [t,F(J,q),R(Q,V,{stripTrailingHardline:!0}),c(J,q)]}}else if(J.parent.type===\"interpolation\"){let L={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return q.parser===\"angular\"?(L.parser=\"__ng_interpolation\",L.trailingComma=\"none\"):q.parser===\"vue\"?L.parser=q.__should_parse_vue_template_with_ts?\"__vue_ts_expression\":\"__vue_expression\":L.parser=\"__js_expression\",[n([u,R(J.value,L,{stripTrailingHardline:!0})]),J.parent.next&&f(J.parent.next)?\" \":u]}break}case\"attribute\":{if(!J.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\\d+_\\d+_IN_JS$/.test(q.originalText.slice(J.valueSpan.start.offset,J.valueSpan.end.offset)))return [J.rawName,\"=\",J.value];if(q.parser===\"lwc\"&&/^{.*}$/s.test(q.originalText.slice(J.valueSpan.start.offset,J.valueSpan.end.offset)))return [J.rawName,\"=\",J.value];let L=b(J,(Q,V)=>R(Q,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},V),{stripTrailingHardline:!0}),q);if(L)return [J.rawName,'=\"',s(p(L,Q=>typeof Q==\"string\"?Q.replace(/\"/g,\""\"):Q)),'\"'];break}case\"front-matter\":return h(J,R)}}r.exports=B;}}),Oo=te({\"src/language-html/print/children.js\"(e,r){ne();var{builders:{breakParent:t,group:s,ifBreak:a,line:n,softline:u,hardline:i},utils:{replaceTextEndOfLine:l}}=qe(),{locStart:p,locEnd:y}=au(),{forceBreakChildren:h,forceNextEmptyLine:g,isTextLikeNode:c,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:F}=Rt(),{printOpeningTagPrefix:_,needsToBorrowNextOpeningTagStartMarker:w,printOpeningTagStartMarker:E,needsToBorrowPrevClosingTagEndMarker:N,printClosingTagEndMarker:x,printClosingTagSuffix:I,needsToBorrowParentClosingTagStartMarker:P}=ur();function $(m,C,o){let d=m.getValue();return f(d)?[_(d,C),...l(C.originalText.slice(p(d)+(d.prev&&w(d.prev)?E(d).length:0),y(d)-(d.next&&N(d.next)?x(d,C).length:0))),I(d,C)]:o()}function D(m,C){return c(m)&&c(C)?m.isTrailingSpaceSensitive?m.hasTrailingSpaces?F(C)?i:n:\"\":F(C)?i:u:w(m)&&(f(C)||C.firstChild||C.isSelfClosing||C.type===\"element\"&&C.attrs.length>0)||m.type===\"element\"&&m.isSelfClosing&&N(C)?\"\":!C.isLeadingSpaceSensitive||F(C)||N(C)&&m.lastChild&&P(m.lastChild)&&m.lastChild.lastChild&&P(m.lastChild.lastChild)?i:C.hasLeadingSpaces?n:u}function T(m,C,o){let d=m.getValue();if(h(d))return [t,...m.map(S=>{let b=S.getValue(),B=b.prev?D(b.prev,b):\"\";return [B?[B,g(b.prev)?i:\"\"]:\"\",$(S,C,o)]},\"children\")];let v=d.children.map(()=>Symbol(\"\"));return m.map((S,b)=>{let B=S.getValue();if(c(B)){if(B.prev&&c(B.prev)){let Q=D(B.prev,B);if(Q)return g(B.prev)?[i,i,$(S,C,o)]:[Q,$(S,C,o)]}return $(S,C,o)}let k=[],M=[],R=[],q=[],J=B.prev?D(B.prev,B):\"\",L=B.next?D(B,B.next):\"\";return J&&(g(B.prev)?k.push(i,i):J===i?k.push(i):c(B.prev)?M.push(J):M.push(a(\"\",u,{groupId:v[b-1]}))),L&&(g(B)?c(B.next)&&q.push(i,i):L===i?c(B.next)&&q.push(i):R.push(L)),[...k,s([...M,s([$(S,C,o),...R],{id:v[b]})]),...q]},\"children\")}r.exports={printChildren:T};}}),wg=te({\"src/language-html/print/element.js\"(e,r){ne();var{builders:{breakParent:t,dedentToRoot:s,group:a,ifBreak:n,indentIfBreak:u,indent:i,line:l,softline:p},utils:{replaceTextEndOfLine:y}}=qe(),h=Lo(),{shouldPreserveContent:g,isScriptLikeTag:c,isVueCustomBlock:f,countParents:F,forceBreakContent:_}=Rt(),{printOpeningTagPrefix:w,printOpeningTag:E,printClosingTagSuffix:N,printClosingTag:x,needsToBorrowPrevClosingTagEndMarker:I,needsToBorrowLastChildClosingTagEndMarker:P}=ur(),{printChildren:$}=Oo();function D(T,m,C){let o=T.getValue();if(g(o,m))return [w(o,m),a(E(T,m,C)),...y(h(o,m)),...x(o,m),N(o,m)];let d=o.children.length===1&&o.firstChild.type===\"interpolation\"&&o.firstChild.isLeadingSpaceSensitive&&!o.firstChild.hasLeadingSpaces&&o.lastChild.isTrailingSpaceSensitive&&!o.lastChild.hasTrailingSpaces,v=Symbol(\"element-attr-group-id\"),S=M=>a([a(E(T,m,C),{id:v}),M,x(o,m)]),b=M=>d?u(M,{groupId:v}):(c(o)||f(o,m))&&o.parent.type===\"root\"&&m.parser===\"vue\"&&!m.vueIndentScriptAndStyle?M:i(M),B=()=>d?n(p,\"\",{groupId:v}):o.firstChild.hasLeadingSpaces&&o.firstChild.isLeadingSpaceSensitive?l:o.firstChild.type===\"text\"&&o.isWhitespaceSensitive&&o.isIndentationSensitive?s(p):p,k=()=>(o.next?I(o.next):P(o.parent))?o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?\" \":\"\":d?n(p,\"\",{groupId:v}):o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?l:(o.lastChild.type===\"comment\"||o.lastChild.type===\"text\"&&o.isWhitespaceSensitive&&o.isIndentationSensitive)&&new RegExp(`\\\\n[\\\\t ]{${m.tabWidth*F(T,R=>R.parent&&R.parent.type!==\"root\")}}$`).test(o.lastChild.value)?\"\":p;return o.children.length===0?S(o.hasDanglingSpaces&&o.isDanglingSpaceSensitive?l:\"\"):S([_(o)?t:\"\",b([B(),$(T,m,C)]),k()])}r.exports={printElement:D};}}),_g=te({\"src/language-html/printer-html.js\"(e,r){ne();var{builders:{fill:t,group:s,hardline:a,literalline:n},utils:{cleanDoc:u,getDocParts:i,isConcat:l,replaceTextEndOfLine:p}}=qe(),y=gg(),{countChars:h,unescapeQuoteEntities:g,getTextValueParts:c}=Rt(),f=Sg(),{insertPragma:F}=xg(),{locStart:_,locEnd:w}=au(),E=Ng(),{printClosingTagSuffix:N,printClosingTagEnd:x,printOpeningTagPrefix:I,printOpeningTagStart:P}=ur(),{printElement:$}=wg(),{printChildren:D}=Oo();function T(m,C,o){let d=m.getValue();switch(d.type){case\"front-matter\":return p(d.raw);case\"root\":return C.__onHtmlRoot&&C.__onHtmlRoot(d),[s(D(m,C,o)),a];case\"element\":case\"ieConditionalComment\":return $(m,C,o);case\"ieConditionalStartComment\":case\"ieConditionalEndComment\":return [P(d),x(d)];case\"interpolation\":return [P(d,C),...m.map(o,\"children\"),x(d,C)];case\"text\":{if(d.parent.type===\"interpolation\"){let S=/\\n[^\\S\\n]*$/,b=S.test(d.value),B=b?d.value.replace(S,\"\"):d.value;return [...p(B),b?a:\"\"]}let v=u([I(d,C),...c(d),N(d,C)]);return l(v)||v.type===\"fill\"?t(i(v)):v}case\"docType\":return [s([P(d,C),\" \",d.value.replace(/^html\\b/i,\"html\").replace(/\\s+/g,\" \")]),x(d,C)];case\"comment\":return [I(d,C),...p(C.originalText.slice(_(d),w(d)),n),N(d,C)];case\"attribute\":{if(d.value===null)return d.rawName;let v=g(d.value),S=h(v,\"'\"),b=h(v,'\"'),B=S({name:\"Angular\",since:\"1.15.0\",parsers:[\"angular\"],vscodeLanguageIds:[\"html\"],extensions:[\".component.html\"],filenames:[]})),t(On(),l=>({since:\"1.15.0\",parsers:[\"html\"],vscodeLanguageIds:[\"html\"],extensions:[...l.extensions,\".mjml\"]})),t(On(),()=>({name:\"Lightning Web Components\",since:\"1.17.0\",parsers:[\"lwc\"],vscodeLanguageIds:[\"html\"],extensions:[],filenames:[]})),t(kg(),()=>({since:\"1.10.0\",parsers:[\"vue\"],vscodeLanguageIds:[\"vue\"]}))],i={html:s};r.exports={languages:u,printers:i,options:a,parsers:n};}}),Og=te({\"src/language-yaml/pragma.js\"(e,r){ne();function t(n){return /^\\s*@(?:prettier|format)\\s*$/.test(n)}function s(n){return /^\\s*#[^\\S\\n]*@(?:prettier|format)\\s*?(?:\\n|$)/.test(n)}function a(n){return `# @format\n\n${n}`}r.exports={isPragma:t,hasPragma:s,insertPragma:a};}}),jg=te({\"src/language-yaml/loc.js\"(e,r){ne();function t(a){return a.position.start.offset}function s(a){return a.position.end.offset}r.exports={locStart:t,locEnd:s};}}),qg=te({\"src/language-yaml/embed.js\"(e,r){ne();function t(s,a,n,u){if(s.getValue().type===\"root\"&&u.filepath&&/(?:[/\\\\]|^)\\.(?:prettier|stylelint|lintstaged)rc$/.test(u.filepath))return n(u.originalText,Object.assign(Object.assign({},u),{},{parser:\"json\"}))}r.exports=t;}}),$t=te({\"src/language-yaml/utils.js\"(e,r){ne();var{getLast:t,isNonEmptyArray:s}=Ue();function a(D,T){let m=0,C=D.stack.length-1;for(let o=0;ou(C,T,D))}):D,m)}function i(D,T,m){Object.defineProperty(D,T,{get:m,enumerable:!1});}function l(D,T){let m=0,C=T.length;for(let o=D.position.end.offset-1;od===0&&d===v.length-1?o:d!==0&&d!==v.length-1?o.trim():d===0?o.trimEnd():o.trimStart());return m.proseWrap===\"preserve\"?C.map(o=>o.length===0?[]:[o]):C.map(o=>o.length===0?[]:x(o)).reduce((o,d,v)=>v!==0&&C[v-1].length>0&&d.length>0&&!(D===\"quoteDouble\"&&t(t(o)).endsWith(\"\\\\\"))?[...o.slice(0,-1),[...t(o),...d]]:[...o,d],[]).map(o=>m.proseWrap===\"never\"?[o.join(\" \")]:o)}function P(D,T){let{parentIndent:m,isLastDescendant:C,options:o}=T,d=D.position.start.line===D.position.end.line?\"\":o.originalText.slice(D.position.start.offset,D.position.end.offset).match(/^[^\\n]*\\n(.*)$/s)[1],v;if(D.indent===null){let B=d.match(/^(? *)[^\\n\\r ]/m);v=B?B.groups.leadingSpace.length:Number.POSITIVE_INFINITY;}else v=D.indent-1+m;let S=d.split(`\n`).map(B=>B.slice(v));if(o.proseWrap===\"preserve\"||D.type===\"blockLiteral\")return b(S.map(B=>B.length===0?[]:[B]));return b(S.map(B=>B.length===0?[]:x(B)).reduce((B,k,M)=>M!==0&&S[M-1].length>0&&k.length>0&&!/^\\s/.test(k[0])&&!/^\\s|\\s$/.test(t(B))?[...B.slice(0,-1),[...t(B),...k]]:[...B,k],[]).map(B=>B.reduce((k,M)=>k.length>0&&/\\s$/.test(t(k))?[...k.slice(0,-1),t(k)+\" \"+M]:[...k,M],[])).map(B=>o.proseWrap===\"never\"?[B.join(\" \")]:B));function b(B){if(D.chomping===\"keep\")return t(B).length===0?B.slice(0,-1):B;let k=0;for(let M=B.length-1;M>=0&&B[M].length===0;M--)k++;return k===0?B:k>=2&&!C?B.slice(0,-(k-1)):B.slice(0,-k)}}function $(D){if(!D)return !0;switch(D.type){case\"plain\":case\"quoteDouble\":case\"quoteSingle\":case\"alias\":case\"flowMapping\":case\"flowSequence\":return !0;default:return !1}}r.exports={getLast:t,getAncestorCount:a,isNode:n,isEmptyNode:c,isInlineNode:$,mapNode:u,defineShortcut:i,isNextLineEmpty:l,isLastDescendantNode:p,getBlockValueLineContents:P,getFlowScalarLineContents:I,getLastDescendantNode:y,hasPrettierIgnore:g,hasLeadingComments:F,hasMiddleComments:_,hasIndicatorComment:w,hasTrailingComment:E,hasEndComments:N};}}),Mg=te({\"src/language-yaml/print-preprocess.js\"(e,r){ne();var{defineShortcut:t,mapNode:s}=$t();function a(u){return s(u,n)}function n(u){switch(u.type){case\"document\":t(u,\"head\",()=>u.children[0]),t(u,\"body\",()=>u.children[1]);break;case\"documentBody\":case\"sequenceItem\":case\"flowSequenceItem\":case\"mappingKey\":case\"mappingValue\":t(u,\"content\",()=>u.children[0]);break;case\"mappingItem\":case\"flowMappingItem\":t(u,\"key\",()=>u.children[0]),t(u,\"value\",()=>u.children[1]);break}return u}r.exports=a;}}),Mr=te({\"src/language-yaml/print/misc.js\"(e,r){ne();var{builders:{softline:t,align:s}}=qe(),{hasEndComments:a,isNextLineEmpty:n,isNode:u}=$t(),i=new WeakMap;function l(h,g){let c=h.getValue(),f=h.stack[0],F;return i.has(f)?F=i.get(f):(F=new Set,i.set(f,F)),!F.has(c.position.end.line)&&(F.add(c.position.end.line),n(c,g)&&!p(h.getParentNode()))?t:\"\"}function p(h){return a(h)&&!u(h,[\"documentHead\",\"documentBody\",\"flowMapping\",\"flowSequence\"])}function y(h,g){return s(\" \".repeat(h),g)}r.exports={alignWithSpaces:y,shouldPrintEndComments:p,printNextEmptyLine:l};}}),Rg=te({\"src/language-yaml/print/flow-mapping-sequence.js\"(e,r){ne();var{builders:{ifBreak:t,line:s,softline:a,hardline:n,join:u}}=qe(),{isEmptyNode:i,getLast:l,hasEndComments:p}=$t(),{printNextEmptyLine:y,alignWithSpaces:h}=Mr();function g(f,F,_){let w=f.getValue(),E=w.type===\"flowMapping\",N=E?\"{\":\"[\",x=E?\"}\":\"]\",I=a;E&&w.children.length>0&&_.bracketSpacing&&(I=s);let P=l(w.children),$=P&&P.type===\"flowMappingItem\"&&i(P.key)&&i(P.value);return [N,h(_.tabWidth,[I,c(f,F,_),_.trailingComma===\"none\"?\"\":t(\",\"),p(w)?[n,u(n,f.map(F,\"endComments\"))]:\"\"]),$?\"\":I,x]}function c(f,F,_){let w=f.getValue();return f.map((N,x)=>[F(),x===w.children.length-1?\"\":[\",\",s,w.children[x].position.start.line!==w.children[x+1].position.start.line?y(N,_.originalText):\"\"]],\"children\")}r.exports={printFlowMapping:g,printFlowSequence:g};}}),$g=te({\"src/language-yaml/print/mapping-item.js\"(e,r){ne();var{builders:{conditionalGroup:t,group:s,hardline:a,ifBreak:n,join:u,line:i}}=qe(),{hasLeadingComments:l,hasMiddleComments:p,hasTrailingComment:y,hasEndComments:h,isNode:g,isEmptyNode:c,isInlineNode:f}=$t(),{alignWithSpaces:F}=Mr();function _(x,I,P,$,D){let{key:T,value:m}=x,C=c(T),o=c(m);if(C&&o)return \": \";let d=$(\"key\"),v=E(x)?\" \":\"\";if(o)return x.type===\"flowMappingItem\"&&I.type===\"flowMapping\"?d:x.type===\"mappingItem\"&&w(T.content,D)&&!y(T.content)&&(!I.tag||I.tag.value!==\"tag:yaml.org,2002:set\")?[d,v,\":\"]:[\"? \",F(2,d)];let S=$(\"value\");if(C)return [\": \",F(2,S)];if(l(m)||!f(T.content))return [\"? \",F(2,d),a,u(\"\",P.map($,\"value\",\"leadingComments\").map(q=>[q,a])),\": \",F(2,S)];if(N(T.content)&&!l(T.content)&&!p(T.content)&&!y(T.content)&&!h(T)&&!l(m.content)&&!p(m.content)&&!h(m)&&w(m.content,D))return [d,v,\": \",S];let b=Symbol(\"mappingKey\"),B=s([n(\"? \"),s(F(2,d),{id:b})]),k=[a,\": \",F(2,S)],M=[v,\":\"];l(m.content)||h(m)&&m.content&&!g(m.content,[\"mapping\",\"sequence\"])||I.type===\"mapping\"&&y(T.content)&&f(m.content)||g(m.content,[\"mapping\",\"sequence\"])&&m.content.tag===null&&m.content.anchor===null?M.push(a):m.content&&M.push(i),M.push(S);let R=F(D.tabWidth,M);return w(T.content,D)&&!l(T.content)&&!p(T.content)&&!h(T)?t([[d,R]]):t([[B,n(k,R,{groupId:b})]])}function w(x,I){if(!x)return !0;switch(x.type){case\"plain\":case\"quoteSingle\":case\"quoteDouble\":break;case\"alias\":return !0;default:return !1}if(I.proseWrap===\"preserve\")return x.position.start.line===x.position.end.line;if(/\\\\$/m.test(I.originalText.slice(x.position.start.offset,x.position.end.offset)))return !1;switch(I.proseWrap){case\"never\":return !x.value.includes(`\n`);case\"always\":return !/[\\n ]/.test(x.value);default:return !1}}function E(x){return x.key.content&&x.key.content.type===\"alias\"}function N(x){if(!x)return !0;switch(x.type){case\"plain\":case\"quoteDouble\":case\"quoteSingle\":return x.position.start.line===x.position.end.line;case\"alias\":return !0;default:return !1}}r.exports=_;}}),Vg=te({\"src/language-yaml/print/block.js\"(e,r){ne();var{builders:{dedent:t,dedentToRoot:s,fill:a,hardline:n,join:u,line:i,literalline:l,markAsRoot:p},utils:{getDocParts:y}}=qe(),{getAncestorCount:h,getBlockValueLineContents:g,hasIndicatorComment:c,isLastDescendantNode:f,isNode:F}=$t(),{alignWithSpaces:_}=Mr();function w(E,N,x){let I=E.getValue(),P=h(E,C=>F(C,[\"sequence\",\"mapping\"])),$=f(E),D=[I.type===\"blockFolded\"?\">\":\"|\"];I.indent!==null&&D.push(I.indent.toString()),I.chomping!==\"clip\"&&D.push(I.chomping===\"keep\"?\"+\":\"-\"),c(I)&&D.push(\" \",N(\"indicatorComment\"));let T=g(I,{parentIndent:P,isLastDescendant:$,options:x}),m=[];for(let[C,o]of T.entries())C===0&&m.push(n),m.push(a(y(u(i,o)))),C!==T.length-1?m.push(o.length===0?n:p(l)):I.chomping===\"keep\"&&$&&m.push(s(o.length===0?n:l));return I.indent===null?D.push(t(_(x.tabWidth,m))):D.push(s(_(I.indent-1+P,m))),D}r.exports=w;}}),Wg=te({\"src/language-yaml/printer-yaml.js\"(e,r){ne();var{builders:{breakParent:t,fill:s,group:a,hardline:n,join:u,line:i,lineSuffix:l,literalline:p},utils:{getDocParts:y,replaceTextEndOfLine:h}}=qe(),{isPreviousLineEmpty:g}=Ue(),{insertPragma:c,isPragma:f}=Og(),{locStart:F}=jg(),_=qg(),{getFlowScalarLineContents:w,getLastDescendantNode:E,hasLeadingComments:N,hasMiddleComments:x,hasTrailingComment:I,hasEndComments:P,hasPrettierIgnore:$,isLastDescendantNode:D,isNode:T,isInlineNode:m}=$t(),C=Mg(),{alignWithSpaces:o,printNextEmptyLine:d,shouldPrintEndComments:v}=Mr(),{printFlowMapping:S,printFlowSequence:b}=Rg(),B=$g(),k=Vg();function M(j,Y,ie){let ee=j.getValue(),ce=[];ee.type!==\"mappingValue\"&&N(ee)&&ce.push([u(n,j.map(ie,\"leadingComments\")),n]);let{tag:W,anchor:K}=ee;W&&ce.push(ie(\"tag\")),W&&K&&ce.push(\" \"),K&&ce.push(ie(\"anchor\"));let de=\"\";T(ee,[\"mapping\",\"sequence\",\"comment\",\"directive\",\"mappingItem\",\"sequenceItem\"])&&!D(j)&&(de=d(j,Y.originalText)),(W||K)&&(T(ee,[\"sequence\",\"mapping\"])&&!x(ee)?ce.push(n):ce.push(\" \")),x(ee)&&ce.push([ee.middleComments.length===1?\"\":n,u(n,j.map(ie,\"middleComments\")),n]);let ue=j.getParentNode();return $(j)?ce.push(h(Y.originalText.slice(ee.position.start.offset,ee.position.end.offset).trimEnd(),p)):ce.push(a(R(ee,ue,j,Y,ie))),I(ee)&&!T(ee,[\"document\",\"documentHead\"])&&ce.push(l([ee.type===\"mappingValue\"&&!ee.content?\"\":\" \",ue.type===\"mappingKey\"&&j.getParentNode(2).type===\"mapping\"&&m(ee)?\"\":t,ie(\"trailingComment\")])),v(ee)&&ce.push(o(ee.type===\"sequenceItem\"?2:0,[n,u(n,j.map(Fe=>[g(Y.originalText,Fe.getValue(),F)?n:\"\",ie()],\"endComments\"))])),ce.push(de),ce}function R(j,Y,ie,ee,ce){switch(j.type){case\"root\":{let{children:W}=j,K=[];ie.each((ue,Fe)=>{let z=W[Fe],U=W[Fe+1];Fe!==0&&K.push(n),K.push(ce()),J(z,U)?(K.push(n,\"...\"),I(z)&&K.push(\" \",ce(\"trailingComment\"))):U&&!I(U.head)&&K.push(n,\"---\");},\"children\");let de=E(j);return (!T(de,[\"blockLiteral\",\"blockFolded\"])||de.chomping!==\"keep\")&&K.push(n),K}case\"document\":{let W=Y.children[ie.getName()+1],K=[];return L(j,W,Y,ee)===\"head\"&&((j.head.children.length>0||j.head.endComments.length>0)&&K.push(ce(\"head\")),I(j.head)?K.push([\"---\",\" \",ce([\"head\",\"trailingComment\"])]):K.push(\"---\")),q(j)&&K.push(ce(\"body\")),u(n,K)}case\"documentHead\":return u(n,[...ie.map(ce,\"children\"),...ie.map(ce,\"endComments\")]);case\"documentBody\":{let{children:W,endComments:K}=j,de=\"\";if(W.length>0&&K.length>0){let ue=E(j);T(ue,[\"blockFolded\",\"blockLiteral\"])?ue.chomping!==\"keep\"&&(de=[n,n]):de=n;}return [u(n,ie.map(ce,\"children\")),de,u(n,ie.map(ce,\"endComments\"))]}case\"directive\":return [\"%\",u(\" \",[j.name,...j.parameters])];case\"comment\":return [\"#\",j.value];case\"alias\":return [\"*\",j.value];case\"tag\":return ee.originalText.slice(j.position.start.offset,j.position.end.offset);case\"anchor\":return [\"&\",j.value];case\"plain\":return Q(j.type,ee.originalText.slice(j.position.start.offset,j.position.end.offset),ee);case\"quoteDouble\":case\"quoteSingle\":{let W=\"'\",K='\"',de=ee.originalText.slice(j.position.start.offset+1,j.position.end.offset-1);if(j.type===\"quoteSingle\"&&de.includes(\"\\\\\")||j.type===\"quoteDouble\"&&/\\\\[^\"]/.test(de)){let Fe=j.type===\"quoteDouble\"?K:W;return [Fe,Q(j.type,de,ee),Fe]}if(de.includes(K))return [W,Q(j.type,j.type===\"quoteDouble\"?de.replace(/\\\\\"/g,K).replace(/'/g,W.repeat(2)):de,ee),W];if(de.includes(W))return [K,Q(j.type,j.type===\"quoteSingle\"?de.replace(/''/g,W):de,ee),K];let ue=ee.singleQuote?W:K;return [ue,Q(j.type,de,ee),ue]}case\"blockFolded\":case\"blockLiteral\":return k(ie,ce,ee);case\"mapping\":case\"sequence\":return u(n,ie.map(ce,\"children\"));case\"sequenceItem\":return [\"- \",o(2,j.content?ce(\"content\"):\"\")];case\"mappingKey\":case\"mappingValue\":return j.content?ce(\"content\"):\"\";case\"mappingItem\":case\"flowMappingItem\":return B(j,Y,ie,ce,ee);case\"flowMapping\":return S(ie,ce,ee);case\"flowSequence\":return b(ie,ce,ee);case\"flowSequenceItem\":return ce(\"content\");default:throw new Error(`Unexpected node type ${j.type}`)}}function q(j){return j.body.children.length>0||P(j.body)}function J(j,Y){return I(j)||Y&&(Y.head.children.length>0||P(Y.head))}function L(j,Y,ie,ee){return ie.children[0]===j&&/---(?:\\s|$)/.test(ee.originalText.slice(F(j),F(j)+4))||j.head.children.length>0||P(j.head)||I(j.head)?\"head\":J(j,Y)?!1:Y?\"root\":!1}function Q(j,Y,ie){let ee=w(j,Y,ie);return u(n,ee.map(ce=>s(y(u(i,ce)))))}function V(j,Y){if(T(Y))switch(delete Y.position,Y.type){case\"comment\":if(f(Y.value))return null;break;case\"quoteDouble\":case\"quoteSingle\":Y.type=\"quote\";break}}r.exports={preprocess:C,embed:_,print:M,massageAstNode:V,insertPragma:c};}}),Hg=te({\"src/language-yaml/options.js\"(e,r){ne();var t=Mt();r.exports={bracketSpacing:t.bracketSpacing,singleQuote:t.singleQuote,proseWrap:t.proseWrap};}}),Gg=te({\"src/language-yaml/parsers.js\"(){ne();}}),Ug=te({\"node_modules/linguist-languages/data/YAML.json\"(e,r){r.exports={name:\"YAML\",type:\"data\",color:\"#cb171e\",tmScope:\"source.yaml\",aliases:[\"yml\"],extensions:[\".yml\",\".mir\",\".reek\",\".rviz\",\".sublime-syntax\",\".syntax\",\".yaml\",\".yaml-tmlanguage\",\".yaml.sed\",\".yml.mysql\"],filenames:[\".clang-format\",\".clang-tidy\",\".gemrc\",\"CITATION.cff\",\"glide.lock\",\"yarn.lock\"],aceMode:\"yaml\",codemirrorMode:\"yaml\",codemirrorMimeType:\"text/x-yaml\",languageId:407};}}),Jg=te({\"src/language-yaml/index.js\"(e,r){ne();var t=_t(),s=Wg(),a=Hg(),n=Gg(),u=[t(Ug(),i=>({since:\"1.14.0\",parsers:[\"yaml\"],vscodeLanguageIds:[\"yaml\",\"ansible\",\"home-assistant\"],filenames:[...i.filenames.filter(l=>l!==\"yarn.lock\"),\".prettierrc\",\".stylelintrc\",\".lintstagedrc\"]}))];r.exports={languages:u,printers:{yaml:s},options:a,parsers:n};}}),zg=te({\"src/languages.js\"(e,r){ne(),r.exports=[Bd(),Ud(),eg(),ag(),dg(),Lg(),Jg()];}});ne();var{version:Xg}=Ia(),Ot=Gm(),{getSupportInfo:Kg}=Xn(),Yg=Um(),Qg=zg(),Zg=qe();function Nt(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var t=arguments.length,s=new Array(t),a=0;atype===!1?source:type===\"dedent\"||type===!0?dedent(source):import_standalone.default.format(source,{parser:type,plugins:[import_parser_html.default],htmlWhitespaceSensitivity:\"ignore\"}).trim());\n\nexport { formatter };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/9059.0e77d1c6.iframe.bundle.js b/9059.0e77d1c6.iframe.bundle.js new file mode 100644 index 000000000..96bab9f96 --- /dev/null +++ b/9059.0e77d1c6.iframe.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 9059.0e77d1c6.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[9059],{"./node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},"./node_modules/@aws-crypto/ie11-detection/build/Key.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},"./node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},"./node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},"./node_modules/@aws-crypto/ie11-detection/build/MsWindow.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isMsWindow=void 0;var msSubtleCryptoMethods=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];exports.isMsWindow=function isMsWindow(window){if(function quacksLikeAnMsWindow(window){return"MSInputMethodContext"in window&&"msCrypto"in window}(window)&&void 0!==window.msCrypto.subtle){var _a=window.msCrypto,getRandomValues=_a.getRandomValues,subtle_1=_a.subtle;return msSubtleCryptoMethods.map((function(methodName){return subtle_1[methodName]})).concat(getRandomValues).every((function(method){return"function"==typeof method}))}return!1}},"./node_modules/@aws-crypto/ie11-detection/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=__webpack_require__("./node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.js");tslib_1.__exportStar(__webpack_require__("./node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js"),exports),tslib_1.__exportStar(__webpack_require__("./node_modules/@aws-crypto/ie11-detection/build/Key.js"),exports),tslib_1.__exportStar(__webpack_require__("./node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js"),exports),tslib_1.__exportStar(__webpack_require__("./node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js"),exports),tslib_1.__exportStar(__webpack_require__("./node_modules/@aws-crypto/ie11-detection/build/MsWindow.js"),exports)},"./node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__assign:()=>__assign,__asyncDelegator:()=>__asyncDelegator,__asyncGenerator:()=>__asyncGenerator,__asyncValues:()=>__asyncValues,__await:()=>__await,__awaiter:()=>__awaiter,__classPrivateFieldGet:()=>__classPrivateFieldGet,__classPrivateFieldSet:()=>__classPrivateFieldSet,__createBinding:()=>__createBinding,__decorate:()=>__decorate,__exportStar:()=>__exportStar,__extends:()=>__extends,__generator:()=>__generator,__importDefault:()=>__importDefault,__importStar:()=>__importStar,__makeTemplateObject:()=>__makeTemplateObject,__metadata:()=>__metadata,__param:()=>__param,__read:()=>__read,__rest:()=>__rest,__spread:()=>__spread,__spreadArrays:()=>__spreadArrays,__values:()=>__values});var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},extendStatics(d,b)};function __extends(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}var __assign=function(){return __assign=Object.assign||function __assign(t){for(var s,i=1,n=arguments.length;i=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r}function __param(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}}function __metadata(metadataKey,metadataValue){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(metadataKey,metadataValue)}function __awaiter(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))}function __generator(thisArg,body){var f,y,t,g,_={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return g={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return function step(op){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(t=2&op[0]?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[2&op[0],t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(!(t=_.trys,(t=t.length>0&&t[t.length-1])||6!==op[0]&&2!==op[0])){_=0;continue}if(3===op[0]&&(!t||op[1]>t[0]&&op[1]=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(o,n){var m="function"==typeof Symbol&&o[Symbol.iterator];if(!m)return o;var r,e,i=m.call(o),ar=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)ar.push(r.value)}catch(error){e={error}}finally{try{r&&!r.done&&(m=i.return)&&m.call(i)}finally{if(e)throw e.error}}return ar}function __spread(){for(var ar=[],i=0;i1||resume(n,v)}))})}function resume(n,v){try{!function step(r){r.value instanceof __await?Promise.resolve(r.value.v).then(fulfill,reject):settle(q[0][2],r)}(g[n](v))}catch(e){settle(q[0][3],e)}}function fulfill(value){resume("next",value)}function reject(value){resume("throw",value)}function settle(f,v){f(v),q.shift(),q.length&&resume(q[0][0],q[0][1])}}function __asyncDelegator(o){var i,p;return i={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),i[Symbol.iterator]=function(){return this},i;function verb(n,f){i[n]=o[n]?function(v){return(p=!p)?{value:__await(o[n](v)),done:"return"===n}:f?f(v):v}:f}}function __asyncValues(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,m=o[Symbol.asyncIterator];return m?m.call(o):(o=__values(o),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(n){i[n]=o[n]&&function(v){return new Promise((function(resolve,reject){(function settle(resolve,reject,d,v){Promise.resolve(v).then((function(v){resolve({value:v,done:d})}),reject)})(resolve,reject,(v=o[n](v)).done,v.value)}))}}}function __makeTemplateObject(cooked,raw){return Object.defineProperty?Object.defineProperty(cooked,"raw",{value:raw}):cooked.raw=raw,cooked}function __importStar(mod){if(mod&&mod.__esModule)return mod;var result={};if(null!=mod)for(var k in mod)Object.hasOwnProperty.call(mod,k)&&(result[k]=mod[k]);return result.default=mod,result}function __importDefault(mod){return mod&&mod.__esModule?mod:{default:mod}}function __classPrivateFieldGet(receiver,privateMap){if(!privateMap.has(receiver))throw new TypeError("attempted to get private field on non-instance");return privateMap.get(receiver)}function __classPrivateFieldSet(receiver,privateMap,value){if(!privateMap.has(receiver))throw new TypeError("attempted to set private field on non-instance");return privateMap.set(receiver,value),value}},"./node_modules/@aws-crypto/sha256-browser/build/constants.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EMPTY_DATA_SHA_256=exports.SHA_256_HMAC_ALGO=exports.SHA_256_HASH=void 0,exports.SHA_256_HASH={name:"SHA-256"},exports.SHA_256_HMAC_ALGO={name:"HMAC",hash:exports.SHA_256_HASH},exports.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},"./node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sha256=void 0;var ie11Sha256_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js"),webCryptoSha256_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js"),sha256_js_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js"),supports_web_crypto_1=__webpack_require__("./node_modules/@aws-crypto/supports-web-crypto/build/index.js"),ie11_detection_1=__webpack_require__("./node_modules/@aws-crypto/ie11-detection/build/index.js"),util_locate_window_1=__webpack_require__("./node_modules/@aws-sdk/util-locate-window/dist-es/index.js"),util_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js"),Sha256=function(){function Sha256(secret){(0,supports_web_crypto_1.supportsWebCrypto)((0,util_locate_window_1.locateWindow)())?this.hash=new webCryptoSha256_1.Sha256(secret):(0,ie11_detection_1.isMsWindow)((0,util_locate_window_1.locateWindow)())?this.hash=new ie11Sha256_1.Sha256(secret):this.hash=new sha256_js_1.Sha256(secret)}return Sha256.prototype.update=function(data,encoding){this.hash.update((0,util_1.convertToBuffer)(data))},Sha256.prototype.digest=function(){return this.hash.digest()},Sha256.prototype.reset=function(){this.hash.reset()},Sha256}();exports.Sha256=Sha256},"./node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sha256=void 0;var isEmptyData_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js"),constants_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/build/constants.js"),util_utf8_browser_1=__webpack_require__("./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js"),util_locate_window_1=__webpack_require__("./node_modules/@aws-sdk/util-locate-window/dist-es/index.js"),Sha256=function(){function Sha256(secret){this.secret=secret,this.reset()}return Sha256.prototype.update=function(toHash){var _this=this;(0,isEmptyData_1.isEmptyData)(toHash)||(this.operation=this.operation.then((function(operation){return operation.onerror=function(){_this.operation=Promise.reject(new Error("Error encountered updating hash"))},operation.process(toArrayBufferView(toHash)),operation})),this.operation.catch((function(){})))},Sha256.prototype.digest=function(){return this.operation.then((function(operation){return new Promise((function(resolve,reject){operation.onerror=function(){reject(new Error("Error encountered finalizing hash"))},operation.oncomplete=function(){operation.result&&resolve(new Uint8Array(operation.result)),reject(new Error("Error encountered finalizing hash"))},operation.finish()}))}))},Sha256.prototype.reset=function(){this.secret?(this.operation=function getKeyPromise(secret){return new Promise((function(resolve,reject){var keyOperation=(0,util_locate_window_1.locateWindow)().msCrypto.subtle.importKey("raw",toArrayBufferView(secret),constants_1.SHA_256_HMAC_ALGO,!1,["sign"]);keyOperation.oncomplete=function(){keyOperation.result&&resolve(keyOperation.result),reject(new Error("ImportKey completed without importing key."))},keyOperation.onerror=function(){reject(new Error("ImportKey failed to import key."))}}))}(this.secret).then((function(keyData){return(0,util_locate_window_1.locateWindow)().msCrypto.subtle.sign(constants_1.SHA_256_HMAC_ALGO,keyData)})),this.operation.catch((function(){}))):this.operation=Promise.resolve((0,util_locate_window_1.locateWindow)().msCrypto.subtle.digest("SHA-256"))},Sha256}();function toArrayBufferView(data){return"string"==typeof data?(0,util_utf8_browser_1.fromUtf8)(data):ArrayBuffer.isView(data)?new Uint8Array(data.buffer,data.byteOffset,data.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(data)}exports.Sha256=Sha256},"./node_modules/@aws-crypto/sha256-browser/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WebCryptoSha256=exports.Ie11Sha256=void 0,__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.js").__exportStar(__webpack_require__("./node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js"),exports);var ie11Sha256_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js");Object.defineProperty(exports,"Ie11Sha256",{enumerable:!0,get:function(){return ie11Sha256_1.Sha256}});var webCryptoSha256_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js");Object.defineProperty(exports,"WebCryptoSha256",{enumerable:!0,get:function(){return webCryptoSha256_1.Sha256}})},"./node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isEmptyData=void 0,exports.isEmptyData=function isEmptyData(data){return"string"==typeof data?0===data.length:0===data.byteLength}},"./node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sha256=void 0;var util_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js"),constants_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/build/constants.js"),util_locate_window_1=__webpack_require__("./node_modules/@aws-sdk/util-locate-window/dist-es/index.js"),Sha256=function(){function Sha256(secret){this.toHash=new Uint8Array(0),this.secret=secret,this.reset()}return Sha256.prototype.update=function(data){if(!(0,util_1.isEmptyData)(data)){var update=(0,util_1.convertToBuffer)(data),typedArray=new Uint8Array(this.toHash.byteLength+update.byteLength);typedArray.set(this.toHash,0),typedArray.set(update,this.toHash.byteLength),this.toHash=typedArray}},Sha256.prototype.digest=function(){var _this=this;return this.key?this.key.then((function(key){return(0,util_locate_window_1.locateWindow)().crypto.subtle.sign(constants_1.SHA_256_HMAC_ALGO,key,_this.toHash).then((function(data){return new Uint8Array(data)}))})):(0,util_1.isEmptyData)(this.toHash)?Promise.resolve(constants_1.EMPTY_DATA_SHA_256):Promise.resolve().then((function(){return(0,util_locate_window_1.locateWindow)().crypto.subtle.digest(constants_1.SHA_256_HASH,_this.toHash)})).then((function(data){return Promise.resolve(new Uint8Array(data))}))},Sha256.prototype.reset=function(){var _this=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise((function(resolve,reject){(0,util_locate_window_1.locateWindow)().crypto.subtle.importKey("raw",(0,util_1.convertToBuffer)(_this.secret),constants_1.SHA_256_HMAC_ALGO,!1,["sign"]).then(resolve,reject)})),this.key.catch((function(){})))},Sha256}();exports.Sha256=Sha256},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RawSha256=void 0;var constants_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js"),RawSha256=function(){function RawSha256(){this.state=Int32Array.from(constants_1.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return RawSha256.prototype.update=function(data){if(this.finished)throw new Error("Attempted to update an already finished hash.");var position=0,byteLength=data.byteLength;if(this.bytesHashed+=byteLength,8*this.bytesHashed>constants_1.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;byteLength>0;)this.buffer[this.bufferLength++]=data[position++],byteLength--,this.bufferLength===constants_1.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},RawSha256.prototype.digest=function(){if(!this.finished){var bitsHashed=8*this.bytesHashed,bufferView=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),undecoratedLength=this.bufferLength;if(bufferView.setUint8(this.bufferLength++,128),undecoratedLength%constants_1.BLOCK_SIZE>=constants_1.BLOCK_SIZE-8){for(var i=this.bufferLength;i>>24&255,out[4*i+1]=this.state[i]>>>16&255,out[4*i+2]=this.state[i]>>>8&255,out[4*i+3]=this.state[i]>>>0&255;return out},RawSha256.prototype.hashBuffer=function(){for(var buffer=this.buffer,state=this.state,state0=state[0],state1=state[1],state2=state[2],state3=state[3],state4=state[4],state5=state[5],state6=state[6],state7=state[7],i=0;i>>17|u<<15)^(u>>>19|u<<13)^u>>>10,t2_1=((u=this.temp[i-15])>>>7|u<<25)^(u>>>18|u<<14)^u>>>3;this.temp[i]=(t1_1+this.temp[i-7]|0)+(t2_1+this.temp[i-16]|0)}var t1=(((state4>>>6|state4<<26)^(state4>>>11|state4<<21)^(state4>>>25|state4<<7))+(state4&state5^~state4&state6)|0)+(state7+(constants_1.KEY[i]+this.temp[i]|0)|0)|0,t2=((state0>>>2|state0<<30)^(state0>>>13|state0<<19)^(state0>>>22|state0<<10))+(state0&state1^state0&state2^state1&state2)|0;state7=state6,state6=state5,state5=state4,state4=state3+t1|0,state3=state2,state2=state1,state1=state0,state0=t1+t2|0}state[0]+=state0,state[1]+=state1,state[2]+=state2,state[3]+=state3,state[4]+=state4,state[5]+=state5,state[6]+=state6,state[7]+=state7},RawSha256}();exports.RawSha256=RawSha256},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MAX_HASHABLE_LENGTH=exports.INIT=exports.KEY=exports.DIGEST_LENGTH=exports.BLOCK_SIZE=void 0,exports.BLOCK_SIZE=64,exports.DIGEST_LENGTH=32,exports.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),exports.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],exports.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.js").__exportStar(__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js"),exports)},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sha256=void 0;var tslib_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.js"),constants_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js"),RawSha256_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js"),util_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js"),Sha256=function(){function Sha256(secret){this.secret=secret,this.hash=new RawSha256_1.RawSha256,this.reset()}return Sha256.prototype.update=function(toHash){if(!(0,util_1.isEmptyData)(toHash)&&!this.error)try{this.hash.update((0,util_1.convertToBuffer)(toHash))}catch(e){this.error=e}},Sha256.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},Sha256.prototype.digest=function(){return tslib_1.__awaiter(this,void 0,void 0,(function(){return tslib_1.__generator(this,(function(_a){return[2,this.digestSync()]}))}))},Sha256.prototype.reset=function(){if(this.hash=new RawSha256_1.RawSha256,this.secret){this.outer=new RawSha256_1.RawSha256;var inner=function bufferFromSecret(secret){var input=(0,util_1.convertToBuffer)(secret);if(input.byteLength>constants_1.BLOCK_SIZE){var bufferHash=new RawSha256_1.RawSha256;bufferHash.update(input),input=bufferHash.digest()}var buffer=new Uint8Array(constants_1.BLOCK_SIZE);return buffer.set(input),buffer}(this.secret),outer=new Uint8Array(constants_1.BLOCK_SIZE);outer.set(inner);for(var i=0;i{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.convertToBuffer=void 0;var util_utf8_browser_1=__webpack_require__("./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js"),fromUtf8="undefined"!=typeof Buffer&&Buffer.from?function(input){return Buffer.from(input,"utf8")}:util_utf8_browser_1.fromUtf8;exports.convertToBuffer=function convertToBuffer(data){return data instanceof Uint8Array?data:"string"==typeof data?fromUtf8(data):ArrayBuffer.isView(data)?new Uint8Array(data.buffer,data.byteOffset,data.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(data)}},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.uint32ArrayFrom=exports.numToUint8=exports.isEmptyData=exports.convertToBuffer=void 0;var convertToBuffer_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/convertToBuffer.js");Object.defineProperty(exports,"convertToBuffer",{enumerable:!0,get:function(){return convertToBuffer_1.convertToBuffer}});var isEmptyData_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/isEmptyData.js");Object.defineProperty(exports,"isEmptyData",{enumerable:!0,get:function(){return isEmptyData_1.isEmptyData}});var numToUint8_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/numToUint8.js");Object.defineProperty(exports,"numToUint8",{enumerable:!0,get:function(){return numToUint8_1.numToUint8}});var uint32ArrayFrom_1=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js");Object.defineProperty(exports,"uint32ArrayFrom",{enumerable:!0,get:function(){return uint32ArrayFrom_1.uint32ArrayFrom}})},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/isEmptyData.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isEmptyData=void 0,exports.isEmptyData=function isEmptyData(data){return"string"==typeof data?0===data.length:0===data.byteLength}},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/numToUint8.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.numToUint8=void 0,exports.numToUint8=function numToUint8(num){return new Uint8Array([(4278190080&num)>>24,(16711680&num)>>16,(65280&num)>>8,255&num])}},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.uint32ArrayFrom=void 0,exports.uint32ArrayFrom=function uint32ArrayFrom(a_lookUpTable){if(!Uint32Array.from){for(var return_array=new Uint32Array(a_lookUpTable.length),a_index=0;a_index{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__assign:()=>__assign,__asyncDelegator:()=>__asyncDelegator,__asyncGenerator:()=>__asyncGenerator,__asyncValues:()=>__asyncValues,__await:()=>__await,__awaiter:()=>__awaiter,__classPrivateFieldGet:()=>__classPrivateFieldGet,__classPrivateFieldSet:()=>__classPrivateFieldSet,__createBinding:()=>__createBinding,__decorate:()=>__decorate,__exportStar:()=>__exportStar,__extends:()=>__extends,__generator:()=>__generator,__importDefault:()=>__importDefault,__importStar:()=>__importStar,__makeTemplateObject:()=>__makeTemplateObject,__metadata:()=>__metadata,__param:()=>__param,__read:()=>__read,__rest:()=>__rest,__spread:()=>__spread,__spreadArrays:()=>__spreadArrays,__values:()=>__values});var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},extendStatics(d,b)};function __extends(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}var __assign=function(){return __assign=Object.assign||function __assign(t){for(var s,i=1,n=arguments.length;i=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r}function __param(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}}function __metadata(metadataKey,metadataValue){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(metadataKey,metadataValue)}function __awaiter(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))}function __generator(thisArg,body){var f,y,t,g,_={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return g={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return function step(op){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(t=2&op[0]?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[2&op[0],t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(!(t=_.trys,(t=t.length>0&&t[t.length-1])||6!==op[0]&&2!==op[0])){_=0;continue}if(3===op[0]&&(!t||op[1]>t[0]&&op[1]=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(o,n){var m="function"==typeof Symbol&&o[Symbol.iterator];if(!m)return o;var r,e,i=m.call(o),ar=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)ar.push(r.value)}catch(error){e={error}}finally{try{r&&!r.done&&(m=i.return)&&m.call(i)}finally{if(e)throw e.error}}return ar}function __spread(){for(var ar=[],i=0;i1||resume(n,v)}))})}function resume(n,v){try{!function step(r){r.value instanceof __await?Promise.resolve(r.value.v).then(fulfill,reject):settle(q[0][2],r)}(g[n](v))}catch(e){settle(q[0][3],e)}}function fulfill(value){resume("next",value)}function reject(value){resume("throw",value)}function settle(f,v){f(v),q.shift(),q.length&&resume(q[0][0],q[0][1])}}function __asyncDelegator(o){var i,p;return i={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),i[Symbol.iterator]=function(){return this},i;function verb(n,f){i[n]=o[n]?function(v){return(p=!p)?{value:__await(o[n](v)),done:"return"===n}:f?f(v):v}:f}}function __asyncValues(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,m=o[Symbol.asyncIterator];return m?m.call(o):(o=__values(o),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(n){i[n]=o[n]&&function(v){return new Promise((function(resolve,reject){(function settle(resolve,reject,d,v){Promise.resolve(v).then((function(v){resolve({value:v,done:d})}),reject)})(resolve,reject,(v=o[n](v)).done,v.value)}))}}}function __makeTemplateObject(cooked,raw){return Object.defineProperty?Object.defineProperty(cooked,"raw",{value:raw}):cooked.raw=raw,cooked}function __importStar(mod){if(mod&&mod.__esModule)return mod;var result={};if(null!=mod)for(var k in mod)Object.hasOwnProperty.call(mod,k)&&(result[k]=mod[k]);return result.default=mod,result}function __importDefault(mod){return mod&&mod.__esModule?mod:{default:mod}}function __classPrivateFieldGet(receiver,privateMap){if(!privateMap.has(receiver))throw new TypeError("attempted to get private field on non-instance");return privateMap.get(receiver)}function __classPrivateFieldSet(receiver,privateMap,value){if(!privateMap.has(receiver))throw new TypeError("attempted to set private field on non-instance");return privateMap.set(receiver,value),value}},"./node_modules/@aws-crypto/sha256-js/build/RawSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RawSha256=void 0;var constants_1=__webpack_require__("./node_modules/@aws-crypto/sha256-js/build/constants.js"),RawSha256=function(){function RawSha256(){this.state=Int32Array.from(constants_1.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return RawSha256.prototype.update=function(data){if(this.finished)throw new Error("Attempted to update an already finished hash.");var position=0,byteLength=data.byteLength;if(this.bytesHashed+=byteLength,8*this.bytesHashed>constants_1.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;byteLength>0;)this.buffer[this.bufferLength++]=data[position++],byteLength--,this.bufferLength===constants_1.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},RawSha256.prototype.digest=function(){if(!this.finished){var bitsHashed=8*this.bytesHashed,bufferView=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),undecoratedLength=this.bufferLength;if(bufferView.setUint8(this.bufferLength++,128),undecoratedLength%constants_1.BLOCK_SIZE>=constants_1.BLOCK_SIZE-8){for(var i=this.bufferLength;i>>24&255,out[4*i+1]=this.state[i]>>>16&255,out[4*i+2]=this.state[i]>>>8&255,out[4*i+3]=this.state[i]>>>0&255;return out},RawSha256.prototype.hashBuffer=function(){for(var buffer=this.buffer,state=this.state,state0=state[0],state1=state[1],state2=state[2],state3=state[3],state4=state[4],state5=state[5],state6=state[6],state7=state[7],i=0;i>>17|u<<15)^(u>>>19|u<<13)^u>>>10,t2_1=((u=this.temp[i-15])>>>7|u<<25)^(u>>>18|u<<14)^u>>>3;this.temp[i]=(t1_1+this.temp[i-7]|0)+(t2_1+this.temp[i-16]|0)}var t1=(((state4>>>6|state4<<26)^(state4>>>11|state4<<21)^(state4>>>25|state4<<7))+(state4&state5^~state4&state6)|0)+(state7+(constants_1.KEY[i]+this.temp[i]|0)|0)|0,t2=((state0>>>2|state0<<30)^(state0>>>13|state0<<19)^(state0>>>22|state0<<10))+(state0&state1^state0&state2^state1&state2)|0;state7=state6,state6=state5,state5=state4,state4=state3+t1|0,state3=state2,state2=state1,state1=state0,state0=t1+t2|0}state[0]+=state0,state[1]+=state1,state[2]+=state2,state[3]+=state3,state[4]+=state4,state[5]+=state5,state[6]+=state6,state[7]+=state7},RawSha256}();exports.RawSha256=RawSha256},"./node_modules/@aws-crypto/sha256-js/build/constants.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MAX_HASHABLE_LENGTH=exports.INIT=exports.KEY=exports.DIGEST_LENGTH=exports.BLOCK_SIZE=void 0,exports.BLOCK_SIZE=64,exports.DIGEST_LENGTH=32,exports.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),exports.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],exports.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},"./node_modules/@aws-crypto/sha256-js/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),__webpack_require__("./node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.js").__exportStar(__webpack_require__("./node_modules/@aws-crypto/sha256-js/build/jsSha256.js"),exports)},"./node_modules/@aws-crypto/sha256-js/build/jsSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sha256=void 0;var tslib_1=__webpack_require__("./node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.js"),constants_1=__webpack_require__("./node_modules/@aws-crypto/sha256-js/build/constants.js"),RawSha256_1=__webpack_require__("./node_modules/@aws-crypto/sha256-js/build/RawSha256.js"),util_1=__webpack_require__("./node_modules/@aws-crypto/util/build/index.js"),Sha256=function(){function Sha256(secret){if(this.hash=new RawSha256_1.RawSha256,secret){this.outer=new RawSha256_1.RawSha256;var inner=function bufferFromSecret(secret){var input=(0,util_1.convertToBuffer)(secret);if(input.byteLength>constants_1.BLOCK_SIZE){var bufferHash=new RawSha256_1.RawSha256;bufferHash.update(input),input=bufferHash.digest()}var buffer=new Uint8Array(constants_1.BLOCK_SIZE);return buffer.set(input),buffer}(secret),outer=new Uint8Array(constants_1.BLOCK_SIZE);outer.set(inner);for(var i=0;i{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__assign:()=>__assign,__asyncDelegator:()=>__asyncDelegator,__asyncGenerator:()=>__asyncGenerator,__asyncValues:()=>__asyncValues,__await:()=>__await,__awaiter:()=>__awaiter,__classPrivateFieldGet:()=>__classPrivateFieldGet,__classPrivateFieldSet:()=>__classPrivateFieldSet,__createBinding:()=>__createBinding,__decorate:()=>__decorate,__exportStar:()=>__exportStar,__extends:()=>__extends,__generator:()=>__generator,__importDefault:()=>__importDefault,__importStar:()=>__importStar,__makeTemplateObject:()=>__makeTemplateObject,__metadata:()=>__metadata,__param:()=>__param,__read:()=>__read,__rest:()=>__rest,__spread:()=>__spread,__spreadArrays:()=>__spreadArrays,__values:()=>__values});var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},extendStatics(d,b)};function __extends(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}var __assign=function(){return __assign=Object.assign||function __assign(t){for(var s,i=1,n=arguments.length;i=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r}function __param(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}}function __metadata(metadataKey,metadataValue){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(metadataKey,metadataValue)}function __awaiter(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))}function __generator(thisArg,body){var f,y,t,g,_={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return g={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return function step(op){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(t=2&op[0]?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[2&op[0],t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(!(t=_.trys,(t=t.length>0&&t[t.length-1])||6!==op[0]&&2!==op[0])){_=0;continue}if(3===op[0]&&(!t||op[1]>t[0]&&op[1]=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(o,n){var m="function"==typeof Symbol&&o[Symbol.iterator];if(!m)return o;var r,e,i=m.call(o),ar=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)ar.push(r.value)}catch(error){e={error}}finally{try{r&&!r.done&&(m=i.return)&&m.call(i)}finally{if(e)throw e.error}}return ar}function __spread(){for(var ar=[],i=0;i1||resume(n,v)}))})}function resume(n,v){try{!function step(r){r.value instanceof __await?Promise.resolve(r.value.v).then(fulfill,reject):settle(q[0][2],r)}(g[n](v))}catch(e){settle(q[0][3],e)}}function fulfill(value){resume("next",value)}function reject(value){resume("throw",value)}function settle(f,v){f(v),q.shift(),q.length&&resume(q[0][0],q[0][1])}}function __asyncDelegator(o){var i,p;return i={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),i[Symbol.iterator]=function(){return this},i;function verb(n,f){i[n]=o[n]?function(v){return(p=!p)?{value:__await(o[n](v)),done:"return"===n}:f?f(v):v}:f}}function __asyncValues(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,m=o[Symbol.asyncIterator];return m?m.call(o):(o=__values(o),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(n){i[n]=o[n]&&function(v){return new Promise((function(resolve,reject){(function settle(resolve,reject,d,v){Promise.resolve(v).then((function(v){resolve({value:v,done:d})}),reject)})(resolve,reject,(v=o[n](v)).done,v.value)}))}}}function __makeTemplateObject(cooked,raw){return Object.defineProperty?Object.defineProperty(cooked,"raw",{value:raw}):cooked.raw=raw,cooked}function __importStar(mod){if(mod&&mod.__esModule)return mod;var result={};if(null!=mod)for(var k in mod)Object.hasOwnProperty.call(mod,k)&&(result[k]=mod[k]);return result.default=mod,result}function __importDefault(mod){return mod&&mod.__esModule?mod:{default:mod}}function __classPrivateFieldGet(receiver,privateMap){if(!privateMap.has(receiver))throw new TypeError("attempted to get private field on non-instance");return privateMap.get(receiver)}function __classPrivateFieldSet(receiver,privateMap,value){if(!privateMap.has(receiver))throw new TypeError("attempted to set private field on non-instance");return privateMap.set(receiver,value),value}},"./node_modules/@aws-crypto/supports-web-crypto/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),__webpack_require__("./node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.js").__exportStar(__webpack_require__("./node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js"),exports)},"./node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.supportsZeroByteGCM=exports.supportsSubtleCrypto=exports.supportsSecureRandom=exports.supportsWebCrypto=void 0;var tslib_1=__webpack_require__("./node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.js"),subtleCryptoMethods=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function supportsSecureRandom(window){return"object"==typeof window&&"object"==typeof window.crypto&&"function"==typeof window.crypto.getRandomValues}function supportsSubtleCrypto(subtle){return subtle&&subtleCryptoMethods.every((function(methodName){return"function"==typeof subtle[methodName]}))}exports.supportsWebCrypto=function supportsWebCrypto(window){return!(!supportsSecureRandom(window)||"object"!=typeof window.crypto.subtle)&&supportsSubtleCrypto(window.crypto.subtle)},exports.supportsSecureRandom=supportsSecureRandom,exports.supportsSubtleCrypto=supportsSubtleCrypto,exports.supportsZeroByteGCM=function supportsZeroByteGCM(subtle){return tslib_1.__awaiter(this,void 0,void 0,(function(){var key;return tslib_1.__generator(this,(function(_b){switch(_b.label){case 0:if(!supportsSubtleCrypto(subtle))return[2,!1];_b.label=1;case 1:return _b.trys.push([1,4,,5]),[4,subtle.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return key=_b.sent(),[4,subtle.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},key,new Uint8Array(0))];case 3:return[2,16===_b.sent().byteLength];case 4:return _b.sent(),[2,!1];case 5:return[2]}}))}))}},"./node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__assign:()=>__assign,__asyncDelegator:()=>__asyncDelegator,__asyncGenerator:()=>__asyncGenerator,__asyncValues:()=>__asyncValues,__await:()=>__await,__awaiter:()=>__awaiter,__classPrivateFieldGet:()=>__classPrivateFieldGet,__classPrivateFieldSet:()=>__classPrivateFieldSet,__createBinding:()=>__createBinding,__decorate:()=>__decorate,__exportStar:()=>__exportStar,__extends:()=>__extends,__generator:()=>__generator,__importDefault:()=>__importDefault,__importStar:()=>__importStar,__makeTemplateObject:()=>__makeTemplateObject,__metadata:()=>__metadata,__param:()=>__param,__read:()=>__read,__rest:()=>__rest,__spread:()=>__spread,__spreadArrays:()=>__spreadArrays,__values:()=>__values});var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},extendStatics(d,b)};function __extends(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}var __assign=function(){return __assign=Object.assign||function __assign(t){for(var s,i=1,n=arguments.length;i=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r}function __param(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}}function __metadata(metadataKey,metadataValue){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(metadataKey,metadataValue)}function __awaiter(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))}function __generator(thisArg,body){var f,y,t,g,_={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return g={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return function step(op){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(t=2&op[0]?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[2&op[0],t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(!(t=_.trys,(t=t.length>0&&t[t.length-1])||6!==op[0]&&2!==op[0])){_=0;continue}if(3===op[0]&&(!t||op[1]>t[0]&&op[1]=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(o,n){var m="function"==typeof Symbol&&o[Symbol.iterator];if(!m)return o;var r,e,i=m.call(o),ar=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)ar.push(r.value)}catch(error){e={error}}finally{try{r&&!r.done&&(m=i.return)&&m.call(i)}finally{if(e)throw e.error}}return ar}function __spread(){for(var ar=[],i=0;i1||resume(n,v)}))})}function resume(n,v){try{!function step(r){r.value instanceof __await?Promise.resolve(r.value.v).then(fulfill,reject):settle(q[0][2],r)}(g[n](v))}catch(e){settle(q[0][3],e)}}function fulfill(value){resume("next",value)}function reject(value){resume("throw",value)}function settle(f,v){f(v),q.shift(),q.length&&resume(q[0][0],q[0][1])}}function __asyncDelegator(o){var i,p;return i={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),i[Symbol.iterator]=function(){return this},i;function verb(n,f){i[n]=o[n]?function(v){return(p=!p)?{value:__await(o[n](v)),done:"return"===n}:f?f(v):v}:f}}function __asyncValues(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,m=o[Symbol.asyncIterator];return m?m.call(o):(o=__values(o),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(n){i[n]=o[n]&&function(v){return new Promise((function(resolve,reject){(function settle(resolve,reject,d,v){Promise.resolve(v).then((function(v){resolve({value:v,done:d})}),reject)})(resolve,reject,(v=o[n](v)).done,v.value)}))}}}function __makeTemplateObject(cooked,raw){return Object.defineProperty?Object.defineProperty(cooked,"raw",{value:raw}):cooked.raw=raw,cooked}function __importStar(mod){if(mod&&mod.__esModule)return mod;var result={};if(null!=mod)for(var k in mod)Object.hasOwnProperty.call(mod,k)&&(result[k]=mod[k]);return result.default=mod,result}function __importDefault(mod){return mod&&mod.__esModule?mod:{default:mod}}function __classPrivateFieldGet(receiver,privateMap){if(!privateMap.has(receiver))throw new TypeError("attempted to get private field on non-instance");return privateMap.get(receiver)}function __classPrivateFieldSet(receiver,privateMap,value){if(!privateMap.has(receiver))throw new TypeError("attempted to set private field on non-instance");return privateMap.set(receiver,value),value}},"./node_modules/@aws-crypto/util/build/convertToBuffer.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.convertToBuffer=void 0;var util_utf8_browser_1=__webpack_require__("./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js"),fromUtf8="undefined"!=typeof Buffer&&Buffer.from?function(input){return Buffer.from(input,"utf8")}:util_utf8_browser_1.fromUtf8;exports.convertToBuffer=function convertToBuffer(data){return data instanceof Uint8Array?data:"string"==typeof data?fromUtf8(data):ArrayBuffer.isView(data)?new Uint8Array(data.buffer,data.byteOffset,data.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(data)}},"./node_modules/@aws-crypto/util/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.uint32ArrayFrom=exports.numToUint8=exports.isEmptyData=exports.convertToBuffer=void 0;var convertToBuffer_1=__webpack_require__("./node_modules/@aws-crypto/util/build/convertToBuffer.js");Object.defineProperty(exports,"convertToBuffer",{enumerable:!0,get:function(){return convertToBuffer_1.convertToBuffer}});var isEmptyData_1=__webpack_require__("./node_modules/@aws-crypto/util/build/isEmptyData.js");Object.defineProperty(exports,"isEmptyData",{enumerable:!0,get:function(){return isEmptyData_1.isEmptyData}});var numToUint8_1=__webpack_require__("./node_modules/@aws-crypto/util/build/numToUint8.js");Object.defineProperty(exports,"numToUint8",{enumerable:!0,get:function(){return numToUint8_1.numToUint8}});var uint32ArrayFrom_1=__webpack_require__("./node_modules/@aws-crypto/util/build/uint32ArrayFrom.js");Object.defineProperty(exports,"uint32ArrayFrom",{enumerable:!0,get:function(){return uint32ArrayFrom_1.uint32ArrayFrom}})},"./node_modules/@aws-crypto/util/build/isEmptyData.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isEmptyData=void 0,exports.isEmptyData=function isEmptyData(data){return"string"==typeof data?0===data.length:0===data.byteLength}},"./node_modules/@aws-crypto/util/build/numToUint8.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.numToUint8=void 0,exports.numToUint8=function numToUint8(num){return new Uint8Array([(4278190080&num)>>24,(16711680&num)>>16,(65280&num)>>8,255&num])}},"./node_modules/@aws-crypto/util/build/uint32ArrayFrom.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.uint32ArrayFrom=void 0,exports.uint32ArrayFrom=function uint32ArrayFrom(a_lookUpTable){if(!Uint32Array.from){for(var return_array=new Uint32Array(a_lookUpTable.length),a_index=0;a_index{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{$Command:()=>Command,AllowNotifications:()=>AllowNotifications,AssociateChannelFlowCommand:()=>AssociateChannelFlowCommand,BadRequestException:()=>BadRequestException,BatchChannelMembershipsFilterSensitiveLog:()=>BatchChannelMembershipsFilterSensitiveLog,BatchCreateChannelMembershipCommand:()=>BatchCreateChannelMembershipCommand,BatchCreateChannelMembershipResponseFilterSensitiveLog:()=>BatchCreateChannelMembershipResponseFilterSensitiveLog,ChannelAssociatedWithFlowSummaryFilterSensitiveLog:()=>ChannelAssociatedWithFlowSummaryFilterSensitiveLog,ChannelBanFilterSensitiveLog:()=>ChannelBanFilterSensitiveLog,ChannelBanSummaryFilterSensitiveLog:()=>ChannelBanSummaryFilterSensitiveLog,ChannelFilterSensitiveLog:()=>ChannelFilterSensitiveLog,ChannelFlowCallbackCommand:()=>ChannelFlowCallbackCommand,ChannelFlowCallbackRequestFilterSensitiveLog:()=>ChannelFlowCallbackRequestFilterSensitiveLog,ChannelFlowFilterSensitiveLog:()=>ChannelFlowFilterSensitiveLog,ChannelFlowSummaryFilterSensitiveLog:()=>ChannelFlowSummaryFilterSensitiveLog,ChannelMembershipFilterSensitiveLog:()=>ChannelMembershipFilterSensitiveLog,ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog:()=>ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog,ChannelMembershipPreferencesFilterSensitiveLog:()=>ChannelMembershipPreferencesFilterSensitiveLog,ChannelMembershipSummaryFilterSensitiveLog:()=>ChannelMembershipSummaryFilterSensitiveLog,ChannelMembershipType:()=>ChannelMembershipType,ChannelMessageCallbackFilterSensitiveLog:()=>ChannelMessageCallbackFilterSensitiveLog,ChannelMessageFilterSensitiveLog:()=>ChannelMessageFilterSensitiveLog,ChannelMessagePersistenceType:()=>ChannelMessagePersistenceType,ChannelMessageStatus:()=>ChannelMessageStatus,ChannelMessageSummaryFilterSensitiveLog:()=>ChannelMessageSummaryFilterSensitiveLog,ChannelMessageType:()=>ChannelMessageType,ChannelMode:()=>ChannelMode,ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog:()=>ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog,ChannelModeratorFilterSensitiveLog:()=>ChannelModeratorFilterSensitiveLog,ChannelModeratorSummaryFilterSensitiveLog:()=>ChannelModeratorSummaryFilterSensitiveLog,ChannelPrivacy:()=>ChannelPrivacy,ChannelSummaryFilterSensitiveLog:()=>ChannelSummaryFilterSensitiveLog,ChimeSDKMessaging:()=>ChimeSDKMessaging,ChimeSDKMessagingClient:()=>ChimeSDKMessagingClient,ChimeSDKMessagingServiceException:()=>ChimeSDKMessagingServiceException,ConflictException:()=>ConflictException,CreateChannelBanCommand:()=>CreateChannelBanCommand,CreateChannelBanResponseFilterSensitiveLog:()=>CreateChannelBanResponseFilterSensitiveLog,CreateChannelCommand:()=>CreateChannelCommand,CreateChannelFlowCommand:()=>CreateChannelFlowCommand,CreateChannelFlowRequestFilterSensitiveLog:()=>CreateChannelFlowRequestFilterSensitiveLog,CreateChannelMembershipCommand:()=>CreateChannelMembershipCommand,CreateChannelMembershipResponseFilterSensitiveLog:()=>CreateChannelMembershipResponseFilterSensitiveLog,CreateChannelModeratorCommand:()=>CreateChannelModeratorCommand,CreateChannelModeratorResponseFilterSensitiveLog:()=>CreateChannelModeratorResponseFilterSensitiveLog,CreateChannelRequestFilterSensitiveLog:()=>CreateChannelRequestFilterSensitiveLog,DeleteChannelBanCommand:()=>DeleteChannelBanCommand,DeleteChannelCommand:()=>DeleteChannelCommand,DeleteChannelFlowCommand:()=>DeleteChannelFlowCommand,DeleteChannelMembershipCommand:()=>DeleteChannelMembershipCommand,DeleteChannelMessageCommand:()=>DeleteChannelMessageCommand,DeleteChannelModeratorCommand:()=>DeleteChannelModeratorCommand,DeleteMessagingStreamingConfigurationsCommand:()=>DeleteMessagingStreamingConfigurationsCommand,DescribeChannelBanCommand:()=>DescribeChannelBanCommand,DescribeChannelBanResponseFilterSensitiveLog:()=>DescribeChannelBanResponseFilterSensitiveLog,DescribeChannelCommand:()=>DescribeChannelCommand,DescribeChannelFlowCommand:()=>DescribeChannelFlowCommand,DescribeChannelFlowResponseFilterSensitiveLog:()=>DescribeChannelFlowResponseFilterSensitiveLog,DescribeChannelMembershipCommand:()=>DescribeChannelMembershipCommand,DescribeChannelMembershipForAppInstanceUserCommand:()=>DescribeChannelMembershipForAppInstanceUserCommand,DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog:()=>DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog,DescribeChannelMembershipResponseFilterSensitiveLog:()=>DescribeChannelMembershipResponseFilterSensitiveLog,DescribeChannelModeratedByAppInstanceUserCommand:()=>DescribeChannelModeratedByAppInstanceUserCommand,DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog:()=>DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog,DescribeChannelModeratorCommand:()=>DescribeChannelModeratorCommand,DescribeChannelModeratorResponseFilterSensitiveLog:()=>DescribeChannelModeratorResponseFilterSensitiveLog,DescribeChannelResponseFilterSensitiveLog:()=>DescribeChannelResponseFilterSensitiveLog,DisassociateChannelFlowCommand:()=>DisassociateChannelFlowCommand,ErrorCode:()=>ErrorCode,ExpirationCriterion:()=>ExpirationCriterion,FallbackAction:()=>FallbackAction,ForbiddenException:()=>ForbiddenException,GetChannelMembershipPreferencesCommand:()=>GetChannelMembershipPreferencesCommand,GetChannelMembershipPreferencesResponseFilterSensitiveLog:()=>GetChannelMembershipPreferencesResponseFilterSensitiveLog,GetChannelMessageCommand:()=>GetChannelMessageCommand,GetChannelMessageResponseFilterSensitiveLog:()=>GetChannelMessageResponseFilterSensitiveLog,GetChannelMessageStatusCommand:()=>GetChannelMessageStatusCommand,GetMessagingSessionEndpointCommand:()=>GetMessagingSessionEndpointCommand,GetMessagingStreamingConfigurationsCommand:()=>GetMessagingStreamingConfigurationsCommand,IdentityFilterSensitiveLog:()=>IdentityFilterSensitiveLog,InvocationType:()=>InvocationType,ListChannelBansCommand:()=>ListChannelBansCommand,ListChannelBansRequestFilterSensitiveLog:()=>ListChannelBansRequestFilterSensitiveLog,ListChannelBansResponseFilterSensitiveLog:()=>ListChannelBansResponseFilterSensitiveLog,ListChannelFlowsCommand:()=>ListChannelFlowsCommand,ListChannelFlowsRequestFilterSensitiveLog:()=>ListChannelFlowsRequestFilterSensitiveLog,ListChannelFlowsResponseFilterSensitiveLog:()=>ListChannelFlowsResponseFilterSensitiveLog,ListChannelMembershipsCommand:()=>ListChannelMembershipsCommand,ListChannelMembershipsForAppInstanceUserCommand:()=>ListChannelMembershipsForAppInstanceUserCommand,ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog:()=>ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog,ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog:()=>ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog,ListChannelMembershipsRequestFilterSensitiveLog:()=>ListChannelMembershipsRequestFilterSensitiveLog,ListChannelMembershipsResponseFilterSensitiveLog:()=>ListChannelMembershipsResponseFilterSensitiveLog,ListChannelMessagesCommand:()=>ListChannelMessagesCommand,ListChannelMessagesRequestFilterSensitiveLog:()=>ListChannelMessagesRequestFilterSensitiveLog,ListChannelMessagesResponseFilterSensitiveLog:()=>ListChannelMessagesResponseFilterSensitiveLog,ListChannelModeratorsCommand:()=>ListChannelModeratorsCommand,ListChannelModeratorsRequestFilterSensitiveLog:()=>ListChannelModeratorsRequestFilterSensitiveLog,ListChannelModeratorsResponseFilterSensitiveLog:()=>ListChannelModeratorsResponseFilterSensitiveLog,ListChannelsAssociatedWithChannelFlowCommand:()=>ListChannelsAssociatedWithChannelFlowCommand,ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog:()=>ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog,ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog:()=>ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog,ListChannelsCommand:()=>ListChannelsCommand,ListChannelsModeratedByAppInstanceUserCommand:()=>ListChannelsModeratedByAppInstanceUserCommand,ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog:()=>ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog,ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog:()=>ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog,ListChannelsRequestFilterSensitiveLog:()=>ListChannelsRequestFilterSensitiveLog,ListChannelsResponseFilterSensitiveLog:()=>ListChannelsResponseFilterSensitiveLog,ListSubChannelsCommand:()=>ListSubChannelsCommand,ListSubChannelsRequestFilterSensitiveLog:()=>ListSubChannelsRequestFilterSensitiveLog,ListSubChannelsResponseFilterSensitiveLog:()=>ListSubChannelsResponseFilterSensitiveLog,ListTagsForResourceCommand:()=>ListTagsForResourceCommand,ListTagsForResourceResponseFilterSensitiveLog:()=>ListTagsForResourceResponseFilterSensitiveLog,MessageAttributeValueFilterSensitiveLog:()=>MessageAttributeValueFilterSensitiveLog,MessagingDataType:()=>MessagingDataType,NotFoundException:()=>NotFoundException,ProcessorFilterSensitiveLog:()=>ProcessorFilterSensitiveLog,PushNotificationConfigurationFilterSensitiveLog:()=>PushNotificationConfigurationFilterSensitiveLog,PushNotificationPreferencesFilterSensitiveLog:()=>PushNotificationPreferencesFilterSensitiveLog,PushNotificationType:()=>PushNotificationType,PutChannelExpirationSettingsCommand:()=>PutChannelExpirationSettingsCommand,PutChannelMembershipPreferencesCommand:()=>PutChannelMembershipPreferencesCommand,PutChannelMembershipPreferencesRequestFilterSensitiveLog:()=>PutChannelMembershipPreferencesRequestFilterSensitiveLog,PutChannelMembershipPreferencesResponseFilterSensitiveLog:()=>PutChannelMembershipPreferencesResponseFilterSensitiveLog,PutMessagingStreamingConfigurationsCommand:()=>PutMessagingStreamingConfigurationsCommand,RedactChannelMessageCommand:()=>RedactChannelMessageCommand,ResourceLimitExceededException:()=>ResourceLimitExceededException,SearchChannelsCommand:()=>SearchChannelsCommand,SearchChannelsRequestFilterSensitiveLog:()=>SearchChannelsRequestFilterSensitiveLog,SearchChannelsResponseFilterSensitiveLog:()=>SearchChannelsResponseFilterSensitiveLog,SearchFieldKey:()=>SearchFieldKey,SearchFieldOperator:()=>SearchFieldOperator,SendChannelMessageCommand:()=>SendChannelMessageCommand,SendChannelMessageRequestFilterSensitiveLog:()=>SendChannelMessageRequestFilterSensitiveLog,ServiceFailureException:()=>ServiceFailureException,ServiceUnavailableException:()=>ServiceUnavailableException,SortOrder:()=>SortOrder,TagFilterSensitiveLog:()=>TagFilterSensitiveLog,TagResourceCommand:()=>TagResourceCommand,TagResourceRequestFilterSensitiveLog:()=>TagResourceRequestFilterSensitiveLog,ThrottledClientException:()=>ThrottledClientException,UnauthorizedClientException:()=>UnauthorizedClientException,UntagResourceCommand:()=>UntagResourceCommand,UntagResourceRequestFilterSensitiveLog:()=>UntagResourceRequestFilterSensitiveLog,UpdateChannelCommand:()=>UpdateChannelCommand,UpdateChannelFlowCommand:()=>UpdateChannelFlowCommand,UpdateChannelFlowRequestFilterSensitiveLog:()=>UpdateChannelFlowRequestFilterSensitiveLog,UpdateChannelMessageCommand:()=>UpdateChannelMessageCommand,UpdateChannelMessageRequestFilterSensitiveLog:()=>UpdateChannelMessageRequestFilterSensitiveLog,UpdateChannelReadMarkerCommand:()=>UpdateChannelReadMarkerCommand,UpdateChannelRequestFilterSensitiveLog:()=>UpdateChannelRequestFilterSensitiveLog,__Client:()=>Client,paginateListChannelBans:()=>paginateListChannelBans,paginateListChannelFlows:()=>paginateListChannelFlows,paginateListChannelMemberships:()=>paginateListChannelMemberships,paginateListChannelMembershipsForAppInstanceUser:()=>paginateListChannelMembershipsForAppInstanceUser,paginateListChannelMessages:()=>paginateListChannelMessages,paginateListChannelModerators:()=>paginateListChannelModerators,paginateListChannels:()=>paginateListChannels,paginateListChannelsAssociatedWithChannelFlow:()=>paginateListChannelsAssociatedWithChannelFlow,paginateListChannelsModeratedByAppInstanceUser:()=>paginateListChannelsModeratedByAppInstanceUser,paginateListSubChannels:()=>paginateListSubChannels,paginateSearchChannels:()=>paginateSearchChannels});var aws_namespaceObject={};__webpack_require__.r(aws_namespaceObject),__webpack_require__.d(aws_namespaceObject,{getUserAgentPrefix:()=>getUserAgentPrefix,isVirtualHostableS3Bucket:()=>isVirtualHostableS3Bucket,parseArn:()=>parseArn,partition:()=>partition,setPartitionInfo:()=>setPartitionInfo,useDefaultPartitionInfo:()=>useDefaultPartitionInfo});var SelectorType,lib_namespaceObject={};__webpack_require__.r(lib_namespaceObject),__webpack_require__.d(lib_namespaceObject,{aws:()=>aws_namespaceObject,booleanEquals:()=>booleanEquals,getAttr:()=>getAttr,isSet:()=>isSet,isValidHostLabel:()=>isValidHostLabel,not:()=>not,parseURL:()=>parseURL,stringEquals:()=>stringEquals,substring:()=>substring,uriEncode:()=>uriEncode}),function(SelectorType){SelectorType.ENV="env",SelectorType.CONFIG="shared config entry"}(SelectorType||(SelectorType={}));const isFipsRegion=region=>"string"==typeof region&&(region.startsWith("fips-")||region.endsWith("-fips")),getRealRegion=region=>isFipsRegion(region)?["fips-aws-global","aws-fips"].includes(region)?"us-east-1":region.replace(/fips-(dkr-|prod-)?|-fips/,""):region;var FieldPosition_FieldPosition;!function(FieldPosition){FieldPosition[FieldPosition.HEADER=0]="HEADER",FieldPosition[FieldPosition.TRAILER=1]="TRAILER"}(FieldPosition_FieldPosition||(FieldPosition_FieldPosition={}));class httpRequest_HttpRequest{constructor(options){this.method=options.method||"GET",this.hostname=options.hostname||"localhost",this.port=options.port,this.query=options.query||{},this.headers=options.headers||{},this.body=options.body,this.protocol=options.protocol?":"!==options.protocol.slice(-1)?`${options.protocol}:`:options.protocol:"https:",this.path=options.path?"/"!==options.path.charAt(0)?`/${options.path}`:options.path:"/"}static isInstance(request){if(!request)return!1;const req=request;return"method"in req&&"protocol"in req&&"hostname"in req&&"path"in req&&"object"==typeof req.query&&"object"==typeof req.headers}clone(){const cloned=new httpRequest_HttpRequest({...this,headers:{...this.headers}});return cloned.query&&(cloned.query=function cloneQuery(query){return Object.keys(query).reduce(((carry,paramName)=>{const param=query[paramName];return{...carry,[paramName]:Array.isArray(param)?[...param]:param}}),{})}(cloned.query)),cloned}}class httpResponse_HttpResponse{constructor(options){this.statusCode=options.statusCode,this.headers=options.headers||{},this.body=options.body}static isInstance(response){if(!response)return!1;const resp=response;return"number"==typeof resp.statusCode&&"object"==typeof resp.headers}}const contentLengthMiddlewareOptions={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},getContentLengthPlugin=options=>({applyToStack:clientStack=>{clientStack.add(function contentLengthMiddleware(bodyLengthChecker){return next=>async args=>{const request=args.request;if(httpRequest_HttpRequest.isInstance(request)){const{body,headers}=request;if(body&&-1===Object.keys(headers).map((str=>str.toLowerCase())).indexOf("content-length"))try{const length=bodyLengthChecker(body);request.headers={...request.headers,"content-length":String(length)}}catch(error){}}return next({...args,request})}}(options.bodyLengthChecker),contentLengthMiddlewareOptions)}}),deserializerMiddlewareOption={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},serializerMiddlewareOption={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function getSerdePlugin(config,serializer,deserializer){return{applyToStack:commandStack=>{commandStack.add(((options,deserializer)=>(next,context)=>async args=>{const{response}=await next(args);try{return{response,output:await deserializer(response,options)}}catch(error){if(Object.defineProperty(error,"$response",{value:response}),!("$metadata"in error)){const hint="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";error.message+="\n "+hint}throw error}})(config,deserializer),deserializerMiddlewareOption),commandStack.add(((options,serializer)=>(next,context)=>async args=>{const endpoint=context.endpointV2?.url&&options.urlParser?async()=>options.urlParser(context.endpointV2.url):options.endpoint;if(!endpoint)throw new Error("No valid endpoint provider available.");const request=await serializer(args.input,{...options,endpoint});return next({...args,request})})(config,serializer),serializerMiddlewareOption)}}}const DOMAIN_PATTERN=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,IP_ADDRESS_PATTERN=/(\d+\.){3}\d+/,DOTS_PATTERN=/\.\./,isDnsCompatibleBucketName=bucketName=>DOMAIN_PATTERN.test(bucketName)&&!IP_ADDRESS_PATTERN.test(bucketName)&&!DOTS_PATTERN.test(bucketName),isArnBucketName=bucketName=>{const[arn,partition,service,region,account,typeOrId]=bucketName.split(":"),isArn="arn"===arn&&bucketName.split(":").length>=6,isValidArn=5===[arn,partition,service,account,typeOrId].filter(Boolean).length;if(isArn&&!isValidArn)throw new Error(`Invalid ARN: ${bucketName} was an invalid ARN.`);return!!("arn"===arn&&partition&&service&&account&&typeOrId)},createConfigValueProvider=(configKey,canonicalEndpointParamKey,config)=>{const configProvider=async()=>{const configValue=config[configKey]??config[canonicalEndpointParamKey];return"function"==typeof configValue?configValue():configValue};return"endpoint"===configKey||"endpoint"===canonicalEndpointParamKey?async()=>{const endpoint=await configProvider();if(endpoint&&"object"==typeof endpoint){if("url"in endpoint)return endpoint.url.href;if("hostname"in endpoint){const{protocol,hostname,port,path}=endpoint;return`${protocol}//${hostname}${port?":"+port:""}${path}`}}return endpoint}:configProvider},resolveParams=async(commandInput,instructionsSupplier,clientConfig)=>{const endpointParams={},instructions=instructionsSupplier?.getEndpointParameterInstructions?.()||{};for(const[name,instruction]of Object.entries(instructions))switch(instruction.type){case"staticContextParams":endpointParams[name]=instruction.value;break;case"contextParams":endpointParams[name]=commandInput[instruction.name];break;case"clientContextParams":case"builtInParams":endpointParams[name]=await createConfigValueProvider(instruction.name,name,clientConfig)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(instruction))}return 0===Object.keys(instructions).length&&Object.assign(endpointParams,clientConfig),"s3"===String(clientConfig.serviceId).toLowerCase()&&await(async endpointParams=>{const bucket=endpointParams?.Bucket||"";if("string"==typeof endpointParams.Bucket&&(endpointParams.Bucket=bucket.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),isArnBucketName(bucket)){if(!0===endpointParams.ForcePathStyle)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!isDnsCompatibleBucketName(bucket)||-1!==bucket.indexOf(".")&&!String(endpointParams.Endpoint).startsWith("http:")||bucket.toLowerCase()!==bucket||bucket.length<3)&&(endpointParams.ForcePathStyle=!0);return endpointParams.DisableMultiRegionAccessPoints&&(endpointParams.disableMultiRegionAccessPoints=!0,endpointParams.DisableMRAP=!0),endpointParams})(endpointParams),endpointParams},endpointMiddleware=({config,instructions})=>(next,context)=>async args=>{const endpoint=await(async(commandInput,instructionsSupplier,clientConfig,context)=>{const endpointParams=await resolveParams(commandInput,instructionsSupplier,clientConfig);if("function"!=typeof clientConfig.endpointProvider)throw new Error("config.endpointProvider is not set.");return clientConfig.endpointProvider(endpointParams,context)})(args.input,{getEndpointParameterInstructions:()=>instructions},{...config},context);context.endpointV2=endpoint,context.authSchemes=endpoint.properties?.authSchemes;const authScheme=context.authSchemes?.[0];return authScheme&&(context.signing_region=authScheme.signingRegion,context.signing_service=authScheme.signingName),next({...args})},endpointMiddlewareOptions={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:serializerMiddlewareOption.name},getEndpointPlugin=(config,instructions)=>({applyToStack:clientStack=>{clientStack.addRelativeTo(endpointMiddleware({config,instructions}),endpointMiddlewareOptions)}}),normalizeProvider_normalizeProvider=input=>{if("function"==typeof input)return input;const promisified=Promise.resolve(input);return()=>promisified};const parseUrl=url=>{if("string"==typeof url)return parseUrl(new URL(url));const{hostname,pathname,port,protocol,search}=url;let query;return search&&(query=function parseQueryString(querystring){const query={};if(querystring=querystring.replace(/^\?/,""))for(const pair of querystring.split("&")){let[key,value=null]=pair.split("=");key=decodeURIComponent(key),value&&(value=decodeURIComponent(value)),key in query?Array.isArray(query[key])?query[key].push(value):query[key]=[query[key],value]:query[key]=value}return query}(search)),{hostname,port:port?parseInt(port):void 0,protocol,path:pathname,query}},resolveEndpointConfig=input=>{const tls=input.tls??!0,{endpoint}=input,customEndpointProvider=null!=endpoint?async()=>(endpoint=>"object"==typeof endpoint?"url"in endpoint?parseUrl(endpoint.url):endpoint:parseUrl(endpoint))(await normalizeProvider_normalizeProvider(endpoint)()):void 0,isCustomEndpoint=!!endpoint;return{...input,endpoint:customEndpointProvider,tls,isCustomEndpoint,useDualstackEndpoint:normalizeProvider_normalizeProvider(input.useDualstackEndpoint??!1),useFipsEndpoint:normalizeProvider_normalizeProvider(input.useFipsEndpoint??!1)}};const hostHeaderMiddlewareOptions={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},getHostHeaderPlugin=options=>({applyToStack:clientStack=>{clientStack.add((options=>next=>async args=>{if(!httpRequest_HttpRequest.isInstance(args.request))return next(args);const{request}=args,{handlerProtocol=""}=options.requestHandler.metadata||{};if(handlerProtocol.indexOf("h2")>=0&&!request.headers[":authority"])delete request.headers.host,request.headers[":authority"]="";else if(!request.headers.host){let host=request.hostname;null!=request.port&&(host+=`:${request.port}`),request.headers.host=host}return next(args)})(options),hostHeaderMiddlewareOptions)}}),loggerMiddlewareOptions={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0};var process=__webpack_require__("./node_modules/process/browser.js");const addRecursionDetectionMiddlewareOptions={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},getRecursionDetectionPlugin=options=>({applyToStack:clientStack=>{clientStack.add((options=>next=>async args=>{const{request}=args;if(!httpRequest_HttpRequest.isInstance(request)||"node"!==options.runtime||request.headers.hasOwnProperty("X-Amzn-Trace-Id"))return next(args);const functionName=process.env.AWS_LAMBDA_FUNCTION_NAME,traceId=process.env._X_AMZN_TRACE_ID,nonEmptyString=str=>"string"==typeof str&&str.length>0;return nonEmptyString(functionName)&&nonEmptyString(traceId)&&(request.headers["X-Amzn-Trace-Id"]=traceId),next({...args,request})})(options),addRecursionDetectionMiddlewareOptions)}});var config_RETRY_MODES;!function(RETRY_MODES){RETRY_MODES.STANDARD="standard",RETRY_MODES.ADAPTIVE="adaptive"}(config_RETRY_MODES||(config_RETRY_MODES={}));const DEFAULT_RETRY_MODE=config_RETRY_MODES.STANDARD,THROTTLING_ERROR_CODES=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],TRANSIENT_ERROR_CODES=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],TRANSIENT_ERROR_STATUS_CODES=[500,502,503,504],NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],dist_es_isThrottlingError=error=>429===error.$metadata?.httpStatusCode||THROTTLING_ERROR_CODES.includes(error.name)||1==error.$retryable?.throttling,isTransientError=error=>TRANSIENT_ERROR_CODES.includes(error.name)||NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code||"")||TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode||0);class DefaultRateLimiter_DefaultRateLimiter{constructor(options){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=options?.beta??.7,this.minCapacity=options?.minCapacity??1,this.minFillRate=options?.minFillRate??.5,this.scaleConstant=options?.scaleConstant??.4,this.smooth=options?.smooth??.8;const currentTimeInSeconds=this.getCurrentTimeInSeconds();this.lastThrottleTime=currentTimeInSeconds,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(amount){if(this.enabled){if(this.refillTokenBucket(),amount>this.currentCapacity){const delay=(amount-this.currentCapacity)/this.fillRate*1e3;await new Promise((resolve=>setTimeout(resolve,delay)))}this.currentCapacity=this.currentCapacity-amount}}refillTokenBucket(){const timestamp=this.getCurrentTimeInSeconds();if(!this.lastTimestamp)return void(this.lastTimestamp=timestamp);const fillAmount=(timestamp-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+fillAmount),this.lastTimestamp=timestamp}updateClientSendingRate(response){let calculatedRate;if(this.updateMeasuredRate(),dist_es_isThrottlingError(response)){const rateToUse=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=rateToUse,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),calculatedRate=this.cubicThrottle(rateToUse),this.enableTokenBucket()}else this.calculateTimeWindow(),calculatedRate=this.cubicSuccess(this.getCurrentTimeInSeconds());const newRate=Math.min(calculatedRate,2*this.measuredTxRate);this.updateTokenBucketRate(newRate)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(rateToUse){return this.getPrecise(rateToUse*this.beta)}cubicSuccess(timestamp){return this.getPrecise(this.scaleConstant*Math.pow(timestamp-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(newRate){this.refillTokenBucket(),this.fillRate=Math.max(newRate,this.minFillRate),this.maxCapacity=Math.max(newRate,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const t=this.getCurrentTimeInSeconds(),timeBucket=Math.floor(2*t)/2;if(this.requestCount++,timeBucket>this.lastTxRateBucket){const currentRate=this.requestCount/(timeBucket-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(currentRate*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=timeBucket}}getPrecise(num){return parseFloat(num.toFixed(8))}}const createDefaultRetryToken=({retryDelay,retryCount,retryCost})=>({getRetryCount:()=>retryCount,getRetryDelay:()=>Math.min(2e4,retryDelay),getRetryCost:()=>retryCost});class StandardRetryStrategy_StandardRetryStrategy{constructor(maxAttempts){this.maxAttempts=maxAttempts,this.mode=config_RETRY_MODES.STANDARD,this.capacity=500,this.retryBackoffStrategy=(()=>{let delayBase=100;return{computeNextBackoffDelay:attempts=>Math.floor(Math.min(2e4,Math.random()*2**attempts*delayBase)),setDelayBase:delay=>{delayBase=delay}}})(),this.maxAttemptsProvider="function"==typeof maxAttempts?maxAttempts:async()=>maxAttempts}async acquireInitialRetryToken(retryTokenScope){return createDefaultRetryToken({retryDelay:100,retryCount:0})}async refreshRetryTokenForRetry(token,errorInfo){const maxAttempts=await this.getMaxAttempts();if(this.shouldRetry(token,errorInfo,maxAttempts)){const errorType=errorInfo.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===errorType?500:100);const delayFromErrorType=this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount()),retryDelay=errorInfo.retryAfterHint?Math.max(errorInfo.retryAfterHint.getTime()-Date.now()||0,delayFromErrorType):delayFromErrorType,capacityCost=this.getCapacityCost(errorType);return this.capacity-=capacityCost,createDefaultRetryToken({retryDelay,retryCount:token.getRetryCount()+1,retryCost:capacityCost})}throw new Error("No retry token available")}recordSuccess(token){this.capacity=Math.max(500,this.capacity+(token.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(error){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}shouldRetry(tokenToRenew,errorInfo,maxAttempts){return tokenToRenew.getRetryCount()=this.getCapacityCost(errorInfo.errorType)&&this.isRetryableError(errorInfo.errorType)}getCapacityCost(errorType){return"TRANSIENT"===errorType?10:5}isRetryableError(errorType){return"THROTTLING"===errorType||"TRANSIENT"===errorType}}class AdaptiveRetryStrategy{constructor(maxAttemptsProvider,options){this.maxAttemptsProvider=maxAttemptsProvider,this.mode=config_RETRY_MODES.ADAPTIVE;const{rateLimiter}=options??{};this.rateLimiter=rateLimiter??new DefaultRateLimiter_DefaultRateLimiter,this.standardRetryStrategy=new StandardRetryStrategy_StandardRetryStrategy(maxAttemptsProvider)}async acquireInitialRetryToken(retryTokenScope){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope)}async refreshRetryTokenForRetry(tokenToRenew,errorInfo){return this.rateLimiter.updateClientSendingRate(errorInfo),this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew,errorInfo)}recordSuccess(token){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(token)}}var esm_browser_v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js");const isRetryStrategyV2=retryStrategy=>void 0!==retryStrategy.acquireInitialRetryToken&&void 0!==retryStrategy.refreshRetryTokenForRetry&&void 0!==retryStrategy.recordSuccess,getRetryErrorInfo=error=>{const errorInfo={errorType:getRetryErrorType(error)},retryAfterHint=getRetryAfterHint(error.$response);return retryAfterHint&&(errorInfo.retryAfterHint=retryAfterHint),errorInfo},getRetryErrorType=error=>dist_es_isThrottlingError(error)?"THROTTLING":isTransientError(error)?"TRANSIENT":(error=>{if(void 0!==error.$metadata?.httpStatusCode){const statusCode=error.$metadata.httpStatusCode;return 500<=statusCode&&statusCode<=599&&!isTransientError(error)}return!1})(error)?"SERVER_ERROR":"CLIENT_ERROR",retryMiddlewareOptions={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},getRetryPlugin=options=>({applyToStack:clientStack=>{clientStack.add((options=>(next,context)=>async args=>{let retryStrategy=await options.retryStrategy();const maxAttempts=await options.maxAttempts();if(!isRetryStrategyV2(retryStrategy))return retryStrategy?.mode&&(context.userAgent=[...context.userAgent||[],["cfg/retry-mode",retryStrategy.mode]]),retryStrategy.retry(next,args);{let retryToken=await retryStrategy.acquireInitialRetryToken(context.partition_id),lastError=new Error,attempts=0,totalRetryDelay=0;const{request}=args;for(httpRequest_HttpRequest.isInstance(request)&&(request.headers["amz-sdk-invocation-id"]=(0,esm_browser_v4.Z)());;)try{httpRequest_HttpRequest.isInstance(request)&&(request.headers["amz-sdk-request"]=`attempt=${attempts+1}; max=${maxAttempts}`);const{response,output}=await next(args);return retryStrategy.recordSuccess(retryToken),output.$metadata.attempts=attempts+1,output.$metadata.totalRetryDelay=totalRetryDelay,{response,output}}catch(e){const retryErrorInfo=getRetryErrorInfo(e);lastError=(error=e)instanceof Error?error:error instanceof Object?Object.assign(new Error,error):"string"==typeof error?new Error(error):new Error(`AWS SDK error wrapper for ${error}`);try{retryToken=await retryStrategy.refreshRetryTokenForRetry(retryToken,retryErrorInfo)}catch(refreshError){throw lastError.$metadata||(lastError.$metadata={}),lastError.$metadata.attempts=attempts+1,lastError.$metadata.totalRetryDelay=totalRetryDelay,lastError}attempts=retryToken.getRetryCount();const delay=retryToken.getRetryDelay();totalRetryDelay+=delay,await new Promise((resolve=>setTimeout(resolve,delay)))}}var error})(options),retryMiddlewareOptions)}}),getRetryAfterHint=response=>{if(!httpResponse_HttpResponse.isInstance(response))return;const retryAfterHeaderName=Object.keys(response.headers).find((key=>"retry-after"===key.toLowerCase()));if(!retryAfterHeaderName)return;const retryAfter=response.headers[retryAfterHeaderName],retryAfterSeconds=Number(retryAfter);if(!Number.isNaN(retryAfterSeconds))return new Date(1e3*retryAfterSeconds);return new Date(retryAfter)},memoize=(provider,isExpired,requiresRefresh)=>{let resolved,pending,hasResult,isConstant=!1;const coalesceProvider=async()=>{pending||(pending=provider());try{resolved=await pending,hasResult=!0,isConstant=!1}finally{pending=void 0}return resolved};return void 0===isExpired?async options=>(hasResult&&!options?.forceRefresh||(resolved=await coalesceProvider()),resolved):async options=>(hasResult&&!options?.forceRefresh||(resolved=await coalesceProvider()),isConstant?resolved:requiresRefresh&&!requiresRefresh(resolved)?(isConstant=!0,resolved):isExpired(resolved)?(await coalesceProvider(),resolved):resolved)};var dist_es=__webpack_require__("./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js");const fromUtf8=input=>(new TextEncoder).encode(input),toUint8Array=data=>"string"==typeof data?fromUtf8(data):ArrayBuffer.isView(data)?new Uint8Array(data.buffer,data.byteOffset,data.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(data),AMZ_DATE_HEADER="X-Amz-Date".toLowerCase(),GENERATED_HEADERS=["authorization",AMZ_DATE_HEADER,"date"],SIGNATURE_HEADER="X-Amz-Signature".toLowerCase(),TOKEN_HEADER="X-Amz-Security-Token".toLowerCase(),ALWAYS_UNSIGNABLE_HEADERS={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},PROXY_HEADER_PATTERN=/^proxy-/,SEC_HEADER_PATTERN=/^sec-/,EVENT_ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256-PAYLOAD",signingKeyCache={},cacheQueue=[],createScope=(shortDate,region,service)=>`${shortDate}/${region}/${service}/aws4_request`,hmac=(ctor,secret,data)=>{const hash=new ctor(secret);return hash.update(toUint8Array(data)),hash.digest()},getCanonicalHeaders=({headers},unsignableHeaders,signableHeaders)=>{const canonical={};for(const headerName of Object.keys(headers).sort()){if(null==headers[headerName])continue;const canonicalHeaderName=headerName.toLowerCase();(canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS||unsignableHeaders?.has(canonicalHeaderName)||PROXY_HEADER_PATTERN.test(canonicalHeaderName)||SEC_HEADER_PATTERN.test(canonicalHeaderName))&&(!signableHeaders||signableHeaders&&!signableHeaders.has(canonicalHeaderName))||(canonical[canonicalHeaderName]=headers[headerName].trim().replace(/\s+/g," "))}return canonical},escapeUri=uri=>encodeURIComponent(uri).replace(/[!'()*]/g,hexEncode),hexEncode=c=>`%${c.charCodeAt(0).toString(16).toUpperCase()}`,getPayloadHash=async({headers,body},hashConstructor)=>{for(const headerName of Object.keys(headers))if("x-amz-content-sha256"===headerName.toLowerCase())return headers[headerName];if(null==body)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof body||ArrayBuffer.isView(body)||(arg=body,"function"==typeof ArrayBuffer&&arg instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(arg))){const hashCtor=new hashConstructor;return hashCtor.update(toUint8Array(body)),(0,dist_es.toHex)(await hashCtor.digest())}var arg;return"UNSIGNED-PAYLOAD"},cloneRequest=({headers,query,...rest})=>({...rest,headers:{...headers},query:query?cloneRequest_cloneQuery(query):void 0}),cloneRequest_cloneQuery=query=>Object.keys(query).reduce(((carry,paramName)=>{const param=query[paramName];return{...carry,[paramName]:Array.isArray(param)?[...param]:param}}),{}),prepareRequest=request=>{request="function"==typeof request.clone?request.clone():cloneRequest(request);for(const headerName of Object.keys(request.headers))GENERATED_HEADERS.indexOf(headerName.toLowerCase())>-1&&delete request.headers[headerName];return request},toDate=time=>"number"==typeof time?new Date(1e3*time):"string"==typeof time?Number(time)?new Date(1e3*Number(time)):new Date(time):time;class SignatureV4_SignatureV4{constructor({applyChecksum,credentials,region,service,sha256,uriEscapePath=!0}){this.service=service,this.sha256=sha256,this.uriEscapePath=uriEscapePath,this.applyChecksum="boolean"!=typeof applyChecksum||applyChecksum,this.regionProvider=normalizeProvider_normalizeProvider(region),this.credentialProvider=normalizeProvider_normalizeProvider(credentials)}async presign(originalRequest,options={}){const{signingDate=new Date,expiresIn=3600,unsignableHeaders,unhoistableHeaders,signableHeaders,signingRegion,signingService}=options,credentials=await this.credentialProvider();this.validateResolvedCredentials(credentials);const region=signingRegion??await this.regionProvider(),{longDate,shortDate}=formatDate(signingDate);if(expiresIn>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const scope=createScope(shortDate,region,signingService??this.service),request=((request,options={})=>{const{headers,query={}}="function"==typeof request.clone?request.clone():cloneRequest(request);for(const name of Object.keys(headers)){const lname=name.toLowerCase();"x-amz-"!==lname.slice(0,6)||options.unhoistableHeaders?.has(lname)||(query[name]=headers[name],delete headers[name])}return{...request,headers,query}})(prepareRequest(originalRequest),{unhoistableHeaders});credentials.sessionToken&&(request.query["X-Amz-Security-Token"]=credentials.sessionToken),request.query["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",request.query["X-Amz-Credential"]=`${credentials.accessKeyId}/${scope}`,request.query["X-Amz-Date"]=longDate,request.query["X-Amz-Expires"]=expiresIn.toString(10);const canonicalHeaders=getCanonicalHeaders(request,unsignableHeaders,signableHeaders);return request.query["X-Amz-SignedHeaders"]=getCanonicalHeaderList(canonicalHeaders),request.query["X-Amz-Signature"]=await this.getSignature(longDate,scope,this.getSigningKey(credentials,region,shortDate,signingService),this.createCanonicalRequest(request,canonicalHeaders,await getPayloadHash(originalRequest,this.sha256))),request}async sign(toSign,options){return"string"==typeof toSign?this.signString(toSign,options):toSign.headers&&toSign.payload?this.signEvent(toSign,options):this.signRequest(toSign,options)}async signEvent({headers,payload},{signingDate=new Date,priorSignature,signingRegion,signingService}){const region=signingRegion??await this.regionProvider(),{shortDate,longDate}=formatDate(signingDate),scope=createScope(shortDate,region,signingService??this.service),hashedPayload=await getPayloadHash({headers:{},body:payload},this.sha256),hash=new this.sha256;hash.update(headers);const hashedHeaders=(0,dist_es.toHex)(await hash.digest()),stringToSign=[EVENT_ALGORITHM_IDENTIFIER,longDate,scope,priorSignature,hashedHeaders,hashedPayload].join("\n");return this.signString(stringToSign,{signingDate,signingRegion:region,signingService})}async signString(stringToSign,{signingDate=new Date,signingRegion,signingService}={}){const credentials=await this.credentialProvider();this.validateResolvedCredentials(credentials);const region=signingRegion??await this.regionProvider(),{shortDate}=formatDate(signingDate),hash=new this.sha256(await this.getSigningKey(credentials,region,shortDate,signingService));return hash.update(toUint8Array(stringToSign)),(0,dist_es.toHex)(await hash.digest())}async signRequest(requestToSign,{signingDate=new Date,signableHeaders,unsignableHeaders,signingRegion,signingService}={}){const credentials=await this.credentialProvider();this.validateResolvedCredentials(credentials);const region=signingRegion??await this.regionProvider(),request=prepareRequest(requestToSign),{longDate,shortDate}=formatDate(signingDate),scope=createScope(shortDate,region,signingService??this.service);request.headers[AMZ_DATE_HEADER]=longDate,credentials.sessionToken&&(request.headers[TOKEN_HEADER]=credentials.sessionToken);const payloadHash=await getPayloadHash(request,this.sha256);!((soughtHeader,headers)=>{soughtHeader=soughtHeader.toLowerCase();for(const headerName of Object.keys(headers))if(soughtHeader===headerName.toLowerCase())return!0;return!1})("x-amz-content-sha256",request.headers)&&this.applyChecksum&&(request.headers["x-amz-content-sha256"]=payloadHash);const canonicalHeaders=getCanonicalHeaders(request,unsignableHeaders,signableHeaders),signature=await this.getSignature(longDate,scope,this.getSigningKey(credentials,region,shortDate,signingService),this.createCanonicalRequest(request,canonicalHeaders,payloadHash));return request.headers.authorization=`AWS4-HMAC-SHA256 Credential=${credentials.accessKeyId}/${scope}, SignedHeaders=${getCanonicalHeaderList(canonicalHeaders)}, Signature=${signature}`,request}createCanonicalRequest(request,canonicalHeaders,payloadHash){const sortedHeaders=Object.keys(canonicalHeaders).sort();return`${request.method}\n${this.getCanonicalPath(request)}\n${(({query={}})=>{const keys=[],serialized={};for(const key of Object.keys(query).sort()){if(key.toLowerCase()===SIGNATURE_HEADER)continue;keys.push(key);const value=query[key];"string"==typeof value?serialized[key]=`${escapeUri(key)}=${escapeUri(value)}`:Array.isArray(value)&&(serialized[key]=value.slice(0).sort().reduce(((encoded,value)=>encoded.concat([`${escapeUri(key)}=${escapeUri(value)}`])),[]).join("&"))}return keys.map((key=>serialized[key])).filter((serialized=>serialized)).join("&")})(request)}\n${sortedHeaders.map((name=>`${name}:${canonicalHeaders[name]}`)).join("\n")}\n\n${sortedHeaders.join(";")}\n${payloadHash}`}async createStringToSign(longDate,credentialScope,canonicalRequest){const hash=new this.sha256;hash.update(toUint8Array(canonicalRequest));const hashedRequest=await hash.digest();return`AWS4-HMAC-SHA256\n${longDate}\n${credentialScope}\n${(0,dist_es.toHex)(hashedRequest)}`}getCanonicalPath({path}){if(this.uriEscapePath){const normalizedPathSegments=[];for(const pathSegment of path.split("/"))0!==pathSegment?.length&&"."!==pathSegment&&(".."===pathSegment?normalizedPathSegments.pop():normalizedPathSegments.push(pathSegment));const normalizedPath=`${path?.startsWith("/")?"/":""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length>0&&path?.endsWith("/")?"/":""}`;return encodeURIComponent(normalizedPath).replace(/%2F/g,"/")}return path}async getSignature(longDate,credentialScope,keyPromise,canonicalRequest){const stringToSign=await this.createStringToSign(longDate,credentialScope,canonicalRequest),hash=new this.sha256(await keyPromise);return hash.update(toUint8Array(stringToSign)),(0,dist_es.toHex)(await hash.digest())}getSigningKey(credentials,region,shortDate,service){return(async(sha256Constructor,credentials,shortDate,region,service)=>{const credsHash=await hmac(sha256Constructor,credentials.secretAccessKey,credentials.accessKeyId),cacheKey=`${shortDate}:${region}:${service}:${(0,dist_es.toHex)(credsHash)}:${credentials.sessionToken}`;if(cacheKey in signingKeyCache)return signingKeyCache[cacheKey];for(cacheQueue.push(cacheKey);cacheQueue.length>50;)delete signingKeyCache[cacheQueue.shift()];let key=`AWS4${credentials.secretAccessKey}`;for(const signable of[shortDate,region,service,"aws4_request"])key=await hmac(sha256Constructor,key,signable);return signingKeyCache[cacheKey]=key})(this.sha256,credentials,shortDate,region,service||this.service)}validateResolvedCredentials(credentials){if("object"!=typeof credentials||"string"!=typeof credentials.accessKeyId||"string"!=typeof credentials.secretAccessKey)throw new Error("Resolved credential object is not valid")}}const formatDate=now=>{const longDate=(time=now,toDate(time).toISOString().replace(/\.\d{3}Z$/,"Z")).replace(/[\-:]/g,"");var time;return{longDate,shortDate:longDate.slice(0,8)}},getCanonicalHeaderList=headers=>Object.keys(headers).sort().join(";"),normalizeCredentialProvider=credentials=>"function"==typeof credentials?memoize(credentials,(credentials=>void 0!==credentials.expiration&&credentials.expiration.getTime()-Date.now()<3e5),(credentials=>void 0!==credentials.expiration)):normalizeProvider_normalizeProvider(credentials),getSkewCorrectedDate=systemClockOffset=>new Date(Date.now()+systemClockOffset),getUpdatedSystemClockOffset=(clockTime,currentSystemClockOffset)=>{const clockTimeInMs=Date.parse(clockTime);return((clockTime,systemClockOffset)=>Math.abs(getSkewCorrectedDate(systemClockOffset).getTime()-clockTime)>=3e5)(clockTimeInMs,currentSystemClockOffset)?clockTimeInMs-Date.now():currentSystemClockOffset},getDateHeader=response=>httpResponse_HttpResponse.isInstance(response)?response.headers?.date??response.headers?.Date:void 0,awsAuthMiddlewareOptions={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0},getAwsAuthPlugin=options=>({applyToStack:clientStack=>{clientStack.addRelativeTo((options=>(next,context)=>async function(args){if(!httpRequest_HttpRequest.isInstance(args.request))return next(args);const authScheme=context.endpointV2?.properties?.authSchemes?.[0],multiRegionOverride="sigv4a"===authScheme?.name?authScheme?.signingRegionSet?.join(","):void 0,signer=await options.signer(authScheme),output=await next({...args,request:await signer.sign(args.request,{signingDate:getSkewCorrectedDate(options.systemClockOffset),signingRegion:multiRegionOverride||context.signing_region,signingService:context.signing_service})}).catch((error=>{const serverTime=error.ServerTime??getDateHeader(error.$response);throw serverTime&&(options.systemClockOffset=getUpdatedSystemClockOffset(serverTime,options.systemClockOffset)),error})),dateHeader=getDateHeader(output.response);return dateHeader&&(options.systemClockOffset=getUpdatedSystemClockOffset(dateHeader,options.systemClockOffset)),output})(options),awsAuthMiddlewareOptions)}});const partitions_namespaceObject=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"aws-global":{"description":"AWS Standard global region"},"ca-central-1":{"description":"Canada (Central)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"AWS China global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"AWS GovCloud (US) global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"c2s.ic.gov","name":"aws-iso","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"AWS ISO (US) global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"sc2s.sgov.gov","name":"aws-iso-b","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"AWS ISOB (US) global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"cloud.adc-e.uk","name":"aws-iso-e","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{}}],"version":"1.1"}');let selectedPartitionsInfo=partitions_namespaceObject,selectedUserAgentPrefix="";const partition=value=>{const{partitions}=selectedPartitionsInfo;for(const partition of partitions){const{regions,outputs}=partition;for(const[region,regionData]of Object.entries(regions))if(region===value)return{...outputs,...regionData}}for(const partition of partitions){const{regionRegex,outputs}=partition;if(new RegExp(regionRegex).test(value))return{...outputs}}const DEFAULT_PARTITION=partitions.find((partition=>"aws"===partition.id));if(!DEFAULT_PARTITION)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...DEFAULT_PARTITION.outputs}},setPartitionInfo=(partitionsInfo,userAgentPrefix="")=>{selectedPartitionsInfo=partitionsInfo,selectedUserAgentPrefix=userAgentPrefix},useDefaultPartitionInfo=()=>{setPartitionInfo(partitions_namespaceObject,"")},getUserAgentPrefix=()=>selectedUserAgentPrefix;function toDebugString(input){return"object"!=typeof input||null==input?input:"ref"in input?`$${toDebugString(input.ref)}`:"fn"in input?`${input.fn}(${(input.argv||[]).map(toDebugString).join(", ")})`:JSON.stringify(input,null,2)}class EndpointError extends Error{constructor(message){super(message),this.name="EndpointError"}}const IP_V4_REGEX=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),isIpAddress=value=>IP_V4_REGEX.test(value)||value.startsWith("[")&&value.endsWith("]"),VALID_HOST_LABEL_REGEX=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),isValidHostLabel=(value,allowSubDomains=!1)=>{if(!allowSubDomains)return VALID_HOST_LABEL_REGEX.test(value);const labels=value.split(".");for(const label of labels)if(!isValidHostLabel(label))return!1;return!0},isVirtualHostableS3Bucket=(value,allowSubDomains=!1)=>{if(allowSubDomains){for(const label of value.split("."))if(!isVirtualHostableS3Bucket(label))return!1;return!0}return!!isValidHostLabel(value)&&(!(value.length<3||value.length>63)&&(value===value.toLowerCase()&&!isIpAddress(value)))},parseArn=value=>{const segments=value.split(":");if(segments.length<6)return null;const[arn,partition,service,region,accountId,...resourceId]=segments;return"arn"!==arn||""===partition||""===service||""===resourceId[0]?null:{partition,service,region,accountId,resourceId:resourceId[0].includes("/")?resourceId[0].split("/"):resourceId}},booleanEquals=(value1,value2)=>value1===value2,getAttr=(value,path)=>(path=>{const parts=path.split("."),pathList=[];for(const part of parts){const squareBracketIndex=part.indexOf("[");if(-1!==squareBracketIndex){if(part.indexOf("]")!==part.length-1)throw new EndpointError(`Path: '${path}' does not end with ']'`);const arrayIndex=part.slice(squareBracketIndex+1,-1);if(Number.isNaN(parseInt(arrayIndex)))throw new EndpointError(`Invalid array index: '${arrayIndex}' in path: '${path}'`);0!==squareBracketIndex&&pathList.push(part.slice(0,squareBracketIndex)),pathList.push(arrayIndex)}else pathList.push(part)}return pathList})(path).reduce(((acc,index)=>{if("object"!=typeof acc)throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);return Array.isArray(acc)?acc[parseInt(index)]:acc[index]}),value),isSet=value=>null!=value,not=value=>!value;var HttpAuthLocation,HostAddressType,EndpointURLScheme,RequestHandlerProtocol;!function(HttpAuthLocation){HttpAuthLocation.HEADER="header",HttpAuthLocation.QUERY="query"}(HttpAuthLocation||(HttpAuthLocation={})),function(HostAddressType){HostAddressType.AAAA="AAAA",HostAddressType.A="A"}(HostAddressType||(HostAddressType={})),function(EndpointURLScheme){EndpointURLScheme.HTTP="http",EndpointURLScheme.HTTPS="https"}(EndpointURLScheme||(EndpointURLScheme={})),function(RequestHandlerProtocol){RequestHandlerProtocol.HTTP_0_9="http/0.9",RequestHandlerProtocol.HTTP_1_0="http/1.0",RequestHandlerProtocol.TDS_8_0="tds/8.0"}(RequestHandlerProtocol||(RequestHandlerProtocol={}));const DEFAULT_PORTS={[EndpointURLScheme.HTTP]:80,[EndpointURLScheme.HTTPS]:443},parseURL=value=>{const whatwgURL=(()=>{try{if(value instanceof URL)return value;if("object"==typeof value&&"hostname"in value){const{hostname,port,protocol="",path="",query={}}=value,url=new URL(`${protocol}//${hostname}${port?`:${port}`:""}${path}`);return url.search=Object.entries(query).map((([k,v])=>`${k}=${v}`)).join("&"),url}return new URL(value)}catch(error){return null}})();if(!whatwgURL)return console.error(`Unable to parse ${JSON.stringify(value)} as a whatwg URL.`),null;const urlString=whatwgURL.href,{host,hostname,pathname,protocol,search}=whatwgURL;if(search)return null;const scheme=protocol.slice(0,-1);if(!Object.values(EndpointURLScheme).includes(scheme))return null;const isIp=isIpAddress(hostname);return{scheme,authority:`${host}${urlString.includes(`${host}:${DEFAULT_PORTS[scheme]}`)||"string"==typeof value&&value.includes(`${host}:${DEFAULT_PORTS[scheme]}`)?`:${DEFAULT_PORTS[scheme]}`:""}`,path:pathname,normalizedPath:pathname.endsWith("/")?pathname:`${pathname}/`,isIp}},stringEquals=(value1,value2)=>value1===value2,substring=(input,start,stop,reverse)=>start>=stop||input.lengthencodeURIComponent(value).replace(/[!*'()]/g,(c=>`%${c.charCodeAt(0).toString(16).toUpperCase()}`)),evaluateTemplate=(template,options)=>{const evaluatedTemplateArr=[],templateContext={...options.endpointParams,...options.referenceRecord};let currentIndex=0;for(;currentIndex{if("string"==typeof obj)return evaluateTemplate(obj,options);if(obj.fn)return callFunction(obj,options);if(obj.ref)return(({ref},options)=>({...options.endpointParams,...options.referenceRecord}[ref]))(obj,options);throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`)},callFunction=({fn,argv},options)=>{const evaluatedArgs=argv.map((arg=>["boolean","number"].includes(typeof arg)?arg:evaluateExpression(arg,"arg",options)));return fn.split(".").reduce(((acc,key)=>acc[key]),lib_namespaceObject)(...evaluatedArgs)},evaluateCondition=({assign,...fnArgs},options)=>{if(assign&&assign in options.referenceRecord)throw new EndpointError(`'${assign}' is already defined in Reference Record.`);const value=callFunction(fnArgs,options);return options.logger?.debug?.("endpoints",`evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`),{result:""===value||!!value,...null!=assign&&{toAssign:{name:assign,value}}}},evaluateConditions=(conditions=[],options)=>{const conditionsReferenceRecord={};for(const condition of conditions){const{result,toAssign}=evaluateCondition(condition,{...options,referenceRecord:{...options.referenceRecord,...conditionsReferenceRecord}});if(!result)return{result};toAssign&&(conditionsReferenceRecord[toAssign.name]=toAssign.value,options.logger?.debug?.("endpoints",`assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`))}return{result:!0,referenceRecord:conditionsReferenceRecord}},getEndpointHeaders=(headers,options)=>Object.entries(headers).reduce(((acc,[headerKey,headerVal])=>({...acc,[headerKey]:headerVal.map((headerValEntry=>{const processedExpr=evaluateExpression(headerValEntry,"Header value entry",options);if("string"!=typeof processedExpr)throw new EndpointError(`Header '${headerKey}' value '${processedExpr}' is not a string`);return processedExpr}))})),{}),getEndpointProperty=(property,options)=>{if(Array.isArray(property))return property.map((propertyEntry=>getEndpointProperty(propertyEntry,options)));switch(typeof property){case"string":return evaluateTemplate(property,options);case"object":if(null===property)throw new EndpointError(`Unexpected endpoint property: ${property}`);return getEndpointProperties(property,options);case"boolean":return property;default:throw new EndpointError("Unexpected endpoint property type: "+typeof property)}},getEndpointProperties=(properties,options)=>Object.entries(properties).reduce(((acc,[propertyKey,propertyVal])=>({...acc,[propertyKey]:getEndpointProperty(propertyVal,options)})),{}),getEndpointUrl=(endpointUrl,options)=>{const expression=evaluateExpression(endpointUrl,"Endpoint URL",options);if("string"==typeof expression)try{return new URL(expression)}catch(error){throw console.error(`Failed to construct URL with ${expression}`,error),error}throw new EndpointError("Endpoint URL must be a string, got "+typeof expression)},evaluateEndpointRule=(endpointRule,options)=>{const{conditions,endpoint}=endpointRule,{result,referenceRecord}=evaluateConditions(conditions,options);if(!result)return;const endpointRuleOptions={...options,referenceRecord:{...options.referenceRecord,...referenceRecord}},{url,properties,headers}=endpoint;return options.logger?.debug?.("endpoints",`Resolving endpoint from template: ${toDebugString(endpoint)}`),{...null!=headers&&{headers:getEndpointHeaders(headers,endpointRuleOptions)},...null!=properties&&{properties:getEndpointProperties(properties,endpointRuleOptions)},url:getEndpointUrl(url,endpointRuleOptions)}},evaluateErrorRule=(errorRule,options)=>{const{conditions,error}=errorRule,{result,referenceRecord}=evaluateConditions(conditions,options);if(result)throw new EndpointError(evaluateExpression(error,"Error",{...options,referenceRecord:{...options.referenceRecord,...referenceRecord}}))},evaluateTreeRule=(treeRule,options)=>{const{conditions,rules}=treeRule,{result,referenceRecord}=evaluateConditions(conditions,options);if(result)return evaluateRules(rules,{...options,referenceRecord:{...options.referenceRecord,...referenceRecord}})},evaluateRules=(rules,options)=>{for(const rule of rules)if("endpoint"===rule.type){const endpointOrUndefined=evaluateEndpointRule(rule,options);if(endpointOrUndefined)return endpointOrUndefined}else if("error"===rule.type)evaluateErrorRule(rule,options);else{if("tree"!==rule.type)throw new EndpointError(`Unknown endpoint rule: ${rule}`);{const endpointOrUndefined=evaluateTreeRule(rule,options);if(endpointOrUndefined)return endpointOrUndefined}}throw new EndpointError("Rules evaluation failed")},UA_ESCAPE_REGEX=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,escapeUserAgent=([name,version])=>{const prefixSeparatorIndex=name.indexOf("/"),prefix=name.substring(0,prefixSeparatorIndex);let uaName=name.substring(prefixSeparatorIndex+1);return"api"===prefix&&(uaName=uaName.toLowerCase()),[prefix,uaName,version].filter((item=>item&&item.length>0)).map((item=>item?.replace(UA_ESCAPE_REGEX,"_"))).join("/")},getUserAgentMiddlewareOptions={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},getUserAgentPlugin=config=>({applyToStack:clientStack=>{var options;clientStack.add((options=config,(next,context)=>async args=>{const{request}=args;if(!httpRequest_HttpRequest.isInstance(request))return next(args);const{headers}=request,userAgent=context?.userAgent?.map(escapeUserAgent)||[],defaultUserAgent=(await options.defaultUserAgentProvider()).map(escapeUserAgent),customUserAgent=options?.customUserAgent?.map(escapeUserAgent)||[],prefix=getUserAgentPrefix(),sdkUserAgentValue=(prefix?[prefix]:[]).concat([...defaultUserAgent,...userAgent,...customUserAgent]).join(" "),normalUAValue=[...defaultUserAgent.filter((section=>section.startsWith("aws-sdk-"))),...customUserAgent].join(" ");return"browser"!==options.runtime?(normalUAValue&&(headers["x-amz-user-agent"]=headers["x-amz-user-agent"]?`${headers["user-agent"]} ${normalUAValue}`:normalUAValue),headers["user-agent"]=sdkUserAgentValue):headers["x-amz-user-agent"]=sdkUserAgentValue,next({...args,request})}),getUserAgentMiddlewareOptions)}});class NoOpLogger{trace(){}debug(){}info(){}warn(){}error(){}}const constructStack=()=>{let absoluteEntries=[],relativeEntries=[];const entriesNameSet=new Set,cloneTo=toStack=>(absoluteEntries.forEach((entry=>{toStack.add(entry.middleware,{...entry})})),relativeEntries.forEach((entry=>{toStack.addRelativeTo(entry.middleware,{...entry})})),toStack),expandRelativeMiddlewareList=from=>{const expandedMiddlewareList=[];return from.before.forEach((entry=>{0===entry.before.length&&0===entry.after.length?expandedMiddlewareList.push(entry):expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry))})),expandedMiddlewareList.push(from),from.after.reverse().forEach((entry=>{0===entry.before.length&&0===entry.after.length?expandedMiddlewareList.push(entry):expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry))})),expandedMiddlewareList},getMiddlewareList=(debug=!1)=>{const normalizedAbsoluteEntries=[],normalizedRelativeEntries=[],normalizedEntriesNameMap={};absoluteEntries.forEach((entry=>{const normalizedEntry={...entry,before:[],after:[]};normalizedEntry.name&&(normalizedEntriesNameMap[normalizedEntry.name]=normalizedEntry),normalizedAbsoluteEntries.push(normalizedEntry)})),relativeEntries.forEach((entry=>{const normalizedEntry={...entry,before:[],after:[]};normalizedEntry.name&&(normalizedEntriesNameMap[normalizedEntry.name]=normalizedEntry),normalizedRelativeEntries.push(normalizedEntry)})),normalizedRelativeEntries.forEach((entry=>{if(entry.toMiddleware){const toMiddleware=normalizedEntriesNameMap[entry.toMiddleware];if(void 0===toMiddleware){if(debug)return;throw new Error(`${entry.toMiddleware} is not found when adding ${entry.name||"anonymous"} middleware ${entry.relation} ${entry.toMiddleware}`)}"after"===entry.relation&&toMiddleware.after.push(entry),"before"===entry.relation&&toMiddleware.before.push(entry)}}));const mainChain=(entries=normalizedAbsoluteEntries,entries.sort(((a,b)=>stepWeights[b.step]-stepWeights[a.step]||priorityWeights[b.priority||"normal"]-priorityWeights[a.priority||"normal"]))).map(expandRelativeMiddlewareList).reduce(((wholeList,expendedMiddlewareList)=>(wholeList.push(...expendedMiddlewareList),wholeList)),[]);var entries;return mainChain},stack={add:(middleware,options={})=>{const{name,override}=options,entry={step:"initialize",priority:"normal",middleware,...options};if(name){if(entriesNameSet.has(name)){if(!override)throw new Error(`Duplicate middleware name '${name}'`);const toOverrideIndex=absoluteEntries.findIndex((entry=>entry.name===name)),toOverride=absoluteEntries[toOverrideIndex];if(toOverride.step!==entry.step||toOverride.priority!==entry.priority)throw new Error(`"${name}" middleware with ${toOverride.priority} priority in ${toOverride.step} step cannot be overridden by same-name middleware with ${entry.priority} priority in ${entry.step} step.`);absoluteEntries.splice(toOverrideIndex,1)}entriesNameSet.add(name)}absoluteEntries.push(entry)},addRelativeTo:(middleware,options)=>{const{name,override}=options,entry={middleware,...options};if(name){if(entriesNameSet.has(name)){if(!override)throw new Error(`Duplicate middleware name '${name}'`);const toOverrideIndex=relativeEntries.findIndex((entry=>entry.name===name)),toOverride=relativeEntries[toOverrideIndex];if(toOverride.toMiddleware!==entry.toMiddleware||toOverride.relation!==entry.relation)throw new Error(`"${name}" middleware ${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden by same-name middleware ${entry.relation} "${entry.toMiddleware}" middleware.`);relativeEntries.splice(toOverrideIndex,1)}entriesNameSet.add(name)}relativeEntries.push(entry)},clone:()=>cloneTo(constructStack()),use:plugin=>{plugin.applyToStack(stack)},remove:toRemove=>"string"==typeof toRemove?(toRemove=>{let isRemoved=!1;const filterCb=entry=>!entry.name||entry.name!==toRemove||(isRemoved=!0,entriesNameSet.delete(toRemove),!1);return absoluteEntries=absoluteEntries.filter(filterCb),relativeEntries=relativeEntries.filter(filterCb),isRemoved})(toRemove):(toRemove=>{let isRemoved=!1;const filterCb=entry=>entry.middleware!==toRemove||(isRemoved=!0,entry.name&&entriesNameSet.delete(entry.name),!1);return absoluteEntries=absoluteEntries.filter(filterCb),relativeEntries=relativeEntries.filter(filterCb),isRemoved})(toRemove),removeByTag:toRemove=>{let isRemoved=!1;const filterCb=entry=>{const{tags,name}=entry;return!tags||!tags.includes(toRemove)||(name&&entriesNameSet.delete(name),isRemoved=!0,!1)};return absoluteEntries=absoluteEntries.filter(filterCb),relativeEntries=relativeEntries.filter(filterCb),isRemoved},concat:from=>{const cloned=cloneTo(constructStack());return cloned.use(from),cloned},applyToStack:cloneTo,identify:()=>getMiddlewareList(!0).map((mw=>mw.name+": "+(mw.tags||[]).join(","))),resolve:(handler,context)=>{for(const middleware of getMiddlewareList().map((entry=>entry.middleware)).reverse())handler=middleware(handler,context);return handler}};return stack},stepWeights={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},priorityWeights={high:3,normal:2,low:1};class Client{constructor(config){this.middlewareStack=constructStack(),this.config=config}send(command,optionsOrCb,cb){const options="function"!=typeof optionsOrCb?optionsOrCb:void 0,callback="function"==typeof optionsOrCb?optionsOrCb:cb,handler=command.resolveMiddleware(this.middlewareStack,this.config,options);if(!callback)return handler(command).then((result=>result.output));handler(command).then((result=>callback(null,result.output)),(err=>callback(err))).catch((()=>{}))}destroy(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()}}class Command{constructor(){this.middlewareStack=constructStack()}}const SENSITIVE_STRING="***SensitiveInformation***",expectBoolean=value=>{if(null!=value){if("number"==typeof value){if(0!==value&&1!==value||logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)),0===value)return!1;if(1===value)return!0}if("string"==typeof value){const lower=value.toLowerCase();if("false"!==lower&&"true"!==lower||logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)),"false"===lower)return!1;if("true"===lower)return!0}if("boolean"==typeof value)return value;throw new TypeError(`Expected boolean, got ${typeof value}: ${value}`)}},expectNumber=value=>{if(null!=value){if("string"==typeof value){const parsed=parseFloat(value);if(!Number.isNaN(parsed))return String(parsed)!==String(value)&&logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`)),parsed}if("number"==typeof value)return value;throw new TypeError(`Expected number, got ${typeof value}: ${value}`)}},expectNonNull=(Math.ceil(2**127*(2-2**-23)),(value,location)=>{if(null==value){if(location)throw new TypeError(`Expected a non-null value for ${location}`);throw new TypeError("Expected a non-null value")}return value}),expectObject=value=>{if(null==value)return;if("object"==typeof value&&!Array.isArray(value))return value;const receivedType=Array.isArray(value)?"array":typeof value;throw new TypeError(`Expected object, got ${receivedType}: ${value}`)},expectString=value=>{if(null!=value){if("string"==typeof value)return value;if(["boolean","number","bigint"].includes(typeof value))return logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`)),String(value);throw new TypeError(`Expected string, got ${typeof value}: ${value}`)}},strictParseDouble=value=>expectNumber("string"==typeof value?parseNumber(value):value),NUMBER_REGEX=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,parseNumber=value=>{const matches=value.match(NUMBER_REGEX);if(null===matches||matches[0].length!==value.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(value)},stackTraceWarning=message=>String(new TypeError(message).stack||message).split("\n").slice(0,5).filter((s=>!s.includes("stackTraceWarning"))).join("\n"),logger={warn:console.warn};const parseEpochTimestamp=value=>{if(null==value)return;let valueAsDouble;if("number"==typeof value)valueAsDouble=value;else{if("string"!=typeof value)throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");valueAsDouble=strictParseDouble(value)}if(Number.isNaN(valueAsDouble)||valueAsDouble===1/0||valueAsDouble===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(1e3*valueAsDouble))};class ServiceException extends Error{constructor(options){super(options.message),Object.setPrototypeOf(this,ServiceException.prototype),this.name=options.name,this.$fault=options.$fault,this.$metadata=options.$metadata}}const decorateServiceException=(exception,additions={})=>{Object.entries(additions).filter((([,v])=>void 0!==v)).forEach((([k,v])=>{null!=exception[k]&&""!==exception[k]||(exception[k]=v)}));const message=exception.message||exception.Message||"UnknownError";return exception.message=message,delete exception.Message,exception},deserializeMetadata=output=>({httpStatusCode:output.statusCode,requestId:output.headers["x-amzn-requestid"]??output.headers["x-amzn-request-id"]??output.headers["x-amz-request-id"],extendedRequestId:output.headers["x-amz-id-2"],cfId:output.headers["x-amz-cf-id"]}),loadConfigsForDefaultMode=mode=>{switch(mode){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},StringWrapper=function(){const Class=Object.getPrototypeOf(this).constructor,instance=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(instance,Class.prototype),instance};StringWrapper.prototype=Object.create(String.prototype,{constructor:{value:StringWrapper,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(StringWrapper,String);function map(arg0,arg1,arg2){let target,filter,instructions;if(void 0===arg1&&void 0===arg2)target={},instructions=arg0;else{if(target=arg0,"function"==typeof arg1)return filter=arg1,instructions=arg2,mapWithFilter(target,filter,instructions);instructions=arg1}for(const key of Object.keys(instructions))Array.isArray(instructions[key])?applyInstruction(target,null,instructions,key):target[key]=instructions[key];return target}const take=(source,instructions)=>{const out={};for(const key in instructions)applyInstruction(out,source,instructions,key);return out},mapWithFilter=(target,filter,instructions)=>map(target,Object.entries(instructions).reduce(((_instructions,[key,value])=>(Array.isArray(value)?_instructions[key]=value:_instructions[key]="function"==typeof value?[filter,value()]:[filter,value],_instructions)),{})),applyInstruction=(target,source,instructions,targetKey)=>{if(null!==source){let instruction=instructions[targetKey];"function"==typeof instruction&&(instruction=[,instruction]);const[filter=nonNullish,valueFn=pass,sourceKey=targetKey]=instruction;return void(("function"==typeof filter&&filter(source[sourceKey])||"function"!=typeof filter&&filter)&&(target[targetKey]=valueFn(source[sourceKey])))}let[filter,value]=instructions[targetKey];if("function"==typeof value){let _value;const defaultFilterPassed=void 0===filter&&null!=(_value=value()),customFilterPassed="function"==typeof filter&&!!filter(void 0)||"function"!=typeof filter&&!!filter;defaultFilterPassed?target[targetKey]=_value:customFilterPassed&&(target[targetKey]=value())}else{const defaultFilterPassed=void 0===filter&&null!=value,customFilterPassed="function"==typeof filter&&!!filter(value)||"function"!=typeof filter&&!!filter;(defaultFilterPassed||customFilterPassed)&&(target[targetKey]=value)}},nonNullish=_=>null!=_,pass=_=>_;function extendedEncodeURIComponent(str){return encodeURIComponent(str).replace(/[!'()*]/g,(function(c){return"%"+c.charCodeAt(0).toString(16).toUpperCase()}))}const resolve_path_resolvedPath=(resolvedPath,input,memberName,labelValueProvider,uriLabel,isGreedyLabel)=>{if(null==input||void 0===input[memberName])throw new Error("No value provided for input HTTP label: "+memberName+".");{const labelValue=labelValueProvider();if(labelValue.length<=0)throw new Error("Empty value provided for input HTTP label: "+memberName+".");resolvedPath=resolvedPath.replace(uriLabel,isGreedyLabel?labelValue.split("/").map((segment=>extendedEncodeURIComponent(segment))).join("/"):extendedEncodeURIComponent(labelValue))}return resolvedPath},_json=obj=>{if(null==obj)return{};if(Array.isArray(obj))return obj.filter((_=>null!=_));if("object"==typeof obj){const target={};for(const key of Object.keys(obj))null!=obj[key]&&(target[key]=_json(obj[key]));return target}return obj},package_namespaceObject_i8="3.341.0";var build=__webpack_require__("./node_modules/@aws-crypto/sha256-browser/build/index.js");function requestTimeout(timeoutInMs=0){return new Promise(((resolve,reject)=>{timeoutInMs&&setTimeout((()=>{const timeoutError=new Error(`Request did not complete within ${timeoutInMs} ms`);timeoutError.name="TimeoutError",reject(timeoutError)}),timeoutInMs)}))}class FetchHttpHandler{constructor(options){"function"==typeof options?this.configProvider=options().then((opts=>opts||{})):(this.config=options??{},this.configProvider=Promise.resolve(this.config))}destroy(){}async handle(request,{abortSignal}={}){this.config||(this.config=await this.configProvider);const requestTimeoutInMs=this.config.requestTimeout;if(abortSignal?.aborted){const abortError=new Error("Request aborted");return abortError.name="AbortError",Promise.reject(abortError)}let path=request.path;if(request.query){const queryString=function buildQueryString(query){const parts=[];for(let key of Object.keys(query).sort()){const value=query[key];if(key=escapeUri(key),Array.isArray(value))for(let i=0,iLen=value.length;i{const fetchHeaders=response.headers,transformedHeaders={};for(const pair of fetchHeaders.entries())transformedHeaders[pair[0]]=pair[1];return null!=response.body?{response:new httpResponse_HttpResponse({headers:transformedHeaders,statusCode:response.status,body:response.body})}:response.blob().then((body=>({response:new httpResponse_HttpResponse({headers:transformedHeaders,statusCode:response.status,body})})))})),requestTimeout(requestTimeoutInMs)];return abortSignal&&raceOfPromises.push(new Promise(((resolve,reject)=>{abortSignal.onabort=()=>{const abortError=new Error("Request aborted");abortError.name="AbortError",reject(abortError)}}))),Promise.race(raceOfPromises)}}const alphabetByEncoding={},alphabetByValue=new Array(64);for(let i=0,start="A".charCodeAt(0),limit="Z".charCodeAt(0);i+start<=limit;i++){const char=String.fromCharCode(i+start);alphabetByEncoding[char]=i,alphabetByValue[i]=char}for(let i=0,start="a".charCodeAt(0),limit="z".charCodeAt(0);i+start<=limit;i++){const char=String.fromCharCode(i+start),index=i+26;alphabetByEncoding[char]=index,alphabetByValue[index]=char}for(let i=0;i<10;i++){alphabetByEncoding[i.toString(10)]=i+52;const char=i.toString(10),index=i+52;alphabetByEncoding[char]=index,alphabetByValue[index]=char}alphabetByEncoding["+"]=62,alphabetByValue[62]="+",alphabetByEncoding["/"]=63,alphabetByValue[63]="/";const fromBase64=input=>{let totalByteLength=input.length/4*3;"=="===input.slice(-2)?totalByteLength-=2:"="===input.slice(-1)&&totalByteLength--;const out=new ArrayBuffer(totalByteLength),dataView=new DataView(out);for(let i=0;i>=6;const chunkOffset=i/4*3;bits>>=bitLength%8;const byteLength=Math.floor(bitLength/8);for(let k=0;k>offset)}}return new Uint8Array(out)};function toBase64(input){let str="";for(let i=0;i>offset]}str+="==".slice(0,4-bitClusterCount)}return str}const streamCollector=stream=>"function"==typeof Blob&&stream instanceof Blob?async function collectBlob(blob){const base64=await function readToBase64(blob){return new Promise(((resolve,reject)=>{const reader=new FileReader;reader.onloadend=()=>{if(2!==reader.readyState)return reject(new Error("Reader aborted too early"));const result=reader.result??"",commaIndex=result.indexOf(","),dataOffset=commaIndex>-1?commaIndex+1:result.length;resolve(result.substring(dataOffset))},reader.onabort=()=>reject(new Error("Read aborted")),reader.onerror=()=>reject(reader.error),reader.readAsDataURL(blob)}))}(blob),arrayBuffer=fromBase64(base64);return new Uint8Array(arrayBuffer)}(stream):async function collectStream(stream){let res=new Uint8Array(0);const reader=stream.getReader();let isDone=!1;for(;!isDone;){const{done,value}=await reader.read();if(value){const prior=res;res=new Uint8Array(prior.length+value.length),res.set(prior),res.set(value,prior.length)}isDone=done}return res}(stream);const calculateBodyLength=body=>{if("string"==typeof body){let len=body.length;for(let i=len-1;i>=0;i--){const code=body.charCodeAt(i);code>127&&code<=2047?len++:code>2047&&code<=65535&&(len+=2),code>=56320&&code<=57343&&i--}return len}if("number"==typeof body.byteLength)return body.byteLength;if("number"==typeof body.size)return body.size;throw new Error(`Body Length computation failed for ${body}`)};var es5=__webpack_require__("./node_modules/bowser/es5.js"),es5_default=__webpack_require__.n(es5);const defaultUserAgent=({serviceId,clientVersion})=>async()=>{const parsedUA="undefined"!=typeof window&&window?.navigator?.userAgent?es5_default().parse(window.navigator.userAgent):void 0,sections=[["aws-sdk-js",clientVersion],[`os/${parsedUA?.os?.name||"other"}`,parsedUA?.os?.version],["lang/js"],["md/browser",`${parsedUA?.browser?.name??"unknown"}_${parsedUA?.browser?.version??"unknown"}`]];return serviceId&§ions.push([`api/${serviceId}`,clientVersion]),sections},toUtf8=input=>new TextDecoder("utf-8").decode(input),q="required",r="fn",s="argv",t="ref",a="isSet",b="tree",c="error",d="endpoint",e="PartitionResult",f={[q]:!1,type:"String"},g={[q]:!0,default:!1,type:"Boolean"},h={[t]:"Endpoint"},i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},!0]},j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},!0]},k={},l={[r]:"booleanEquals",[s]:[!0,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]},m={[r]:"booleanEquals",[s]:[!0,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]},n=[i],o=[j],p=[{[t]:"Region"}],ruleSet={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]},defaultEndpointResolver=(endpointParams,context={})=>((ruleSetObject,options)=>{const{endpointParams,logger}=options,{parameters,rules}=ruleSetObject;options.logger?.debug?.(`endpoints Initial EndpointParams: ${toDebugString(endpointParams)}`);const paramsWithDefault=Object.entries(parameters).filter((([,v])=>null!=v.default)).map((([k,v])=>[k,v.default]));if(paramsWithDefault.length>0)for(const[paramKey,paramDefaultValue]of paramsWithDefault)endpointParams[paramKey]=endpointParams[paramKey]??paramDefaultValue;const requiredParams=Object.entries(parameters).filter((([,v])=>v.required)).map((([k])=>k));for(const requiredParam of requiredParams)if(null==endpointParams[requiredParam])throw new EndpointError(`Missing required parameter: '${requiredParam}'`);const endpoint=evaluateRules(rules,{endpointParams,logger,referenceRecord:{}});if(options.endpointParams?.Endpoint)try{const givenEndpoint=new URL(options.endpointParams.Endpoint),{protocol,port}=givenEndpoint;endpoint.url.protocol=protocol,endpoint.url.port=port}catch(e){}return options.logger?.debug?.(`endpoints Resolved endpoint: ${toDebugString(endpoint)}`),endpoint})(ruleSet,{endpointParams,logger:context.logger}),DEFAULTS_MODE_OPTIONS=["in-region","cross-region","mobile","standard","legacy"],isMobileBrowser=()=>{const parsedUA="undefined"!=typeof window&&window?.navigator?.userAgent?es5_default().parse(window.navigator.userAgent):void 0,platform=parsedUA?.platform?.type;return"tablet"===platform||"mobile"===platform},runtimeConfig_browser_getRuntimeConfig=config=>{const defaultsMode=(({defaultsMode}={})=>memoize((async()=>{const mode="function"==typeof defaultsMode?await defaultsMode():defaultsMode;switch(mode?.toLowerCase()){case"auto":return Promise.resolve(isMobileBrowser()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(mode?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`)}})))(config),defaultConfigProvider=()=>defaultsMode().then(loadConfigsForDefaultMode),clientSharedValues=(config=>({apiVersion:"2021-05-15",base64Decoder:config?.base64Decoder??fromBase64,base64Encoder:config?.base64Encoder??toBase64,disableHostPrefix:config?.disableHostPrefix??!1,endpointProvider:config?.endpointProvider??defaultEndpointResolver,logger:config?.logger??new NoOpLogger,serviceId:config?.serviceId??"Chime SDK Messaging",urlParser:config?.urlParser??parseUrl,utf8Decoder:config?.utf8Decoder??fromUtf8,utf8Encoder:config?.utf8Encoder??toUtf8}))(config);return{...clientSharedValues,...config,runtime:"browser",defaultsMode,bodyLengthChecker:config?.bodyLengthChecker??calculateBodyLength,credentialDefaultProvider:config?.credentialDefaultProvider??(_=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:config?.defaultUserAgentProvider??defaultUserAgent({serviceId:clientSharedValues.serviceId,clientVersion:package_namespaceObject_i8}),maxAttempts:config?.maxAttempts??3,region:config?.region??(message="Region is missing",()=>Promise.reject(message)),requestHandler:config?.requestHandler??new FetchHttpHandler(defaultConfigProvider),retryMode:config?.retryMode??(async()=>(await defaultConfigProvider()).retryMode||DEFAULT_RETRY_MODE),sha256:config?.sha256??build.Sha256,streamCollector:config?.streamCollector??streamCollector,useDualstackEndpoint:config?.useDualstackEndpoint??(()=>Promise.resolve(false)),useFipsEndpoint:config?.useFipsEndpoint??(()=>Promise.resolve(false))};var message};class ChimeSDKMessagingClient extends Client{constructor(configuration){const _config_0=runtimeConfig_browser_getRuntimeConfig(configuration);var options;const _config_2=(input=>{const{region,useFipsEndpoint}=input;if(!region)throw new Error("Region is missing");return{...input,region:async()=>{if("string"==typeof region)return getRealRegion(region);const providedRegion=await region();return getRealRegion(providedRegion)},useFipsEndpoint:async()=>{const providedRegion="string"==typeof region?region:await region();return!!isFipsRegion(providedRegion)||("function"!=typeof useFipsEndpoint?Promise.resolve(!!useFipsEndpoint):useFipsEndpoint())}}})((options=_config_0,{...options,useDualstackEndpoint:options.useDualstackEndpoint??!1,useFipsEndpoint:options.useFipsEndpoint??!1,defaultSigningName:"chime"})),_config_7=function resolveUserAgentConfig(input){return{...input,customUserAgent:"string"==typeof input.customUserAgent?[[input.customUserAgent]]:input.customUserAgent}}((input=>{const normalizedCreds=input.credentials?normalizeCredentialProvider(input.credentials):input.credentialDefaultProvider(input),{signingEscapePath=!0,systemClockOffset=input.systemClockOffset||0,sha256}=input;let signer;return signer=input.signer?normalizeProvider_normalizeProvider(input.signer):input.regionInfoProvider?()=>normalizeProvider_normalizeProvider(input.region)().then((async region=>[await input.regionInfoProvider(region,{useFipsEndpoint:await input.useFipsEndpoint(),useDualstackEndpoint:await input.useDualstackEndpoint()})||{},region])).then((([regionInfo,region])=>{const{signingRegion,signingService}=regionInfo;input.signingRegion=input.signingRegion||signingRegion||region,input.signingName=input.signingName||signingService||input.serviceId;const params={...input,credentials:normalizedCreds,region:input.signingRegion,service:input.signingName,sha256,uriEscapePath:signingEscapePath};return new(input.signerConstructor||SignatureV4_SignatureV4)(params)})):async authScheme=>{const signingRegion=(authScheme=Object.assign({},{name:"sigv4",signingName:input.signingName||input.defaultSigningName,signingRegion:await normalizeProvider_normalizeProvider(input.region)(),properties:{}},authScheme)).signingRegion,signingService=authScheme.signingName;input.signingRegion=input.signingRegion||signingRegion,input.signingName=input.signingName||signingService||input.serviceId;const params={...input,credentials:normalizedCreds,region:input.signingRegion,service:input.signingName,sha256,uriEscapePath:signingEscapePath};return new(input.signerConstructor||SignatureV4_SignatureV4)(params)},{...input,systemClockOffset,signingEscapePath,credentials:normalizedCreds,signer}})((input=>{const{retryStrategy}=input,maxAttempts=normalizeProvider_normalizeProvider(input.maxAttempts??3);return{...input,maxAttempts,retryStrategy:async()=>retryStrategy||(await normalizeProvider_normalizeProvider(input.retryMode)()===config_RETRY_MODES.ADAPTIVE?new AdaptiveRetryStrategy(maxAttempts):new StandardRetryStrategy_StandardRetryStrategy(maxAttempts))}})(resolveEndpointConfig(_config_2))));super(_config_7),this.config=_config_7,this.middlewareStack.use(getRetryPlugin(this.config)),this.middlewareStack.use(getContentLengthPlugin(this.config)),this.middlewareStack.use(getHostHeaderPlugin(this.config)),this.middlewareStack.use((this.config,{applyToStack:clientStack=>{clientStack.add(((next,context)=>async args=>{try{const response=await next(args),{clientName,commandName,logger,dynamoDbDocumentClientOptions={}}=context,{overrideInputFilterSensitiveLog,overrideOutputFilterSensitiveLog}=dynamoDbDocumentClientOptions,inputFilterSensitiveLog=overrideInputFilterSensitiveLog??context.inputFilterSensitiveLog,outputFilterSensitiveLog=overrideOutputFilterSensitiveLog??context.outputFilterSensitiveLog,{$metadata,...outputWithoutMetadata}=response.output;return logger?.info?.({clientName,commandName,input:inputFilterSensitiveLog(args.input),output:outputFilterSensitiveLog(outputWithoutMetadata),metadata:$metadata}),response}catch(error){const{clientName,commandName,logger,dynamoDbDocumentClientOptions={}}=context,{overrideInputFilterSensitiveLog}=dynamoDbDocumentClientOptions,inputFilterSensitiveLog=overrideInputFilterSensitiveLog??context.inputFilterSensitiveLog;throw logger?.error?.({clientName,commandName,input:inputFilterSensitiveLog(args.input),error,metadata:error.$metadata}),error}}),loggerMiddlewareOptions)}})),this.middlewareStack.use(getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(getAwsAuthPlugin(this.config)),this.middlewareStack.use(getUserAgentPlugin(this.config))}destroy(){super.destroy()}}var types_FieldPosition;!function(FieldPosition){FieldPosition[FieldPosition.HEADER=0]="HEADER",FieldPosition[FieldPosition.TRAILER=1]="TRAILER"}(types_FieldPosition||(types_FieldPosition={}));class dist_es_httpRequest_HttpRequest{constructor(options){this.method=options.method||"GET",this.hostname=options.hostname||"localhost",this.port=options.port,this.query=options.query||{},this.headers=options.headers||{},this.body=options.body,this.protocol=options.protocol?":"!==options.protocol.slice(-1)?`${options.protocol}:`:options.protocol:"https:",this.path=options.path?"/"!==options.path.charAt(0)?`/${options.path}`:options.path:"/"}static isInstance(request){if(!request)return!1;const req=request;return"method"in req&&"protocol"in req&&"hostname"in req&&"path"in req&&"object"==typeof req.query&&"object"==typeof req.headers}clone(){const cloned=new dist_es_httpRequest_HttpRequest({...this,headers:{...this.headers}});return cloned.query&&(cloned.query=function httpRequest_cloneQuery(query){return Object.keys(query).reduce(((carry,paramName)=>{const param=query[paramName];return{...carry,[paramName]:Array.isArray(param)?[...param]:param}}),{})}(cloned.query)),cloned}}class ChimeSDKMessagingServiceException extends ServiceException{constructor(options){super(options),Object.setPrototypeOf(this,ChimeSDKMessagingServiceException.prototype)}}const AllowNotifications={ALL:"ALL",FILTERED:"FILTERED",NONE:"NONE"},ChannelMembershipType={DEFAULT:"DEFAULT",HIDDEN:"HIDDEN"},ErrorCode={AccessDenied:"AccessDenied",BadRequest:"BadRequest",Conflict:"Conflict",Forbidden:"Forbidden",NotFound:"NotFound",PhoneNumberAssociationsExist:"PhoneNumberAssociationsExist",PreconditionFailed:"PreconditionFailed",ResourceLimitExceeded:"ResourceLimitExceeded",ServiceFailure:"ServiceFailure",ServiceUnavailable:"ServiceUnavailable",Throttled:"Throttled",Throttling:"Throttling",Unauthorized:"Unauthorized",Unprocessable:"Unprocessable",VoiceConnectorGroupAssociationsExist:"VoiceConnectorGroupAssociationsExist"};class BadRequestException extends ChimeSDKMessagingServiceException{constructor(opts){super({name:"BadRequestException",$fault:"client",...opts}),this.name="BadRequestException",this.$fault="client",Object.setPrototypeOf(this,BadRequestException.prototype),this.Code=opts.Code,this.Message=opts.Message}}class ConflictException extends ChimeSDKMessagingServiceException{constructor(opts){super({name:"ConflictException",$fault:"client",...opts}),this.name="ConflictException",this.$fault="client",Object.setPrototypeOf(this,ConflictException.prototype),this.Code=opts.Code,this.Message=opts.Message}}class ForbiddenException extends ChimeSDKMessagingServiceException{constructor(opts){super({name:"ForbiddenException",$fault:"client",...opts}),this.name="ForbiddenException",this.$fault="client",Object.setPrototypeOf(this,ForbiddenException.prototype),this.Code=opts.Code,this.Message=opts.Message}}class NotFoundException extends ChimeSDKMessagingServiceException{constructor(opts){super({name:"NotFoundException",$fault:"client",...opts}),this.name="NotFoundException",this.$fault="client",Object.setPrototypeOf(this,NotFoundException.prototype),this.Code=opts.Code,this.Message=opts.Message}}class ServiceFailureException extends ChimeSDKMessagingServiceException{constructor(opts){super({name:"ServiceFailureException",$fault:"server",...opts}),this.name="ServiceFailureException",this.$fault="server",Object.setPrototypeOf(this,ServiceFailureException.prototype),this.Code=opts.Code,this.Message=opts.Message}}class ServiceUnavailableException extends ChimeSDKMessagingServiceException{constructor(opts){super({name:"ServiceUnavailableException",$fault:"server",...opts}),this.name="ServiceUnavailableException",this.$fault="server",Object.setPrototypeOf(this,ServiceUnavailableException.prototype),this.Code=opts.Code,this.Message=opts.Message}}class ThrottledClientException extends ChimeSDKMessagingServiceException{constructor(opts){super({name:"ThrottledClientException",$fault:"client",...opts}),this.name="ThrottledClientException",this.$fault="client",Object.setPrototypeOf(this,ThrottledClientException.prototype),this.Code=opts.Code,this.Message=opts.Message}}class UnauthorizedClientException extends ChimeSDKMessagingServiceException{constructor(opts){super({name:"UnauthorizedClientException",$fault:"client",...opts}),this.name="UnauthorizedClientException",this.$fault="client",Object.setPrototypeOf(this,UnauthorizedClientException.prototype),this.Code=opts.Code,this.Message=opts.Message}}class ResourceLimitExceededException extends ChimeSDKMessagingServiceException{constructor(opts){super({name:"ResourceLimitExceededException",$fault:"client",...opts}),this.name="ResourceLimitExceededException",this.$fault="client",Object.setPrototypeOf(this,ResourceLimitExceededException.prototype),this.Code=opts.Code,this.Message=opts.Message}}const ExpirationCriterion={CREATED_TIMESTAMP:"CREATED_TIMESTAMP",LAST_MESSAGE_TIMESTAMP:"LAST_MESSAGE_TIMESTAMP"},ChannelMode={RESTRICTED:"RESTRICTED",UNRESTRICTED:"UNRESTRICTED"},ChannelPrivacy={PRIVATE:"PRIVATE",PUBLIC:"PUBLIC"},InvocationType={ASYNC:"ASYNC"},FallbackAction={ABORT:"ABORT",CONTINUE:"CONTINUE"},PushNotificationType={DEFAULT:"DEFAULT",VOIP:"VOIP"},ChannelMessagePersistenceType={NON_PERSISTENT:"NON_PERSISTENT",PERSISTENT:"PERSISTENT"},ChannelMessageStatus={DENIED:"DENIED",FAILED:"FAILED",PENDING:"PENDING",SENT:"SENT"},ChannelMessageType={CONTROL:"CONTROL",STANDARD:"STANDARD"},MessagingDataType={Channel:"Channel",ChannelMessage:"ChannelMessage"},SortOrder={ASCENDING:"ASCENDING",DESCENDING:"DESCENDING"},SearchFieldKey={MEMBERS:"MEMBERS"},SearchFieldOperator={EQUALS:"EQUALS",INCLUDES:"INCLUDES"},IdentityFilterSensitiveLog=obj=>({...obj,...obj.Name&&{Name:SENSITIVE_STRING}}),BatchChannelMembershipsFilterSensitiveLog=obj=>({...obj,...obj.InvitedBy&&{InvitedBy:IdentityFilterSensitiveLog(obj.InvitedBy)},...obj.Members&&{Members:obj.Members.map((item=>IdentityFilterSensitiveLog(item)))}}),BatchCreateChannelMembershipResponseFilterSensitiveLog=obj=>({...obj,...obj.BatchChannelMemberships&&{BatchChannelMemberships:BatchChannelMembershipsFilterSensitiveLog(obj.BatchChannelMemberships)}}),ChannelFilterSensitiveLog=obj=>({...obj,...obj.Name&&{Name:SENSITIVE_STRING},...obj.Metadata&&{Metadata:SENSITIVE_STRING},...obj.CreatedBy&&{CreatedBy:IdentityFilterSensitiveLog(obj.CreatedBy)}}),ChannelAssociatedWithFlowSummaryFilterSensitiveLog=obj=>({...obj,...obj.Name&&{Name:SENSITIVE_STRING},...obj.Metadata&&{Metadata:SENSITIVE_STRING}}),ChannelBanFilterSensitiveLog=obj=>({...obj,...obj.Member&&{Member:IdentityFilterSensitiveLog(obj.Member)},...obj.CreatedBy&&{CreatedBy:IdentityFilterSensitiveLog(obj.CreatedBy)}}),ChannelBanSummaryFilterSensitiveLog=obj=>({...obj,...obj.Member&&{Member:IdentityFilterSensitiveLog(obj.Member)}}),ProcessorFilterSensitiveLog=obj=>({...obj,...obj.Name&&{Name:SENSITIVE_STRING}}),ChannelFlowFilterSensitiveLog=obj=>({...obj,...obj.Processors&&{Processors:obj.Processors.map((item=>ProcessorFilterSensitiveLog(item)))},...obj.Name&&{Name:SENSITIVE_STRING}}),MessageAttributeValueFilterSensitiveLog=obj=>({...obj,...obj.StringValues&&{StringValues:SENSITIVE_STRING}}),PushNotificationConfigurationFilterSensitiveLog=obj=>({...obj,...obj.Title&&{Title:SENSITIVE_STRING},...obj.Body&&{Body:SENSITIVE_STRING}}),ChannelMessageCallbackFilterSensitiveLog=obj=>({...obj,...obj.Content&&{Content:SENSITIVE_STRING},...obj.Metadata&&{Metadata:SENSITIVE_STRING},...obj.PushNotification&&{PushNotification:PushNotificationConfigurationFilterSensitiveLog(obj.PushNotification)},...obj.MessageAttributes&&{MessageAttributes:Object.entries(obj.MessageAttributes).reduce(((acc,[key,value])=>(acc[key]=MessageAttributeValueFilterSensitiveLog(value),acc)),{})},...obj.ContentType&&{ContentType:SENSITIVE_STRING}}),ChannelFlowCallbackRequestFilterSensitiveLog=obj=>({...obj,...obj.ChannelMessage&&{ChannelMessage:ChannelMessageCallbackFilterSensitiveLog(obj.ChannelMessage)}}),ChannelFlowSummaryFilterSensitiveLog=obj=>({...obj,...obj.Name&&{Name:SENSITIVE_STRING},...obj.Processors&&{Processors:obj.Processors.map((item=>ProcessorFilterSensitiveLog(item)))}}),ChannelMembershipFilterSensitiveLog=obj=>({...obj,...obj.InvitedBy&&{InvitedBy:IdentityFilterSensitiveLog(obj.InvitedBy)},...obj.Member&&{Member:IdentityFilterSensitiveLog(obj.Member)}}),ChannelSummaryFilterSensitiveLog=obj=>({...obj,...obj.Name&&{Name:SENSITIVE_STRING},...obj.Metadata&&{Metadata:SENSITIVE_STRING}}),ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog=obj=>({...obj,...obj.ChannelSummary&&{ChannelSummary:ChannelSummaryFilterSensitiveLog(obj.ChannelSummary)}}),PushNotificationPreferencesFilterSensitiveLog=obj=>({...obj,...obj.FilterRule&&{FilterRule:SENSITIVE_STRING}}),ChannelMembershipPreferencesFilterSensitiveLog=obj=>({...obj,...obj.PushNotifications&&{PushNotifications:PushNotificationPreferencesFilterSensitiveLog(obj.PushNotifications)}}),ChannelMembershipSummaryFilterSensitiveLog=obj=>({...obj,...obj.Member&&{Member:IdentityFilterSensitiveLog(obj.Member)}}),ChannelMessageFilterSensitiveLog=obj=>({...obj,...obj.Content&&{Content:SENSITIVE_STRING},...obj.Metadata&&{Metadata:SENSITIVE_STRING},...obj.Sender&&{Sender:IdentityFilterSensitiveLog(obj.Sender)},...obj.MessageAttributes&&{MessageAttributes:Object.entries(obj.MessageAttributes).reduce(((acc,[key,value])=>(acc[key]=MessageAttributeValueFilterSensitiveLog(value),acc)),{})},...obj.ContentType&&{ContentType:SENSITIVE_STRING}}),ChannelMessageSummaryFilterSensitiveLog=obj=>({...obj,...obj.Content&&{Content:SENSITIVE_STRING},...obj.Metadata&&{Metadata:SENSITIVE_STRING},...obj.Sender&&{Sender:IdentityFilterSensitiveLog(obj.Sender)},...obj.MessageAttributes&&{MessageAttributes:Object.entries(obj.MessageAttributes).reduce(((acc,[key,value])=>(acc[key]=MessageAttributeValueFilterSensitiveLog(value),acc)),{})},...obj.ContentType&&{ContentType:SENSITIVE_STRING}}),ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog=obj=>({...obj,...obj.ChannelSummary&&{ChannelSummary:ChannelSummaryFilterSensitiveLog(obj.ChannelSummary)}}),ChannelModeratorFilterSensitiveLog=obj=>({...obj,...obj.Moderator&&{Moderator:IdentityFilterSensitiveLog(obj.Moderator)},...obj.CreatedBy&&{CreatedBy:IdentityFilterSensitiveLog(obj.CreatedBy)}}),ChannelModeratorSummaryFilterSensitiveLog=obj=>({...obj,...obj.Moderator&&{Moderator:IdentityFilterSensitiveLog(obj.Moderator)}}),TagFilterSensitiveLog=obj=>({...obj,...obj.Key&&{Key:SENSITIVE_STRING},...obj.Value&&{Value:SENSITIVE_STRING}}),CreateChannelRequestFilterSensitiveLog=obj=>({...obj,...obj.Name&&{Name:SENSITIVE_STRING},...obj.Metadata&&{Metadata:SENSITIVE_STRING},...obj.ClientRequestToken&&{ClientRequestToken:SENSITIVE_STRING},...obj.Tags&&{Tags:obj.Tags.map((item=>TagFilterSensitiveLog(item)))},...obj.ChannelId&&{ChannelId:SENSITIVE_STRING}}),CreateChannelBanResponseFilterSensitiveLog=obj=>({...obj,...obj.Member&&{Member:IdentityFilterSensitiveLog(obj.Member)}}),CreateChannelFlowRequestFilterSensitiveLog=obj=>({...obj,...obj.Processors&&{Processors:obj.Processors.map((item=>ProcessorFilterSensitiveLog(item)))},...obj.Name&&{Name:SENSITIVE_STRING},...obj.Tags&&{Tags:obj.Tags.map((item=>TagFilterSensitiveLog(item)))},...obj.ClientRequestToken&&{ClientRequestToken:SENSITIVE_STRING}}),CreateChannelMembershipResponseFilterSensitiveLog=obj=>({...obj,...obj.Member&&{Member:IdentityFilterSensitiveLog(obj.Member)}}),CreateChannelModeratorResponseFilterSensitiveLog=obj=>({...obj,...obj.ChannelModerator&&{ChannelModerator:IdentityFilterSensitiveLog(obj.ChannelModerator)}}),DescribeChannelResponseFilterSensitiveLog=obj=>({...obj,...obj.Channel&&{Channel:ChannelFilterSensitiveLog(obj.Channel)}}),DescribeChannelBanResponseFilterSensitiveLog=obj=>({...obj,...obj.ChannelBan&&{ChannelBan:ChannelBanFilterSensitiveLog(obj.ChannelBan)}}),DescribeChannelFlowResponseFilterSensitiveLog=obj=>({...obj,...obj.ChannelFlow&&{ChannelFlow:ChannelFlowFilterSensitiveLog(obj.ChannelFlow)}}),DescribeChannelMembershipResponseFilterSensitiveLog=obj=>({...obj,...obj.ChannelMembership&&{ChannelMembership:ChannelMembershipFilterSensitiveLog(obj.ChannelMembership)}}),DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog=obj=>({...obj,...obj.ChannelMembership&&{ChannelMembership:ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog(obj.ChannelMembership)}}),DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog=obj=>({...obj,...obj.Channel&&{Channel:ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog(obj.Channel)}}),DescribeChannelModeratorResponseFilterSensitiveLog=obj=>({...obj,...obj.ChannelModerator&&{ChannelModerator:ChannelModeratorFilterSensitiveLog(obj.ChannelModerator)}}),GetChannelMembershipPreferencesResponseFilterSensitiveLog=obj=>({...obj,...obj.Member&&{Member:IdentityFilterSensitiveLog(obj.Member)},...obj.Preferences&&{Preferences:ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences)}}),GetChannelMessageResponseFilterSensitiveLog=obj=>({...obj,...obj.ChannelMessage&&{ChannelMessage:ChannelMessageFilterSensitiveLog(obj.ChannelMessage)}}),ListChannelBansRequestFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelBansResponseFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING},...obj.ChannelBans&&{ChannelBans:obj.ChannelBans.map((item=>ChannelBanSummaryFilterSensitiveLog(item)))}}),ListChannelFlowsRequestFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelFlowsResponseFilterSensitiveLog=obj=>({...obj,...obj.ChannelFlows&&{ChannelFlows:obj.ChannelFlows.map((item=>ChannelFlowSummaryFilterSensitiveLog(item)))},...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelMembershipsRequestFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelMembershipsResponseFilterSensitiveLog=obj=>({...obj,...obj.ChannelMemberships&&{ChannelMemberships:obj.ChannelMemberships.map((item=>ChannelMembershipSummaryFilterSensitiveLog(item)))},...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog=obj=>({...obj,...obj.ChannelMemberships&&{ChannelMemberships:obj.ChannelMemberships.map((item=>ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog(item)))},...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelMessagesRequestFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelMessagesResponseFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING},...obj.ChannelMessages&&{ChannelMessages:obj.ChannelMessages.map((item=>ChannelMessageSummaryFilterSensitiveLog(item)))}}),ListChannelModeratorsRequestFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelModeratorsResponseFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING},...obj.ChannelModerators&&{ChannelModerators:obj.ChannelModerators.map((item=>ChannelModeratorSummaryFilterSensitiveLog(item)))}}),ListChannelsRequestFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelsResponseFilterSensitiveLog=obj=>({...obj,...obj.Channels&&{Channels:obj.Channels.map((item=>ChannelSummaryFilterSensitiveLog(item)))},...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog=obj=>({...obj,...obj.Channels&&{Channels:obj.Channels.map((item=>ChannelAssociatedWithFlowSummaryFilterSensitiveLog(item)))},...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog=obj=>({...obj,...obj.Channels&&{Channels:obj.Channels.map((item=>ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog(item)))},...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListSubChannelsRequestFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListSubChannelsResponseFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),ListTagsForResourceResponseFilterSensitiveLog=obj=>({...obj,...obj.Tags&&{Tags:obj.Tags.map((item=>TagFilterSensitiveLog(item)))}}),PutChannelMembershipPreferencesRequestFilterSensitiveLog=obj=>({...obj,...obj.Preferences&&{Preferences:ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences)}}),PutChannelMembershipPreferencesResponseFilterSensitiveLog=obj=>({...obj,...obj.Member&&{Member:IdentityFilterSensitiveLog(obj.Member)},...obj.Preferences&&{Preferences:ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences)}}),SearchChannelsRequestFilterSensitiveLog=obj=>({...obj,...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),SearchChannelsResponseFilterSensitiveLog=obj=>({...obj,...obj.Channels&&{Channels:obj.Channels.map((item=>ChannelSummaryFilterSensitiveLog(item)))},...obj.NextToken&&{NextToken:SENSITIVE_STRING}}),SendChannelMessageRequestFilterSensitiveLog=obj=>({...obj,...obj.Content&&{Content:SENSITIVE_STRING},...obj.Metadata&&{Metadata:SENSITIVE_STRING},...obj.ClientRequestToken&&{ClientRequestToken:SENSITIVE_STRING},...obj.PushNotification&&{PushNotification:PushNotificationConfigurationFilterSensitiveLog(obj.PushNotification)},...obj.MessageAttributes&&{MessageAttributes:Object.entries(obj.MessageAttributes).reduce(((acc,[key,value])=>(acc[key]=MessageAttributeValueFilterSensitiveLog(value),acc)),{})},...obj.ContentType&&{ContentType:SENSITIVE_STRING}}),TagResourceRequestFilterSensitiveLog=obj=>({...obj,...obj.Tags&&{Tags:obj.Tags.map((item=>TagFilterSensitiveLog(item)))}}),UntagResourceRequestFilterSensitiveLog=obj=>({...obj,...obj.TagKeys&&{TagKeys:SENSITIVE_STRING}}),UpdateChannelRequestFilterSensitiveLog=obj=>({...obj,...obj.Name&&{Name:SENSITIVE_STRING},...obj.Metadata&&{Metadata:SENSITIVE_STRING}}),UpdateChannelFlowRequestFilterSensitiveLog=obj=>({...obj,...obj.Processors&&{Processors:obj.Processors.map((item=>ProcessorFilterSensitiveLog(item)))},...obj.Name&&{Name:SENSITIVE_STRING}}),UpdateChannelMessageRequestFilterSensitiveLog=obj=>({...obj,...obj.Content&&{Content:SENSITIVE_STRING},...obj.Metadata&&{Metadata:SENSITIVE_STRING},...obj.ContentType&&{ContentType:SENSITIVE_STRING}}),de_AssociateChannelFlowCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"NotFoundException":case"com.amazonaws.chimesdkmessaging#NotFoundException":throw await de_NotFoundExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_BatchCreateChannelMembershipCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"NotFoundException":case"com.amazonaws.chimesdkmessaging#NotFoundException":throw await de_NotFoundExceptionRes(parsedOutput,context);case"ResourceLimitExceededException":case"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":throw await de_ResourceLimitExceededExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ChannelFlowCallbackCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_CreateChannelCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ResourceLimitExceededException":case"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":throw await de_ResourceLimitExceededExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_CreateChannelBanCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ResourceLimitExceededException":case"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":throw await de_ResourceLimitExceededExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_CreateChannelFlowCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ResourceLimitExceededException":case"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":throw await de_ResourceLimitExceededExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_CreateChannelMembershipCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"NotFoundException":case"com.amazonaws.chimesdkmessaging#NotFoundException":throw await de_NotFoundExceptionRes(parsedOutput,context);case"ResourceLimitExceededException":case"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":throw await de_ResourceLimitExceededExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_CreateChannelModeratorCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ResourceLimitExceededException":case"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":throw await de_ResourceLimitExceededExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DeleteChannelCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DeleteChannelBanCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DeleteChannelFlowCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DeleteChannelMembershipCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DeleteChannelMessageCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DeleteChannelModeratorCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DeleteMessagingStreamingConfigurationsCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DescribeChannelCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DescribeChannelBanCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"NotFoundException":case"com.amazonaws.chimesdkmessaging#NotFoundException":throw await de_NotFoundExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DescribeChannelFlowCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DescribeChannelMembershipCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"NotFoundException":case"com.amazonaws.chimesdkmessaging#NotFoundException":throw await de_NotFoundExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DescribeChannelMembershipForAppInstanceUserCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DescribeChannelModeratedByAppInstanceUserCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DescribeChannelModeratorCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"NotFoundException":case"com.amazonaws.chimesdkmessaging#NotFoundException":throw await de_NotFoundExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_DisassociateChannelFlowCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"NotFoundException":case"com.amazonaws.chimesdkmessaging#NotFoundException":throw await de_NotFoundExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_GetChannelMembershipPreferencesCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_GetChannelMessageCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"NotFoundException":case"com.amazonaws.chimesdkmessaging#NotFoundException":throw await de_NotFoundExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_GetChannelMessageStatusCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_GetMessagingSessionEndpointCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_GetMessagingStreamingConfigurationsCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"NotFoundException":case"com.amazonaws.chimesdkmessaging#NotFoundException":throw await de_NotFoundExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ListChannelBansCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ListChannelFlowsCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ListChannelMembershipsCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ListChannelMembershipsForAppInstanceUserCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ListChannelMessagesCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ListChannelModeratorsCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ListChannelsCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ListChannelsAssociatedWithChannelFlowCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ListChannelsModeratedByAppInstanceUserCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ListSubChannelsCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_ListTagsForResourceCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_PutChannelExpirationSettingsCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_PutChannelMembershipPreferencesCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_PutMessagingStreamingConfigurationsCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"NotFoundException":case"com.amazonaws.chimesdkmessaging#NotFoundException":throw await de_NotFoundExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_RedactChannelMessageCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_SearchChannelsCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_SendChannelMessageCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_TagResourceCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ResourceLimitExceededException":case"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":throw await de_ResourceLimitExceededExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_UntagResourceCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_UpdateChannelCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_UpdateChannelFlowCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_UpdateChannelMessageCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},de_UpdateChannelReadMarkerCommandError=async(output,context)=>{const parsedOutput={...output,body:await parseErrorBody(output.body,context)},errorCode=loadRestJsonErrorCode(output,parsedOutput.body);switch(errorCode){case"BadRequestException":case"com.amazonaws.chimesdkmessaging#BadRequestException":throw await de_BadRequestExceptionRes(parsedOutput,context);case"ConflictException":case"com.amazonaws.chimesdkmessaging#ConflictException":throw await de_ConflictExceptionRes(parsedOutput,context);case"ForbiddenException":case"com.amazonaws.chimesdkmessaging#ForbiddenException":throw await de_ForbiddenExceptionRes(parsedOutput,context);case"ServiceFailureException":case"com.amazonaws.chimesdkmessaging#ServiceFailureException":throw await de_ServiceFailureExceptionRes(parsedOutput,context);case"ServiceUnavailableException":case"com.amazonaws.chimesdkmessaging#ServiceUnavailableException":throw await de_ServiceUnavailableExceptionRes(parsedOutput,context);case"ThrottledClientException":case"com.amazonaws.chimesdkmessaging#ThrottledClientException":throw await de_ThrottledClientExceptionRes(parsedOutput,context);case"UnauthorizedClientException":case"com.amazonaws.chimesdkmessaging#UnauthorizedClientException":throw await de_UnauthorizedClientExceptionRes(parsedOutput,context);default:const parsedBody=parsedOutput.body;return Aws_restJson1_throwDefaultError({output,parsedBody,errorCode})}},Aws_restJson1_throwDefaultError=(ExceptionCtor=ChimeSDKMessagingServiceException,({output,parsedBody,errorCode})=>{(({output,parsedBody,exceptionCtor,errorCode})=>{const $metadata=deserializeMetadata(output),statusCode=$metadata.httpStatusCode?$metadata.httpStatusCode+"":void 0,response=new exceptionCtor({name:parsedBody?.code||parsedBody?.Code||errorCode||statusCode||"UnknownError",$fault:"client",$metadata});throw decorateServiceException(response,parsedBody)})({output,parsedBody,exceptionCtor:ExceptionCtor,errorCode})});var ExceptionCtor;const de_BadRequestExceptionRes=async(parsedOutput,context)=>{const contents=map({}),data=parsedOutput.body,doc=take(data,{Code:expectString,Message:expectString});Object.assign(contents,doc);const exception=new BadRequestException({$metadata:Aws_restJson1_deserializeMetadata(parsedOutput),...contents});return decorateServiceException(exception,parsedOutput.body)},de_ConflictExceptionRes=async(parsedOutput,context)=>{const contents=map({}),data=parsedOutput.body,doc=take(data,{Code:expectString,Message:expectString});Object.assign(contents,doc);const exception=new ConflictException({$metadata:Aws_restJson1_deserializeMetadata(parsedOutput),...contents});return decorateServiceException(exception,parsedOutput.body)},de_ForbiddenExceptionRes=async(parsedOutput,context)=>{const contents=map({}),data=parsedOutput.body,doc=take(data,{Code:expectString,Message:expectString});Object.assign(contents,doc);const exception=new ForbiddenException({$metadata:Aws_restJson1_deserializeMetadata(parsedOutput),...contents});return decorateServiceException(exception,parsedOutput.body)},de_NotFoundExceptionRes=async(parsedOutput,context)=>{const contents=map({}),data=parsedOutput.body,doc=take(data,{Code:expectString,Message:expectString});Object.assign(contents,doc);const exception=new NotFoundException({$metadata:Aws_restJson1_deserializeMetadata(parsedOutput),...contents});return decorateServiceException(exception,parsedOutput.body)},de_ResourceLimitExceededExceptionRes=async(parsedOutput,context)=>{const contents=map({}),data=parsedOutput.body,doc=take(data,{Code:expectString,Message:expectString});Object.assign(contents,doc);const exception=new ResourceLimitExceededException({$metadata:Aws_restJson1_deserializeMetadata(parsedOutput),...contents});return decorateServiceException(exception,parsedOutput.body)},de_ServiceFailureExceptionRes=async(parsedOutput,context)=>{const contents=map({}),data=parsedOutput.body,doc=take(data,{Code:expectString,Message:expectString});Object.assign(contents,doc);const exception=new ServiceFailureException({$metadata:Aws_restJson1_deserializeMetadata(parsedOutput),...contents});return decorateServiceException(exception,parsedOutput.body)},de_ServiceUnavailableExceptionRes=async(parsedOutput,context)=>{const contents=map({}),data=parsedOutput.body,doc=take(data,{Code:expectString,Message:expectString});Object.assign(contents,doc);const exception=new ServiceUnavailableException({$metadata:Aws_restJson1_deserializeMetadata(parsedOutput),...contents});return decorateServiceException(exception,parsedOutput.body)},de_ThrottledClientExceptionRes=async(parsedOutput,context)=>{const contents=map({}),data=parsedOutput.body,doc=take(data,{Code:expectString,Message:expectString});Object.assign(contents,doc);const exception=new ThrottledClientException({$metadata:Aws_restJson1_deserializeMetadata(parsedOutput),...contents});return decorateServiceException(exception,parsedOutput.body)},de_UnauthorizedClientExceptionRes=async(parsedOutput,context)=>{const contents=map({}),data=parsedOutput.body,doc=take(data,{Code:expectString,Message:expectString});Object.assign(contents,doc);const exception=new UnauthorizedClientException({$metadata:Aws_restJson1_deserializeMetadata(parsedOutput),...contents});return decorateServiceException(exception,parsedOutput.body)},de_Channel=(output,context)=>take(output,{ChannelArn:expectString,ChannelFlowArn:expectString,CreatedBy:_json,CreatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),ElasticChannelConfiguration:_json,ExpirationSettings:_json,LastMessageTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),LastUpdatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),Metadata:expectString,Mode:expectString,Name:expectString,Privacy:expectString}),de_ChannelBan=(output,context)=>take(output,{ChannelArn:expectString,CreatedBy:_json,CreatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),Member:_json}),de_ChannelFlow=(output,context)=>take(output,{ChannelFlowArn:expectString,CreatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),LastUpdatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),Name:expectString,Processors:_json}),de_ChannelMembership=(output,context)=>take(output,{ChannelArn:expectString,CreatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),InvitedBy:_json,LastUpdatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),Member:_json,SubChannelId:expectString,Type:expectString}),de_ChannelMembershipForAppInstanceUserSummary=(output,context)=>take(output,{AppInstanceUserMembershipSummary:_=>((output,context)=>take(output,{ReadMarkerTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),SubChannelId:expectString,Type:expectString}))(_),ChannelSummary:_=>de_ChannelSummary(_,context)}),de_ChannelMembershipForAppInstanceUserSummaryList=(output,context)=>{const retVal=(output||[]).filter((e=>null!=e)).map((entry=>de_ChannelMembershipForAppInstanceUserSummary(entry,context)));return retVal},de_ChannelMessage=(output,context)=>take(output,{ChannelArn:expectString,Content:expectString,ContentType:expectString,CreatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),LastEditedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),LastUpdatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),MessageAttributes:_json,MessageId:expectString,Metadata:expectString,Persistence:expectString,Redacted:expectBoolean,Sender:_json,Status:_json,SubChannelId:expectString,Type:expectString}),de_ChannelMessageSummaryList=(output,context)=>{const retVal=(output||[]).filter((e=>null!=e)).map((entry=>((output,context)=>take(output,{Content:expectString,ContentType:expectString,CreatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),LastEditedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),LastUpdatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),MessageAttributes:_json,MessageId:expectString,Metadata:expectString,Redacted:expectBoolean,Sender:_json,Status:_json,Type:expectString}))(entry)));return retVal},de_ChannelModeratedByAppInstanceUserSummary=(output,context)=>take(output,{ChannelSummary:_=>de_ChannelSummary(_,context)}),de_ChannelModeratedByAppInstanceUserSummaryList=(output,context)=>{const retVal=(output||[]).filter((e=>null!=e)).map((entry=>de_ChannelModeratedByAppInstanceUserSummary(entry,context)));return retVal},de_ChannelModerator=(output,context)=>take(output,{ChannelArn:expectString,CreatedBy:_json,CreatedTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),Moderator:_json}),de_ChannelSummary=(output,context)=>take(output,{ChannelArn:expectString,LastMessageTimestamp:_=>expectNonNull(parseEpochTimestamp(expectNumber(_))),Metadata:expectString,Mode:expectString,Name:expectString,Privacy:expectString}),de_ChannelSummaryList=(output,context)=>{const retVal=(output||[]).filter((e=>null!=e)).map((entry=>de_ChannelSummary(entry,context)));return retVal},Aws_restJson1_deserializeMetadata=output=>({httpStatusCode:output.statusCode,requestId:output.headers["x-amzn-requestid"]??output.headers["x-amzn-request-id"]??output.headers["x-amz-request-id"],extendedRequestId:output.headers["x-amz-id-2"],cfId:output.headers["x-amz-cf-id"]}),collectBody=(streamBody=new Uint8Array,context)=>streamBody instanceof Uint8Array?Promise.resolve(streamBody):context.streamCollector(streamBody)||Promise.resolve(new Uint8Array),isSerializableHeaderValue=value=>!(null==value||""===value||Object.getOwnPropertyNames(value).includes("length")&&0==value.length||Object.getOwnPropertyNames(value).includes("size")&&0==value.size),parseBody=(streamBody,context)=>((streamBody,context)=>collectBody(streamBody,context).then((body=>context.utf8Encoder(body))))(streamBody,context).then((encoded=>encoded.length?JSON.parse(encoded):{})),parseErrorBody=async(errorBody,context)=>{const value=await parseBody(errorBody,context);return value.message=value.message??value.Message,value},loadRestJsonErrorCode=(output,data)=>{const sanitizeErrorCode=rawValue=>{let cleanValue=rawValue;return"number"==typeof cleanValue&&(cleanValue=cleanValue.toString()),cleanValue.indexOf(",")>=0&&(cleanValue=cleanValue.split(",")[0]),cleanValue.indexOf(":")>=0&&(cleanValue=cleanValue.split(":")[0]),cleanValue.indexOf("#")>=0&&(cleanValue=cleanValue.split("#")[1]),cleanValue},headerKey=(object=output.headers,key="x-amzn-errortype",Object.keys(object).find((k=>k.toLowerCase()===key.toLowerCase())));var object,key;return void 0!==headerKey?sanitizeErrorCode(output.headers[headerKey]):void 0!==data.code?sanitizeErrorCode(data.code):void 0!==data.__type?sanitizeErrorCode(data.__type):void 0};class AssociateChannelFlowCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,AssociateChannelFlowCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"AssociateChannelFlowCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer});let body,resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/channel-flow`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),body=JSON.stringify(take(input,{ChannelFlowArn:[]})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"PUT",headers,path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_AssociateChannelFlowCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)});return await collectBody(output.body,context),contents})(output,context)}}class BatchCreateChannelMembershipCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,BatchCreateChannelMembershipCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"BatchCreateChannelMembershipCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:BatchCreateChannelMembershipResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/memberships`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1);const query=map({operation:[,"batch-create"]});let body;return body=JSON.stringify(take(input,{MemberArns:_=>_json(_),SubChannelId:[],Type:[]})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers,path:resolvedPath,query,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_BatchCreateChannelMembershipCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{BatchChannelMemberships:_json,Errors:_json});return Object.assign(contents,doc),contents})(output,context)}}class ChannelFlowCallbackCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ChannelFlowCallbackCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ChannelFlowCallbackCommand",inputFilterSensitiveLog:ChannelFlowCallbackRequestFilterSensitiveLog,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint();let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1);const query=map({operation:[,"channel-flow-callback"]});let body;return body=JSON.stringify(take(input,{CallbackId:[!0,_=>_??(0,esm_browser_v4.Z)()],ChannelMessage:_=>_json(_),DeleteResource:[]})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers:{"content-type":"application/json"},path:resolvedPath,query,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ChannelFlowCallbackCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{CallbackId:expectString,ChannelArn:expectString});return Object.assign(contents,doc),contents})(output,context)}}class CreateChannelBanCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,CreateChannelBanCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"CreateChannelBanCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:CreateChannelBanResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer});let body,resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/bans`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),body=JSON.stringify(take(input,{MemberArn:[]})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers,path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(201!==output.statusCode&&output.statusCode>=300)return de_CreateChannelBanCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,Member:_json});return Object.assign(contents,doc),contents})(output,context)}}class CreateChannelCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,CreateChannelCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"CreateChannelCommand",inputFilterSensitiveLog:CreateChannelRequestFilterSensitiveLog,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer}),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels`;let body;return body=JSON.stringify(take(input,{AppInstanceArn:[],ChannelId:[],ClientRequestToken:[!0,_=>_??(0,esm_browser_v4.Z)()],ElasticChannelConfiguration:_=>_json(_),ExpirationSettings:_=>_json(_),MemberArns:_=>_json(_),Metadata:[],Mode:[],ModeratorArns:_=>_json(_),Name:[],Privacy:[],Tags:_=>_json(_)})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers,path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(201!==output.statusCode&&output.statusCode>=300)return de_CreateChannelCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString});return Object.assign(contents,doc),contents})(output,context)}}class CreateChannelFlowCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,CreateChannelFlowCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"CreateChannelFlowCommand",inputFilterSensitiveLog:CreateChannelFlowRequestFilterSensitiveLog,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channel-flows`;let body;return body=JSON.stringify(take(input,{AppInstanceArn:[],ClientRequestToken:[!0,_=>_??(0,esm_browser_v4.Z)()],Name:[],Processors:_=>_json(_),Tags:_=>_json(_)})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers:{"content-type":"application/json"},path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(201!==output.statusCode&&output.statusCode>=300)return de_CreateChannelFlowCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelFlowArn:expectString});return Object.assign(contents,doc),contents})(output,context)}}class CreateChannelMembershipCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,CreateChannelMembershipCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"CreateChannelMembershipCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:CreateChannelMembershipResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer});let body,resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/memberships`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),body=JSON.stringify(take(input,{MemberArn:[],SubChannelId:[],Type:[]})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers,path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(201!==output.statusCode&&output.statusCode>=300)return de_CreateChannelMembershipCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,Member:_json,SubChannelId:expectString});return Object.assign(contents,doc),contents})(output,context)}}class CreateChannelModeratorCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,CreateChannelModeratorCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"CreateChannelModeratorCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:CreateChannelModeratorResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer});let body,resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/moderators`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),body=JSON.stringify(take(input,{ChannelModeratorArn:[]})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers,path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(201!==output.statusCode&&output.statusCode>=300)return de_CreateChannelModeratorCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,ChannelModerator:_json});return Object.assign(contents,doc),contents})(output,context)}}class DeleteChannelBanCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DeleteChannelBanCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DeleteChannelBanCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/bans/{MemberArn}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"MemberArn",(()=>input.MemberArn),"{MemberArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"DELETE",headers,path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(204!==output.statusCode&&output.statusCode>=300)return de_DeleteChannelBanCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)});return await collectBody(output.body,context),contents})(output,context)}}class DeleteChannelCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DeleteChannelCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DeleteChannelCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"DELETE",headers,path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(204!==output.statusCode&&output.statusCode>=300)return de_DeleteChannelCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)});return await collectBody(output.body,context),contents})(output,context)}}class DeleteChannelFlowCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DeleteChannelFlowCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DeleteChannelFlowCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint();let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channel-flows/{ChannelFlowArn}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelFlowArn",(()=>input.ChannelFlowArn),"{ChannelFlowArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"DELETE",headers:{},path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(204!==output.statusCode&&output.statusCode>=300)return de_DeleteChannelFlowCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)});return await collectBody(output.body,context),contents})(output,context)}}class DeleteChannelMembershipCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DeleteChannelMembershipCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DeleteChannelMembershipCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/memberships/{MemberArn}`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"MemberArn",(()=>input.MemberArn),"{MemberArn}",!1);const query=map({"sub-channel-id":[,input.SubChannelId]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"DELETE",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(204!==output.statusCode&&output.statusCode>=300)return de_DeleteChannelMembershipCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)});return await collectBody(output.body,context),contents})(output,context)}}class DeleteChannelMessageCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DeleteChannelMessageCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DeleteChannelMessageCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/messages/{MessageId}`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"MessageId",(()=>input.MessageId),"{MessageId}",!1);const query=map({"sub-channel-id":[,input.SubChannelId]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"DELETE",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(204!==output.statusCode&&output.statusCode>=300)return de_DeleteChannelMessageCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)});return await collectBody(output.body,context),contents})(output,context)}}class DeleteChannelModeratorCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DeleteChannelModeratorCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DeleteChannelModeratorCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/moderators/{ChannelModeratorArn}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelModeratorArn",(()=>input.ChannelModeratorArn),"{ChannelModeratorArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"DELETE",headers,path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(204!==output.statusCode&&output.statusCode>=300)return de_DeleteChannelModeratorCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)});return await collectBody(output.body,context),contents})(output,context)}}class DeleteMessagingStreamingConfigurationsCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DeleteMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DeleteMessagingStreamingConfigurationsCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint();let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/app-instances/{AppInstanceArn}/streaming-configurations`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"AppInstanceArn",(()=>input.AppInstanceArn),"{AppInstanceArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"DELETE",headers:{},path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(204!==output.statusCode&&output.statusCode>=300)return de_DeleteMessagingStreamingConfigurationsCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)});return await collectBody(output.body,context),contents})(output,context)}}class DescribeChannelBanCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DescribeChannelBanCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DescribeChannelBanCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:DescribeChannelBanResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/bans/{MemberArn}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"MemberArn",(()=>input.MemberArn),"{MemberArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_DescribeChannelBanCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelBan:_=>de_ChannelBan(_,context)});return Object.assign(contents,doc),contents})(output,context)}}class DescribeChannelCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DescribeChannelCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DescribeChannelCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:DescribeChannelResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_DescribeChannelCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{Channel:_=>de_Channel(_,context)});return Object.assign(contents,doc),contents})(output,context)}}class DescribeChannelFlowCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DescribeChannelFlowCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DescribeChannelFlowCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:DescribeChannelFlowResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint();let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channel-flows/{ChannelFlowArn}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelFlowArn",(()=>input.ChannelFlowArn),"{ChannelFlowArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers:{},path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_DescribeChannelFlowCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelFlow:_=>de_ChannelFlow(_,context)});return Object.assign(contents,doc),contents})(output,context)}}class DescribeChannelMembershipCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DescribeChannelMembershipCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DescribeChannelMembershipCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:DescribeChannelMembershipResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/memberships/{MemberArn}`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"MemberArn",(()=>input.MemberArn),"{MemberArn}",!1);const query=map({"sub-channel-id":[,input.SubChannelId]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_DescribeChannelMembershipCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelMembership:_=>de_ChannelMembership(_,context)});return Object.assign(contents,doc),contents})(output,context)}}class DescribeChannelMembershipForAppInstanceUserCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DescribeChannelMembershipForAppInstanceUserCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DescribeChannelMembershipForAppInstanceUserCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1);const query=map({scope:[,"app-instance-user-membership"],"app-instance-user-arn":[,expectNonNull(input.AppInstanceUserArn,"AppInstanceUserArn")]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_DescribeChannelMembershipForAppInstanceUserCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelMembership:_=>de_ChannelMembershipForAppInstanceUserSummary(_,context)});return Object.assign(contents,doc),contents})(output,context)}}class DescribeChannelModeratedByAppInstanceUserCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DescribeChannelModeratedByAppInstanceUserCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DescribeChannelModeratedByAppInstanceUserCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1);const query=map({scope:[,"app-instance-user-moderated-channel"],"app-instance-user-arn":[,expectNonNull(input.AppInstanceUserArn,"AppInstanceUserArn")]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_DescribeChannelModeratedByAppInstanceUserCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{Channel:_=>de_ChannelModeratedByAppInstanceUserSummary(_,context)});return Object.assign(contents,doc),contents})(output,context)}}class DescribeChannelModeratorCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DescribeChannelModeratorCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DescribeChannelModeratorCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:DescribeChannelModeratorResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/moderators/{ChannelModeratorArn}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelModeratorArn",(()=>input.ChannelModeratorArn),"{ChannelModeratorArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_DescribeChannelModeratorCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelModerator:_=>de_ChannelModerator(_,context)});return Object.assign(contents,doc),contents})(output,context)}}class DisassociateChannelFlowCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,DisassociateChannelFlowCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"DisassociateChannelFlowCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/channel-flow/{ChannelFlowArn}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelFlowArn",(()=>input.ChannelFlowArn),"{ChannelFlowArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"DELETE",headers,path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(204!==output.statusCode&&output.statusCode>=300)return de_DisassociateChannelFlowCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)});return await collectBody(output.body,context),contents})(output,context)}}class GetChannelMembershipPreferencesCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,GetChannelMembershipPreferencesCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"GetChannelMembershipPreferencesCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:GetChannelMembershipPreferencesResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/memberships/{MemberArn}/preferences`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"MemberArn",(()=>input.MemberArn),"{MemberArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_GetChannelMembershipPreferencesCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,Member:_json,Preferences:_json});return Object.assign(contents,doc),contents})(output,context)}}class GetChannelMessageCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,GetChannelMessageCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"GetChannelMessageCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:GetChannelMessageResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/messages/{MessageId}`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"MessageId",(()=>input.MessageId),"{MessageId}",!1);const query=map({"sub-channel-id":[,input.SubChannelId]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_GetChannelMessageCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelMessage:_=>de_ChannelMessage(_,context)});return Object.assign(contents,doc),contents})(output,context)}}class GetChannelMessageStatusCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,GetChannelMessageStatusCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"GetChannelMessageStatusCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/messages/{MessageId}`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"MessageId",(()=>input.MessageId),"{MessageId}",!1);const query=map({scope:[,"message-status"],"sub-channel-id":[,input.SubChannelId]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_GetChannelMessageStatusCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{Status:_json});return Object.assign(contents,doc),contents})(output,context)}}class GetMessagingSessionEndpointCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,GetMessagingSessionEndpointCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"GetMessagingSessionEndpointCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/endpoints/messaging-session`;let body;return body="",new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers:{"content-type":"application/json"},path:resolvedPath,body:""})})(0,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_GetMessagingSessionEndpointCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{Endpoint:_json});return Object.assign(contents,doc),contents})(output,context)}}class GetMessagingStreamingConfigurationsCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,GetMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"GetMessagingStreamingConfigurationsCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint();let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/app-instances/{AppInstanceArn}/streaming-configurations`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"AppInstanceArn",(()=>input.AppInstanceArn),"{AppInstanceArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers:{},path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_GetMessagingStreamingConfigurationsCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{StreamingConfigurations:_json});return Object.assign(contents,doc),contents})(output,context)}}class ListChannelBansCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ListChannelBansCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ListChannelBansCommand",inputFilterSensitiveLog:ListChannelBansRequestFilterSensitiveLog,outputFilterSensitiveLog:ListChannelBansResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/bans`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1);const query=map({"max-results":[()=>void 0!==input.MaxResults,()=>input.MaxResults.toString()],"next-token":[,input.NextToken]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ListChannelBansCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,ChannelBans:_json,NextToken:expectString});return Object.assign(contents,doc),contents})(output,context)}}class ListChannelFlowsCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ListChannelFlowsCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ListChannelFlowsCommand",inputFilterSensitiveLog:ListChannelFlowsRequestFilterSensitiveLog,outputFilterSensitiveLog:ListChannelFlowsResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channel-flows`,query=map({"app-instance-arn":[,expectNonNull(input.AppInstanceArn,"AppInstanceArn")],"max-results":[()=>void 0!==input.MaxResults,()=>input.MaxResults.toString()],"next-token":[,input.NextToken]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers:{},path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ListChannelFlowsCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelFlows:_json,NextToken:expectString});return Object.assign(contents,doc),contents})(output,context)}}class ListChannelMembershipsCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ListChannelMembershipsCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ListChannelMembershipsCommand",inputFilterSensitiveLog:ListChannelMembershipsRequestFilterSensitiveLog,outputFilterSensitiveLog:ListChannelMembershipsResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/memberships`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1);const query=map({type:[,input.Type],"max-results":[()=>void 0!==input.MaxResults,()=>input.MaxResults.toString()],"next-token":[,input.NextToken],"sub-channel-id":[,input.SubChannelId]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ListChannelMembershipsCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,ChannelMemberships:_json,NextToken:expectString});return Object.assign(contents,doc),contents})(output,context)}}class ListChannelMembershipsForAppInstanceUserCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ListChannelMembershipsForAppInstanceUserCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ListChannelMembershipsForAppInstanceUserCommand",inputFilterSensitiveLog:ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog,outputFilterSensitiveLog:ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer}),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels`,query=map({scope:[,"app-instance-user-memberships"],"app-instance-user-arn":[,input.AppInstanceUserArn],"max-results":[()=>void 0!==input.MaxResults,()=>input.MaxResults.toString()],"next-token":[,input.NextToken]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ListChannelMembershipsForAppInstanceUserCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelMemberships:_=>de_ChannelMembershipForAppInstanceUserSummaryList(_,context),NextToken:expectString});return Object.assign(contents,doc),contents})(output,context)}}class ListChannelMessagesCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ListChannelMessagesCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ListChannelMessagesCommand",inputFilterSensitiveLog:ListChannelMessagesRequestFilterSensitiveLog,outputFilterSensitiveLog:ListChannelMessagesResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/messages`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1);const query=map({"sort-order":[,input.SortOrder],"not-before":[()=>void 0!==input.NotBefore,()=>(input.NotBefore.toISOString().split(".")[0]+"Z").toString()],"not-after":[()=>void 0!==input.NotAfter,()=>(input.NotAfter.toISOString().split(".")[0]+"Z").toString()],"max-results":[()=>void 0!==input.MaxResults,()=>input.MaxResults.toString()],"next-token":[,input.NextToken],"sub-channel-id":[,input.SubChannelId]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ListChannelMessagesCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,ChannelMessages:_=>de_ChannelMessageSummaryList(_,context),NextToken:expectString,SubChannelId:expectString});return Object.assign(contents,doc),contents})(output,context)}}class ListChannelModeratorsCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ListChannelModeratorsCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ListChannelModeratorsCommand",inputFilterSensitiveLog:ListChannelModeratorsRequestFilterSensitiveLog,outputFilterSensitiveLog:ListChannelModeratorsResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/moderators`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1);const query=map({"max-results":[()=>void 0!==input.MaxResults,()=>input.MaxResults.toString()],"next-token":[,input.NextToken]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ListChannelModeratorsCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,ChannelModerators:_json,NextToken:expectString});return Object.assign(contents,doc),contents})(output,context)}}class ListChannelsAssociatedWithChannelFlowCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ListChannelsAssociatedWithChannelFlowCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ListChannelsAssociatedWithChannelFlowCommand",inputFilterSensitiveLog:ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog,outputFilterSensitiveLog:ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels`,query=map({scope:[,"channel-flow-associations"],"channel-flow-arn":[,expectNonNull(input.ChannelFlowArn,"ChannelFlowArn")],"max-results":[()=>void 0!==input.MaxResults,()=>input.MaxResults.toString()],"next-token":[,input.NextToken]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers:{},path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ListChannelsAssociatedWithChannelFlowCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{Channels:_json,NextToken:expectString});return Object.assign(contents,doc),contents})(output,context)}}class ListChannelsCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ListChannelsCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ListChannelsCommand",inputFilterSensitiveLog:ListChannelsRequestFilterSensitiveLog,outputFilterSensitiveLog:ListChannelsResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer}),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels`,query=map({"app-instance-arn":[,expectNonNull(input.AppInstanceArn,"AppInstanceArn")],privacy:[,input.Privacy],"max-results":[()=>void 0!==input.MaxResults,()=>input.MaxResults.toString()],"next-token":[,input.NextToken]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ListChannelsCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{Channels:_=>de_ChannelSummaryList(_,context),NextToken:expectString});return Object.assign(contents,doc),contents})(output,context)}}class ListChannelsModeratedByAppInstanceUserCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ListChannelsModeratedByAppInstanceUserCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ListChannelsModeratedByAppInstanceUserCommand",inputFilterSensitiveLog:ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog,outputFilterSensitiveLog:ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer}),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels`,query=map({scope:[,"app-instance-user-moderated-channels"],"app-instance-user-arn":[,input.AppInstanceUserArn],"max-results":[()=>void 0!==input.MaxResults,()=>input.MaxResults.toString()],"next-token":[,input.NextToken]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ListChannelsModeratedByAppInstanceUserCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{Channels:_=>de_ChannelModeratedByAppInstanceUserSummaryList(_,context),NextToken:expectString});return Object.assign(contents,doc),contents})(output,context)}}class ListSubChannelsCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ListSubChannelsCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ListSubChannelsCommand",inputFilterSensitiveLog:ListSubChannelsRequestFilterSensitiveLog,outputFilterSensitiveLog:ListSubChannelsResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/subchannels`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1);const query=map({"max-results":[()=>void 0!==input.MaxResults,()=>input.MaxResults.toString()],"next-token":[,input.NextToken]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers,path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ListSubChannelsCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,NextToken:expectString,SubChannels:_json});return Object.assign(contents,doc),contents})(output,context)}}class ListTagsForResourceCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,ListTagsForResourceCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"ListTagsForResourceCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:ListTagsForResourceResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/tags`,query=map({arn:[,expectNonNull(input.ResourceARN,"ResourceARN")]});return new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"GET",headers:{},path:resolvedPath,query,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_ListTagsForResourceCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{Tags:_json});return Object.assign(contents,doc),contents})(output,context)}}class PutChannelExpirationSettingsCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,PutChannelExpirationSettingsCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"PutChannelExpirationSettingsCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer});let body,resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/expiration-settings`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),body=JSON.stringify(take(input,{ExpirationSettings:_=>_json(_)})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"PUT",headers,path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_PutChannelExpirationSettingsCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,ExpirationSettings:_json});return Object.assign(contents,doc),contents})(output,context)}}class PutChannelMembershipPreferencesCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,PutChannelMembershipPreferencesCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"PutChannelMembershipPreferencesCommand",inputFilterSensitiveLog:PutChannelMembershipPreferencesRequestFilterSensitiveLog,outputFilterSensitiveLog:PutChannelMembershipPreferencesResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer});let body,resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/memberships/{MemberArn}/preferences`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"MemberArn",(()=>input.MemberArn),"{MemberArn}",!1),body=JSON.stringify(take(input,{Preferences:_=>_json(_)})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"PUT",headers,path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_PutChannelMembershipPreferencesCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,Member:_json,Preferences:_json});return Object.assign(contents,doc),contents})(output,context)}}class PutMessagingStreamingConfigurationsCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,PutMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"PutMessagingStreamingConfigurationsCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint();let body,resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/app-instances/{AppInstanceArn}/streaming-configurations`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"AppInstanceArn",(()=>input.AppInstanceArn),"{AppInstanceArn}",!1),body=JSON.stringify(take(input,{StreamingConfigurations:_=>_json(_)})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"PUT",headers:{"content-type":"application/json"},path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_PutMessagingStreamingConfigurationsCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{StreamingConfigurations:_json});return Object.assign(contents,doc),contents})(output,context)}}class RedactChannelMessageCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,RedactChannelMessageCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"RedactChannelMessageCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/messages/{MessageId}`;resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"MessageId",(()=>input.MessageId),"{MessageId}",!1);const query=map({operation:[,"redact"]});let body;return body=JSON.stringify(take(input,{SubChannelId:[]})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers,path:resolvedPath,query,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_RedactChannelMessageCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,MessageId:expectString,SubChannelId:expectString});return Object.assign(contents,doc),contents})(output,context)}}class SearchChannelsCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,SearchChannelsCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"SearchChannelsCommand",inputFilterSensitiveLog:SearchChannelsRequestFilterSensitiveLog,outputFilterSensitiveLog:SearchChannelsResponseFilterSensitiveLog},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer}),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels`,query=map({operation:[,"search"],"max-results":[()=>void 0!==input.MaxResults,()=>input.MaxResults.toString()],"next-token":[,input.NextToken]});let body;return body=JSON.stringify(take(input,{Fields:_=>_json(_)})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers,path:resolvedPath,query,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_SearchChannelsCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{Channels:_=>de_ChannelSummaryList(_,context),NextToken:expectString});return Object.assign(contents,doc),contents})(output,context)}}class SendChannelMessageCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,SendChannelMessageCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"SendChannelMessageCommand",inputFilterSensitiveLog:SendChannelMessageRequestFilterSensitiveLog,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer});let body,resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/messages`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),body=JSON.stringify(take(input,{ClientRequestToken:[!0,_=>_??(0,esm_browser_v4.Z)()],Content:[],ContentType:[],MessageAttributes:_=>_json(_),Metadata:[],Persistence:[],PushNotification:_=>_json(_),SubChannelId:[],Type:[]})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers,path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(201!==output.statusCode&&output.statusCode>=300)return de_SendChannelMessageCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,MessageId:expectString,Status:_json,SubChannelId:expectString});return Object.assign(contents,doc),contents})(output,context)}}class TagResourceCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,TagResourceCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"TagResourceCommand",inputFilterSensitiveLog:TagResourceRequestFilterSensitiveLog,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/tags`,query=map({operation:[,"tag-resource"]});let body;return body=JSON.stringify(take(input,{ResourceARN:[],Tags:_=>_json(_)})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers:{"content-type":"application/json"},path:resolvedPath,query,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(204!==output.statusCode&&output.statusCode>=300)return de_TagResourceCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)});return await collectBody(output.body,context),contents})(output,context)}}class UntagResourceCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,UntagResourceCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"UntagResourceCommand",inputFilterSensitiveLog:UntagResourceRequestFilterSensitiveLog,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/tags`,query=map({operation:[,"untag-resource"]});let body;return body=JSON.stringify(take(input,{ResourceARN:[],TagKeys:_=>_json(_)})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"POST",headers:{"content-type":"application/json"},path:resolvedPath,query,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(204!==output.statusCode&&output.statusCode>=300)return de_UntagResourceCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)});return await collectBody(output.body,context),contents})(output,context)}}class UpdateChannelCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,UpdateChannelCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"UpdateChannelCommand",inputFilterSensitiveLog:UpdateChannelRequestFilterSensitiveLog,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer});let body,resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),body=JSON.stringify(take(input,{Metadata:[],Mode:[],Name:[]})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"PUT",headers,path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_UpdateChannelCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString});return Object.assign(contents,doc),contents})(output,context)}}class UpdateChannelFlowCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,UpdateChannelFlowCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"UpdateChannelFlowCommand",inputFilterSensitiveLog:UpdateChannelFlowRequestFilterSensitiveLog,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint();let body,resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channel-flows/{ChannelFlowArn}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelFlowArn",(()=>input.ChannelFlowArn),"{ChannelFlowArn}",!1),body=JSON.stringify(take(input,{Name:[],Processors:_=>_json(_)})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"PUT",headers:{"content-type":"application/json"},path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_UpdateChannelFlowCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelFlowArn:expectString});return Object.assign(contents,doc),contents})(output,context)}}class UpdateChannelMessageCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,UpdateChannelMessageCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"UpdateChannelMessageCommand",inputFilterSensitiveLog:UpdateChannelMessageRequestFilterSensitiveLog,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"content-type":"application/json","x-amz-chime-bearer":input.ChimeBearer});let body,resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/messages/{MessageId}`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"MessageId",(()=>input.MessageId),"{MessageId}",!1),body=JSON.stringify(take(input,{Content:[],ContentType:[],Metadata:[],SubChannelId:[]})),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"PUT",headers,path:resolvedPath,body})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_UpdateChannelMessageCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString,MessageId:expectString,Status:_json,SubChannelId:expectString});return Object.assign(contents,doc),contents})(output,context)}}class UpdateChannelReadMarkerCommand extends Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(input){super(),this.input=input}resolveMiddleware(clientStack,configuration,options){this.middlewareStack.use(getSerdePlugin(configuration,this.serialize,this.deserialize)),this.middlewareStack.use(getEndpointPlugin(configuration,UpdateChannelReadMarkerCommand.getEndpointParameterInstructions()));const stack=clientStack.concat(this.middlewareStack),{logger}=configuration,handlerExecutionContext={logger,clientName:"ChimeSDKMessagingClient",commandName:"UpdateChannelReadMarkerCommand",inputFilterSensitiveLog:_=>_,outputFilterSensitiveLog:_=>_},{requestHandler}=configuration;return stack.resolve((request=>requestHandler.handle(request.request,options||{})),handlerExecutionContext)}serialize(input,context){return(async(input,context)=>{const{hostname,protocol="https",port,path:basePath}=await context.endpoint(),headers=map({},isSerializableHeaderValue,{"x-amz-chime-bearer":input.ChimeBearer});let resolvedPath=`${basePath?.endsWith("/")?basePath.slice(0,-1):basePath||""}/channels/{ChannelArn}/readMarker`;return resolvedPath=resolve_path_resolvedPath(resolvedPath,input,"ChannelArn",(()=>input.ChannelArn),"{ChannelArn}",!1),new dist_es_httpRequest_HttpRequest({protocol,hostname,port,method:"PUT",headers,path:resolvedPath,body:void 0})})(input,context)}deserialize(output,context){return(async(output,context)=>{if(200!==output.statusCode&&output.statusCode>=300)return de_UpdateChannelReadMarkerCommandError(output,context);const contents=map({$metadata:Aws_restJson1_deserializeMetadata(output)}),data=expectNonNull(expectObject(await parseBody(output.body,context)),"body"),doc=take(data,{ChannelArn:expectString});return Object.assign(contents,doc),contents})(output,context)}}const commands={AssociateChannelFlowCommand,BatchCreateChannelMembershipCommand,ChannelFlowCallbackCommand,CreateChannelCommand,CreateChannelBanCommand,CreateChannelFlowCommand,CreateChannelMembershipCommand,CreateChannelModeratorCommand,DeleteChannelCommand,DeleteChannelBanCommand,DeleteChannelFlowCommand,DeleteChannelMembershipCommand,DeleteChannelMessageCommand,DeleteChannelModeratorCommand,DeleteMessagingStreamingConfigurationsCommand,DescribeChannelCommand,DescribeChannelBanCommand,DescribeChannelFlowCommand,DescribeChannelMembershipCommand,DescribeChannelMembershipForAppInstanceUserCommand,DescribeChannelModeratedByAppInstanceUserCommand,DescribeChannelModeratorCommand,DisassociateChannelFlowCommand,GetChannelMembershipPreferencesCommand,GetChannelMessageCommand,GetChannelMessageStatusCommand,GetMessagingSessionEndpointCommand,GetMessagingStreamingConfigurationsCommand,ListChannelBansCommand,ListChannelFlowsCommand,ListChannelMembershipsCommand,ListChannelMembershipsForAppInstanceUserCommand,ListChannelMessagesCommand,ListChannelModeratorsCommand,ListChannelsCommand,ListChannelsAssociatedWithChannelFlowCommand,ListChannelsModeratedByAppInstanceUserCommand,ListSubChannelsCommand,ListTagsForResourceCommand,PutChannelExpirationSettingsCommand,PutChannelMembershipPreferencesCommand,PutMessagingStreamingConfigurationsCommand,RedactChannelMessageCommand,SearchChannelsCommand,SendChannelMessageCommand,TagResourceCommand,UntagResourceCommand,UpdateChannelCommand,UpdateChannelFlowCommand,UpdateChannelMessageCommand,UpdateChannelReadMarkerCommand};class ChimeSDKMessaging extends ChimeSDKMessagingClient{}((commands,Client)=>{for(const command of Object.keys(commands)){const CommandCtor=commands[command],methodImpl=async function(args,optionsOrCb,cb){const command=new CommandCtor(args);if("function"==typeof optionsOrCb)this.send(command,optionsOrCb);else{if("function"!=typeof cb)return this.send(command,optionsOrCb);if("object"!=typeof optionsOrCb)throw new Error("Expected http options but got "+typeof optionsOrCb);this.send(command,optionsOrCb||{},cb)}},methodName=(command[0].toLowerCase()+command.slice(1)).replace(/Command$/,"");Client.prototype[methodName]=methodImpl}})(commands,ChimeSDKMessaging);const makePagedClientRequest=async(client,input,...args)=>await client.send(new ListChannelBansCommand(input),...args);async function*paginateListChannelBans(config,input,...additionalArguments){let page,token=config.startingToken||void 0,hasNext=!0;for(;hasNext;){if(input.NextToken=token,input.MaxResults=config.pageSize,!(config.client instanceof ChimeSDKMessagingClient))throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");page=await makePagedClientRequest(config.client,input,...additionalArguments),yield page;const prevToken=token;token=page.NextToken,hasNext=!(!token||config.stopOnSameToken&&token===prevToken)}}const ListChannelFlowsPaginator_makePagedClientRequest=async(client,input,...args)=>await client.send(new ListChannelFlowsCommand(input),...args);async function*paginateListChannelFlows(config,input,...additionalArguments){let page,token=config.startingToken||void 0,hasNext=!0;for(;hasNext;){if(input.NextToken=token,input.MaxResults=config.pageSize,!(config.client instanceof ChimeSDKMessagingClient))throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");page=await ListChannelFlowsPaginator_makePagedClientRequest(config.client,input,...additionalArguments),yield page;const prevToken=token;token=page.NextToken,hasNext=!(!token||config.stopOnSameToken&&token===prevToken)}}const ListChannelMembershipsForAppInstanceUserPaginator_makePagedClientRequest=async(client,input,...args)=>await client.send(new ListChannelMembershipsForAppInstanceUserCommand(input),...args);async function*paginateListChannelMembershipsForAppInstanceUser(config,input,...additionalArguments){let page,token=config.startingToken||void 0,hasNext=!0;for(;hasNext;){if(input.NextToken=token,input.MaxResults=config.pageSize,!(config.client instanceof ChimeSDKMessagingClient))throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");page=await ListChannelMembershipsForAppInstanceUserPaginator_makePagedClientRequest(config.client,input,...additionalArguments),yield page;const prevToken=token;token=page.NextToken,hasNext=!(!token||config.stopOnSameToken&&token===prevToken)}}const ListChannelMembershipsPaginator_makePagedClientRequest=async(client,input,...args)=>await client.send(new ListChannelMembershipsCommand(input),...args);async function*paginateListChannelMemberships(config,input,...additionalArguments){let page,token=config.startingToken||void 0,hasNext=!0;for(;hasNext;){if(input.NextToken=token,input.MaxResults=config.pageSize,!(config.client instanceof ChimeSDKMessagingClient))throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");page=await ListChannelMembershipsPaginator_makePagedClientRequest(config.client,input,...additionalArguments),yield page;const prevToken=token;token=page.NextToken,hasNext=!(!token||config.stopOnSameToken&&token===prevToken)}}const ListChannelMessagesPaginator_makePagedClientRequest=async(client,input,...args)=>await client.send(new ListChannelMessagesCommand(input),...args);async function*paginateListChannelMessages(config,input,...additionalArguments){let page,token=config.startingToken||void 0,hasNext=!0;for(;hasNext;){if(input.NextToken=token,input.MaxResults=config.pageSize,!(config.client instanceof ChimeSDKMessagingClient))throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");page=await ListChannelMessagesPaginator_makePagedClientRequest(config.client,input,...additionalArguments),yield page;const prevToken=token;token=page.NextToken,hasNext=!(!token||config.stopOnSameToken&&token===prevToken)}}const ListChannelModeratorsPaginator_makePagedClientRequest=async(client,input,...args)=>await client.send(new ListChannelModeratorsCommand(input),...args);async function*paginateListChannelModerators(config,input,...additionalArguments){let page,token=config.startingToken||void 0,hasNext=!0;for(;hasNext;){if(input.NextToken=token,input.MaxResults=config.pageSize,!(config.client instanceof ChimeSDKMessagingClient))throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");page=await ListChannelModeratorsPaginator_makePagedClientRequest(config.client,input,...additionalArguments),yield page;const prevToken=token;token=page.NextToken,hasNext=!(!token||config.stopOnSameToken&&token===prevToken)}}const ListChannelsAssociatedWithChannelFlowPaginator_makePagedClientRequest=async(client,input,...args)=>await client.send(new ListChannelsAssociatedWithChannelFlowCommand(input),...args);async function*paginateListChannelsAssociatedWithChannelFlow(config,input,...additionalArguments){let page,token=config.startingToken||void 0,hasNext=!0;for(;hasNext;){if(input.NextToken=token,input.MaxResults=config.pageSize,!(config.client instanceof ChimeSDKMessagingClient))throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");page=await ListChannelsAssociatedWithChannelFlowPaginator_makePagedClientRequest(config.client,input,...additionalArguments),yield page;const prevToken=token;token=page.NextToken,hasNext=!(!token||config.stopOnSameToken&&token===prevToken)}}const ListChannelsModeratedByAppInstanceUserPaginator_makePagedClientRequest=async(client,input,...args)=>await client.send(new ListChannelsModeratedByAppInstanceUserCommand(input),...args);async function*paginateListChannelsModeratedByAppInstanceUser(config,input,...additionalArguments){let page,token=config.startingToken||void 0,hasNext=!0;for(;hasNext;){if(input.NextToken=token,input.MaxResults=config.pageSize,!(config.client instanceof ChimeSDKMessagingClient))throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");page=await ListChannelsModeratedByAppInstanceUserPaginator_makePagedClientRequest(config.client,input,...additionalArguments),yield page;const prevToken=token;token=page.NextToken,hasNext=!(!token||config.stopOnSameToken&&token===prevToken)}}const ListChannelsPaginator_makePagedClientRequest=async(client,input,...args)=>await client.send(new ListChannelsCommand(input),...args);async function*paginateListChannels(config,input,...additionalArguments){let page,token=config.startingToken||void 0,hasNext=!0;for(;hasNext;){if(input.NextToken=token,input.MaxResults=config.pageSize,!(config.client instanceof ChimeSDKMessagingClient))throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");page=await ListChannelsPaginator_makePagedClientRequest(config.client,input,...additionalArguments),yield page;const prevToken=token;token=page.NextToken,hasNext=!(!token||config.stopOnSameToken&&token===prevToken)}}const ListSubChannelsPaginator_makePagedClientRequest=async(client,input,...args)=>await client.send(new ListSubChannelsCommand(input),...args);async function*paginateListSubChannels(config,input,...additionalArguments){let page,token=config.startingToken||void 0,hasNext=!0;for(;hasNext;){if(input.NextToken=token,input.MaxResults=config.pageSize,!(config.client instanceof ChimeSDKMessagingClient))throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");page=await ListSubChannelsPaginator_makePagedClientRequest(config.client,input,...additionalArguments),yield page;const prevToken=token;token=page.NextToken,hasNext=!(!token||config.stopOnSameToken&&token===prevToken)}}const SearchChannelsPaginator_makePagedClientRequest=async(client,input,...args)=>await client.send(new SearchChannelsCommand(input),...args);async function*paginateSearchChannels(config,input,...additionalArguments){let page,token=config.startingToken||void 0,hasNext=!0;for(;hasNext;){if(input.NextToken=token,input.MaxResults=config.pageSize,!(config.client instanceof ChimeSDKMessagingClient))throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");page=await SearchChannelsPaginator_makePagedClientRequest(config.client,input,...additionalArguments),yield page;const prevToken=token;token=page.NextToken,hasNext=!(!token||config.stopOnSameToken&&token===prevToken)}}},"./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{fromHex:()=>fromHex,toHex:()=>toHex});const SHORT_TO_HEX={},HEX_TO_SHORT={};for(let i=0;i<256;i++){let encodedByte=i.toString(16).toLowerCase();1===encodedByte.length&&(encodedByte=`0${encodedByte}`),SHORT_TO_HEX[i]=encodedByte,HEX_TO_SHORT[encodedByte]=i}function fromHex(encoded){if(encoded.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const out=new Uint8Array(encoded.length/2);for(let i=0;i{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{locateWindow:()=>locateWindow});const fallbackWindow={};function locateWindow(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:fallbackWindow}},"./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{fromUtf8:()=>dist_es_fromUtf8,toUtf8:()=>dist_es_toUtf8});const dist_es_fromUtf8=input=>"function"==typeof TextEncoder?function whatwgEncodingApi_fromUtf8(input){return(new TextEncoder).encode(input)}(input):(input=>{const bytes=[];for(let i=0,len=input.length;i>6|192,63&value|128);else if(i+1>18|240,surrogatePair>>12&63|128,surrogatePair>>6&63|128,63&surrogatePair|128)}else bytes.push(value>>12|224,value>>6&63|128,63&value|128)}return Uint8Array.from(bytes)})(input),dist_es_toUtf8=input=>"function"==typeof TextDecoder?function whatwgEncodingApi_toUtf8(input){return new TextDecoder("utf-8").decode(input)}(input):(input=>{let decoded="";for(let i=0,len=input.length;ibyteValue.toString(16))).join("%");decoded+=decodeURIComponent(encoded)}else decoded+=String.fromCharCode((15&byte)<<12|(63&input[++i])<<6|63&input[++i])}return decoded})(input)},"./node_modules/@protobufjs/aspromise/index.js":module=>{"use strict";module.exports=function asPromise(fn,ctx){var params=new Array(arguments.length-1),offset=0,index=2,pending=!0;for(;index{"use strict";var base64=exports;base64.length=function length(string){var p=string.length;if(!p)return 0;for(var n=0;--p%4>1&&"="===string.charAt(p);)++n;return Math.ceil(3*string.length)/4-n};for(var b64=new Array(64),s64=new Array(123),i=0;i<64;)s64[b64[i]=i<26?i+65:i<52?i+71:i<62?i-4:i-59|43]=i++;base64.encode=function encode(buffer,start,end){for(var t,parts=null,chunk=[],i=0,j=0;start>2],t=(3&b)<<4,j=1;break;case 1:chunk[i++]=b64[t|b>>4],t=(15&b)<<2,j=2;break;case 2:chunk[i++]=b64[t|b>>6],chunk[i++]=b64[63&b],j=0}i>8191&&((parts||(parts=[])).push(String.fromCharCode.apply(String,chunk)),i=0)}return j&&(chunk[i++]=b64[t],chunk[i++]=61,1===j&&(chunk[i++]=61)),parts?(i&&parts.push(String.fromCharCode.apply(String,chunk.slice(0,i))),parts.join("")):String.fromCharCode.apply(String,chunk.slice(0,i))};base64.decode=function decode(string,buffer,offset){for(var t,start=offset,j=0,i=0;i1)break;if(void 0===(c=s64[c]))throw Error("invalid encoding");switch(j){case 0:t=c,j=1;break;case 1:buffer[offset++]=t<<2|(48&c)>>4,t=c,j=2;break;case 2:buffer[offset++]=(15&t)<<4|(60&c)>>2,t=c,j=3;break;case 3:buffer[offset++]=(3&t)<<6|c,j=0}}if(1===j)throw Error("invalid encoding");return offset-start},base64.test=function test(string){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(string)}},"./node_modules/@protobufjs/eventemitter/index.js":module=>{"use strict";function EventEmitter(){this._listeners={}}module.exports=EventEmitter,EventEmitter.prototype.on=function on(evt,fn,ctx){return(this._listeners[evt]||(this._listeners[evt]=[])).push({fn,ctx:ctx||this}),this},EventEmitter.prototype.off=function off(evt,fn){if(void 0===evt)this._listeners={};else if(void 0===fn)this._listeners[evt]=[];else for(var listeners=this._listeners[evt],i=0;i{"use strict";function factory(exports){return"undefined"!=typeof Float32Array?function(){var f32=new Float32Array([-0]),f8b=new Uint8Array(f32.buffer),le=128===f8b[3];function writeFloat_f32_cpy(val,buf,pos){f32[0]=val,buf[pos]=f8b[0],buf[pos+1]=f8b[1],buf[pos+2]=f8b[2],buf[pos+3]=f8b[3]}function writeFloat_f32_rev(val,buf,pos){f32[0]=val,buf[pos]=f8b[3],buf[pos+1]=f8b[2],buf[pos+2]=f8b[1],buf[pos+3]=f8b[0]}function readFloat_f32_cpy(buf,pos){return f8b[0]=buf[pos],f8b[1]=buf[pos+1],f8b[2]=buf[pos+2],f8b[3]=buf[pos+3],f32[0]}function readFloat_f32_rev(buf,pos){return f8b[3]=buf[pos],f8b[2]=buf[pos+1],f8b[1]=buf[pos+2],f8b[0]=buf[pos+3],f32[0]}exports.writeFloatLE=le?writeFloat_f32_cpy:writeFloat_f32_rev,exports.writeFloatBE=le?writeFloat_f32_rev:writeFloat_f32_cpy,exports.readFloatLE=le?readFloat_f32_cpy:readFloat_f32_rev,exports.readFloatBE=le?readFloat_f32_rev:readFloat_f32_cpy}():function(){function writeFloat_ieee754(writeUint,val,buf,pos){var sign=val<0?1:0;if(sign&&(val=-val),0===val)writeUint(1/val>0?0:2147483648,buf,pos);else if(isNaN(val))writeUint(2143289344,buf,pos);else if(val>34028234663852886e22)writeUint((sign<<31|2139095040)>>>0,buf,pos);else if(val<11754943508222875e-54)writeUint((sign<<31|Math.round(val/1401298464324817e-60))>>>0,buf,pos);else{var exponent=Math.floor(Math.log(val)/Math.LN2);writeUint((sign<<31|exponent+127<<23|8388607&Math.round(val*Math.pow(2,-exponent)*8388608))>>>0,buf,pos)}}function readFloat_ieee754(readUint,buf,pos){var uint=readUint(buf,pos),sign=2*(uint>>31)+1,exponent=uint>>>23&255,mantissa=8388607&uint;return 255===exponent?mantissa?NaN:sign*(1/0):0===exponent?1401298464324817e-60*sign*mantissa:sign*Math.pow(2,exponent-150)*(mantissa+8388608)}exports.writeFloatLE=writeFloat_ieee754.bind(null,writeUintLE),exports.writeFloatBE=writeFloat_ieee754.bind(null,writeUintBE),exports.readFloatLE=readFloat_ieee754.bind(null,readUintLE),exports.readFloatBE=readFloat_ieee754.bind(null,readUintBE)}(),"undefined"!=typeof Float64Array?function(){var f64=new Float64Array([-0]),f8b=new Uint8Array(f64.buffer),le=128===f8b[7];function writeDouble_f64_cpy(val,buf,pos){f64[0]=val,buf[pos]=f8b[0],buf[pos+1]=f8b[1],buf[pos+2]=f8b[2],buf[pos+3]=f8b[3],buf[pos+4]=f8b[4],buf[pos+5]=f8b[5],buf[pos+6]=f8b[6],buf[pos+7]=f8b[7]}function writeDouble_f64_rev(val,buf,pos){f64[0]=val,buf[pos]=f8b[7],buf[pos+1]=f8b[6],buf[pos+2]=f8b[5],buf[pos+3]=f8b[4],buf[pos+4]=f8b[3],buf[pos+5]=f8b[2],buf[pos+6]=f8b[1],buf[pos+7]=f8b[0]}function readDouble_f64_cpy(buf,pos){return f8b[0]=buf[pos],f8b[1]=buf[pos+1],f8b[2]=buf[pos+2],f8b[3]=buf[pos+3],f8b[4]=buf[pos+4],f8b[5]=buf[pos+5],f8b[6]=buf[pos+6],f8b[7]=buf[pos+7],f64[0]}function readDouble_f64_rev(buf,pos){return f8b[7]=buf[pos],f8b[6]=buf[pos+1],f8b[5]=buf[pos+2],f8b[4]=buf[pos+3],f8b[3]=buf[pos+4],f8b[2]=buf[pos+5],f8b[1]=buf[pos+6],f8b[0]=buf[pos+7],f64[0]}exports.writeDoubleLE=le?writeDouble_f64_cpy:writeDouble_f64_rev,exports.writeDoubleBE=le?writeDouble_f64_rev:writeDouble_f64_cpy,exports.readDoubleLE=le?readDouble_f64_cpy:readDouble_f64_rev,exports.readDoubleBE=le?readDouble_f64_rev:readDouble_f64_cpy}():function(){function writeDouble_ieee754(writeUint,off0,off1,val,buf,pos){var sign=val<0?1:0;if(sign&&(val=-val),0===val)writeUint(0,buf,pos+off0),writeUint(1/val>0?0:2147483648,buf,pos+off1);else if(isNaN(val))writeUint(0,buf,pos+off0),writeUint(2146959360,buf,pos+off1);else if(val>17976931348623157e292)writeUint(0,buf,pos+off0),writeUint((sign<<31|2146435072)>>>0,buf,pos+off1);else{var mantissa;if(val<22250738585072014e-324)writeUint((mantissa=val/5e-324)>>>0,buf,pos+off0),writeUint((sign<<31|mantissa/4294967296)>>>0,buf,pos+off1);else{var exponent=Math.floor(Math.log(val)/Math.LN2);1024===exponent&&(exponent=1023),writeUint(4503599627370496*(mantissa=val*Math.pow(2,-exponent))>>>0,buf,pos+off0),writeUint((sign<<31|exponent+1023<<20|1048576*mantissa&1048575)>>>0,buf,pos+off1)}}}function readDouble_ieee754(readUint,off0,off1,buf,pos){var lo=readUint(buf,pos+off0),hi=readUint(buf,pos+off1),sign=2*(hi>>31)+1,exponent=hi>>>20&2047,mantissa=4294967296*(1048575&hi)+lo;return 2047===exponent?mantissa?NaN:sign*(1/0):0===exponent?5e-324*sign*mantissa:sign*Math.pow(2,exponent-1075)*(mantissa+4503599627370496)}exports.writeDoubleLE=writeDouble_ieee754.bind(null,writeUintLE,0,4),exports.writeDoubleBE=writeDouble_ieee754.bind(null,writeUintBE,4,0),exports.readDoubleLE=readDouble_ieee754.bind(null,readUintLE,0,4),exports.readDoubleBE=readDouble_ieee754.bind(null,readUintBE,4,0)}(),exports}function writeUintLE(val,buf,pos){buf[pos]=255&val,buf[pos+1]=val>>>8&255,buf[pos+2]=val>>>16&255,buf[pos+3]=val>>>24}function writeUintBE(val,buf,pos){buf[pos]=val>>>24,buf[pos+1]=val>>>16&255,buf[pos+2]=val>>>8&255,buf[pos+3]=255&val}function readUintLE(buf,pos){return(buf[pos]|buf[pos+1]<<8|buf[pos+2]<<16|buf[pos+3]<<24)>>>0}function readUintBE(buf,pos){return(buf[pos]<<24|buf[pos+1]<<16|buf[pos+2]<<8|buf[pos+3])>>>0}module.exports=factory(factory)},"./node_modules/@protobufjs/inquire/index.js":module=>{"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},"./node_modules/@protobufjs/pool/index.js":module=>{"use strict";module.exports=function pool(alloc,slice,size){var SIZE=size||8192,MAX=SIZE>>>1,slab=null,offset=SIZE;return function pool_alloc(size){if(size<1||size>MAX)return alloc(size);offset+size>SIZE&&(slab=alloc(SIZE),offset=0);var buf=slice.call(slab,offset,offset+=size);return 7&offset&&(offset=1+(7|offset)),buf}}},"./node_modules/@protobufjs/utf8/index.js":(__unused_webpack_module,exports)=>{"use strict";var utf8=exports;utf8.length=function utf8_length(string){for(var len=0,c=0,i=0;i191&&t<224?chunk[i++]=(31&t)<<6|63&buffer[start++]:t>239&&t<365?(t=((7&t)<<18|(63&buffer[start++])<<12|(63&buffer[start++])<<6|63&buffer[start++])-65536,chunk[i++]=55296+(t>>10),chunk[i++]=56320+(1023&t)):chunk[i++]=(15&t)<<12|(63&buffer[start++])<<6|63&buffer[start++],i>8191&&((parts||(parts=[])).push(String.fromCharCode.apply(String,chunk)),i=0);return parts?(i&&parts.push(String.fromCharCode.apply(String,chunk.slice(0,i))),parts.join("")):String.fromCharCode.apply(String,chunk.slice(0,i))},utf8.write=function utf8_write(string,buffer,offset){for(var c1,c2,start=offset,i=0;i>6|192,buffer[offset++]=63&c1|128):55296==(64512&c1)&&56320==(64512&(c2=string.charCodeAt(i+1)))?(c1=65536+((1023&c1)<<10)+(1023&c2),++i,buffer[offset++]=c1>>18|240,buffer[offset++]=c1>>12&63|128,buffer[offset++]=c1>>6&63|128,buffer[offset++]=63&c1|128):(buffer[offset++]=c1>>12|224,buffer[offset++]=c1>>6&63|128,buffer[offset++]=63&c1|128);return offset-start}},"./node_modules/amazon-chime-sdk-js/build/activespeakerdetector/DefaultActiveSpeakerDetector.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const IntervalScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js");exports.default=class DefaultActiveSpeakerDetector{constructor(realtimeController,selfAttendeeId,hasBandwidthPriorityCallback,waitIntervalMs=1e3,updateIntervalMs=200){this.realtimeController=realtimeController,this.selfAttendeeId=selfAttendeeId,this.hasBandwidthPriorityCallback=hasBandwidthPriorityCallback,this.waitIntervalMs=waitIntervalMs,this.updateIntervalMs=updateIntervalMs,this.speakerScores={},this.speakerMuteState={},this.detectorCallbackToHandler=new Map,this.detectorCallbackToScoresTimer=new Map,this.detectorCallbackToActivityTimer=new Map,this.hasBandwidthPriority=!1,this.mostRecentUpdateTimestamp={}}needUpdate(attendeeId){return!this.activeSpeakers||(0===this.speakerScores[attendeeId]&&this.activeSpeakers.includes(attendeeId)||this.speakerScores[attendeeId]>0&&!this.activeSpeakers.includes(attendeeId))}updateActiveSpeakers(policy,callback,attendeeId){if(!this.needUpdate(attendeeId))return;const sortedSpeakers=[],attendeeIds=Object.keys(this.speakerScores);for(let i=0;is2.activeScore-s1.activeScore)).filter((function(s){return s.activeScore>0})).map((function(s){return s.attendeeId}));this.activeSpeakers=sortedAttendeeIds,callback(sortedAttendeeIds);const hasBandwidthPriority=sortedAttendeeIds.length>0&&sortedAttendeeIds[0]===this.selfAttendeeId&&policy.prioritizeVideoSendBandwidthForActiveSpeaker();this.hasBandwidthPriority!==hasBandwidthPriority&&(this.hasBandwidthPriority=hasBandwidthPriority,this.hasBandwidthPriorityCallback(hasBandwidthPriority))}updateScore(policy,callback,attendeeId,volume,muted){const activeScore=policy.calculateScore(attendeeId,volume,muted);this.speakerScores[attendeeId]!==activeScore&&(this.speakerScores[attendeeId]=activeScore,this.mostRecentUpdateTimestamp[attendeeId]=Date.now(),this.updateActiveSpeakers(policy,callback,attendeeId))}subscribe(policy,callback,scoresCallback,scoresCallbackIntervalMs){const handler=(attendeeId,present)=>{if(!present)return this.speakerScores[attendeeId]=0,this.mostRecentUpdateTimestamp[attendeeId]=Date.now(),void this.updateActiveSpeakers(policy,callback,attendeeId);this.realtimeController.realtimeSubscribeToVolumeIndicator(attendeeId,((attendeeId,volume,muted,_signalStrength)=>{this.mostRecentUpdateTimestamp[attendeeId]=Date.now(),null!==muted&&(this.speakerMuteState[attendeeId]=muted),this.updateScore(policy,callback,attendeeId,volume,muted)}))};this.detectorCallbackToHandler.set(callback,handler);const activityTimer=new IntervalScheduler_1.default(this.updateIntervalMs);if(activityTimer.start((()=>{for(const attendeeId in this.speakerScores)Date.now()-this.mostRecentUpdateTimestamp[attendeeId]>this.waitIntervalMs&&this.updateScore(policy,callback,attendeeId,0,this.speakerMuteState[attendeeId])})),this.detectorCallbackToActivityTimer.set(callback,activityTimer),scoresCallback&&scoresCallbackIntervalMs){const scoresTimer=new IntervalScheduler_1.default(scoresCallbackIntervalMs);scoresTimer.start((()=>{scoresCallback(this.speakerScores)})),this.detectorCallbackToScoresTimer.set(callback,scoresTimer)}this.realtimeController.realtimeSubscribeToAttendeeIdPresence(handler)}unsubscribe(callback){const handler=this.detectorCallbackToHandler.get(callback);this.detectorCallbackToHandler.delete(callback),handler&&this.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(handler);const activityTimer=this.detectorCallbackToActivityTimer.get(callback);activityTimer&&(activityTimer.stop(),this.detectorCallbackToActivityTimer.delete(callback));const scoresTimer=this.detectorCallbackToScoresTimer.get(callback);scoresTimer&&(scoresTimer.stop(),this.detectorCallbackToHandler.delete(callback))}destroy(){return __awaiter(this,void 0,void 0,(function*(){for(const handler of this.detectorCallbackToHandler.values())this.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(handler);for(const activityTimer of this.detectorCallbackToActivityTimer.values())activityTimer.stop();for(const scoresTimer of this.detectorCallbackToScoresTimer.values())scoresTimer.stop();this.detectorCallbackToHandler.clear(),this.detectorCallbackToActivityTimer.clear(),this.detectorCallbackToScoresTimer.clear()}))}}},"./node_modules/amazon-chime-sdk-js/build/activespeakerpolicy/DefaultActiveSpeakerPolicy.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class DefaultActiveSpeakerPolicy{constructor(speakerWeight=.9,cutoffThreshold=.01,silenceThreshold=.2,takeoverRate=.2){this.speakerWeight=speakerWeight,this.cutoffThreshold=cutoffThreshold,this.silenceThreshold=silenceThreshold,this.takeoverRate=takeoverRate,this.volumes={}}calculateScore(attendeeId,volume,muted){(muted||null===volume)&&(volume=0),this.volumes.hasOwnProperty(attendeeId)||(this.volumes[attendeeId]=0),volume=volume>this.silenceThreshold?1:0;const score=this.volumes[attendeeId]*this.speakerWeight+volume*(1-this.speakerWeight);this.volumes[attendeeId]=score;for(const otherAttendeeId in this.volumes)otherAttendeeId!==attendeeId&&(this.volumes[otherAttendeeId]=Math.max(this.volumes[otherAttendeeId]-this.takeoverRate*volume,0));return score{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class ApplicationMetadata{constructor(appName,appVersion){this.appName=appName,this.appVersion=appVersion}static create(appName,appVersion){const APP_NAME_REGEX=/^[a-zA-Z0-9]+[a-zA-Z0-9_-]*[a-zA-Z0-9]+$/g;if(!appName||appName.length>32)throw new Error("appName should be a valid string and 1 to 32 characters in length");if(!APP_NAME_REGEX.test(appName))throw new Error(`appName must satisfy ${APP_NAME_REGEX} regular expression`);if(!appVersion||appVersion.length>32)throw new Error("appVersion should be a valid string and 1 to 32 characters in length");if(!/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/gm.test(appVersion))throw new Error("appVersion must satisfy Semantic Versioning format");return new ApplicationMetadata(appName,appVersion)}}exports.default=ApplicationMetadata},"./node_modules/amazon-chime-sdk-js/build/attendee/Attendee.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class Attendee{}},"./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),AsyncScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js");exports.default=class DefaultAudioMixController{constructor(logger){this.logger=logger,this.audioDevice=null,this.audioElement=null,this.audioStream=null,this.browserBehavior=new DefaultBrowserBehavior_1.default,this.observers=new Set}bindAudioElement(element){return __awaiter(this,void 0,void 0,(function*(){if(!element)throw new Error(`Cannot bind audio element: ${element}`);return this.audioElement=element,this.audioElement.autoplay=!0,this.bindAudioMix()}))}unbindAudioElement(){this.audioElement&&(this.audioElement.srcObject=null,this.audioElement=null,this.forEachObserver((observer=>{this.audioStream&&observer.meetingAudioStreamBecameInactive(this.audioStream)})))}bindAudioStream(stream){return __awaiter(this,void 0,void 0,(function*(){if(stream){this.audioStream=stream;try{yield this.bindAudioMix()}catch(error){this.logger&&this.logger.warn(`Failed to bind audio stream: ${error}`)}}}))}bindAudioDevice(device){return __awaiter(this,void 0,void 0,(function*(){if(device&&!this.browserBehavior.supportsSetSinkId())throw new Error("Cannot select audio output device. This browser does not support setSinkId.");return this.audioDevice=device,this.bindAudioMix()}))}forEachObserver(observerFunc){for(const observer of this.observers)AsyncScheduler_1.default.nextTick((()=>{observerFunc(observer)}))}bindAudioMix(){var _a,_b;return __awaiter(this,void 0,void 0,(function*(){if(!this.audioElement)return;const previousStream=this.audioElement.srcObject;this.audioStream&&(this.audioElement.srcObject=this.audioStream),previousStream!==this.audioStream&&this.forEachObserver((observer=>{previousStream&&observer.meetingAudioStreamBecameInactive(previousStream),this.audioStream&&observer.meetingAudioStreamBecameActive(this.audioStream)}));const shouldSetSinkId=(null===(_a=this.audioDevice)||void 0===_a?void 0:_a.deviceId)!==this.audioElement.sinkId;if(shouldSetSinkId&&void 0===this.audioElement.sinkId)throw new Error("Cannot select audio output device. This browser does not support setSinkId.");const newSinkId=this.audioDevice?this.audioDevice.deviceId:"";if(newSinkId===this.audioElement.sinkId)return;const existingAudioElement=this.audioElement,existingStream=this.audioStream;if(this.browserBehavior.hasChromiumWebRTC()&&(existingAudioElement.srcObject=null),shouldSetSinkId)try{yield existingAudioElement.setSinkId(newSinkId)}catch(error){throw null===(_b=this.logger)||void 0===_b||_b.error(`Failed to set sinkId for audio element: ${error}`),error}this.browserBehavior.hasChromiumWebRTC()&&(existingAudioElement.srcObject=existingStream)}))}getCurrentMeetingAudioStream(){return __awaiter(this,void 0,void 0,(function*(){return this.audioStream}))}addAudioMixObserver(observer){return __awaiter(this,void 0,void 0,(function*(){this.observers.add(observer)}))}removeAudioMixObserver(observer){return __awaiter(this,void 0,void 0,(function*(){this.observers.delete(observer)}))}audioOutputDidChange(device){return __awaiter(this,void 0,void 0,(function*(){return this.logger.info("Receive an audio output change event"),this.bindAudioDevice(device)}))}}},"./node_modules/amazon-chime-sdk-js/build/audioprofile/AudioProfile.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class AudioProfile{constructor(audioBitrateBps=null){this.audioBitrateBps=audioBitrateBps}static fullbandSpeechMono(){return new AudioProfile(4e4)}static fullbandMusicMono(){return new AudioProfile(64e3)}static fullbandMusicStereo(){return new AudioProfile(128e3)}isStereo(){return 128e3===this.audioBitrateBps}}exports.default=AudioProfile},"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/AudioVideoControllerState.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DEFAULT_VIDEO_SUBSCRIPTION_LIMIT=void 0,exports.DEFAULT_VIDEO_SUBSCRIPTION_LIMIT=25;exports.default=class AudioVideoControllerState{constructor(){this.logger=null,this.browserBehavior=null,this.meetingSessionConfiguration=null,this.signalingClient=null,this.peer=null,this.previousSdpOffer=null,this.sdpOfferInit=null,this.audioVideoController=null,this.realtimeController=null,this.videoTileController=null,this.mediaStreamBroker=null,this.activeAudioInput=void 0,this.activeVideoInput=void 0,this.audioMixController=null,this.transceiverController=null,this.indexFrame=null,this.iceCandidates=[],this.iceCandidateHandler=null,this.iceGatheringStateEventHandler=null,this.sdpAnswer=null,this.turnCredentials=null,this.reconnectController=null,this.removableObservers=[],this.audioProfile=null,this.videoStreamIndex=null,this.videoDownlinkBandwidthPolicy=null,this.videoUplinkBandwidthPolicy=null,this.lastKnownVideoAvailability=null,this.videoCaptureAndEncodeParameter=null,this.videosToReceive=null,this.lastVideosToReceive=null,this.videoSubscriptions=null,this.videoSubscriptionLimit=exports.DEFAULT_VIDEO_SUBSCRIPTION_LIMIT,this.previousSdpAnswerAsString="",this.serverSupportsCompression=!1,this.videoSendCodecPreferences=[],this.currentVideoSendCodec=void 0,this.meetingSupportedVideoSendCodecPreferences=void 0,this.videosPaused=null,this.videoDuplexMode=null,this.volumeIndicatorAdapter=null,this.statsCollector=null,this.connectionMonitor=null,this.videoInputAttachedTimestampMs=0,this.audioDeviceInformation={},this.videoDeviceInformation={},this.enableSimulcast=!1,this.eventController=null,this.signalingOpenDurationMs=null,this.iceGatheringDurationMs=null,this.startAudioVideoTimestamp=null,this.attendeePresenceDurationMs=null,this.meetingStartDurationMs=null,this.poorConnectionCount=0,this.maxVideoTileCount=0,this.startTimeMs=null}resetConnectionSpecificState(){this.peer&&this.peer.close(),this.peer=null,this.previousSdpOffer=null,this.sdpOfferInit=null,void 0!==this.transceiverController&&this.transceiverController.reset(),this.indexFrame=null,this.iceCandidates=[],this.iceCandidateHandler=null,this.sdpAnswer=null,this.turnCredentials=null,this.videoDownlinkBandwidthPolicy.reset(),this.videoUplinkBandwidthPolicy.reset&&this.videoUplinkBandwidthPolicy.reset(),this.lastVideosToReceive=null,this.videoSubscriptions=null,this.videoSubscriptionLimit=exports.DEFAULT_VIDEO_SUBSCRIPTION_LIMIT,this.previousSdpAnswerAsString="",this.serverSupportsCompression=!1,this.currentVideoSendCodec=void 0,this.meetingSupportedVideoSendCodecPreferences=void 0,this.videoDuplexMode=null}}},"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultActiveSpeakerDetector_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/activespeakerdetector/DefaultActiveSpeakerDetector.js"),DefaultAudioMixController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js"),AudioProfile_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audioprofile/AudioProfile.js"),DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),ConnectionHealthData_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthData.js"),SignalingAndMetricsConnectionMonitor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionmonitor/SignalingAndMetricsConnectionMonitor.js"),MeetingSessionStatus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js"),MeetingSessionStatusCode_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js"),MeetingSessionVideoAvailability_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionVideoAvailability.js"),DefaultModality_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js"),DefaultPingPong_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/pingpong/DefaultPingPong.js"),DefaultRealtimeController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/realtimecontroller/DefaultRealtimeController.js"),AsyncScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js"),DefaultSessionStateController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/DefaultSessionStateController.js"),SessionStateControllerAction_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js"),SessionStateControllerState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js"),SessionStateControllerTransitionResult_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js"),DefaultSignalingClient_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/DefaultSignalingClient.js"),SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js"),SignalingClientVideoSubscriptionConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js"),SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),StatsCollector_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/statscollector/StatsCollector.js"),AttachMediaInputTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/AttachMediaInputTask.js"),CleanRestartedSessionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/CleanRestartedSessionTask.js"),CleanStoppedSessionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/CleanStoppedSessionTask.js"),CreatePeerConnectionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/CreatePeerConnectionTask.js"),CreateSDPTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/CreateSDPTask.js"),FinishGatheringICECandidatesTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/FinishGatheringICECandidatesTask.js"),JoinAndReceiveIndexTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/JoinAndReceiveIndexTask.js"),LeaveAndReceiveLeaveAckTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/LeaveAndReceiveLeaveAckTask.js"),ListenForVolumeIndicatorsTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ListenForVolumeIndicatorsTask.js"),MonitorTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/MonitorTask.js"),OpenSignalingConnectionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/OpenSignalingConnectionTask.js"),ParallelGroupTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ParallelGroupTask.js"),PromoteToPrimaryMeetingTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/PromoteToPrimaryMeetingTask.js"),ReceiveAudioInputTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ReceiveAudioInputTask.js"),ReceiveTURNCredentialsTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ReceiveTURNCredentialsTask.js"),ReceiveVideoInputTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoInputTask.js"),ReceiveVideoStreamIndexTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoStreamIndexTask.js"),SendAndReceiveDataMessagesTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/SendAndReceiveDataMessagesTask.js"),SerialGroupTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/SerialGroupTask.js"),SetLocalDescriptionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/SetLocalDescriptionTask.js"),SetRemoteDescriptionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/SetRemoteDescriptionTask.js"),SubscribeAndReceiveSubscribeAckTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/SubscribeAndReceiveSubscribeAckTask.js"),TimeoutTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js"),WaitForAttendeePresenceTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/WaitForAttendeePresenceTask.js"),DefaultTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js"),SimulcastContentShareTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js"),SimulcastTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js"),VideoOnlyTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/VideoOnlyTransceiverController.js"),Types_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Types.js"),DefaultVideoCaptureAndEncodeParameter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js"),AllHighestVideoBandwidthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy.js"),VideoAdaptiveProbePolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy.js"),DefaultVideoStreamIdSet_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js"),DefaultVideoStreamIndex_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js"),SimulcastVideoStreamIndex_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamindex/SimulcastVideoStreamIndex.js"),DefaultVideoTileController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videotilecontroller/DefaultVideoTileController.js"),DefaultVideoTileFactory_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videotilefactory/DefaultVideoTileFactory.js"),DefaultSimulcastUplinkPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy.js"),NScaleVideoUplinkBandwidthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy.js"),DefaultVolumeIndicatorAdapter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/volumeindicatoradapter/DefaultVolumeIndicatorAdapter.js"),AudioVideoControllerState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/AudioVideoControllerState.js");class DefaultAudioVideoController{constructor(configuration,logger,webSocketAdapter,mediaStreamBroker,reconnectController,eventController){this._audioProfile=new AudioProfile_1.default,this.connectionHealthData=new ConnectionHealthData_1.default,this.observerQueue=new Set,this.meetingSessionContext=new AudioVideoControllerState_1.default,this.enableSimulcast=!1,this.useUpdateTransceiverControllerForUplink=!1,this.totalRetryCount=0,this.startAudioVideoTimestamp=0,this.mayNeedRenegotiationForSimulcastLayerChange=!1,this.promotedToPrimaryMeeting=!1,this.hasGetRTCPeerConnectionStatsDeprecationMessageBeenSent=!1,this.receiveIndexTask=void 0,this.monitorTask=void 0,this.destroyed=!1,this._logger=logger,this.sessionStateController=new DefaultSessionStateController_1.default(this._logger),this._configuration=configuration,this._webSocketAdapter=webSocketAdapter,this._realtimeController=new DefaultRealtimeController_1.default(mediaStreamBroker),this._realtimeController.realtimeSetLocalAttendeeId(configuration.credentials.attendeeId,configuration.credentials.externalUserId),this._mediaStreamBroker=mediaStreamBroker,this._reconnectController=reconnectController,this._videoTileController=new DefaultVideoTileController_1.default(new DefaultVideoTileFactory_1.default,this,this._logger),this._audioMixController=new DefaultAudioMixController_1.default(this._logger),this._mediaStreamBroker.addMediaStreamBrokerObserver(this._audioMixController),this.meetingSessionContext.logger=this._logger,this._eventController=eventController}destroy(){return __awaiter(this,void 0,void 0,(function*(){this.observerQueue.clear(),this._mediaStreamBroker.removeMediaStreamBrokerObserver(this._audioMixController),this.destroyed=!0}))}get configuration(){return this._configuration}get realtimeController(){return this._realtimeController}get activeSpeakerDetector(){return this._activeSpeakerDetector||(this._activeSpeakerDetector=new DefaultActiveSpeakerDetector_1.default(this._realtimeController,this._configuration.credentials.attendeeId,this.handleHasBandwidthPriority.bind(this))),this._activeSpeakerDetector}get videoTileController(){return this._videoTileController}get audioMixController(){return this._audioMixController}get logger(){return this._logger}get rtcPeerConnection(){return this.meetingSessionContext&&this.meetingSessionContext.peer||null}get mediaStreamBroker(){return this._mediaStreamBroker}get eventController(){return this._eventController}getRTCPeerConnectionStats(selector){return this.hasGetRTCPeerConnectionStatsDeprecationMessageBeenSent||(this.logger.warn("The `getRTCPeerConnectionStats()` is on its way to be deprecated. It makes an additional call to the `getStats` API and therefore may cause slight performance degradation. Please use the new API `clientMetricReport.getRTCStatsReport()` returned by `metricsDidReceive(clientMetricReport)` callback instead."),this.hasGetRTCPeerConnectionStatsDeprecationMessageBeenSent=!0),this.rtcPeerConnection?this.rtcPeerConnection.getStats(selector):null}setAudioProfile(audioProfile){this._audioProfile=audioProfile}addObserver(observer){this.logger.info("adding meeting observer"),this.observerQueue.add(observer)}removeObserver(observer){this.logger.info("removing meeting observer"),this.observerQueue.delete(observer)}forEachObserver(observerFunc){for(const observer of this.observerQueue)AsyncScheduler_1.default.nextTick((()=>{this.observerQueue.has(observer)&&observerFunc(observer)}))}initSignalingClient(){this.connectionHealthData.reset(),this.meetingSessionContext.signalingClient||(this.meetingSessionContext=new AudioVideoControllerState_1.default,this.meetingSessionContext.logger=this.logger,this.meetingSessionContext.eventController=this.eventController,this.meetingSessionContext.browserBehavior=new DefaultBrowserBehavior_1.default,this.meetingSessionContext.videoSendCodecPreferences=this.videoSendCodecPreferences,this.meetingSessionContext.meetingSessionConfiguration=this.configuration,this.meetingSessionContext.signalingClient=new DefaultSignalingClient_1.default(this._webSocketAdapter,this.logger))}uninstallPreStartObserver(){this.meetingSessionContext.signalingClient.removeObserver(this.preStartObserver),this.preStartObserver=void 0}prestart(){return this.logger.info("Pre-connecting signaling connection."),this.createOrReuseSignalingTask().run().then((()=>{const handleClosed=()=>__awaiter(this,void 0,void 0,(function*(){this.logger.info("Early connection closed; discarding signaling task."),this.signalingTask=void 0,this.uninstallPreStartObserver()}));this.preStartObserver={handleSignalingClientEvent(event){event.type===SignalingClientEventType_1.default.WebSocketClosed&&handleClosed()}},this.meetingSessionContext.signalingClient.registerObserver(this.preStartObserver)})).catch((e=>{this.logger.error(`Signaling task pre-start failed: ${e}`),this.signalingTask=void 0}))}start(options){this.startReturningPromise(options).then((()=>{this.logger.info("start completed")})).catch((e=>{this.logger.error(`start failed: ${e}`)}))}startReturningPromise(options){return!0===(null==options?void 0:options.signalingOnly)?this.prestart():(this.activeSpeakerDetector,new Promise(((resolve,reject)=>{this.sessionStateController.perform(SessionStateControllerAction_1.default.Connect,(()=>{this.actionConnect(!1).then(resolve).catch(reject)}))})))}connectWithPromises(needsToWaitForAttendeePresence){const context=this.meetingSessionContext;this.monitorTask=new MonitorTask_1.default(context,this.configuration.connectionHealthPolicyConfiguration,this.connectionHealthData);const monitor=this.monitorTask.once(),receiveAudioInput=new ReceiveAudioInputTask_1.default(context).once();this.receiveIndexTask=new ReceiveVideoStreamIndexTask_1.default(context),this.monitorTask.pauseResubscribeCheck(),this.receiveIndexTask.pauseIngestion();const signaling=new SerialGroupTask_1.default(this.logger,"Signaling",[this.createOrReuseSignalingTask(),new ListenForVolumeIndicatorsTask_1.default(context),new SendAndReceiveDataMessagesTask_1.default(context),new JoinAndReceiveIndexTask_1.default(context),new ReceiveTURNCredentialsTask_1.default(context),this.receiveIndexTask]).once(),createPeerConnection=new CreatePeerConnectionTask_1.default(context).once(signaling),attachMediaInput=new AttachMediaInputTask_1.default(context).once(createPeerConnection,receiveAudioInput),createSDP=new CreateSDPTask_1.default(context).once(attachMediaInput),setLocalDescription=new SetLocalDescriptionTask_1.default(context).once(createSDP),ice=new FinishGatheringICECandidatesTask_1.default(context).once(setLocalDescription),subscribeAck=new SubscribeAndReceiveSubscribeAckTask_1.default(context).once(ice);return new SerialGroupTask_1.default(this.logger,this.wrapTaskName("AudioVideoStart"),[monitor,((timeoutMs,task)=>new TimeoutTask_1.default(this.logger,task,timeoutMs))(this.configuration.connectionTimeoutMs,new SerialGroupTask_1.default(this.logger,"Peer",[subscribeAck,needsToWaitForAttendeePresence?new TimeoutTask_1.default(this.logger,new ParallelGroupTask_1.default(this.logger,"FinalizeConnection",[new WaitForAttendeePresenceTask_1.default(context),new SetRemoteDescriptionTask_1.default(context)]),this.meetingSessionContext.meetingSessionConfiguration.attendeePresenceTimeoutMs):new SetRemoteDescriptionTask_1.default(context)]))])}actionConnect(reconnecting){var _a;return __awaiter(this,void 0,void 0,(function*(){this.initSignalingClient(),this.uninstallPreStartObserver(),this.meetingSessionContext.mediaStreamBroker=this._mediaStreamBroker,this.meetingSessionContext.realtimeController=this._realtimeController,this.meetingSessionContext.audioMixController=this._audioMixController,this.meetingSessionContext.audioVideoController=this,this.enableSimulcast=this.configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers&&(new DefaultBrowserBehavior_1.default).hasChromiumWebRTC();const useAudioConnection=!!this.configuration.urls.audioHostURL;if(useAudioConnection?this.enableSimulcast?(this.logger.info("Using transceiver controller with simulcast support"),new DefaultModality_1.default(this.configuration.credentials.attendeeId).hasModality(DefaultModality_1.default.MODALITY_CONTENT)?this.meetingSessionContext.transceiverController=new SimulcastContentShareTransceiverController_1.default(this.logger,this.meetingSessionContext.browserBehavior):this.meetingSessionContext.transceiverController=new SimulcastTransceiverController_1.default(this.logger,this.meetingSessionContext.browserBehavior)):(this.logger.info("Using default transceiver controller"),this.meetingSessionContext.transceiverController=new DefaultTransceiverController_1.default(this.logger,this.meetingSessionContext.browserBehavior)):(this.logger.info("Using video only transceiver controller"),this.meetingSessionContext.transceiverController=new VideoOnlyTransceiverController_1.default(this.logger,this.meetingSessionContext.browserBehavior)),this.meetingSessionContext.volumeIndicatorAdapter=new DefaultVolumeIndicatorAdapter_1.default(this.logger,this._realtimeController,DefaultAudioVideoController.MIN_VOLUME_DECIBELS,DefaultAudioVideoController.MAX_VOLUME_DECIBELS,this.configuration.credentials.attendeeId),this.meetingSessionContext.videoTileController=this._videoTileController,this.meetingSessionContext.videoDownlinkBandwidthPolicy=this.configuration.videoDownlinkBandwidthPolicy,this.meetingSessionContext.videoUplinkBandwidthPolicy=this.configuration.videoUplinkBandwidthPolicy,this.meetingSessionContext.enableSimulcast=this.enableSimulcast,this.enableSimulcast){let simulcastPolicy=this.meetingSessionContext.videoUplinkBandwidthPolicy;simulcastPolicy||(simulcastPolicy=new DefaultSimulcastUplinkPolicy_1.default(this.configuration.credentials.attendeeId,this.meetingSessionContext.logger),this.meetingSessionContext.videoUplinkBandwidthPolicy=simulcastPolicy),simulcastPolicy.addObserver(this),this.meetingSessionContext.videoDownlinkBandwidthPolicy||(this.meetingSessionContext.videoDownlinkBandwidthPolicy=new VideoAdaptiveProbePolicy_1.default(this.meetingSessionContext.logger)),this.meetingSessionContext.videoStreamIndex=new SimulcastVideoStreamIndex_1.default(this.logger)}else this.meetingSessionContext.enableSimulcast=!1,this.meetingSessionContext.videoStreamIndex=new DefaultVideoStreamIndex_1.default(this.logger),this.meetingSessionContext.videoUplinkBandwidthPolicy||(this.meetingSessionContext.videoUplinkBandwidthPolicy=new NScaleVideoUplinkBandwidthPolicy_1.default(this.configuration.credentials.attendeeId,!this.meetingSessionContext.browserBehavior.disableResolutionScaleDown(),this.meetingSessionContext.logger,this.meetingSessionContext.browserBehavior)),this.meetingSessionContext.videoDownlinkBandwidthPolicy||(this.meetingSessionContext.videoDownlinkBandwidthPolicy=new AllHighestVideoBandwidthPolicy_1.default(this.configuration.credentials.attendeeId)),this.meetingSessionContext.videoUplinkBandwidthPolicy.setTransceiverController&&this.meetingSessionContext.videoUplinkBandwidthPolicy.updateTransceiverController&&(this.useUpdateTransceiverControllerForUplink=!0,this.meetingSessionContext.videoUplinkBandwidthPolicy.setTransceiverController(this.meetingSessionContext.transceiverController)),this.meetingSessionContext.audioProfile=this._audioProfile;this.meetingSessionContext.videoUplinkBandwidthPolicy&&this.maxUplinkBandwidthKbps&&this.meetingSessionContext.videoUplinkBandwidthPolicy.setIdealMaxBandwidthKbps(this.maxUplinkBandwidthKbps),this.meetingSessionContext.videoDownlinkBandwidthPolicy.bindToTileController&&this.meetingSessionContext.videoDownlinkBandwidthPolicy.bindToTileController(this._videoTileController),this.meetingSessionContext.lastKnownVideoAvailability=new MeetingSessionVideoAvailability_1.default,this.meetingSessionContext.videoCaptureAndEncodeParameter=new DefaultVideoCaptureAndEncodeParameter_1.default(0,0,0,0,!1),this.meetingSessionContext.videosToReceive=new DefaultVideoStreamIdSet_1.default,this.meetingSessionContext.videosPaused=new DefaultVideoStreamIdSet_1.default,this.meetingSessionContext.statsCollector=new StatsCollector_1.default(this,this.logger),this.meetingSessionContext.connectionMonitor=new SignalingAndMetricsConnectionMonitor_1.default(this,this._realtimeController,this.connectionHealthData,new DefaultPingPong_1.default(this.meetingSessionContext.signalingClient,DefaultAudioVideoController.PING_PONG_INTERVAL_MS,this.logger),this.meetingSessionContext.statsCollector),this.meetingSessionContext.reconnectController=this._reconnectController,this.meetingSessionContext.videoDeviceInformation={},reconnecting||(this.totalRetryCount=0,this._reconnectController.reset(),this.startAudioVideoTimestamp=Date.now(),this.forEachObserver((observer=>{Types_1.Maybe.of(observer.audioVideoDidStartConnecting).map((f=>f.bind(observer)(!1)))})),null===(_a=this.eventController)||void 0===_a||_a.publishEvent("meetingStartRequested")),this.meetingSessionContext.startAudioVideoTimestamp=this.startAudioVideoTimestamp,this._reconnectController.hasStartedConnectionAttempt()?this._reconnectController.startedConnectionAttempt(!1):this._reconnectController.startedConnectionAttempt(!0);const needsToWaitForAttendeePresence=useAudioConnection&&this.meetingSessionContext.meetingSessionConfiguration.attendeePresenceTimeoutMs>0;this.logger.info("Needs to wait for attendee presence? "+needsToWaitForAttendeePresence);const connect=this.connectWithPromises(needsToWaitForAttendeePresence);try{yield connect.run(),this.connectionHealthData.setConnectionStartTime(),this._mediaStreamBroker.addMediaStreamBrokerObserver(this),this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishConnecting,(()=>{this.eventController&&(this.meetingSessionContext.meetingStartDurationMs=Date.now()-this.startAudioVideoTimestamp,this.eventController.publishEvent("meetingStartSucceeded",{maxVideoTileCount:this.meetingSessionContext.maxVideoTileCount,poorConnectionCount:this.meetingSessionContext.poorConnectionCount,retryCount:this.totalRetryCount,signalingOpenDurationMs:this.meetingSessionContext.signalingOpenDurationMs,iceGatheringDurationMs:this.meetingSessionContext.iceGatheringDurationMs,meetingStartDurationMs:this.meetingSessionContext.meetingStartDurationMs})),this.meetingSessionContext.startTimeMs=Date.now(),this.actionFinishConnecting()}))}catch(error){this.signalingTask=void 0;const status=new MeetingSessionStatus_1.default(this.getMeetingStatusCode(error)||MeetingSessionStatusCode_1.default.TaskFailed);if(this.logger.info(`Start failed: ${status} due to error ${error}.`),this.sessionStateController.state()===SessionStateControllerState_1.default.NotConnected)return void this.logger.info("Start failed and not connected. Not cleaning up.");this.sessionStateController.perform(SessionStateControllerAction_1.default.Fail,(()=>__awaiter(this,void 0,void 0,(function*(){yield this.actionDisconnect(status,!0,error),this.handleMeetingSessionStatus(status,error)||this.notifyStop(status,error)}))))}}))}createOrReuseSignalingTask(){return this.signalingTask||(this.initSignalingClient(),this.signalingTask=new TimeoutTask_1.default(this.logger,new OpenSignalingConnectionTask_1.default(this.meetingSessionContext),this.configuration.connectionTimeoutMs).once()),this.signalingTask}actionFinishConnecting(){this.signalingTask=void 0,this.meetingSessionContext.videoDuplexMode=SignalingProtocol_js_1.SdkStreamServiceType.RX,this.meetingSessionContext.enableSimulcast||(this.useUpdateTransceiverControllerForUplink?this.meetingSessionContext.videoUplinkBandwidthPolicy.updateTransceiverController():this.enforceBandwidthLimitationForSender(this.meetingSessionContext.videoCaptureAndEncodeParameter.encodeBitrates()[0])),this.forEachObserver((observer=>{Types_1.Maybe.of(observer.audioVideoDidStart).map((f=>f.bind(observer)()))})),this._reconnectController.reset(),this.receiveIndexTask.resumeIngestion(),this.monitorTask.resumeResubscribeCheck()}stopReturningPromise(){var _a;return this.sessionStateController.state()===SessionStateControllerState_1.default.NotConnected?(null===(_a=this.meetingSessionContext.signalingClient)||void 0===_a||_a.closeConnection(),this.cleanUpMediaStreamsAfterStop(),Promise.resolve()):new Promise(((resolve,reject)=>{this.sessionStateController.perform(SessionStateControllerAction_1.default.Disconnect,(()=>{this._reconnectController.disableReconnect(),this.logger.info("attendee left meeting, session will not be reconnected"),this.actionDisconnect(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.Left),!1,null).then(resolve).catch(reject)}))}))}stop(){this.stopReturningPromise()}actionDisconnect(status,reconnecting,error){return __awaiter(this,void 0,void 0,(function*(){try{yield new SerialGroupTask_1.default(this.logger,this.wrapTaskName("AudioVideoStop"),[new TimeoutTask_1.default(this.logger,new LeaveAndReceiveLeaveAckTask_1.default(this.meetingSessionContext),this.configuration.connectionTimeoutMs)]).run()}catch(stopError){this.logger.info("fail to stop")}try{const subtasks=[new TimeoutTask_1.default(this.logger,new CleanStoppedSessionTask_1.default(this.meetingSessionContext),this.configuration.connectionTimeoutMs)];this.cleanUpMediaStreamsAfterStop(),yield new SerialGroupTask_1.default(this.logger,this.wrapTaskName("AudioVideoClean"),subtasks).run()}catch(cleanError){this.logger.info("fail to clean")}this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishDisconnecting,(()=>{reconnecting||this.notifyStop(status,error)}))}))}update(options={needsRenegotiation:!0}){let needsRenegotiation=options.needsRenegotiation;if(needsRenegotiation||(needsRenegotiation=void 0===this.meetingSessionContext.peer),needsRenegotiation||(needsRenegotiation=!this.updateRemoteVideosFromLastVideosToReceive()),needsRenegotiation||(needsRenegotiation=!this.updateLocalVideoFromPolicy()),this.meetingSessionContext.lastVideosToReceive=this.meetingSessionContext.videosToReceive,!needsRenegotiation)return this.logger.info("Update request does not require resubscribe"),this.actionFinishUpdating(),!0;this.logger.info("Update request requires resubscribe");const result=this.sessionStateController.perform(SessionStateControllerAction_1.default.Update,(()=>{this.actionUpdateWithRenegotiation(!0)}));return result===SessionStateControllerTransitionResult_1.default.Transitioned||result===SessionStateControllerTransitionResult_1.default.DeferredTransition}updateRemoteVideosFromLastVideosToReceive(){var _a,_b;const context=this.meetingSessionContext;if((null===(_a=context.videosToReceive)||void 0===_a?void 0:_a.empty())||(null===(_b=context.lastVideosToReceive)||void 0===_b?void 0:_b.empty()))return!1;if(!(context.transceiverController&&context.transceiverController.getMidForStreamId&&context.transceiverController.setStreamIdForMid&&context.videosToReceive.forEach&&context.signalingClient.remoteVideoUpdate&&context.videoStreamIndex.overrideStreamIdMappings))return!1;let added=[];const simulcastStreamUpdates=new Map;let removed=[];if(null===context.lastVideosToReceive)added=context.videosToReceive.array();else{const index=context.videoStreamIndex;context.videosToReceive.forEach((currentId=>{if(context.lastVideosToReceive.contain(currentId))return;let foundUpdatedPreviousStreamId=!1;context.lastVideosToReceive.forEach((previousId=>{foundUpdatedPreviousStreamId||index.StreamIdsInSameGroup(previousId,currentId)&&(simulcastStreamUpdates.set(previousId,currentId),foundUpdatedPreviousStreamId=!0)})),foundUpdatedPreviousStreamId||added.push(currentId)})),removed=context.lastVideosToReceive.array().filter((idFromPrevious=>{const stillReceiving=context.videosToReceive.contain(idFromPrevious),isUpdated=simulcastStreamUpdates.has(idFromPrevious);return!stillReceiving&&!isUpdated}))}this.logger.info(`Request to update remote videos with added: ${added}, updated: ${[...simulcastStreamUpdates.entries()]}, removed: ${removed}`);const updatedVideoSubscriptionConfigurations=[];for(const[previousId,currentId]of simulcastStreamUpdates.entries()){const updatedConfig=new SignalingClientVideoSubscriptionConfiguration_1.default;if(updatedConfig.streamId=currentId,updatedConfig.attendeeId=context.videoStreamIndex.attendeeIdForStreamId(currentId),updatedConfig.mid=context.transceiverController.getMidForStreamId(previousId),void 0===updatedConfig.mid)return this.logger.info(`No MID found for stream ID ${previousId}, cannot update stream without renegotiation`),!1;if(updatedVideoSubscriptionConfigurations.push(updatedConfig),context.transceiverController.setStreamIdForMid(updatedConfig.mid,currentId),context.videoStreamIndex.overrideStreamIdMappings(previousId,currentId),context.videoTileController.haveVideoTileForAttendeeId(updatedConfig.attendeeId)){const tile=context.videoTileController.getVideoTileForAttendeeId(updatedConfig.attendeeId);if(!tile.setStreamId)return!1;tile.setStreamId(currentId)}}return 0!==updatedVideoSubscriptionConfigurations.length&&context.signalingClient.remoteVideoUpdate(updatedVideoSubscriptionConfigurations,[]),0===added.length&&0===removed.length&&(context.videoStreamIndex.subscribeFrameSent(),!0)}updateLocalVideoFromPolicy(){if(this.meetingSessionContext.enableSimulcast){const encodingParam=this.meetingSessionContext.videoUplinkBandwidthPolicy.chooseEncodingParameters();if(this.mayNeedRenegotiationForSimulcastLayerChange&&!this.negotiatedBitrateLayersAllocationRtpHeaderExtension())return this.logger.info("Needs regenotiation for local video simulcast layer change"),this.mayNeedRenegotiationForSimulcastLayerChange=!1,!1;this.meetingSessionContext.transceiverController.setEncodingParameters(encodingParam)}else this.meetingSessionContext.videoCaptureAndEncodeParameter=this.meetingSessionContext.videoUplinkBandwidthPolicy.chooseCaptureAndEncodeParameters();return this.logger.info("Updated local video from policy without renegotiation"),!0}negotiatedBitrateLayersAllocationRtpHeaderExtension(){if(!this.meetingSessionContext.transceiverController.localVideoTransceiver())return!1;const parameters=this.meetingSessionContext.transceiverController.localVideoTransceiver().sender.getParameters();return!(!parameters||!parameters.headerExtensions)&¶meters.headerExtensions.some((extension=>"http://www.webrtc.org/experiments/rtp-hdrext/video-layers-allocation00"===extension.uri))}restartLocalVideo(callback){const restartVideo=()=>__awaiter(this,void 0,void 0,(function*(){this._videoTileController.hasStartedLocalVideoTile()&&(this.logger.info("stopping local video tile prior to local video restart"),this._videoTileController.stopLocalVideoTile(),this.logger.info("preparing local video restart update"),yield this.actionUpdateWithRenegotiation(!1),this.logger.info("starting local video tile for local video restart"),this._videoTileController.startLocalVideoTile()),this.logger.info("finalizing local video restart update"),yield this.actionUpdateWithRenegotiation(!0),callback()})),result=this.sessionStateController.perform(SessionStateControllerAction_1.default.Update,(()=>{restartVideo()}));return result===SessionStateControllerTransitionResult_1.default.Transitioned||result===SessionStateControllerTransitionResult_1.default.DeferredTransition}replaceLocalVideo(videoStream){return __awaiter(this,void 0,void 0,(function*(){if(!videoStream||videoStream.getVideoTracks().length<1)throw new Error("could not acquire video track");if(!this.meetingSessionContext||!this.meetingSessionContext.peer)throw new Error("no active meeting and peer connection");const localTile=this.meetingSessionContext.videoTileController.getLocalVideoTile();if(localTile){const state=localTile.state(),settings=videoStream.getVideoTracks()[0].getSettings();localTile.bindVideoStream(state.boundAttendeeId,!0,videoStream,settings.width,settings.height,state.streamId,state.boundExternalUserId)}yield this.meetingSessionContext.transceiverController.setVideoInput(videoStream.getVideoTracks()[0]),this.meetingSessionContext.activeVideoInput=videoStream,this.logger.info("Local video input is updated")}))}replaceLocalAudio(audioStream){return __awaiter(this,void 0,void 0,(function*(){if(!audioStream||audioStream.getAudioTracks().length<1)throw new Error("could not acquire audio track");if(!this.meetingSessionContext||!this.meetingSessionContext.peer)throw new Error("no active meeting and peer connection");this.connectionHealthData.reset(),this.connectionHealthData.setConnectionStartTime();if(!(yield this.meetingSessionContext.transceiverController.replaceAudioTrack(audioStream.getAudioTracks()[0])))throw new Error("Failed to replace audio track");this.meetingSessionContext.activeAudioInput=audioStream,this.logger.info("Local audio input is updated")}))}actionUpdateWithRenegotiation(notify){return __awaiter(this,void 0,void 0,(function*(){this.monitorTask.pauseResubscribeCheck(),this.receiveIndexTask.pauseIngestion();try{yield new SerialGroupTask_1.default(this.logger,this.wrapTaskName("AudioVideoUpdate"),[new ReceiveVideoInputTask_1.default(this.meetingSessionContext),new TimeoutTask_1.default(this.logger,new SerialGroupTask_1.default(this.logger,"UpdateSession",[new AttachMediaInputTask_1.default(this.meetingSessionContext),new CreateSDPTask_1.default(this.meetingSessionContext),new SetLocalDescriptionTask_1.default(this.meetingSessionContext),new FinishGatheringICECandidatesTask_1.default(this.meetingSessionContext),new SubscribeAndReceiveSubscribeAckTask_1.default(this.meetingSessionContext),new SetRemoteDescriptionTask_1.default(this.meetingSessionContext)]),this.configuration.connectionTimeoutMs)]).run(),notify&&this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishUpdating,(()=>{this.actionFinishUpdating()}))}catch(error){this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishUpdating,(()=>{const status=new MeetingSessionStatus_1.default(this.getMeetingStatusCode(error)||MeetingSessionStatusCode_1.default.TaskFailed);status.statusCode()!==MeetingSessionStatusCode_1.default.IncompatibleSDP&&this.logger.info("failed to update audio-video session"),this.handleMeetingSessionStatus(status,error)}))}}))}notifyStop(status,error){var _a;if(this.forEachObserver((observer=>{Types_1.Maybe.of(observer.audioVideoDidStop).map((f=>f.bind(observer)(status)))})),this.promotedToPrimaryMeeting&&error&&this.forEachObserver((observer=>{this.promotedToPrimaryMeeting=!1,Types_1.Maybe.of(observer.audioVideoWasDemotedFromPrimaryMeeting).map((f=>f.bind(observer)(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.SignalingInternalServerError))))})),this.eventController){const{signalingOpenDurationMs,poorConnectionCount,startTimeMs,iceGatheringDurationMs,attendeePresenceDurationMs,meetingStartDurationMs}=this.meetingSessionContext,attributes={maxVideoTileCount:this.meetingSessionContext.maxVideoTileCount,meetingDurationMs:null===startTimeMs?0:Math.round(Date.now()-startTimeMs),meetingStatus:MeetingSessionStatusCode_1.default[status.statusCode()],signalingOpenDurationMs,iceGatheringDurationMs,attendeePresenceDurationMs,poorConnectionCount,meetingStartDurationMs,retryCount:this.totalRetryCount},meetingErrorMessage=error&&error.message||(null===(_a=status.toString)||void 0===_a?void 0:_a.call(status))||"";0===attributes.meetingDurationMs?(attributes.meetingErrorMessage=meetingErrorMessage,delete attributes.meetingDurationMs,delete attributes.attendeePresenceDurationMs,delete attributes.meetingStartDurationMs,this.eventController.publishEvent("meetingStartFailed",attributes)):status.isFailure()||status.isAudioConnectionFailure()?(attributes.meetingErrorMessage=meetingErrorMessage,this.eventController.publishEvent("meetingFailed",attributes)):this.eventController.publishEvent("meetingEnded",attributes)}}actionFinishUpdating(){if(!this.meetingSessionContext.enableSimulcast)if(this.useUpdateTransceiverControllerForUplink)this.meetingSessionContext.videoUplinkBandwidthPolicy.updateTransceiverController();else{const maxBitrateKbps=this.meetingSessionContext.videoCaptureAndEncodeParameter.encodeBitrates()[0];this.enforceBandwidthLimitationForSender(maxBitrateKbps)}this.monitorTask.resumeResubscribeCheck(),this.receiveIndexTask.resumeIngestion(),this.logger.info("updated audio-video session")}reconnect(status,error){const willRetry=this._reconnectController.retryWithBackoff((()=>__awaiter(this,void 0,void 0,(function*(){this.sessionStateController.state()===SessionStateControllerState_1.default.NotConnected?this.sessionStateController.perform(SessionStateControllerAction_1.default.Connect,(()=>{this.actionConnect(!0)})):this.sessionStateController.perform(SessionStateControllerAction_1.default.Reconnect,(()=>{this.actionReconnect(status)})),this.totalRetryCount+=1}))),(()=>{this.logger.info("canceled retry")}));return willRetry||this.sessionStateController.perform(SessionStateControllerAction_1.default.Fail,(()=>{this.actionDisconnect(status,!1,error)})),willRetry}actionReconnect(status){return __awaiter(this,void 0,void 0,(function*(){this._reconnectController.hasStartedConnectionAttempt()||(this._reconnectController.startedConnectionAttempt(!1),this.forEachObserver((observer=>{Types_1.Maybe.of(observer.audioVideoDidStartConnecting).map((f=>f.bind(observer)(!0)))}))),this.meetingSessionContext.volumeIndicatorAdapter.onReconnect(),this.connectionHealthData.reset();try{yield new SerialGroupTask_1.default(this.logger,this.wrapTaskName("AudioVideoReconnect"),[new TimeoutTask_1.default(this.logger,new SerialGroupTask_1.default(this.logger,"Media",[new CleanRestartedSessionTask_1.default(this.meetingSessionContext),new SerialGroupTask_1.default(this.logger,"Signaling",[new OpenSignalingConnectionTask_1.default(this.meetingSessionContext),new JoinAndReceiveIndexTask_1.default(this.meetingSessionContext),new ReceiveTURNCredentialsTask_1.default(this.meetingSessionContext)]),new CreatePeerConnectionTask_1.default(this.meetingSessionContext)]),this.configuration.connectionTimeoutMs),new ReceiveVideoInputTask_1.default(this.meetingSessionContext),new TimeoutTask_1.default(this.logger,new SerialGroupTask_1.default(this.logger,"UpdateSession",[new AttachMediaInputTask_1.default(this.meetingSessionContext),new CreateSDPTask_1.default(this.meetingSessionContext),new SetLocalDescriptionTask_1.default(this.meetingSessionContext),new FinishGatheringICECandidatesTask_1.default(this.meetingSessionContext),new SubscribeAndReceiveSubscribeAckTask_1.default(this.meetingSessionContext),new SetRemoteDescriptionTask_1.default(this.meetingSessionContext)]),this.configuration.connectionTimeoutMs)]).run(),this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishConnecting,(()=>{if(this.eventController){const{signalingOpenDurationMs,poorConnectionCount,startTimeMs,iceGatheringDurationMs,attendeePresenceDurationMs,meetingStartDurationMs}=this.meetingSessionContext,attributes={maxVideoTileCount:this.meetingSessionContext.maxVideoTileCount,meetingDurationMs:Math.round(Date.now()-startTimeMs),meetingStatus:MeetingSessionStatusCode_1.default[status.statusCode()],signalingOpenDurationMs,iceGatheringDurationMs,attendeePresenceDurationMs,poorConnectionCount,meetingStartDurationMs,retryCount:this.totalRetryCount};this.eventController.publishEvent("meetingReconnected",attributes)}this.actionFinishConnecting()}))}catch(error){this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishConnecting,(()=>{this.logger.info("failed to reconnect audio-video session");const status=new MeetingSessionStatus_1.default(this.getMeetingStatusCode(error)||MeetingSessionStatusCode_1.default.TaskFailed);this.handleMeetingSessionStatus(status,error)}))}this.connectionHealthData.setConnectionStartTime()}))}wrapTaskName(taskName){return`${taskName}/${this.configuration.meetingId}/${this.configuration.credentials.attendeeId}`}cleanUpMediaStreamsAfterStop(){this._mediaStreamBroker.removeMediaStreamBrokerObserver(this),this.meetingSessionContext.activeAudioInput=void 0,this.meetingSessionContext.activeVideoInput=void 0}getMeetingStatusCode(error){const matched=/the meeting status code: (\d+)/.exec(error&&error.message);return matched&&matched.length>1?Number.parseInt(matched[1],10):null}enforceBandwidthLimitationForSender(maxBitrateKbps){return __awaiter(this,void 0,void 0,(function*(){yield this.meetingSessionContext.transceiverController.setVideoSendingBitrateKbps(maxBitrateKbps)}))}handleMeetingSessionStatus(status,error){if(this.logger.info(`handling status: ${MeetingSessionStatusCode_1.default[status.statusCode()]}`),status.isTerminal()||this.meetingSessionContext.statsCollector&&this.meetingSessionContext.statsCollector.logMeetingSessionStatus(status),status.statusCode()===MeetingSessionStatusCode_1.default.IncompatibleSDP)return this.restartLocalVideo((()=>{this.logger.info("handled incompatible SDP by attempting to restart video")})),!0;if(status.statusCode()===MeetingSessionStatusCode_1.default.VideoCallSwitchToViewOnly)return this._videoTileController.removeLocalVideoTile(),this.forEachObserver((observer=>{Types_1.Maybe.of(observer.videoSendDidBecomeUnavailable).map((f=>f.bind(observer)()))})),!1;if(status.statusCode()===MeetingSessionStatusCode_1.default.AudioVideoWasRemovedFromPrimaryMeeting)return this.forEachObserver((observer=>{Types_1.Maybe.of(observer.audioVideoWasDemotedFromPrimaryMeeting).map((f=>f.bind(observer)(status)))})),!1;if(status.isTerminal()&&(this.logger.error("session will not be reconnected"),this.meetingSessionContext.reconnectController&&this.meetingSessionContext.reconnectController.disableReconnect()),(status.isFailure()||status.isTerminal())&&this.meetingSessionContext.reconnectController){const willRetry=this.reconnect(status,error);return willRetry?this.logger.warn(`will retry due to status code ${MeetingSessionStatusCode_1.default[status.statusCode()]}${error?` and error: ${error.message}`:""}`):this.logger.error(`failed with status code ${MeetingSessionStatusCode_1.default[status.statusCode()]}${error?` and error: ${error.message}`:""}`),willRetry}return!1}setVideoMaxBandwidthKbps(maxBandwidthKbps){if(maxBandwidthKbps<=0)throw new Error("Max bandwidth kbps has to be greater than 0");this.meetingSessionContext&&this.meetingSessionContext.videoUplinkBandwidthPolicy&&(this.logger.info(`video send has ideal max bandwidth ${maxBandwidthKbps} kbps`),this.meetingSessionContext.videoUplinkBandwidthPolicy.setIdealMaxBandwidthKbps(maxBandwidthKbps)),this.maxUplinkBandwidthKbps=maxBandwidthKbps}handleHasBandwidthPriority(hasBandwidthPriority){return __awaiter(this,void 0,void 0,(function*(){if(this.meetingSessionContext&&this.meetingSessionContext.videoUplinkBandwidthPolicy&&!this.meetingSessionContext.enableSimulcast){if(this.useUpdateTransceiverControllerForUplink)return this.meetingSessionContext.videoUplinkBandwidthPolicy.setHasBandwidthPriority(hasBandwidthPriority),void(yield this.meetingSessionContext.videoUplinkBandwidthPolicy.updateTransceiverController());const oldMaxBandwidth=this.meetingSessionContext.videoUplinkBandwidthPolicy.maxBandwidthKbps();this.meetingSessionContext.videoUplinkBandwidthPolicy.setHasBandwidthPriority(hasBandwidthPriority);const newMaxBandwidth=this.meetingSessionContext.videoUplinkBandwidthPolicy.maxBandwidthKbps();oldMaxBandwidth!==newMaxBandwidth&&(this.logger.info(`video send bandwidth priority ${hasBandwidthPriority} max has changed from ${oldMaxBandwidth} kbps to ${newMaxBandwidth} kbps`),yield this.enforceBandwidthLimitationForSender(newMaxBandwidth))}}))}pauseReceivingStream(streamId){this.meetingSessionContext&&this.meetingSessionContext.signalingClient&&this.meetingSessionContext.signalingClient.pause([streamId])}resumeReceivingStream(streamId){this.meetingSessionContext&&this.meetingSessionContext.signalingClient&&this.meetingSessionContext.signalingClient.resume([streamId])}setVideoCodecSendPreferences(preferences){this.videoSendCodecPreferences=preferences,this.meetingSessionContext.videoSendCodecPreferences=preferences,this.update({needsRenegotiation:!0})}getRemoteVideoSources(){const{videoStreamIndex}=this.meetingSessionContext;if(!videoStreamIndex)return this.logger.info("meeting has not started"),[];const selfAttendeeId=this.configuration.credentials.attendeeId;return videoStreamIndex.allVideoSendingSourcesExcludingSelf(selfAttendeeId)}encodingSimulcastLayersDidChange(simulcastLayers){this.mayNeedRenegotiationForSimulcastLayerChange=!0,this.forEachObserver((observer=>{Types_1.Maybe.of(observer.encodingSimulcastLayersDidChange).map((f=>f.bind(observer)(simulcastLayers)))}))}promoteToPrimaryMeeting(credentials){return this.actionPromoteToPrimaryMeeting(credentials)}actionPromoteToPrimaryMeeting(credentials){return __awaiter(this,void 0,void 0,(function*(){let resultingStatus=new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.SignalingRequestFailed);return yield new SerialGroupTask_1.default(this.logger,this.wrapTaskName("PromoteToPrimaryMeeting"),[new TimeoutTask_1.default(this.logger,new PromoteToPrimaryMeetingTask_1.default(this.meetingSessionContext,credentials,(status=>{resultingStatus=status})),this.configuration.connectionTimeoutMs)]).run(),this.promotedToPrimaryMeeting=resultingStatus.statusCode()===MeetingSessionStatusCode_1.default.OK,resultingStatus}))}demoteFromPrimaryMeeting(){this.meetingSessionContext.signalingClient.demoteFromPrimaryMeeting(),this.forEachObserver((observer=>{Types_1.Maybe.of(observer.audioVideoWasDemotedFromPrimaryMeeting).map((f=>f.bind(observer)(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.OK))))}))}videoInputDidChange(videoStream){return __awaiter(this,void 0,void 0,(function*(){this.logger.info("Receive a video input change event"),this.meetingSessionContext&&this.meetingSessionContext.peer?this._videoTileController.hasStartedLocalVideoTile()&&(videoStream?yield this.replaceLocalVideo(videoStream):this._videoTileController.stopLocalVideoTile()):this.logger.info("Skip updating video input because there is no active meeting and peer connection")}))}audioInputDidChange(audioStream){return __awaiter(this,void 0,void 0,(function*(){if(this.logger.info("Receive an audio input change event"),this.meetingSessionContext&&this.meetingSessionContext.peer){if(!audioStream)try{audioStream=yield this.mediaStreamBroker.acquireAudioInputStream()}catch(error){return void this.logger.error("Could not acquire audio track from mediaStreamBroker")}yield this.replaceLocalAudio(audioStream)}else this.logger.info("Skip updating audio input because there is no active meeting and peer connection")}))}}exports.default=DefaultAudioVideoController,DefaultAudioVideoController.MIN_VOLUME_DECIBELS=-42,DefaultAudioVideoController.MAX_VOLUME_DECIBELS=-14,DefaultAudioVideoController.PING_PONG_INTERVAL_MS=1e4},"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/NoOpAudioVideoController.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const FullJitterBackoff_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js"),DefaultEventController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js"),NoOpDebugLogger_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/NoOpDebugLogger.js"),NoOpMediaStreamBroker_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js"),MeetingSessionConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js"),MeetingSessionCredentials_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js"),MeetingSessionStatus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js"),MeetingSessionStatusCode_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js"),MeetingSessionURLs_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js"),DefaultReconnectController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js"),DefaultWebSocketAdapter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js"),DefaultAudioVideoController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js");class NoOpAudioVideoController extends DefaultAudioVideoController_1.default{constructor(configuration){const emptyConfiguration=new MeetingSessionConfiguration_1.default;emptyConfiguration.meetingId="",emptyConfiguration.externalMeetingId="",emptyConfiguration.credentials=new MeetingSessionCredentials_1.default,emptyConfiguration.credentials.attendeeId="",emptyConfiguration.credentials.joinToken="",emptyConfiguration.urls=new MeetingSessionURLs_1.default,emptyConfiguration.urls.turnControlURL="",emptyConfiguration.urls.audioHostURL="",emptyConfiguration.urls.signalingURL="wss://localhost/";const noOpLogger=new NoOpDebugLogger_1.default;super(configuration||emptyConfiguration,noOpLogger,new DefaultWebSocketAdapter_1.default(new NoOpDebugLogger_1.default),new NoOpMediaStreamBroker_1.default,new DefaultReconnectController_1.default(0,new FullJitterBackoff_1.default(0,0,0)),new DefaultEventController_1.default(configuration||emptyConfiguration,noOpLogger))}setAudioProfile(_audioProfile){}start(){}stop(){}promoteToPrimaryMeeting(_){return Promise.resolve(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.OK))}demoteFromPrimaryMeeting(){}}exports.default=NoOpAudioVideoController},"./node_modules/amazon-chime-sdk-js/build/audiovideofacade/DefaultAudioVideoFacade.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const VideoTransformDevice_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js");exports.default=class DefaultAudioVideoFacade{constructor(audioVideoController,videoTileController,realtimeController,audioMixController,deviceController,contentShareController){this.audioVideoController=audioVideoController,this.videoTileController=videoTileController,this.realtimeController=realtimeController,this.audioMixController=audioMixController,this.deviceController=deviceController,this.contentShareController=contentShareController}addObserver(observer){this.audioVideoController.addObserver(observer),this.trace("addObserver")}removeObserver(observer){this.audioVideoController.removeObserver(observer),this.trace("removeObserver")}setAudioProfile(audioProfile){this.trace("setAudioProfile",audioProfile),this.audioVideoController.setAudioProfile(audioProfile)}start(options){this.audioVideoController.start(options),this.trace("start")}stop(){this.audioVideoController.stop(),this.trace("stop")}getRTCPeerConnectionStats(selector){return this.trace("getRTCPeerConnectionStats",selector?selector.id:null),this.audioVideoController.getRTCPeerConnectionStats(selector)}bindAudioElement(element){const result=this.audioMixController.bindAudioElement(element);return this.trace("bindAudioElement",element.id,result),result}unbindAudioElement(){this.audioMixController.unbindAudioElement(),this.trace("unbindAudioElement")}getCurrentMeetingAudioStream(){return this.trace("getCurrentConferenceStream"),this.audioMixController.getCurrentMeetingAudioStream()}addAudioMixObserver(observer){this.trace("addAudioMixObserver"),this.audioMixController.addAudioMixObserver(observer)}removeAudioMixObserver(observer){this.trace("removeAudioMixObserver"),this.audioMixController.removeAudioMixObserver(observer)}bindVideoElement(tileId,videoElement){this.videoTileController.bindVideoElement(tileId,videoElement),this.trace("bindVideoElement",{tileId,videoElementId:videoElement.id})}unbindVideoElement(tileId,cleanUpVideoElement=!0){this.videoTileController.unbindVideoElement(tileId,cleanUpVideoElement),this.trace("unbindVideoElement",{tileId,cleanUpVideoElement})}startLocalVideoTile(){const result=this.videoTileController.startLocalVideoTile();return this.trace("startLocalVideoTile",null,result),result}stopLocalVideoTile(){this.videoTileController.stopLocalVideoTile(),this.trace("stopLocalVideoTile")}hasStartedLocalVideoTile(){const result=this.videoTileController.hasStartedLocalVideoTile();return this.trace("hasStartedLocalVideoTile",null,result),result}removeLocalVideoTile(){this.videoTileController.removeLocalVideoTile(),this.trace("removeLocalVideoTile")}getLocalVideoTile(){const result=this.videoTileController.getLocalVideoTile();return this.trace("getLocalVideoTile"),result}pauseVideoTile(tileId){this.videoTileController.pauseVideoTile(tileId),this.trace("pauseVideoTile",tileId)}unpauseVideoTile(tileId){this.videoTileController.unpauseVideoTile(tileId),this.trace("unpauseVideoTile",tileId)}getVideoTile(tileId){const result=this.videoTileController.getVideoTile(tileId);return this.trace("getVideoTile",tileId),result}getAllRemoteVideoTiles(){const result=this.videoTileController.getAllRemoteVideoTiles();return this.trace("getAllRemoteVideoTiles"),result}getAllVideoTiles(){const result=this.videoTileController.getAllVideoTiles();return this.trace("getAllVideoTiles"),result}addVideoTile(){const result=this.videoTileController.addVideoTile();return this.trace("addVideoTile",null,result.state()),result}removeVideoTile(tileId){this.videoTileController.removeVideoTile(tileId),this.trace("removeVideoTile",tileId)}removeVideoTilesByAttendeeId(attendeeId){const result=this.videoTileController.removeVideoTilesByAttendeeId(attendeeId);return this.trace("removeVideoTilesByAttendeeId",attendeeId,result),result}removeAllVideoTiles(){this.videoTileController.removeAllVideoTiles(),this.trace("removeAllVideoTiles")}captureVideoTile(tileId){const result=this.videoTileController.captureVideoTile(tileId);return this.trace("captureVideoTile",tileId),result}realtimeSubscribeToAttendeeIdPresence(callback){this.realtimeController.realtimeSubscribeToAttendeeIdPresence(callback),this.trace("realtimeSubscribeToAttendeeIdPresence")}realtimeUnsubscribeToAttendeeIdPresence(callback){this.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(callback),this.trace("realtimeUnsubscribeToAttendeeIdPresence")}realtimeSetCanUnmuteLocalAudio(canUnmute){this.realtimeController.realtimeSetCanUnmuteLocalAudio(canUnmute),this.trace("realtimeSetCanUnmuteLocalAudio",canUnmute)}realtimeSubscribeToSetCanUnmuteLocalAudio(callback){this.realtimeController.realtimeSubscribeToSetCanUnmuteLocalAudio(callback),this.trace("realtimeSubscribeToSetCanUnmuteLocalAudio")}realtimeUnsubscribeToSetCanUnmuteLocalAudio(callback){this.realtimeController.realtimeUnsubscribeToSetCanUnmuteLocalAudio(callback),this.trace("realtimeUnsubscribeToSetCanUnmuteLocalAudio")}realtimeCanUnmuteLocalAudio(){const result=this.realtimeController.realtimeCanUnmuteLocalAudio();return this.trace("realtimeCanUnmuteLocalAudio",null,result),result}realtimeMuteLocalAudio(){this.realtimeController.realtimeMuteLocalAudio(),this.trace("realtimeMuteLocalAudio")}realtimeUnmuteLocalAudio(){const result=this.realtimeController.realtimeUnmuteLocalAudio();return this.trace("realtimeUnmuteLocalAudio"),result}realtimeSubscribeToMuteAndUnmuteLocalAudio(callback){this.realtimeController.realtimeSubscribeToMuteAndUnmuteLocalAudio(callback),this.trace("realtimeSubscribeToMuteAndUnmuteLocalAudio")}realtimeUnsubscribeToMuteAndUnmuteLocalAudio(callback){this.realtimeController.realtimeUnsubscribeToMuteAndUnmuteLocalAudio(callback),this.trace("realtimeUnsubscribeToMuteAndUnmuteLocalAudio")}realtimeIsLocalAudioMuted(){const result=this.realtimeController.realtimeIsLocalAudioMuted();return this.trace("realtimeIsLocalAudioMuted"),result}realtimeSubscribeToVolumeIndicator(attendeeId,callback){this.realtimeController.realtimeSubscribeToVolumeIndicator(attendeeId,callback),this.trace("realtimeSubscribeToVolumeIndicator",attendeeId)}realtimeUnsubscribeFromVolumeIndicator(attendeeId,callback){this.realtimeController.realtimeUnsubscribeFromVolumeIndicator(attendeeId,callback),this.trace("realtimeUnsubscribeFromVolumeIndicator",attendeeId,callback)}realtimeSubscribeToLocalSignalStrengthChange(callback){this.realtimeController.realtimeSubscribeToLocalSignalStrengthChange(callback),this.trace("realtimeSubscribeToLocalSignalStrengthChange")}realtimeUnsubscribeToLocalSignalStrengthChange(callback){this.realtimeController.realtimeUnsubscribeToLocalSignalStrengthChange(callback),this.trace("realtimeUnsubscribeToLocalSignalStrengthChange")}realtimeSendDataMessage(topic,data,lifetimeMs){this.realtimeController.realtimeSendDataMessage(topic,data,lifetimeMs),this.trace("realtimeSendDataMessage")}realtimeSubscribeToReceiveDataMessage(topic,callback){this.realtimeController.realtimeSubscribeToReceiveDataMessage(topic,callback),this.trace("realtimeSubscribeToReceiveDataMessage")}realtimeUnsubscribeFromReceiveDataMessage(topic){this.realtimeController.realtimeUnsubscribeFromReceiveDataMessage(topic),this.trace("realtimeUnsubscribeFromReceiveDataMessage")}realtimeSubscribeToFatalError(callback){this.realtimeController.realtimeSubscribeToFatalError(callback),this.trace("realtimeSubscribeToFatalError")}realtimeUnsubscribeToFatalError(callback){this.realtimeController.realtimeUnsubscribeToFatalError(callback),this.trace("realtimeUnsubscribeToFatalError")}subscribeToActiveSpeakerDetector(policy,callback,scoresCallback,scoresCallbackIntervalMs){this.audioVideoController.activeSpeakerDetector.subscribe(policy,callback,scoresCallback,scoresCallbackIntervalMs),this.trace("subscribeToActiveSpeakerDetector")}unsubscribeFromActiveSpeakerDetector(callback){this.audioVideoController.activeSpeakerDetector.unsubscribe(callback),this.trace("unsubscribeFromActiveSpeakerDetector")}listAudioInputDevices(forceUpdate=!1){return __awaiter(this,void 0,void 0,(function*(){const result=yield this.deviceController.listAudioInputDevices(forceUpdate);return this.trace("listAudioInputDevices",forceUpdate,result),result}))}listVideoInputDevices(forceUpdate=!1){return __awaiter(this,void 0,void 0,(function*(){const result=yield this.deviceController.listVideoInputDevices(forceUpdate);return this.trace("listVideoInputDevices",forceUpdate,result),result}))}listAudioOutputDevices(forceUpdate=!1){return __awaiter(this,void 0,void 0,(function*(){const result=yield this.deviceController.listAudioOutputDevices(forceUpdate);return this.trace("listAudioOutputDevices",forceUpdate,result),result}))}startAudioInput(device){return __awaiter(this,void 0,void 0,(function*(){return this.trace("startAudioInput",device),this.deviceController.startAudioInput(device)}))}stopAudioInput(){return __awaiter(this,void 0,void 0,(function*(){return this.trace("stopAudioInput"),this.deviceController.stopAudioInput()}))}startVideoInput(device){return __awaiter(this,void 0,void 0,(function*(){return VideoTransformDevice_1.isVideoTransformDevice(device)?this.trace("startVideoInput with transform device"):this.trace("startVideoInput",device),this.deviceController.startVideoInput(device)}))}stopVideoInput(){return __awaiter(this,void 0,void 0,(function*(){return this.trace("stopVideoInput"),this.deviceController.stopVideoInput()}))}chooseAudioOutput(deviceId){const result=this.deviceController.chooseAudioOutput(deviceId);return this.trace("chooseAudioOutput",deviceId),result}addDeviceChangeObserver(observer){this.deviceController.addDeviceChangeObserver(observer),this.trace("addDeviceChangeObserver")}removeDeviceChangeObserver(observer){this.deviceController.removeDeviceChangeObserver(observer),this.trace("removeDeviceChangeObserver")}createAnalyserNodeForAudioInput(){const result=this.deviceController.createAnalyserNodeForAudioInput();return this.trace("createAnalyserNodeForAudioInput"),result}startVideoPreviewForVideoInput(element){this.deviceController.startVideoPreviewForVideoInput(element),this.trace("startVideoPreviewForVideoInput",element.id)}stopVideoPreviewForVideoInput(element){this.deviceController.stopVideoPreviewForVideoInput(element),this.trace("stopVideoPreviewForVideoInput",element.id)}setDeviceLabelTrigger(trigger){this.deviceController.setDeviceLabelTrigger(trigger),this.trace("setDeviceLabelTrigger")}mixIntoAudioInput(stream){const result=this.deviceController.mixIntoAudioInput(stream);return this.trace("mixIntoAudioInput",stream.id),result}chooseVideoInputQuality(width,height,frameRate){this.deviceController.chooseVideoInputQuality(width,height,frameRate),this.trace("chooseVideoInputQuality",{width,height,frameRate})}setVideoMaxBandwidthKbps(maxBandwidthKbps){this.audioVideoController.setVideoMaxBandwidthKbps(maxBandwidthKbps),this.trace("setVideoMaxBandwidthKbps",maxBandwidthKbps)}setVideoCodecSendPreferences(preferences){this.audioVideoController.setVideoCodecSendPreferences(preferences),this.trace("setVideoCodecSendPreferences",preferences)}getVideoInputQualitySettings(){const result=this.deviceController.getVideoInputQualitySettings();return this.trace("getVideoInputQualitySettings"),result}setContentAudioProfile(audioProfile){this.trace("setContentAudioProfile",audioProfile),this.contentShareController.setContentAudioProfile(audioProfile)}enableSimulcastForContentShare(enable,encodingParams){this.trace("enableSimulcastForContentShare"),this.contentShareController.enableSimulcastForContentShare(enable,encodingParams)}startContentShare(stream){const result=this.contentShareController.startContentShare(stream);return this.trace("startContentShare"),result}startContentShareFromScreenCapture(sourceId,frameRate){const result=this.contentShareController.startContentShareFromScreenCapture(sourceId,frameRate);return this.trace("startContentShareFromScreenCapture"),result}pauseContentShare(){this.contentShareController.pauseContentShare(),this.trace("pauseContentShare")}unpauseContentShare(){this.contentShareController.unpauseContentShare(),this.trace("unpauseContentShare")}stopContentShare(){this.contentShareController.stopContentShare(),this.trace("stopContentShare")}addContentShareObserver(observer){this.contentShareController.addContentShareObserver(observer),this.trace("addContentShareObserver")}removeContentShareObserver(observer){this.contentShareController.removeContentShareObserver(observer),this.trace("removeContentShareObserver")}setContentShareVideoCodecPreferences(preferences){this.contentShareController.setContentShareVideoCodecPreferences(preferences),this.trace("setContentShareVideoCodecPreferences")}trace(name,input,output){let s=`API/DefaultAudioVideoFacade/${this.audioVideoController.configuration.meetingId}/${this.audioVideoController.configuration.credentials.attendeeId}/${name}`;void 0!==input&&(s+=` ${JSON.stringify(input)}`),void 0!==output&&(s+=` -> ${JSON.stringify(output)}`),this.audioVideoController.logger.info(s)}getRemoteVideoSources(){const result=this.audioVideoController.getRemoteVideoSources();return this.trace("getRemoteVideoSources",null,result),result}get transcriptionController(){return this.realtimeController.transcriptionController}promoteToPrimaryMeeting(credentials){this.audioVideoController.removeObserver(this),this.audioVideoController.addObserver(this);const result=this.audioVideoController.promoteToPrimaryMeeting(credentials);return this.trace("promoteToPrimaryMeeting",null,result),result}demoteFromPrimaryMeeting(){this.trace("demoteFromPrimaryMeeting"),this.audioVideoController.demoteFromPrimaryMeeting()}audioVideoWasDemotedFromPrimaryMeeting(_){this.contentShareController.stopContentShare(),this.audioVideoController.removeObserver(this)}}},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorBuiltIn.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const BackgroundBlurProcessorProvided_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorProvided.js"),BackgroundBlurStrength_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js");class BackgroundBlurProcessorBuiltIn extends BackgroundBlurProcessorProvided_1.default{constructor(spec,options){super(spec,options),this.blurCanvas=document.createElement("canvas"),this.blurCanvasCtx=this.blurCanvas.getContext("2d"),this.blurCanvas.width=this.spec.model.input.width,this.blurCanvas.height=this.spec.model.input.height,this.logger.info("BackgroundBlur processor using builtin blur")}drawImageWithMask(inputCanvas,mask){const blurredImage=this.blurredImage,{canvasCtx,targetCanvas}=this,{width,height}=targetCanvas;if(!mask||!blurredImage)return void canvasCtx.clearRect(0,0,width,height);this.scaledCanvas.getContext("2d").putImageData(mask,0,0),this.blurCanvasCtx.putImageData(this.blurredImage,0,0),canvasCtx.save(),canvasCtx.clearRect(0,0,width,height),canvasCtx.drawImage(this.scaledCanvas,0,0,width,height),canvasCtx.globalCompositeOperation="source-in",canvasCtx.drawImage(inputCanvas,0,0,width,height),canvasCtx.globalCompositeOperation="destination-over",canvasCtx.drawImage(this.blurCanvas,0,0,width,height),canvasCtx.restore()}setBlurStrength(blurStrength){if(super.setBlurStrength(blurStrength),this.worker){this.modelInitialized=!1,this.worker.postMessage({msg:"destroy"});const model=this.spec.model;this.worker.postMessage({msg:"loadModel",payload:{modelUrl:model.path,inputHeight:model.input.height,inputWidth:model.input.width,inputChannels:4,modelRangeMin:model.input.range[0],modelRangeMax:model.input.range[1],blurPixels:this.blurAmount}})}}setBlurPixels(){this.blurAmount=BackgroundBlurStrength_1.BlurStrengthMapper.getBlurAmount(this._blurStrength,{height:540}),this.logger.info(`background blur amount set to ${this.blurAmount}`)}handleInitialize(msg){if(this.logger.info(`received initialize message: ${this.stringify(msg)}`),!msg.payload)return this.logger.error("failed to initialize module"),void this.initWorkerPromise.reject(new Error("failed to initialize the module"));const model=this.spec.model;this.worker.postMessage({msg:"loadModel",payload:{modelUrl:model.path,inputHeight:model.input.height,inputWidth:model.input.width,inputChannels:4,modelRangeMin:model.input.range[0],modelRangeMax:model.input.range[1],blurPixels:this.blurAmount}}),this.initWorkerPromise.resolve({})}handlePredict(msg){this.blurredImage=msg.payload.blurOutput,super.handlePredict(msg)}destroy(){const _super=Object.create(null,{destroy:{get:()=>super.destroy}});var _a;return __awaiter(this,void 0,void 0,(function*(){_super.destroy.call(this),null===(_a=this.blurCanvas)||void 0===_a||_a.remove(),this.blurCanvas=void 0}))}}exports.default=BackgroundBlurProcessorBuiltIn},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorProvided.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const BackgroundFilterProcessor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterProcessor.js"),BackgroundBlurStrength_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js"),BackgroundBlurVideoFrameProcessorDelegate_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessorDelegate.js");class BackgroundBlurProcessorProvided extends BackgroundFilterProcessor_1.default{constructor(spec,options){super("background blur",spec,options,new BackgroundBlurVideoFrameProcessorDelegate_1.default),this.blurAmount=0,this.setBlurStrength(options.blurStrength),this.logger.info("BackgroundBlur processor successfully created"),this.logger.info(`BackgroundBlur spec: ${this.stringify(this.spec)}`),this.logger.info(`BackgroundBlur options: ${this.stringify(options)}`)}validateOptions(options){if(super.validateOptions(options),!options.blurStrength)throw new Error("processor has null options - blurStrength")}initOnFirstExecution(){this.setBlurPixels()}drawImageWithMask(inputCanvas,mask){mask||(mask=new ImageData(this.spec.model.input.width,this.spec.model.input.height));this.scaledCanvas.getContext("2d").putImageData(mask,0,0);const{canvasCtx,targetCanvas}=this,{width,height}=targetCanvas;canvasCtx.save(),canvasCtx.clearRect(0,0,width,height),canvasCtx.drawImage(this.scaledCanvas,0,0,width,height),canvasCtx.globalCompositeOperation="source-in",canvasCtx.drawImage(inputCanvas,0,0,width,height),canvasCtx.globalCompositeOperation="destination-over",canvasCtx.filter=`blur(${this.blurAmount}px)`,canvasCtx.drawImage(inputCanvas,0,0,targetCanvas.width,targetCanvas.height),canvasCtx.restore()}setBlurStrength(blurStrength){this._blurStrength=blurStrength,this.logger.info(`blur strength set to ${this._blurStrength}`),this.setBlurPixels()}setBlurPixels(){this.blurAmount=BackgroundBlurStrength_1.BlurStrengthMapper.getBlurAmount(this._blurStrength,{height:this.sourceHeight}),this.logger.info(`background blur amount set to ${this.blurAmount}`)}addObserver(observer){this.delegate.addObserver(observer)}removeObserver(observer){this.delegate.removeObserver(observer)}static isSupported(){return __awaiter(this,void 0,void 0,(function*(){const canvas=document.createElement("canvas"),supportsBlurFilter=void 0!==canvas.getContext("2d").filter;return canvas.remove(),supportsBlurFilter}))}setEventController(eventController){this.eventController?this.eventController=eventController:(this.eventController=eventController,this.publishBackgroundFilterEvent())}publishBackgroundFilterEvent(){const backgroundFilterEventAttributes={backgroundBlurEnabled:"true",backgroundBlurStrength:this._blurStrength,backgroundReplacementEnabled:"false",backgroundFilterVersion:1};this.eventController.publishEvent("backgroundFilterConfigSelected",backgroundFilterEventAttributes)}}exports.default=BackgroundBlurProcessorProvided},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BlurStrengthMapper=void 0;class BlurStrengthMapper{static getBlurAmount(bstrength,options){if(bstrength<=0)throw new Error(`invalid value for blur strength: ${bstrength}`);return Math.round(bstrength*options.height/this.BLUR_STRENGTH_DIVISOR)}}exports.BlurStrengthMapper=BlurStrengthMapper,BlurStrengthMapper.BLUR_STRENGTH_DIVISOR=540,exports.default={LOW:7,MEDIUM:15,HIGH:30}},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessor.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const BackgroundFilterVideoFrameProcessor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js"),ConsoleLogger_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js"),LogLevel_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js"),NoOpVideoFrameProcessor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js"),BackgroundBlurProcessorBuiltIn_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorBuiltIn.js"),BackgroundBlurProcessorProvided_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorProvided.js"),BackgroundBlurStrength_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js");class NoOpBackgroundBlurProcessor extends NoOpVideoFrameProcessor_1.default{setBlurStrength(){}loadAssets(){return __awaiter(this,void 0,void 0,(function*(){}))}addObserver(){}removeObserver(){}}class BackgroundBlurVideoFrameProcessor extends BackgroundFilterVideoFrameProcessor_1.default{static create(spec,options){return __awaiter(this,void 0,void 0,(function*(){spec=BackgroundBlurVideoFrameProcessor.resolveSpec(spec),options=BackgroundBlurVideoFrameProcessor.resolveOptions(options);const{logger}=options,supported=yield BackgroundBlurVideoFrameProcessor.isSupported(spec,options);if(logger.info(`processor is ${supported?"":"not"} supported`),!supported)return logger.warn("Using no-op processor because background blur is not supported"),new NoOpBackgroundBlurProcessor;let processor;return(yield BackgroundBlurProcessorProvided_1.default.isSupported())?(logger.info("Using browser-provided background blur"),processor=new BackgroundBlurProcessorProvided_1.default(spec,options)):(logger.info("Using built-in background blur"),processor=new BackgroundBlurProcessorBuiltIn_1.default(spec,options)),yield processor.loadAssets(),processor}))}static resolveOptions(options={}){let processorOptions=Object.assign({},options);return processorOptions.blurStrength||(processorOptions.blurStrength=BackgroundBlurStrength_1.default.MEDIUM),processorOptions.logger||(processorOptions.logger=new ConsoleLogger_1.default("BackgroundBlurProcessor",LogLevel_1.default.INFO)),processorOptions=super.resolveOptions(processorOptions),processorOptions}static isSupported(spec,options){return spec=BackgroundBlurVideoFrameProcessor.resolveSpec(spec),options=BackgroundBlurVideoFrameProcessor.resolveOptions(options),super.isSupported(spec,options)}}exports.default=BackgroundBlurVideoFrameProcessor},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessorDelegate.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const BackgroundFilterVideoFrameProcessorDelegate_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate.js");class BackgroundBlurVideoFrameProcessorDelegate extends BackgroundFilterVideoFrameProcessorDelegate_1.default{}exports.default=BackgroundBlurVideoFrameProcessorDelegate},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/ModelSpecBuilder.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class ModelSpecBuilder{constructor(){this.path=null,this.input=null,this.output=null}static builder(){return new ModelSpecBuilder}withDefaultModel(){return this.withSelfieSegmentationDefaults()}withSelfieSegmentationDefaults(){return this.path="https://static.sdkassets.chime.aws/bgblur/models/selfie_segmentation_landscape.tflite",this.input={height:144,width:256,range:[0,1],channels:3},this.output={height:144,width:256,range:[0,1],channels:1},this}withPath(path){return this.path=path,this}withInput(input){return this.input=input,this}withOutput(output){return this.output=output,this}validate(){if(!this.path)throw new Error("model spec path is not set");if(!this.input)throw new Error("model spec input is not set");if(!this.output)throw new Error("model spec output is not set")}build(){return this.validate(),{path:this.path,input:this.input,output:this.output}}}exports.default=ModelSpecBuilder},"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterFrameCounter.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class BackgroundFilterFrameCounter{constructor(delegate,reportingPeriodMillis,filterCPUUtilization,logger){this.delegate=delegate,this.reportingPeriodMillis=reportingPeriodMillis,this.filterCPUUtilization=filterCPUUtilization,this.logger=logger,this._processingFilter=!0,this.lastReportedEventTimestamp=0,this.lastFilterCompleteTimestamp=0,this.filterTotalMillis=0,this.filterCount=0,this.framerate=0,this.filterDurationNotifyMillis=0,this.setSegmentationDuration()}reportEvent(timestamp){const timeDiff=timestamp-this.lastReportedEventTimestamp;if(timeDiff>=this.reportingPeriodMillis){const currentFilterCount=this.filterCount,currentFilterTotalMillis=this.filterTotalMillis;if(this.filterCount=0,this.filterTotalMillis=0,this.lastReportedEventTimestamp=timestamp,0===this.framerate||0===currentFilterCount)return;const avgFilterDurationMillis=Math.round(currentFilterTotalMillis/currentFilterCount),framesDropped=Math.round(this.framerate*(timeDiff/1e3))-currentFilterCount,cpuUtilization=Math.round(100*currentFilterTotalMillis/timeDiff);avgFilterDurationMillis>=this.filterDurationNotifyMillis&&this.delegate.filterFrameDurationHigh({framesDropped,avgFilterDurationMillis,framerate:this.framerate,periodMillis:timeDiff}),cpuUtilization>=this.filterCPUUtilization&&this.delegate.filterCPUUtilizationHigh({cpuUtilization,filterMillis:currentFilterTotalMillis,periodMillis:timeDiff})}}setSegmentationDuration(){this.filterDurationNotifyMillis=Math.round(1e3/this.framerate*.8)}frameReceived(framerate){framerate!==this.framerate&&(this.framerate=framerate,this.logger.info(`frame counter setting frame rate to ${this.framerate}`),this.setSegmentationDuration());const timestamp=Date.now();this.reportEvent(timestamp)}filterSubmitted(){this._processingFilter=!0,this.lastFilterCompleteTimestamp=Date.now()}filterComplete(){this.filterTotalMillis+=Date.now()-this.lastFilterCompleteTimestamp,this._processingFilter=!1,this.filterCount++}get processingSegment(){return this._processingFilter}}},"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterProcessor.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0}),exports.BackgroundFilterMonitor=void 0;const loader_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js"),CanvasVideoFrameBuffer_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js"),BackgroundFilterFrameCounter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterFrameCounter.js");class DeferredObservable{constructor(){this.value=void 0,this.resolve=null}whenNext(){return this.promise||(this.promise=new Promise((resolve=>this.resolve=resolve))),this.promise}next(value){this.value=value,this.resolve(value),delete this.promise}}class BackgroundFilterProcessor{constructor(filterType,spec,options,delegate,eventController){this.targetCanvas=document.createElement("canvas"),this.canvasCtx=this.targetCanvas.getContext("2d"),this.canvasVideoFrameBuffer=new CanvasVideoFrameBuffer_1.default(this.targetCanvas),this.mask$=new DeferredObservable,this.sourceWidth=0,this.sourceHeight=0,this.frameNumber=0,this.videoFramesPerFilterUpdate=1,this.initWorkerPromise=BackgroundFilterProcessor.createWorkerPromise(),this.loadModelPromise=BackgroundFilterProcessor.createWorkerPromise(),this.modelInitialized=!1,this.destroyed=!1,this.filterType=filterType,this.validateSpec(spec),this.validateOptions(options),this.spec=spec,this.logger=options.logger,this.delegate=delegate,this.initCPUMonitor(options),this.eventController=eventController}static createWorkerPromise(){const resolver={resolve:null,reject:null,promise:null};return resolver.promise=new Promise(((resolve,reject)=>{resolver.resolve=resolve,resolver.reject=reject})),resolver}validateSpec(spec){if(!spec)throw new Error("processor has null spec");if(!spec.model)throw new Error("processor spec has null model");if(!spec.paths)throw new Error("processor spec has null paths")}validateOptions(options){if(!options)throw new Error("processor has null options");if(!options.logger)throw new Error("processor has null options - logger");if(!options.reportingPeriodMillis)throw new Error("processor has null options - reportingPeriodMillis");if(!options.filterCPUUtilization)throw new Error("processor has null options - filterCPUUtilization")}initCPUMonitor(options){this.videoFramesPerFilterUpdate=1,this.frameCounter=new BackgroundFilterFrameCounter_1.default(this.delegate,options.reportingPeriodMillis,options.filterCPUUtilization,this.logger),this.cpuMonitor=new BackgroundFilterMonitor(5e3,{reduceCPUUtilization:()=>{this.updateVideoFramesPerFilterUpdate(Math.min(this.videoFramesPerFilterUpdate+1,10))},increaseCPUUtilization:()=>{this.updateVideoFramesPerFilterUpdate(Math.max(this.videoFramesPerFilterUpdate-1,1))}}),this.delegate.addObserver(this.cpuMonitor)}stringify(value){return JSON.stringify(value,null,2)}handleInitialize(msg){if(this.logger.info(`received initialize message: ${this.stringify(msg)}`),!msg.payload)return this.logger.error("failed to initialize module"),void this.initWorkerPromise.reject(new Error("failed to initialize the module"));const model=this.spec.model;this.worker.postMessage({msg:"loadModel",payload:{modelUrl:model.path,inputHeight:model.input.height,inputWidth:model.input.width,inputChannels:4,modelRangeMin:model.input.range[0],modelRangeMax:model.input.range[1],blurPixels:0}}),this.initWorkerPromise.resolve({})}handleLoadModel(msg){if(this.logger.info(`received load model message: ${this.stringify(msg)}`),2!==msg.payload)return this.logger.error("failed to load model! status: "+msg.payload),void this.loadModelPromise.reject(new Error("failed to load model! status: "+msg.payload));this.modelInitialized=!0,this.loadModelPromise.resolve({})}handlePredict(msg){this.mask$.next(msg.payload.output)}handleWorkerEvent(evt){const msg=evt.data;switch(msg.msg){case"initialize":this.handleInitialize(msg);break;case"loadModel":this.handleLoadModel(msg);break;case"predict":this.handlePredict(msg);break;default:this.logger.info(`unexpected event msg: ${this.stringify(msg)}`)}}loadAssets(){return __awaiter(this,void 0,void 0,(function*(){this.logger.info("start initializing the processor");try{this.worker=yield loader_1.loadWorker(this.spec.paths.worker,"BackgroundFilterWorker",{},null),this.worker.addEventListener("message",(ev=>this.handleWorkerEvent(ev))),this.worker.postMessage({msg:"initialize",payload:{wasmPath:this.spec.paths.wasm,simdPath:this.spec.paths.simd}}),yield this.initWorkerPromise.promise,this.logger.info(`successfully initialized the ${this.filterType} worker`),yield this.loadModelPromise.promise,this.logger.info(`successfully loaded ${this.filterType} worker segmentation model`)}catch(error){throw new Error(`could not initialize the ${this.filterType} video frame processor due to '${error.message}'`)}this.logger.info(`successfully initialized the ${this.filterType} processor`)}))}process(buffers){return __awaiter(this,void 0,void 0,(function*(){if(this.destroyed)return buffers;this.frameCounter.frameReceived(buffers[0].framerate),this.cpuMonitor.frameReceived();const inputCanvas=buffers[0].asCanvasElement();if(!inputCanvas)return buffers;if(!this.modelInitialized)return buffers[0]=this.canvasVideoFrameBuffer,buffers;const frameWidth=inputCanvas.width,frameHeight=inputCanvas.height;if(0===frameWidth||0===frameHeight)return buffers;0===this.sourceWidth&&(this.sourceWidth=frameWidth,this.sourceHeight=frameHeight,this.targetCanvas.width=this.sourceWidth,this.targetCanvas.height=this.sourceHeight,this.logger.info(`${this.filterType} source width: ${this.sourceWidth}`),this.logger.info(`${this.filterType} source height: ${this.sourceHeight}`),this.initOnFirstExecution()),this.sourceWidth===frameWidth&&this.sourceHeight===frameHeight||(this.sourceWidth=frameWidth,this.sourceHeight=frameHeight,this.targetCanvas.width=this.sourceWidth,this.targetCanvas.height=this.sourceHeight);try{this.frameCounter.filterSubmitted();let mask=this.mask$.value;const hscale=this.spec.model.input.width/inputCanvas.width,vscale=this.spec.model.input.height/inputCanvas.height;void 0===this.scaledCanvas&&(this.scaledCanvas=document.createElement("canvas"),this.scaledCanvas.width=this.spec.model.input.width,this.scaledCanvas.height=this.spec.model.input.height);const scaledCtx=this.scaledCanvas.getContext("2d");scaledCtx.save(),scaledCtx.scale(hscale,vscale),scaledCtx.drawImage(inputCanvas,0,0),scaledCtx.restore();const imageData=scaledCtx.getImageData(0,0,this.scaledCanvas.width,this.scaledCanvas.height);if(this.frameNumber%this.videoFramesPerFilterUpdate==0){const maskPromise=this.mask$.whenNext();this.worker.postMessage({msg:"predict",payload:imageData},[imageData.data.buffer]),mask=yield maskPromise}this.destroyed||this.drawImageWithMask(inputCanvas,mask)}catch(error){return this.logger.error(`could not process ${this.filterType} frame buffer due to ${error}`),buffers}finally{this.frameCounter.filterComplete(),this.frameNumber++}return buffers[0]=this.canvasVideoFrameBuffer,buffers}))}updateVideoFramesPerFilterUpdate(newRate){newRate!==this.videoFramesPerFilterUpdate&&(this.videoFramesPerFilterUpdate=newRate,this.logger.info(`Adjusting filter rate to compensate for CPU utilization. Filter rate is ${this.videoFramesPerFilterUpdate} video frames per filter.`))}destroy(){var _a,_b,_c,_d;return __awaiter(this,void 0,void 0,(function*(){this.destroyed=!0,this.delegate.removeObserver(this.cpuMonitor),this.canvasVideoFrameBuffer.destroy(),null===(_a=this.worker)||void 0===_a||_a.postMessage({msg:"destroy"}),null===(_b=this.worker)||void 0===_b||_b.postMessage({msg:"stop"}),null===(_c=this.targetCanvas)||void 0===_c||_c.remove(),this.targetCanvas=void 0,null===(_d=this.scaledCanvas)||void 0===_d||_d.remove(),this.scaledCanvas=void 0,this.logger.info(`${this.filterType} frame process destroyed`)}))}}exports.default=BackgroundFilterProcessor;class BackgroundFilterMonitor{constructor(monitoringPeriodMillis,observer){this.monitoringPeriodMillis=monitoringPeriodMillis,this.observer=observer,this.lastCPUChangeTimestamp=0}filterCPUUtilizationHigh(){const timestamp=Date.now();timestamp-this.lastCPUChangeTimestamp>=this.monitoringPeriodMillis&&(this.lastCPUChangeTimestamp=timestamp,this.observer.reduceCPUUtilization())}frameReceived(){const timestamp=Date.now();timestamp-this.lastCPUChangeTimestamp>=2*this.monitoringPeriodMillis&&(this.lastCPUChangeTimestamp=timestamp,this.observer.increaseCPUUtilization())}}exports.BackgroundFilterMonitor=BackgroundFilterMonitor},"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const loader_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js"),support_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js"),ModelSpecBuilder_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/ModelSpecBuilder.js"),DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),Versioning_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js"),CREATE_DEFAULT_MODEL_SPEC=()=>ModelSpecBuilder_1.default.builder().withSelfieSegmentationDefaults().build(),DEFAULT_CDN="https://static.sdkassets.chime.aws",DEFAULT_PATHS={worker:`${DEFAULT_CDN}/bgblur/workers/worker.js`,wasm:`${DEFAULT_CDN}/bgblur/wasm/_cwt-wasm.wasm`,simd:`${DEFAULT_CDN}/bgblur/wasm/_cwt-wasm-simd.wasm`};exports.default=class BackgroundFilterVideoFrameProcessor{static defaultAssetSpec(){const version=Versioning_1.default.sdkVersionSemVer;return{assetGroup:`sdk-${version.major}.${version.minor}`}}static createUrlWithParams(url,queryParams){const u=new URL(url),keys=Object.keys(queryParams);for(const key of keys)void 0!==queryParams[key]&&u.searchParams.set(key,queryParams[key]);return u.toString()}static resolveSpec(spec){const{paths=DEFAULT_PATHS,model=CREATE_DEFAULT_MODEL_SPEC(),assetGroup=this.defaultAssetSpec().assetGroup,revisionID=this.defaultAssetSpec().revisionID}=spec||{},params={assetGroup,revisionID,sdk:encodeURIComponent(Versioning_1.default.sdkVersion),ua:encodeURIComponent(Versioning_1.default.sdkUserAgentLowResolution)};return paths.worker=this.createUrlWithParams(paths.worker,params),paths.wasm=this.createUrlWithParams(paths.wasm,params),paths.simd=this.createUrlWithParams(paths.simd,params),model.path=this.createUrlWithParams(model.path,params),{paths,model,assetGroup,revisionID}}static resolveOptions(options){options.reportingPeriodMillis||(options.reportingPeriodMillis=1e3);return options.filterCPUUtilization?(options.filterCPUUtilization<0||options.filterCPUUtilization>100)&&(options.logger.warn("filterCPUUtilization must be set to a range between 0 and 100 percent. Falling back to default of 30 percent"),options.filterCPUUtilization=30):options.filterCPUUtilization=30,options}static isSupported(spec,options){const{logger}=options;if("undefined"==typeof globalThis)return logger.info("Browser does not have globalThis."),Promise.resolve(!1);return(new DefaultBrowserBehavior_1.default).supportsBackgroundFilter()?support_1.supportsWASM(globalThis,logger)?this.supportsBackgroundFilter(globalThis,spec,logger):(logger.info("Browser does not support WASM."),Promise.resolve(!1)):(logger.info("Browser is not supported."),Promise.resolve(!1))}static supportsBackgroundFilter(scope=globalThis,spec,logger){return __awaiter(this,void 0,void 0,(function*(){if(!support_1.supportsWorker(scope,logger))return logger.info("Browser does not support web workers."),!1;const workerURL=spec.paths.worker;try{const worker=yield loader_1.loadWorker(workerURL,"BackgroundFilterWorker",{},null);try{worker.terminate()}catch(e){logger.info(`Failed to terminate worker. ${e.message}`)}return!0}catch(e){return logger.info(`Failed to fetch and instantiate test worker ${e.message}`),!1}}))}}},"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class BackgroundFilterVideoFrameProcessorDelegate{constructor(){this.observers=new Set}addObserver(observer){this.observers.add(observer)}removeObserver(observer){this.observers.delete(observer)}filterFrameDurationHigh(event){var _a;for(const observer of this.observers)null===(_a=observer.filterFrameDurationHigh)||void 0===_a||_a.call(observer,event)}filterCPUUtilizationHigh(event){var _a;for(const observer of this.observers)null===(_a=observer.filterCPUUtilizationHigh)||void 0===_a||_a.call(observer,event)}}},"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementFilter.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const BackgroundFilterProcessor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterProcessor.js"),BackgroundReplacementVideoFrameProcessorDelegate_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessorDelegate.js");class BackgroundReplacementFilter extends BackgroundFilterProcessor_1.default{constructor(spec,options){super("background replacement",spec,options,new BackgroundReplacementVideoFrameProcessorDelegate_1.default),this.replacementBlob=options.imageBlob,this.logger.info("BackgroundReplacement processor successfully created"),this.logger.info(`BackgroundReplacement spec: ${this.stringify(this.spec)}`),this.logger.info(`BackgroundReplacement options: ${this.stringify(options)}`)}setImageBlob(blob){return __awaiter(this,void 0,void 0,(function*(){this.replacementBlob=blob,this.replacementImage=yield BackgroundReplacementFilter.loadImage(this.createReplacementObjectUrl())}))}initOnFirstExecution(){}drawImageWithMask(inputCanvas,mask){mask||(mask=new ImageData(this.spec.model.input.width,this.spec.model.input.height));this.scaledCanvas.getContext("2d").putImageData(mask,0,0);const{canvasCtx,targetCanvas}=this,{width,height}=targetCanvas;canvasCtx.save(),canvasCtx.clearRect(0,0,width,height),canvasCtx.drawImage(this.scaledCanvas,0,0,width,height),canvasCtx.globalCompositeOperation="source-in",canvasCtx.drawImage(inputCanvas,0,0,width,height),canvasCtx.globalCompositeOperation="destination-over",canvasCtx.drawImage(this.replacementImage,0,0,targetCanvas.width,targetCanvas.height),canvasCtx.restore()}static loadImageExecutor(resolve,reject,imageUrl){const image=new Image;image.crossOrigin="Anonymous",image.addEventListener("load",(()=>{resolve(image)}),!1),image.addEventListener("error",(error=>{reject(new Error(`Could not load replacement image ${image.src}: ${error.message}`))}),!1),image.src=imageUrl}static loadImage(imageUrl){return __awaiter(this,void 0,void 0,(function*(){return new Promise(((resolve,reject)=>this.loadImageExecutor(resolve,reject,imageUrl)))}))}revokeReplacementObjectUrl(){this.replacementObjectUrl&&URL.revokeObjectURL(this.replacementObjectUrl)}createReplacementObjectUrl(){return this.revokeReplacementObjectUrl(),this.replacementObjectUrl=URL.createObjectURL(this.replacementBlob),this.replacementObjectUrl}loadAssets(){const _super=Object.create(null,{loadAssets:{get:()=>super.loadAssets}});return __awaiter(this,void 0,void 0,(function*(){this.replacementImage=yield BackgroundReplacementFilter.loadImage(this.createReplacementObjectUrl()),_super.loadAssets.call(this)}))}addObserver(observer){this.delegate.addObserver(observer)}removeObserver(observer){this.delegate.removeObserver(observer)}destroy(){const _super=Object.create(null,{destroy:{get:()=>super.destroy}});return __awaiter(this,void 0,void 0,(function*(){_super.destroy.call(this),this.revokeReplacementObjectUrl()}))}setEventController(eventController){this.eventController?this.eventController=eventController:(this.eventController=eventController,this.publishBackgroundFilterEvent())}publishBackgroundFilterEvent(){this.eventController.publishEvent("backgroundFilterConfigSelected",{backgroundBlurEnabled:"false",backgroundBlurStrength:"low",backgroundReplacementEnabled:"true",backgroundFilterVersion:1})}}exports.default=BackgroundReplacementFilter},"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessor.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const BackgroundFilterVideoFrameProcessor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js"),ConsoleLogger_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js"),LogLevel_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js"),NoOpVideoFrameProcessor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js"),BackgroundReplacementFilter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementFilter.js");class NoOpBackgroundReplacementProcessor extends NoOpVideoFrameProcessor_1.default{loadAssets(){return __awaiter(this,void 0,void 0,(function*(){}))}addObserver(){}removeObserver(){}setImageBlob(){return __awaiter(this,void 0,void 0,(function*(){}))}}class BackgroundReplacementVideoFrameProcessor extends BackgroundFilterVideoFrameProcessor_1.default{static create(spec,options){return __awaiter(this,void 0,void 0,(function*(){spec=this.resolveSpec(spec),options=this.resolveOptions(options),yield this.resolveOptionsAsync(options);const{logger}=options;if(!(yield BackgroundReplacementVideoFrameProcessor.isSupported(spec,options)))return logger.warn("Using no-op processor because background replacement is not supported"),new NoOpBackgroundReplacementProcessor;logger.info("Using background replacement filter");const processor=new BackgroundReplacementFilter_1.default(spec,options);return yield processor.loadAssets(),processor}))}static resolveOptions(options={}){const processorOptions=Object.assign({},options);return processorOptions.logger||(processorOptions.logger=new ConsoleLogger_1.default("BackgroundReplacementProcessor",LogLevel_1.default.INFO)),super.resolveOptions(processorOptions)}static resolveOptionsAsync(options){return __awaiter(this,void 0,void 0,(function*(){if(!options.imageBlob){const canvas=document.createElement("canvas");canvas.width=100,canvas.height=100;const ctx=canvas.getContext("2d");ctx.fillStyle="blue",ctx.fillRect(0,0,100,100);const blob=yield new Promise((resolve=>{canvas.toBlob(resolve)}));options.imageBlob=blob}}))}static isSupported(spec,options){const _super=Object.create(null,{isSupported:{get:()=>super.isSupported}});return __awaiter(this,void 0,void 0,(function*(){spec=this.resolveSpec(spec),options=this.resolveOptions(options),yield this.resolveOptionsAsync(options);const imageBlob=options.imageBlob,imageUrl=URL.createObjectURL(imageBlob);try{yield BackgroundReplacementFilter_1.default.loadImage(imageUrl)}catch(e){return options.logger.info(`Failed to fetch load replacement image ${e.message}`),!1}finally{URL.revokeObjectURL(imageUrl)}return _super.isSupported.call(this,spec,options)}))}}exports.default=BackgroundReplacementVideoFrameProcessor},"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessorDelegate.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const BackgroundFilterVideoFrameProcessorDelegate_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate.js");class BackgroundReplacementVideoFrameProcessorDelegate extends BackgroundFilterVideoFrameProcessorDelegate_1.default{}exports.default=BackgroundReplacementVideoFrameProcessorDelegate},"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class FullJitterBackoff{constructor(fixedWaitMs,shortBackoffMs,longBackoffMs){this.fixedWaitMs=fixedWaitMs,this.shortBackoffMs=shortBackoffMs,this.longBackoffMs=longBackoffMs,this.currentRetry=0,this.fixedWaitMs<0&&(this.fixedWaitMs=0),this.shortBackoffMs<0&&(this.shortBackoffMs=0),this.longBackoffMs<0&&(this.longBackoffMs=0),this.reset()}reset(){this.currentRetry=0}nextBackoffAmountMs(){const fullJitterMs=Math.random()*Math.min(this.longBackoffMs,this.shortBackoffMs*Math.pow(2,this.currentRetry))+this.fixedWaitMs;return this.currentRetry+=1,fullJitterMs}}},"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoffFactory.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const FullJitterBackoff_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js"),FullJitterLimitedBackoff_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterLimitedBackoff.js");exports.default=class FullJitterBackoffFactory{constructor(fixedWaitMs,shortBackoffMs,longBackoffMs){this.fixedWaitMs=fixedWaitMs,this.shortBackoffMs=shortBackoffMs,this.longBackoffMs=longBackoffMs}create(){return new FullJitterBackoff_1.default(this.fixedWaitMs,this.shortBackoffMs,this.longBackoffMs)}createWithLimit(limit){return new FullJitterLimitedBackoff_1.default(this.fixedWaitMs,this.shortBackoffMs,this.longBackoffMs,limit)}}},"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterLimitedBackoff.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const FullJitterBackoff_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js");class FullJitterLimitedBackoff extends FullJitterBackoff_1.default{constructor(fixedWaitMs,shortBackoffMs,longBackoffMs,limit){super(fixedWaitMs,shortBackoffMs,longBackoffMs),this.limit=limit,this.attempts=0}nextBackoffAmountMs(){if(this.attempts++,this.attempts>this.limit)throw new Error("retry limit exceeded");return super.nextBackoffAmountMs()}}exports.default=FullJitterLimitedBackoff},"./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const detect_browser_1=__webpack_require__("./node_modules/detect-browser/es/index.js"),ua_parser_js_1=__webpack_require__("./node_modules/ua-parser-js/src/ua-parser.js");class DefaultBrowserBehavior{constructor(){this.FALLBACK_BROWSER={type:"browser",name:"unknown",version:"unknown",os:"unknown"},this.browser=detect_browser_1.detect()||this.FALLBACK_BROWSER,this.uaParserResult=navigator&&navigator.userAgent?new ua_parser_js_1.UAParser(navigator.userAgent).getResult():null,this.browserSupport={chrome:78,"edge-chromium":79,electron:7,firefox:75,ios:13,safari:13,opera:66,samsung:12,crios:86,fxios:23,"ios-webview":605,"chromium-webview":92},this.browserName={chrome:"Google Chrome","edge-chromium":"Microsoft Edge",electron:"Electron",firefox:"Mozilla Firefox",ios:"Safari iOS",safari:"Safari",opera:"Opera",samsung:"Samsung Internet",crios:"Chrome iOS",fxios:"Firefox iOS","ios-webview":"WKWebView iOS","chromium-webview":"Chrome WebView"},this.chromeLike=["chrome","edge-chromium","chromium-webview","opera","samsung"],this.webkitBrowsers=["crios","fxios","safari","ios","ios-webview","edge-ios"]}version(){return this.browser.version}majorVersion(){return parseInt(this.version().split(".")[0])}osMajorVersion(){return parseInt(this.uaParserResult.os.version.split(".")[0])}name(){return this.browser.name}hasChromiumWebRTC(){for(const browser of this.chromeLike)if(browser===this.browser.name)return!0;return!1}hasWebKitWebRTC(){for(const browser of this.webkitBrowsers)if(browser===this.browser.name)return!0;return!1}hasFirefoxWebRTC(){return this.isFirefox()}requiresPlaybackLatencyHintForAudioContext(){return-1!==navigator.userAgent.indexOf("Windows")}supportsCanvasCapturedStreamPlayback(){return!this.isIOSSafari()&&!this.isIOSChrome()&&!this.isIOSFirefox()&&!this.isIOSEdge()||this.isIOSSafari()&&this.majorVersion()>=DefaultBrowserBehavior.MIN_IOS_SUPPORT_CANVAS_STREAM_PLAYBACK||this.majorVersion()>=DefaultBrowserBehavior.MIN_IOS_NON_SAFARI_SUPPORT_CANVAS_STREAM_PLAYBACK}supportsBackgroundFilter(){return("safari"!==this.name()||15!==this.majorVersion())&&!!this.supportsCanvasCapturedStreamPlayback()}supportsVideoLayersAllocationRtpHeaderExtension(){return this.hasChromiumWebRTC()}requiresResolutionAlignment(width,height){return this.isAndroid()&&this.isPixel3()?[64*Math.ceil(width/64),64*Math.ceil(height/64)]:[width,height]}requiresCheckForSdpConnectionAttributes(){return!this.isIOSSafari()&&!this.isIOSChrome()&&!this.isIOSFirefox()}requiresIceCandidateGatheringTimeoutWorkaround(){return this.hasChromiumWebRTC()}requiresBundlePolicy(){return"max-bundle"}requiresNoExactMediaStreamConstraints(){return this.isSamsungInternet()}requiresGroupIdMediaStreamConstraints(){return this.isSamsungInternet()}getDisplayMediaAudioCaptureSupport(){return this.isChrome()||this.isEdge()}doesNotSupportMediaDeviceLabels(){return"chromium-webview"===this.browser.name}isSupported(){return!(!this.browserSupport[this.browser.name]||this.majorVersion()x.includes("a=rtpmap:"))).map((x=>x.replace(/.* /,"").replace(/\/.*/,""))).filter(((v,i,a)=>a.indexOf(v)===i)).filter((x=>"rtx"!==x&&"red"!==x&&"ulpfec"!==x))}))}supportsSetSinkId(){return"setSinkId"in HTMLAudioElement.prototype}disableResolutionScaleDown(){return this.isAndroid()}disable480pResolutionScaleDown(){return/( Chrome\/98\.)/i.test(navigator.userAgent)&&this.browser.os.startsWith("Windows")}requiresDisablingH264Encoding(){return(this.isIOSSafari()||this.isIOSChrome()||this.isIOSFirefox())&&("15.1.0"===this.version()||/( OS 15_1)/i.test(navigator.userAgent))}requiresVideoPlayWorkaround(){return this.isSafari()}isVideoFxSupportedBrowser(){return this.supportsBackgroundFilter()}isIOSSafari(){return"ios"===this.browser.name||"ios-webview"===this.browser.name||"safari"===this.browser.name&&/( Mac )/i.test(navigator.userAgent)&&navigator.maxTouchPoints>1}isSafari(){return"safari"===this.browser.name||this.isIOSSafari()}isFirefox(){return"firefox"===this.browser.name}isIOSFirefox(){return"fxios"===this.browser.name}isIOSChrome(){return"crios"===this.browser.name}isChrome(){return"chrome"===this.browser.name}isEdge(){return"edge-chromium"===this.browser.name}isIOSEdge(){return"edge-ios"===this.browser.name}isSamsungInternet(){return"samsung"===this.browser.name}isAndroid(){return/(android)/i.test(navigator.userAgent)}isPixel3(){return/( pixel 3)/i.test(navigator.userAgent)}}exports.default=DefaultBrowserBehavior,DefaultBrowserBehavior.MIN_IOS_SUPPORT_CANVAS_STREAM_PLAYBACK=16,DefaultBrowserBehavior.MIN_IOS_NON_SAFARI_SUPPORT_CANVAS_STREAM_PLAYBACK=106},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),ClientMetricReportDirection_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js"),ClientMetricReportMediaType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js"),GlobalMetricReport_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/GlobalMetricReport.js");class ClientMetricReport{constructor(logger,videoStreamIndex,selfAttendeeId){this.logger=logger,this.videoStreamIndex=videoStreamIndex,this.selfAttendeeId=selfAttendeeId,this.globalMetricReport=new GlobalMetricReport_1.default,this.streamMetricReports={},this.rtcStatsReport={},this.currentTimestampMs=0,this.previousTimestampMs=0,this.currentSsrcs={},this.identityValue=(metricName,ssrc)=>{const metricReport=ssrc?this.streamMetricReports[ssrc]:this.globalMetricReport;return Number(metricReport.currentMetrics[metricName])},this.decoderLossPercent=(metricName,ssrc)=>{const metricReport=this.streamMetricReports[ssrc],concealedSamples=metricReport.currentMetrics.concealedSamples-(metricReport.previousMetrics.concealedSamples||0),totalSamplesReceived=metricReport.currentMetrics.totalSamplesReceived-(metricReport.previousMetrics.totalSamplesReceived||0);if(totalSamplesReceived<=0)return 0;return totalSamplesReceived-concealedSamples<=0?0:concealedSamples/totalSamplesReceived*100},this.packetLossPercent=(sourceMetricName,ssrc)=>{const metricReport=this.streamMetricReports[ssrc],sentOrReceived=metricReport.currentMetrics[sourceMetricName]-(metricReport.previousMetrics[sourceMetricName]||0),lost=metricReport.currentMetrics.packetsLost-(metricReport.previousMetrics.packetsLost||0),total=sentOrReceived+lost;return total<=0||lost<=0?0:100*lost/total},this.jitterBufferMs=(metricName,ssrc)=>{const metricReport=this.streamMetricReports[ssrc],jitterBufferDelay=metricReport.currentMetrics.jitterBufferDelay-(metricReport.previousMetrics.jitterBufferDelay||0),jitterBufferEmittedCount=metricReport.currentMetrics.jitterBufferEmittedCount-(metricReport.previousMetrics.jitterBufferEmittedCount||0);return jitterBufferDelay<=0||jitterBufferEmittedCount<=0?0:jitterBufferDelay/jitterBufferEmittedCount*1e3},this.countPerSecond=(metricName,ssrc)=>{const metricReport=ssrc?this.streamMetricReports[ssrc]:this.globalMetricReport;let intervalSeconds=(this.currentTimestampMs-this.previousTimestampMs)/1e3;if(intervalSeconds<=0)return 0;this.previousTimestampMs<=0&&(intervalSeconds=1);const diff=metricReport.currentMetrics[metricName]-(metricReport.previousMetrics[metricName]||0);return diff<=0?0:Math.trunc(diff/intervalSeconds)},this.bitsPerSecond=(metricName,ssrc)=>{const metricReport=ssrc?this.streamMetricReports[ssrc]:this.globalMetricReport;let intervalSeconds=(this.currentTimestampMs-this.previousTimestampMs)/1e3;if(intervalSeconds<=0)return 0;this.previousTimestampMs<=0&&(intervalSeconds=1);const diff=8*(metricReport.currentMetrics[metricName]-(metricReport.previousMetrics[metricName]||0));return diff<=0?0:Math.trunc(diff/intervalSeconds)},this.secondsToMilliseconds=(metricName,ssrc)=>{const metricReport=ssrc?this.streamMetricReports[ssrc]:this.globalMetricReport;return Number(1e3*metricReport.currentMetrics[metricName])},this.averageTimeSpentPerSecondInMilliseconds=(metricName,ssrc)=>{const metricReport=ssrc?this.streamMetricReports[ssrc]:this.globalMetricReport;let intervalSeconds=(this.currentTimestampMs-this.previousTimestampMs)/1e3;if(intervalSeconds<=0)return 0;this.previousTimestampMs<=0&&(intervalSeconds=1);const diff=metricReport.currentMetrics[metricName]-(metricReport.previousMetrics[metricName]||0);return diff<=0?0:1e3*diff/intervalSeconds},this.isHardwareImplementation=(metricName,ssrc)=>{const metricReport=this.streamMetricReports[ssrc],implName=String(metricReport.currentStringMetrics[metricName]),hasHwName=implName.includes("ExternalDecoder")||implName.includes("ExternalEncoder")||implName.includes("EncodeAccelerator")||implName.includes("DecodeAccelerator"),isFallback=implName.includes("fallback from");return hasHwName&&!isFallback?1:0},this.globalMetricMap={retransmittedBytesSent:{transform:this.identityValue,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RETRANSMIT_BITRATE},totalEncodedBytesTarget:{transform:this.identityValue,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_TARGET_ENCODER_BITRATE},totalPacketSendDelay:{transform:this.identityValue,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_BUCKET_DELAY_MS},packetsDiscardedOnSend:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.SOCKET_DISCARDED_PPS},availableIncomingBitrate:{transform:this.identityValue,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_AVAILABLE_RECEIVE_BANDWIDTH},availableOutgoingBitrate:{transform:this.identityValue,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_AVAILABLE_SEND_BANDWIDTH},currentRoundTripTime:{transform:this.secondsToMilliseconds,type:SignalingProtocol_js_1.SdkMetric.Type.STUN_RTT_MS}},this.audioUpstreamMetricMap={jitter:{transform:this.secondsToMilliseconds,type:SignalingProtocol_js_1.SdkMetric.Type.RTC_MIC_JITTER_MS},packetsSent:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.RTC_MIC_PPS},bytesSent:{transform:this.bitsPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.RTC_MIC_BITRATE},roundTripTime:{transform:this.secondsToMilliseconds,type:SignalingProtocol_js_1.SdkMetric.Type.RTC_MIC_RTT_MS},packetsLost:{transform:this.packetLossPercent,type:SignalingProtocol_js_1.SdkMetric.Type.RTC_MIC_FRACTION_PACKET_LOST_PERCENT,source:"packetsSent"}},this.audioDownstreamMetricMap={concealedSamples:{transform:this.countPerSecond},totalSamplesReceived:{transform:this.countPerSecond},decoderLoss:{transform:this.decoderLossPercent,type:SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_FRACTION_DECODER_LOSS_PERCENT},packetsReceived:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_PPS},packetsLost:{transform:this.packetLossPercent,type:SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_FRACTION_PACKET_LOST_PERCENT,source:"packetsReceived"},jitter:{transform:this.secondsToMilliseconds,type:SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_JITTER_MS},jitterBufferDelay:{transform:this.countPerSecond},jitterBufferEmittedCount:{transform:this.countPerSecond},jitterBufferMs:{transform:this.jitterBufferMs,type:SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_JITTER_BUFFER_MS},bytesReceived:{transform:this.bitsPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_BITRATE}},this.videoUpstreamMetricMap={roundTripTime:{transform:this.secondsToMilliseconds,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_SENT_RTT_MS},nackCount:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_NACKS_RECEIVED},pliCount:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_PLIS_RECEIVED},firCount:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_FIRS_RECEIVED},framesPerSecond:{transform:this.identityValue,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_INPUT_FPS},framesEncoded:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_ENCODE_FPS},packetsSent:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_SENT_PPS},packetsLost:{transform:this.packetLossPercent,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_SENT_FRACTION_PACKET_LOST_PERCENT,source:"packetsSent"},bytesSent:{transform:this.bitsPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_SENT_BITRATE},qpSum:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_SENT_QP_SUM},frameHeight:{transform:this.identityValue,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_ENCODE_HEIGHT},frameWidth:{transform:this.identityValue,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_ENCODE_WIDTH},jitter:{transform:this.secondsToMilliseconds},totalEncodeTime:{transform:this.averageTimeSpentPerSecondInMilliseconds,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_ENCODE_MS},encoderImplementation:{transform:this.isHardwareImplementation,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_ENCODER_IS_HARDWARE}},this.videoDownstreamMetricMap={packetsReceived:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_PPS},packetsLost:{transform:this.packetLossPercent,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_FRACTION_PACKET_LOST_PERCENT,source:"packetsReceived"},framesReceived:{transform:this.identityValue,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_FPS},framesDecoded:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_DECODE_FPS},nackCount:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_NACKS_SENT},firCount:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_FIRS_SENT},pliCount:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_PLIS_SENT},bytesReceived:{transform:this.bitsPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_BITRATE},jitter:{transform:this.secondsToMilliseconds,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_JITTER_MS},jitterBufferDelay:{transform:this.countPerSecond},jitterBufferEmittedCount:{transform:this.countPerSecond},jitterBufferMs:{transform:this.jitterBufferMs,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_JITTER_BUFFER_MS},qpSum:{transform:this.countPerSecond,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_QP_SUM},frameHeight:{transform:this.identityValue,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_DECODE_HEIGHT},frameWidth:{transform:this.identityValue,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_DECODE_WIDTH},totalDecodeTime:{transform:this.averageTimeSpentPerSecondInMilliseconds,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_DECODE_MS},decoderImplementation:{transform:this.isHardwareImplementation,type:SignalingProtocol_js_1.SdkMetric.Type.VIDEO_DECODER_IS_HARDWARE}},this.streamDimensionMap={encoderImplementation:SignalingProtocol_js_1.SdkStreamDimension.Type.VIDEO_ENCODER_NAME,decoderImplementation:SignalingProtocol_js_1.SdkStreamDimension.Type.VIDEO_DECODER_NAME},this.observableVideoMetricSpec={videoUpstreamBitrate:{source:"bytesSent",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.UPSTREAM},videoUpstreamPacketsSent:{source:"packetsSent",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.UPSTREAM},videoUpstreamPacketLossPercent:{source:"packetsLost",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.UPSTREAM},videoUpstreamFramesEncodedPerSecond:{source:"framesEncoded",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.UPSTREAM},videoUpstreamFrameHeight:{source:"frameHeight",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.UPSTREAM},videoUpstreamFrameWidth:{source:"frameWidth",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.UPSTREAM},videoUpstreamJitterMs:{source:"jitter",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.UPSTREAM},videoUpstreamRoundTripTimeMs:{source:"roundTripTime",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.UPSTREAM},videoDownstreamBitrate:{source:"bytesReceived",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},videoDownstreamPacketLossPercent:{source:"packetsLost",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},videoDownstreamPacketsReceived:{source:"packetsReceived",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},videoDownstreamFramesDecodedPerSecond:{source:"framesDecoded",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},videoDownstreamFrameHeight:{source:"frameHeight",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},videoDownstreamFrameWidth:{source:"frameWidth",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},videoDownstreamJitterMs:{source:"jitter",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},videoDownstreamDelayMs:{source:"jitterBufferMs",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM}},this.observableMetricSpec={audioPacketsReceived:{source:"packetsReceived",media:ClientMetricReportMediaType_1.default.AUDIO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},audioPacketsReceivedFractionLoss:{source:"packetsLost",media:ClientMetricReportMediaType_1.default.AUDIO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},audioDecoderLoss:{source:"decoderLoss",media:ClientMetricReportMediaType_1.default.AUDIO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},audioPacketsSent:{source:"packetsSent",media:ClientMetricReportMediaType_1.default.AUDIO,dir:ClientMetricReportDirection_1.default.UPSTREAM},audioPacketLossPercent:{source:"packetsLost",media:ClientMetricReportMediaType_1.default.AUDIO,dir:ClientMetricReportDirection_1.default.UPSTREAM},audioUpstreamRoundTripTimeMs:{source:"roundTripTime",media:ClientMetricReportMediaType_1.default.AUDIO,dir:ClientMetricReportDirection_1.default.UPSTREAM},videoUpstreamBitrate:{source:"bytesSent",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.UPSTREAM},videoPacketSentPerSecond:{source:"packetsSent",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.UPSTREAM},audioSpeakerDelayMs:{source:"jitterBufferMs",media:ClientMetricReportMediaType_1.default.AUDIO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},audioUpstreamJitterMs:{source:"jitter",media:ClientMetricReportMediaType_1.default.AUDIO,dir:ClientMetricReportDirection_1.default.UPSTREAM},audioDownstreamJitterMs:{source:"jitter",media:ClientMetricReportMediaType_1.default.AUDIO,dir:ClientMetricReportDirection_1.default.DOWNSTREAM},nackCountReceivedPerSecond:{source:"nackCount",media:ClientMetricReportMediaType_1.default.VIDEO,dir:ClientMetricReportDirection_1.default.UPSTREAM},availableOutgoingBitrate:{source:"availableOutgoingBitrate"},availableIncomingBitrate:{source:"availableIncomingBitrate"},currentRoundTripTimeMs:{source:"currentRoundTripTime"}}}getMetricMap(mediaType,direction){switch(mediaType){case ClientMetricReportMediaType_1.default.AUDIO:switch(direction){case ClientMetricReportDirection_1.default.UPSTREAM:return this.audioUpstreamMetricMap;case ClientMetricReportDirection_1.default.DOWNSTREAM:return this.audioDownstreamMetricMap}case ClientMetricReportMediaType_1.default.VIDEO:switch(direction){case ClientMetricReportDirection_1.default.UPSTREAM:return this.videoUpstreamMetricMap;case ClientMetricReportDirection_1.default.DOWNSTREAM:return this.videoDownstreamMetricMap}default:return this.globalMetricMap}}getStreamDimensionMap(){return this.streamDimensionMap}getObservableMetricValue(metricName){const observableMetricSpec=this.observableMetricSpec[metricName],metricSpec=this.getMetricMap(observableMetricSpec.media,observableMetricSpec.dir)[observableMetricSpec.source],{transform,source}=metricSpec;if(!observableMetricSpec.hasOwnProperty("media"))return transform(source||observableMetricSpec.source);for(const ssrc in this.streamMetricReports){const streamMetricReport=this.streamMetricReports[ssrc];if(streamMetricReport.direction===observableMetricSpec.dir&&streamMetricReport.mediaType===observableMetricSpec.media)return transform(source||observableMetricSpec.source,Number(ssrc))}return 0}getObservableVideoMetricValue(metricName,ssrcNum){const observableVideoMetricSpec=this.observableVideoMetricSpec[metricName],metricSpec=this.getMetricMap(observableVideoMetricSpec.media,observableVideoMetricSpec.dir)[observableVideoMetricSpec.source],{transform,source}=metricSpec;return transform(source||observableVideoMetricSpec.source,ssrcNum)}getObservableMetrics(){const metric={};for(const metricName in this.observableMetricSpec)metric[metricName]=this.getObservableMetricValue(metricName);return metric}getObservableVideoMetrics(){const videoStreamMetrics={};if(!this.videoStreamIndex||!this.selfAttendeeId)return this.logger.error("Need to define VideoStreamIndex and selfAttendeeId if using getObservableVideoMetrics API"),videoStreamMetrics;for(const ssrc in this.streamMetricReports)if(this.streamMetricReports[ssrc].mediaType===ClientMetricReportMediaType_1.default.VIDEO){const metric={};for(const metricName in this.observableVideoMetricSpec)if(this.observableVideoMetricSpec[metricName].dir===this.streamMetricReports[ssrc].direction){const metricValue=this.getObservableVideoMetricValue(metricName,Number(ssrc));isNaN(metricValue)||(metric[metricName]=metricValue)}const streamId=this.streamMetricReports[ssrc].streamId,attendeeId=streamId?this.videoStreamIndex.attendeeIdForStreamId(streamId):this.selfAttendeeId;videoStreamMetrics[attendeeId]=videoStreamMetrics[attendeeId]?videoStreamMetrics[attendeeId]:{},videoStreamMetrics[attendeeId][ssrc]=metric}return videoStreamMetrics}getRTCStatsReport(){return this.rtcStatsReport}clone(){const cloned=new ClientMetricReport(this.logger,this.videoStreamIndex,this.selfAttendeeId);return cloned.globalMetricReport=this.globalMetricReport,cloned.streamMetricReports=this.streamMetricReports,cloned.rtcStatsReport=this.rtcStatsReport,cloned.currentTimestampMs=this.currentTimestampMs,cloned.previousTimestampMs=this.previousTimestampMs,cloned}print(){const clientMetricReport={globalMetricReport:this.globalMetricReport,streamMetricReports:this.streamMetricReports,currentTimestampMs:this.currentTimestampMs,previousTimestampMs:this.previousTimestampMs};this.logger.debug((()=>`Client Metric Report: ${JSON.stringify(clientMetricReport)}`))}removeDestroyedSsrcs(){for(const ssrc in this.streamMetricReports)this.currentSsrcs[ssrc]||delete this.streamMetricReports[ssrc]}}exports.default=ClientMetricReport},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js":(__unused_webpack_module,exports)=>{"use strict";var ClientMetricReportDirection;Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClientMetricReportDirection=void 0,function(ClientMetricReportDirection){ClientMetricReportDirection[ClientMetricReportDirection.UPSTREAM=0]="UPSTREAM",ClientMetricReportDirection[ClientMetricReportDirection.DOWNSTREAM=1]="DOWNSTREAM"}(ClientMetricReportDirection=exports.ClientMetricReportDirection||(exports.ClientMetricReportDirection={})),exports.default=ClientMetricReportDirection},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js":(__unused_webpack_module,exports)=>{"use strict";var ClientMetricReportMediaType;Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClientMetricReportMediaType=void 0,function(ClientMetricReportMediaType){ClientMetricReportMediaType[ClientMetricReportMediaType.AUDIO=0]="AUDIO",ClientMetricReportMediaType[ClientMetricReportMediaType.VIDEO=1]="VIDEO"}(ClientMetricReportMediaType=exports.ClientMetricReportMediaType||(exports.ClientMetricReportMediaType={})),exports.default=ClientMetricReportMediaType},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class ClientVideoStreamReceivingReport{}},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/GlobalMetricReport.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class GlobalMetricReport{constructor(){this.previousMetrics={},this.currentMetrics={},this.currentStringMetrics={}}}},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class StreamMetricReport{constructor(){this.previousMetrics={},this.currentMetrics={},this.currentStringMetrics={}}}},"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class BaseConnectionHealthPolicy{constructor(configuration,data,name){this.minHealth=configuration.minHealth,this.maxHealth=configuration.maxHealth,this.currentHealth=configuration.initialHealth,this.currentData=data.clone(),this.name=name}minimumHealth(){return this.minHealth}maximumHealth(){return this.maxHealth}health(){return this.maximumHealth()}update(connectionHealthData){this.currentData=connectionHealthData}getConnectionHealthData(){return this.currentData.clone()}healthy(){return this.health()>this.minimumHealth()}healthIfChanged(){const newHealth=this.health();return newHealth!==this.currentHealth?(this.currentHealth=newHealth,newHealth):null}}},"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthData.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class ConnectionHealthData{constructor(){this.connectionStartTimestampMs=0,this.consecutiveStatsWithNoPackets=0,this.consecutiveStatsWithNoAudioPacketsSent=0,this.lastPacketLossInboundTimestampMs=0,this.lastGoodSignalTimestampMs=0,this.lastWeakSignalTimestampMs=0,this.lastNoSignalTimestampMs=0,this.consecutiveMissedPongs=0,this.packetsReceivedInLastMinute=[],this.fractionPacketsLostInboundInLastMinute=[],this.audioSpeakerDelayMs=0,this.connectionStartTimestampMs=Date.now(),this.lastGoodSignalTimestampMs=Date.now()}static isTimestampRecent(timestampMs,recentDurationMs){return Date.now(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class ConnectionHealthPolicyConfiguration{constructor(){this.minHealth=0,this.maxHealth=1,this.initialHealth=1,this.connectionUnhealthyThreshold=25,this.noSignalThresholdTimeMs=1e4,this.connectionWaitTimeMs=1e4,this.zeroBarsNoSignalTimeMs=5e3,this.oneBarWeakSignalTimeMs=5e3,this.twoBarsTimeMs=5e3,this.threeBarsTimeMs=1e4,this.fourBarsTimeMs=2e4,this.fiveBarsTimeMs=6e4,this.cooldownTimeMs=6e4,this.pastSamplesToConsider=15,this.goodSignalTimeMs=15e3,this.fractionalLoss=.5,this.packetsExpected=50,this.maximumTimesToWarn=2,this.missedPongsLowerThreshold=1,this.missedPongsUpperThreshold=4,this.maximumAudioDelayMs=6e4,this.maximumAudioDelayDataPoints=10,this.sendingAudioFailureSamplesToConsider=2,this.sendingAudioFailureInitialWaitTimeMs=3e3}}},"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const BaseConnectionHealthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js");class ReconnectionHealthPolicy extends BaseConnectionHealthPolicy_1.default{constructor(logger,configuration,data){super(configuration,data,"Reconnection Health"),this.logger=logger,this.audioDelayPointsOverMaximum=0,ReconnectionHealthPolicy.CONNECTION_UNHEALTHY_THRESHOLD=configuration.connectionUnhealthyThreshold,ReconnectionHealthPolicy.CONNECTION_WAIT_TIME_MS=configuration.connectionWaitTimeMs,ReconnectionHealthPolicy.MISSED_PONGS_THRESHOLD=configuration.missedPongsUpperThreshold,ReconnectionHealthPolicy.MAXIMUM_AUDIO_DELAY_MS=configuration.maximumAudioDelayMs,ReconnectionHealthPolicy.MAXIMUM_AUDIO_DELAY_DATA_POINTS=configuration.maximumAudioDelayDataPoints}health(){if(this.currentData.isConnectionStartRecent(ReconnectionHealthPolicy.CONNECTION_WAIT_TIME_MS))return 1;const noPacketsReceivedRecently=this.currentData.consecutiveStatsWithNoPackets>=ReconnectionHealthPolicy.CONNECTION_UNHEALTHY_THRESHOLD,missedPongsRecently=this.currentData.consecutiveMissedPongs>=ReconnectionHealthPolicy.MISSED_PONGS_THRESHOLD;this.currentData.audioSpeakerDelayMs>ReconnectionHealthPolicy.MAXIMUM_AUDIO_DELAY_MS?this.audioDelayPointsOverMaximum+=1:this.audioDelayPointsOverMaximum=0;const hasBadAudioDelay=this.audioDelayPointsOverMaximum>ReconnectionHealthPolicy.MAXIMUM_AUDIO_DELAY_DATA_POINTS;hasBadAudioDelay&&(this.audioDelayPointsOverMaximum=0);return noPacketsReceivedRecently||missedPongsRecently||hasBadAudioDelay?(this.logger.warn(`reconnection recommended due to: no packets received: ${noPacketsReceivedRecently}, missed pongs: ${missedPongsRecently}, bad audio delay: ${hasBadAudioDelay}`),0):1}}exports.default=ReconnectionHealthPolicy},"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const BaseConnectionHealthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js");class SendingAudioFailureConnectionHealthPolicy extends BaseConnectionHealthPolicy_1.default{constructor(logger,configuration,data){super(configuration,data,"Sending Audio Health"),this.logger=logger,this.sendingAudioFailureSamplesToConsider=configuration.sendingAudioFailureSamplesToConsider>0?configuration.sendingAudioFailureSamplesToConsider:1,this.sendingAudioFailureInitialWaitTimeMs=configuration.sendingAudioFailureInitialWaitTimeMs,this.maximumTimesToWarn=configuration.maximumTimesToWarn,this.coolDownTimeMs=configuration.cooldownTimeMs,this.lastWarnTimestampMs=0,this.warnCount=0}isSendingAudioUnhealthy(){const hasEnoughTimeElapsedToEvaluateStatus=!this.currentData.isConnectionStartRecent(this.sendingAudioFailureInitialWaitTimeMs),areAudioPacketsNotBeingSent=this.currentData.consecutiveStatsWithNoAudioPacketsSent>=this.sendingAudioFailureSamplesToConsider;return hasEnoughTimeElapsedToEvaluateStatus&&areAudioPacketsNotBeingSent}health(){if(this.isSendingAudioUnhealthy()){const didWarnRecently=Date.now()-this.lastWarnTimestampMsthis.minimumHealth()&&!didWarnRecently?(this.logger.warn(`Sending Audio is unhealthy for ${this.sendingAudioFailureSamplesToConsider} seconds consecutively.`),this.warnCount++,this.warnCount>this.maximumTimesToWarn?(this.logger.warn("SendingAudioFailure health policy maximum warnings breached. Falling back to reporting healthy."),this.maximumHealth()):(this.lastWarnTimestampMs=Date.now(),this.minimumHealth())):this.currentHealth}return this.maximumHealth()}}exports.default=SendingAudioFailureConnectionHealthPolicy},"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const BaseConnectionHealthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js");class UnusableAudioWarningConnectionHealthPolicy extends BaseConnectionHealthPolicy_1.default{constructor(configuration,data){super(configuration,data,"Unusable Audio Warning"),this.coolDownTimeMs=configuration.cooldownTimeMs,this.pastSamplesToConsider=configuration.pastSamplesToConsider,this.fractionalLoss=configuration.fractionalLoss,this.packetsExpected=configuration.packetsExpected,this.maximumTimesToWarn=configuration.maximumTimesToWarn,this.lastWarnTimestampMs=0,this.warnCount=0}calculateFractionalLoss(){if(this.currentData.packetsReceivedInLastMinute.length=this.fractionalLoss?0!==this.currentHealth&&(this.lastWarnTimestampMs=Date.now(),this.warnCount++,this.warnCount>this.maximumTimesToWarn)?1:0:1}}exports.default=UnusableAudioWarningConnectionHealthPolicy},"./node_modules/amazon-chime-sdk-js/build/connectionmonitor/SignalingAndMetricsConnectionMonitor.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const Types_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Types.js");exports.default=class SignalingAndMetricsConnectionMonitor{constructor(audioVideoController,realtimeController,connectionHealthData,pingPong,statsCollector){this.audioVideoController=audioVideoController,this.realtimeController=realtimeController,this.connectionHealthData=connectionHealthData,this.pingPong=pingPong,this.statsCollector=statsCollector,this.isActive=!1,this.hasSeenValidPacketMetricsBefore=!1,this.realtimeController.realtimeSubscribeToLocalSignalStrengthChange((signalStrength=>{this.isActive&&this.receiveSignalStrengthChange(signalStrength)}))}start(){this.isActive=!0,this.pingPong.addObserver(this),this.pingPong.start(),this.audioVideoController.addObserver(this)}stop(){this.isActive=!1,this.pingPong.removeObserver(this),this.pingPong.stop(),this.audioVideoController.removeObserver(this)}receiveSignalStrengthChange(signalStrength){0===signalStrength?this.connectionHealthData.setLastNoSignalTimestampMs(Date.now()):signalStrength<=.5?this.connectionHealthData.setLastWeakSignalTimestampMs(Date.now()):this.connectionHealthData.setLastGoodSignalTimestampMs(Date.now()),this.updateConnectionHealth()}didReceivePong(_id,latencyMs,clockSkewMs){this.connectionHealthData.setConsecutiveMissedPongs(0),this.statsCollector.logLatency("ping_pong",latencyMs),this.statsCollector.logLatency("ping_pong_clock_skew",clockSkewMs),this.updateConnectionHealth()}didMissPongs(){this.connectionHealthData.setConsecutiveMissedPongs(this.connectionHealthData.consecutiveMissedPongs+1),this.updateConnectionHealth()}metricsDidReceive(clientMetricReport){let packetsReceived=0,fractionPacketsLostInbound=0;const metricReport=clientMetricReport.getObservableMetrics(),potentialPacketsReceived=metricReport.audioPacketsReceived,potentialFractionPacketsLostInbound=metricReport.audioPacketsReceivedFractionLoss,audioSpeakerDelayMs=metricReport.audioSpeakerDelayMs;"number"!=typeof audioSpeakerDelayMs||isNaN(audioSpeakerDelayMs)||this.connectionHealthData.setAudioSpeakerDelayMs(audioSpeakerDelayMs),"number"==typeof potentialPacketsReceived&&"number"==typeof potentialFractionPacketsLostInbound&&(packetsReceived=potentialPacketsReceived,fractionPacketsLostInbound=potentialFractionPacketsLostInbound,packetsReceived<0||fractionPacketsLostInbound<0||(this.addToMinuteWindow(this.connectionHealthData.packetsReceivedInLastMinute,packetsReceived),this.addToMinuteWindow(this.connectionHealthData.fractionPacketsLostInboundInLastMinute,fractionPacketsLostInbound),packetsReceived>0?(this.hasSeenValidPacketMetricsBefore=!0,this.connectionHealthData.setConsecutiveStatsWithNoPackets(0)):this.hasSeenValidPacketMetricsBefore&&this.connectionHealthData.setConsecutiveStatsWithNoPackets(this.connectionHealthData.consecutiveStatsWithNoPackets+1),(0===packetsReceived||fractionPacketsLostInbound>0)&&this.connectionHealthData.setLastPacketLossInboundTimestampMs(Date.now()),"number"==typeof metricReport.audioPacketsSent&&this.updateAudioPacketsSentInConnectionHealth(metricReport.audioPacketsSent),this.updateConnectionHealth()))}updateAudioPacketsSentInConnectionHealth(audioPacketsSent){audioPacketsSent>0?this.connectionHealthData.setConsecutiveStatsWithNoAudioPacketsSent(0):this.connectionHealthData.setConsecutiveStatsWithNoAudioPacketsSent(this.connectionHealthData.consecutiveStatsWithNoAudioPacketsSent+1)}addToMinuteWindow(array,value){array.unshift(value),array.length>60&&array.pop()}updateConnectionHealth(){this.audioVideoController.forEachObserver((observer=>{Types_1.Maybe.of(observer.connectionHealthDidChange).map((f=>f.bind(observer)(this.connectionHealthData.clone())))}))}}},"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js":(__unused_webpack_module,exports)=>{"use strict";var ContentShareConstants;Object.defineProperty(exports,"__esModule",{value:!0}),function(ContentShareConstants){ContentShareConstants.Modality="#content"}(ContentShareConstants||(ContentShareConstants={})),exports.default=ContentShareConstants},"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareMediaStreamBroker.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),DefaultDeviceController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js");class ContentShareMediaStreamBroker{constructor(logger){this.logger=logger}get mediaStream(){return this._mediaStream}set mediaStream(mediaStream){this._mediaStream=mediaStream}acquireAudioInputStream(){return __awaiter(this,void 0,void 0,(function*(){return 0===this._mediaStream.getAudioTracks().length?(this.logger.info("No audio stream available. Synthesizing an audio stream."),DefaultDeviceController_1.default.synthesizeAudioDevice(0)):this._mediaStream}))}acquireVideoInputStream(){return __awaiter(this,void 0,void 0,(function*(){return this._mediaStream}))}acquireDisplayInputStream(streamConstraints){return __awaiter(this,void 0,void 0,(function*(){return streamConstraints&&streamConstraints.video&&streamConstraints.video.mandatory&&streamConstraints.video.mandatory.chromeMediaSource&&streamConstraints.video.mandatory.chromeMediaSourceId?navigator.mediaDevices.getUserMedia(streamConstraints):navigator.mediaDevices.getDisplayMedia(streamConstraints)}))}acquireScreenCaptureDisplayInputStream(sourceId,frameRate){return __awaiter(this,void 0,void 0,(function*(){return this.acquireDisplayInputStream(this.screenCaptureDisplayMediaConstraints(sourceId,frameRate))}))}screenCaptureDisplayMediaConstraints(sourceId,frameRate){return{audio:!(sourceId||!(new DefaultBrowserBehavior_1.default).getDisplayMediaAudioCaptureSupport()),video:Object.assign(Object.assign({},!sourceId&&{frameRate:{max:frameRate||ContentShareMediaStreamBroker.defaultFrameRate}}),sourceId&&{mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:sourceId,maxFrameRate:frameRate||ContentShareMediaStreamBroker.defaultFrameRate}})}}toggleMediaStream(enable){let changed=!1;if(this.mediaStream)for(let i=0;i{this.stopContentShare()}));this.contentAudioVideo.start()}}))}startContentShareFromScreenCapture(sourceId,frameRate){return __awaiter(this,void 0,void 0,(function*(){const mediaStream=yield this.mediaStreamBroker.acquireScreenCaptureDisplayInputStream(sourceId,frameRate);return yield this.startContentShare(mediaStream),mediaStream}))}pauseContentShare(){this.mediaStreamBroker.toggleMediaStream(!1)&&this.forEachContentShareObserver((observer=>{Types_1.Maybe.of(observer.contentShareDidPause).map((f=>f.call(observer)))}))}unpauseContentShare(){this.mediaStreamBroker.toggleMediaStream(!0)&&this.forEachContentShareObserver((observer=>{Types_1.Maybe.of(observer.contentShareDidUnpause).map((f=>f.call(observer)))}))}setContentShareVideoCodecPreferences(preferences){this.contentAudioVideo.setVideoCodecSendPreferences(preferences)}destroy(){return __awaiter(this,void 0,void 0,(function*(){this.contentAudioVideo&&(this.destroyed=!0,this.contentAudioVideo.removeObserver(this),this.stopContentShare(),this.observerQueue.clear(),this.contentAudioVideo=void 0,this.attendeeAudioVideo=void 0,this.mediaStreamBroker=void 0)}))}stopContentShare(){this.contentAudioVideo.stop(),this.mediaStreamBroker.cleanup()}addContentShareObserver(observer){this.observerQueue.add(observer)}removeContentShareObserver(observer){this.observerQueue.delete(observer)}forEachContentShareObserver(observerFunc){for(const observer of this.observerQueue)AsyncScheduler_1.default.nextTick((()=>{this.observerQueue.has(observer)&&observerFunc(observer)}))}audioVideoDidStart(){this.mediaStreamBroker.mediaStream.getVideoTracks().length>0&&this.contentAudioVideo.videoTileController.startLocalVideoTile()}audioVideoDidStop(_sessionStatus){this.mediaStreamBroker.cleanup(),this.contentShareTile&&(this.attendeeAudioVideo.videoTileController.removeVideoTile(this.contentShareTile.id()),this.contentShareTile=null),this.forEachContentShareObserver((observer=>{Types_1.Maybe.of(observer.contentShareDidStop).map((f=>f.call(observer)))}))}setupContentShareEvents(){this.attendeeAudioVideo.realtimeController.realtimeSubscribeToAttendeeIdPresence(((attendeeId,present,_externalUserId,_dropped)=>{const isContentAttendee=new DefaultModality_1.default(attendeeId).hasModality(DefaultModality_1.default.MODALITY_CONTENT),isSelfAttendee=new DefaultModality_1.default(attendeeId).base()===this.attendeeAudioVideo.configuration.credentials.attendeeId;if(!isContentAttendee||!isSelfAttendee||!present||this.contentShareTile)return;const stream=this.mediaStreamBroker.mediaStream;if(null==stream?void 0:stream.getVideoTracks().length){this.contentShareTile=this.attendeeAudioVideo.videoTileController.addVideoTile();const track=stream.getVideoTracks()[0];let width,height;if(track.getSettings){const cap=track.getSettings();width=cap.width,height=cap.height}else{const cap=track.getCapabilities();width=cap.width,height=cap.height}this.contentShareTile.bindVideoStream(this.contentAudioVideo.configuration.credentials.attendeeId,!1,stream,width,height,null,this.contentAudioVideo.configuration.credentials.externalUserId)}this.forEachContentShareObserver((observer=>{Types_1.Maybe.of(observer.contentShareDidStart).map((f=>f.call(observer)))}))}))}}},"./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class CSPMonitor{static register(){"document"in __webpack_require__.g&&document.addEventListener&&CSPMonitor.shouldRegisterCSPMonitor&&(CSPMonitor.added||(document.addEventListener("securitypolicyviolation",CSPMonitor.listener),CSPMonitor.added=!0))}static unregister(){"document"in __webpack_require__.g&&document.removeEventListener&&(document.removeEventListener("securitypolicyviolation",CSPMonitor.listener),CSPMonitor.loggers=new Set,CSPMonitor.added=!1)}static disable(){CSPMonitor.shouldRegisterCSPMonitor=!1,CSPMonitor.unregister()}static addLogger(logger){logger&&CSPMonitor.loggers.add(logger)}static removeLogger(logger){logger&&CSPMonitor.loggers.delete(logger)}}exports.default=CSPMonitor,CSPMonitor.loggers=new Set,CSPMonitor.shouldRegisterCSPMonitor=!0,CSPMonitor.added=!1,CSPMonitor.listener=event=>{const message=`Security Policy Violation\nBlocked URI: ${event.blockedURI}\nViolated Directive: ${event.violatedDirective}\nOriginal Policy: ${event.originalPolicy}\nDocument URI: ${event.documentURI}\nSource File: ${event.sourceFile}\nLine No.: ${event.lineNumber}\n`;for(const logger of CSPMonitor.loggers)logger.error(message);0===CSPMonitor.loggers.size&&console.error(message)}},"./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class DataMessage{constructor(timestampMs,topic,data,senderAttendeeId,senderExternalUserId,throttled){this.timestampMs=timestampMs,this.topic=topic,this.data=data,this.senderAttendeeId=senderAttendeeId,this.senderExternalUserId=senderExternalUserId,this.throttled=!!throttled}text(){return(new TextDecoder).decode(this.data)}json(){return JSON.parse((new TextDecoder).decode(this.data))}}},"./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isDestroyable=void 0,exports.isDestroyable=function isDestroyable(x){return x&&"destroy"in x}},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/AudioTransformDevice.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isAudioTransformDevice=void 0,exports.isAudioTransformDevice=function isAudioTransformDevice(device){return!!device&&"object"==typeof device&&"mute"in device&&"stop"in device&&"intrinsicDevice"in device}},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),DefaultMediaDeviceFactory_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/DefaultMediaDeviceFactory.js"),AsyncScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js"),PromiseQueue_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/PromiseQueue.js"),Types_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Types.js"),DefaultVideoTransformDevice_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.js"),DefaultVideoTile_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js"),AudioTransformDevice_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/AudioTransformDevice.js"),DeviceSelection_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/DeviceSelection.js"),GetUserMediaError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js"),NotFoundError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotFoundError.js"),NotReadableError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotReadableError.js"),OverconstrainedError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/OverconstrainedError.js"),PermissionDeniedError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js"),TypeError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/TypeError.js"),VideoQualitySettings_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoQualitySettings.js"),VideoTransformDevice_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js");class DefaultDeviceController{constructor(logger,options,browserBehavior=new DefaultBrowserBehavior_1.default,eventController){this.logger=logger,this.browserBehavior=browserBehavior,this.eventController=eventController,this.deviceInfoCache=null,this.activeDevices={audio:null,video:null},this.chosenVideoTransformDevice=null,this.audioOutputDeviceId=void 0,this.deviceChangeObservers=new Set,this.mediaStreamBrokerObservers=new Set,this.deviceLabelTrigger=()=>navigator.mediaDevices.getUserMedia({audio:!0,video:!0}),this.audioInputDestinationNode=null,this.audioInputSourceNode=null,this.videoInputQualitySettings=null,this.useWebAudio=!1,this.useMediaConstraintsFallback=!0,this.audioInputTaskQueue=new PromiseQueue_1.default,this.videoInputTaskQueue=new PromiseQueue_1.default,this.muted=!1,this.mediaStreamMuteObserver=(id,muted)=>{for(const observer of this.deviceChangeObservers)AsyncScheduler_1.default.nextTick((()=>{this.deviceChangeObservers.has(observer)&&observer.audioInputMuteStateChanged&&observer.audioInputMuteStateChanged(id,muted)}))},this.alreadyHandlingDeviceChange=!1;const{enableWebAudio=!1,useMediaConstraintsFallback=!0}=options||{};this.useWebAudio=enableWebAudio,this.useMediaConstraintsFallback=useMediaConstraintsFallback,this.videoInputQualitySettings=new VideoQualitySettings_1.default(DefaultDeviceController.defaultVideoWidth,DefaultDeviceController.defaultVideoHeight,DefaultDeviceController.defaultVideoFrameRate);const dimension=this.browserBehavior.requiresResolutionAlignment(this.videoInputQualitySettings.videoWidth,this.videoInputQualitySettings.videoHeight);this.videoInputQualitySettings.videoWidth=dimension[0],this.videoInputQualitySettings.videoHeight=dimension[1],this.logger.info(`DefaultDeviceController video dimension ${this.videoInputQualitySettings.videoWidth} x ${this.videoInputQualitySettings.videoHeight}`);try{this.mediaDeviceWrapper=(new DefaultMediaDeviceFactory_1.default).create();const supportedConstraints=navigator.mediaDevices.getSupportedConstraints();this.logger.info(`Supported Constraints in this browser ${JSON.stringify(supportedConstraints)}`)}catch(error){logger.error(error.message)}}isWatchingForDeviceChanges(){return!!this.onDeviceChangeCallback}ensureWatchingDeviceChanges(){var _a;this.isWatchingForDeviceChanges()||(this.logger.info("Starting devicechange listener."),this.onDeviceChangeCallback=()=>{this.logger.info("Device change event callback is triggered"),this.handleDeviceChange()},null===(_a=this.mediaDeviceWrapper)||void 0===_a||_a.addEventListener("devicechange",this.onDeviceChangeCallback))}stopWatchingDeviceChanges(){var _a;this.isWatchingForDeviceChanges()&&(this.logger.info("Stopping devicechange listener."),null===(_a=this.mediaDeviceWrapper)||void 0===_a||_a.removeEventListener("devicechange",this.onDeviceChangeCallback),this.onDeviceChangeCallback=void 0)}shouldObserveDeviceChanges(){if(this.deviceChangeObservers.size)return!0;return this.activeDevices.audio&&null!==this.activeDevices.audio.constraints||this.activeDevices.video&&null!==this.activeDevices.video.constraints||!!this.audioOutputDeviceId}watchForDeviceChangesIfNecessary(){this.shouldObserveDeviceChanges()?this.ensureWatchingDeviceChanges():this.stopWatchingDeviceChanges()}destroy(){return __awaiter(this,void 0,void 0,(function*(){this.stopWatchingDeviceChanges(),yield this.stopAudioInput(),yield this.stopVideoInput()}))}listAudioInputDevices(forceUpdate=!1){return __awaiter(this,void 0,void 0,(function*(){const result=yield this.listDevicesOfKind("audioinput",forceUpdate);return this.trace("listAudioInputDevices",forceUpdate,result),result}))}listVideoInputDevices(forceUpdate=!1){return __awaiter(this,void 0,void 0,(function*(){const result=yield this.listDevicesOfKind("videoinput",forceUpdate);return this.trace("listVideoInputDevices",forceUpdate,result),result}))}listAudioOutputDevices(forceUpdate=!1){return __awaiter(this,void 0,void 0,(function*(){const result=yield this.listDevicesOfKind("audiooutput",forceUpdate);return this.trace("listAudioOutputDevices",forceUpdate,result),result}))}pushAudioMeetingStateForPermissions(audioStream){var _a;null===(_a=this.eventController)||void 0===_a||_a.publishEvent(void 0===audioStream?"audioInputUnselected":"audioInputSelected")}pushVideoMeetingStateForPermissions(videoStream){var _a;null===(_a=this.eventController)||void 0===_a||_a.publishEvent(void 0===videoStream?"videoInputUnselected":"videoInputSelected")}startAudioInput(device){return __awaiter(this,void 0,void 0,(function*(){return yield this.audioInputTaskQueue.add((()=>this.startAudioInputTask(device)))}))}startAudioInputTask(device){var _a;return __awaiter(this,void 0,void 0,(function*(){if(void 0!==device)try{return AudioTransformDevice_1.isAudioTransformDevice(device)?(this.logger.info(`Choosing transform input device ${device}`),yield this.chooseAudioTransformInputDevice(device)):(this.logger.info(`Choosing intrinsic audio input device ${device}`),this.removeTransform(),yield this.chooseInputIntrinsicDevice("audio",device)),this.trace("startAudioInputDevice",device,"success"),this.useWebAudio?(this.attachAudioInputStreamToAudioContext(this.activeDevices.audio.stream),this.pushAudioMeetingStateForPermissions(this.getMediaStreamDestinationNode().stream),yield null===(_a=this.transform)||void 0===_a?void 0:_a.device.mute(this.muted),this.getMediaStreamDestinationNode().stream):(this.publishAudioInputDidChangeEvent(this.activeDevices.audio.stream),this.activeDevices.audio.stream)}catch(error){throw error}else this.logger.error("Audio input device cannot be undefined")}))}stopAudioInput(){return __awaiter(this,void 0,void 0,(function*(){return this.audioInputTaskQueue.add((()=>this.stopAudioInputTask()))}))}stopAudioInputTask(){return __awaiter(this,void 0,void 0,(function*(){try{if(this.useWebAudio)return void this.releaseAudioTransformStream();this.stopTracksAndRemoveCallbacks("audio")}finally{this.watchForDeviceChangesIfNecessary(),this.publishAudioInputDidChangeEvent(void 0)}}))}chooseAudioTransformInputDevice(device){var _a;return __awaiter(this,void 0,void 0,(function*(){if((null===(_a=this.transform)||void 0===_a?void 0:_a.device)===device)return;if(!this.useWebAudio)throw new Error("Cannot apply transform device without enabling Web Audio.");const context=DefaultDeviceController.getAudioContext();if(context instanceof OfflineAudioContext);else switch(context.state){case"running":break;case"closed":throw new Error("Cannot choose a transform device with a closed audio context.");case"suspended":yield context.resume()}let nodes;try{nodes=yield device.createAudioNode(context)}catch(e){throw this.logger.error(`Unable to create transform device node: ${e}.`),e}const inner=yield device.intrinsicDevice();yield this.chooseInputIntrinsicDevice("audio",inner),this.logger.debug(`Got inner stream: ${inner}.`),this.setTransform(device,nodes)}))}chooseVideoTransformInputDevice(device){var _a;return __awaiter(this,void 0,void 0,(function*(){if(this.eventController&&device instanceof DefaultVideoTransformDevice_1.default&&device.passEventControllerToProcessors(this.eventController),device===this.chosenVideoTransformDevice)return void this.logger.info("Reselecting same VideoTransformDevice");const prevVideoTransformDevice=this.chosenVideoTransformDevice;prevVideoTransformDevice&&this.logger.info("Switched from previous VideoTransformDevice");const wasUsingTransformDevice=!!prevVideoTransformDevice,inner=yield device.intrinsicDevice();if(!this.isMediaStreamReusableByDeviceId(null===(_a=this.activeDevices.video)||void 0===_a?void 0:_a.stream,inner))return this.logger.info("video transform device needs new intrinsic device"),wasUsingTransformDevice&&prevVideoTransformDevice.onOutputStreamDisconnect(),this.chosenVideoTransformDevice=device,this.activeDevices.video=null,yield this.chooseInputIntrinsicDevice("video",inner),this.logger.info("apply processors to transform"),void(yield this.chosenVideoTransformDevice.transformStream(this.activeDevices.video.stream));this.chosenVideoTransformDevice=device,this.logger.info("video transform device uses previous stream"),this.logger.info("apply processors to transform"),yield device.transformStream(this.activeDevices.video.stream)}))}startVideoInput(device){return __awaiter(this,void 0,void 0,(function*(){return yield this.videoInputTaskQueue.add((()=>this.startVideoInputTask(device)))}))}startVideoInputTask(device){return __awaiter(this,void 0,void 0,(function*(){if(device)try{return VideoTransformDevice_1.isVideoTransformDevice(device)?(this.logger.info(`Choosing video transform device ${device}`),yield this.chooseVideoTransformInputDevice(device),this.publishVideoInputDidChangeEvent(this.chosenVideoTransformDevice.outputMediaStream),this.chosenVideoTransformDevice.outputMediaStream):(this.chosenVideoInputIsTransformDevice()&&(this.chosenVideoTransformDevice.onOutputStreamDisconnect(),this.chosenVideoTransformDevice=null),yield this.chooseInputIntrinsicDevice("video",device),this.trace("startVideoInputDevice",device),this.publishVideoInputDidChangeEvent(this.activeDevices.video.stream),this.activeDevices.video.stream)}catch(error){throw error}else this.logger.error("Invalid video input device")}))}stopVideoInput(){return __awaiter(this,void 0,void 0,(function*(){return this.videoInputTaskQueue.add((()=>this.stopVideoInputTask()))}))}stopVideoInputTask(){return __awaiter(this,void 0,void 0,(function*(){try{if(this.chosenVideoInputIsTransformDevice())return void this.releaseVideoTransformStream();this.stopTracksAndRemoveCallbacks("video")}finally{this.watchForDeviceChangesIfNecessary(),this.publishVideoInputDidChangeEvent(void 0)}}))}chooseAudioOutput(deviceId){return __awaiter(this,void 0,void 0,(function*(){this.audioOutputDeviceId=deviceId,this.watchForDeviceChangesIfNecessary();const deviceInfo=this.deviceInfoFromDeviceId("audiooutput",this.audioOutputDeviceId);this.publishAudioOutputDidChangeEvent(deviceInfo),this.trace("chooseAudioOutput",deviceId,null)}))}addDeviceChangeObserver(observer){this.logger.info("adding device change observer"),this.deviceChangeObservers.add(observer),this.watchForDeviceChangesIfNecessary(),this.trace("addDeviceChangeObserver")}removeDeviceChangeObserver(observer){this.logger.info("removing device change observer"),this.deviceChangeObservers.delete(observer),this.watchForDeviceChangesIfNecessary(),this.trace("removeDeviceChangeObserver")}createAnalyserNodeForAudioInput(){var _a,_b;if(!this.activeDevices.audio)return null;const node=null===(_b=null===(_a=this.transform)||void 0===_a?void 0:_a.nodes)||void 0===_b?void 0:_b.end;if(node){const analyser=node.context.createAnalyser();return analyser.removeOriginalInputs=()=>{try{node.disconnect(analyser)}catch(e){}},node.connect(analyser),analyser}return this.createAnalyserNodeForRawAudioInput()}createAnalyserNodeForRawAudioInput(){return this.activeDevices.audio?this.createAnalyserNodeForStream(this.activeDevices.audio.stream):null}createAnalyserNodeForStream(stream){const audioContext=DefaultDeviceController.getAudioContext(),analyser=audioContext.createAnalyser(),source=audioContext.createMediaStreamSource(stream);return source.connect(analyser),this.trace("createAnalyserNodeForAudioInput"),analyser.removeOriginalInputs=()=>{try{source.disconnect(analyser)}catch(e){}},analyser}startVideoPreviewForVideoInput(element){if(!this.activeDevices.video)return this.logger.warn("cannot bind video preview since video input device has not been chosen"),void this.trace("startVideoPreviewForVideoInput",element.id);DefaultVideoTile_1.default.connectVideoStreamToVideoElement(this.chosenVideoTransformDevice?this.chosenVideoTransformDevice.outputMediaStream:this.activeDevices.video.stream,element,!0),this.trace("startVideoPreviewForVideoInput",element.id)}stopVideoPreviewForVideoInput(element){DefaultVideoTile_1.default.disconnectVideoStreamFromVideoElement(element,!1),this.trace("stopVideoPreviewForVideoInput",element.id)}setDeviceLabelTrigger(trigger){if(this.deviceInfoCache)for(const device of this.deviceInfoCache)if(!device.label){this.deviceInfoCache=null;break}this.deviceLabelTrigger=trigger,this.trace("setDeviceLabelTrigger")}mixIntoAudioInput(stream){let node=null;return this.useWebAudio?(node=DefaultDeviceController.getAudioContext().createMediaStreamSource(stream),node.connect(this.getMediaStreamOutputNode())):this.logger.warn("WebAudio is not enabled, mixIntoAudioInput will not work"),this.trace("mixIntoAudioInput",stream.id),node}chooseVideoInputQuality(width,height,frameRate){const dimension=this.browserBehavior.requiresResolutionAlignment(width,height);this.videoInputQualitySettings=new VideoQualitySettings_1.default(dimension[0],dimension[1],frameRate)}getVideoInputQualitySettings(){return this.videoInputQualitySettings}acquireAudioInputStream(){return __awaiter(this,void 0,void 0,(function*(){if(this.activeDevices.audio||(this.logger.info("No audio device chosen, creating empty audio device"),yield this.startAudioInput(null)),this.useWebAudio){return this.getMediaStreamDestinationNode().stream}return this.activeDevices.audio.stream}))}acquireVideoInputStream(){return __awaiter(this,void 0,void 0,(function*(){if(!this.activeDevices.video)throw new Error("No video device chosen");return this.chosenVideoInputIsTransformDevice()?this.chosenVideoTransformDevice.outputMediaStream:this.activeDevices.video.stream}))}acquireDisplayInputStream(_streamConstraints){return __awaiter(this,void 0,void 0,(function*(){throw new Error("unsupported")}))}releaseAudioTransformStream(){this.logger.info("Stopping audio track for Web Audio graph"),this.stopTracksAndRemoveCallbacks("audio"),this.logger.info("Removing audio transform, if there is one."),this.removeTransform(),this.audioInputSourceNode&&(this.audioInputSourceNode.disconnect(),this.audioInputSourceNode=void 0),this.audioInputDestinationNode&&(this.audioInputDestinationNode.disconnect(),this.audioInputDestinationNode=void 0)}releaseVideoTransformStream(){this.logger.info("Stopping video track for transform"),this.stopTracksAndRemoveCallbacks("video"),this.logger.info("Disconnecting video transform"),this.chosenVideoTransformDevice.onOutputStreamDisconnect(),this.chosenVideoTransformDevice=null}stopTracksAndRemoveCallbacks(kind){const activeDevice=this.activeDevices[kind];if(!activeDevice)return;const endedCallback=activeDevice.endedCallback,trackMuteCallback=activeDevice.trackMuteCallback,trackUnmuteCallback=activeDevice.trackUnmuteCallback;for(const track of activeDevice.stream.getTracks())track.stop(),endedCallback&&track.removeEventListener("ended",endedCallback),trackMuteCallback&&track.removeEventListener("mute",trackMuteCallback),trackUnmuteCallback&&track.removeEventListener("unmute",trackUnmuteCallback),delete activeDevice.endedCallback,delete activeDevice.trackMuteCallback,delete activeDevice.trackUnmuteCallback,delete this.activeDevices[kind]}chosenVideoInputIsTransformDevice(){return!!this.chosenVideoTransformDevice}muteLocalAudioInputStream(){this.toggleLocalAudioInputStream(!1)}unmuteLocalAudioInputStream(){this.toggleLocalAudioInputStream(!0)}toggleLocalAudioInputStream(enabled){var _a;let audioDevice=this.activeDevices.audio;if(this.useWebAudio&&(audioDevice=this.getMediaStreamDestinationNode()),audioDevice){for(const track of audioDevice.stream.getTracks())track.enabled!==enabled&&(track.enabled=enabled);this.muted!==!enabled&&(this.muted=!enabled,null===(_a=this.transform)||void 0===_a||_a.device.mute(this.muted))}}static getIntrinsicDeviceId(device){if(!device)return;if("string"==typeof device)return device;if(device.id)return device.id;const deviceIdConstraints=device.deviceId;if(!deviceIdConstraints)return;if("string"==typeof deviceIdConstraints||Array.isArray(deviceIdConstraints))return deviceIdConstraints;const constraintStringParams=deviceIdConstraints;return"string"==typeof constraintStringParams.exact||Array.isArray(constraintStringParams.exact)?constraintStringParams.exact:void 0}static createEmptyAudioDevice(){return DefaultDeviceController.synthesizeAudioDevice(0)}static synthesizeAudioDevice(toneHz){const audioContext=DefaultDeviceController.getAudioContext(),outputNode=audioContext.createMediaStreamDestination();if(toneHz){const gainNode=audioContext.createGain();gainNode.gain.value=.1,gainNode.connect(outputNode);const oscillatorNode=audioContext.createOscillator();oscillatorNode.frequency.value=toneHz,oscillatorNode.connect(gainNode),oscillatorNode.start()}else{const source=audioContext.createBufferSource();try{source.buffer=audioContext.createBuffer(1,5*audioContext.sampleRate,audioContext.sampleRate)}catch(error){if(!error||"NotSupportedError"!==error.name)throw error;source.buffer=audioContext.createBuffer(1,5*DefaultDeviceController.defaultSampleRate,DefaultDeviceController.defaultSampleRate)}source.buffer.getChannelData(0)[0]=3e-4,source.loop=!0,source.connect(outputNode),source.start()}return outputNode.stream}listDevicesOfKind(deviceKind,forceUpdate){return __awaiter(this,void 0,void 0,(function*(){return!forceUpdate&&null!==this.deviceInfoCache&&this.isWatchingForDeviceChanges()||(yield this.updateDeviceInfoCacheFromBrowser()),this.listCachedDevicesOfKind(deviceKind)}))}updateDeviceInfoCacheFromBrowser(){var _a,_b;return __awaiter(this,void 0,void 0,(function*(){if("undefined"==typeof MediaDeviceInfo)return void(this.deviceInfoCache=[]);let devices=yield navigator.mediaDevices.enumerateDevices(),hasDeviceLabels=!0;for(const device of devices)if(!device.label){hasDeviceLabels=!1;break}if(!hasDeviceLabels)try{this.logger.info("attempting to trigger media device labels since they are hidden");const triggerStream=yield this.deviceLabelTrigger();devices=yield navigator.mediaDevices.enumerateDevices();for(const track of triggerStream.getTracks())track.stop()}catch(err){this.logger.info("unable to get media device labels"),null===(_a=this.eventController)||void 0===_a||_a.publishEvent("audioInputFailed",{audioInputErrorMessage:this.getErrorMessage(err)}),null===(_b=this.eventController)||void 0===_b||_b.publishEvent("videoInputFailed",{videoInputErrorMessage:this.getErrorMessage(err)})}this.logger.debug(`Update device info cache with devices: ${JSON.stringify(devices)}`),this.deviceInfoCache=devices}))}listCachedDevicesOfKind(deviceKind){const devicesOfKind=[];if(this.deviceInfoCache)for(const device of this.deviceInfoCache)device.kind===deviceKind&&devicesOfKind.push(device);return devicesOfKind}handleDeviceChange(){return __awaiter(this,void 0,void 0,(function*(){if(null===this.deviceInfoCache)return;if(this.alreadyHandlingDeviceChange)return void AsyncScheduler_1.default.nextTick((()=>{this.handleDeviceChange()}));this.alreadyHandlingDeviceChange=!0;const oldAudioInputDevices=this.listCachedDevicesOfKind("audioinput"),oldVideoInputDevices=this.listCachedDevicesOfKind("videoinput"),oldAudioOutputDevices=this.listCachedDevicesOfKind("audiooutput");yield this.updateDeviceInfoCacheFromBrowser();const newAudioInputDevices=this.listCachedDevicesOfKind("audioinput"),newVideoInputDevices=this.listCachedDevicesOfKind("videoinput"),newAudioOutputDevices=this.listCachedDevicesOfKind("audiooutput");this.forEachObserver((observer=>{this.areDeviceListsEqual(oldAudioInputDevices,newAudioInputDevices)||Types_1.Maybe.of(observer.audioInputsChanged).map((f=>f.bind(observer)(newAudioInputDevices))),this.areDeviceListsEqual(oldVideoInputDevices,newVideoInputDevices)||Types_1.Maybe.of(observer.videoInputsChanged).map((f=>f.bind(observer)(newVideoInputDevices))),this.areDeviceListsEqual(oldAudioOutputDevices,newAudioOutputDevices)||Types_1.Maybe.of(observer.audioOutputsChanged).map((f=>f.bind(observer)(newAudioOutputDevices)))})),this.alreadyHandlingDeviceChange=!1}))}handleDeviceStreamEnded(kind,deviceId){return __awaiter(this,void 0,void 0,(function*(){try{"audio"===kind?(this.logger.warn("Audio input device which was active is no longer available, resetting to null device"),yield this.startAudioInput(null)):(this.logger.warn("Video input device which was active is no longer available, stopping video"),yield this.stopVideoInput())}catch(e){this.logger.error("Failed to choose null device after stream ended.")}"audio"===kind?this.forEachObserver((observer=>{Types_1.Maybe.of(observer.audioInputStreamEnded).map((f=>f.bind(observer)(deviceId)))})):this.forEachObserver((observer=>{Types_1.Maybe.of(observer.videoInputStreamEnded).map((f=>f.bind(observer)(deviceId)))}))}))}forEachObserver(observerFunc){for(const observer of this.deviceChangeObservers)AsyncScheduler_1.default.nextTick((()=>{this.deviceChangeObservers.has(observer)&&observerFunc(observer)}))}forEachMediaStreamBrokerObserver(observerFunc){for(const observer of this.mediaStreamBrokerObservers)observerFunc(observer)}areDeviceListsEqual(a,b){return JSON.stringify(a.map((device=>JSON.stringify(device))).sort())===JSON.stringify(b.map((device=>JSON.stringify(device))).sort())}intrinsicDeviceAsMediaStream(device){return device&&device.id?device:null}hasSameMediaStreamId(kind,selection,proposedConstraints){var _a,_b,_c,_d;let streamId;return"audio"===kind?(streamId=null==proposedConstraints?void 0:proposedConstraints.audio.streamId,!!streamId&&streamId===(null===(_b=null===(_a=selection.constraints)||void 0===_a?void 0:_a.audio)||void 0===_b?void 0:_b.streamId)):(streamId=null==proposedConstraints?void 0:proposedConstraints.video.streamId,!!streamId&&streamId===(null===(_d=null===(_c=null==selection?void 0:selection.constraints)||void 0===_c?void 0:_c.video)||void 0===_d?void 0:_d.streamId))}hasSameGroupId(groupId,kind,device){if(""===groupId)return!0;const deviceIds=DefaultDeviceController.getIntrinsicDeviceId(device);return this.logger.debug(`Checking deviceIds ${deviceIds} of type ${typeof deviceIds} with groupId ${groupId}`),"string"==typeof deviceIds&&groupId===this.getGroupIdFromDeviceId(kind,deviceIds)}getGroupIdFromDeviceId(kind,deviceId){if(null!==this.deviceInfoCache){const cachedDeviceInfo=this.listCachedDevicesOfKind(`${kind}input`).find((cachedDevice=>cachedDevice.deviceId===deviceId));if(cachedDeviceInfo&&cachedDeviceInfo.groupId)return this.logger.debug(`GroupId of deviceId ${deviceId} found in cache is ${cachedDeviceInfo.groupId}`),cachedDeviceInfo.groupId}return this.logger.debug(`GroupId of deviceId ${deviceId} found in cache is empty`),""}handleGetUserMediaError(error,errorTimeMs){if(!error)throw new GetUserMediaError_1.default(error);switch(error.name){case"NotReadableError":case"TrackStartError":throw new NotReadableError_1.default(error);case"NotFoundError":case"DevicesNotFoundError":throw new NotFoundError_1.default(error);case"NotAllowedError":case"PermissionDeniedError":case"SecurityError":throw errorTimeMs&&errorTimeMs{this.activeDevices[kind]&&this.activeDevices[kind].stream===newDevice.stream&&(this.handleDeviceStreamEnded(kind,newDeviceId),delete newDevice.endedCallback)},track.addEventListener("ended",newDevice.endedCallback,{once:!0})),"audio"===kind){const track=newDevice.stream.getAudioTracks()[0];if(track){const id=track.getSettings().deviceId||newDevice.stream;newDevice.trackMuteCallback=()=>{this.mediaStreamMuteObserver(id,!0)},newDevice.trackUnmuteCallback=()=>{this.mediaStreamMuteObserver(id,!1)},track.addEventListener("mute",newDevice.trackMuteCallback,{once:!1}),track.addEventListener("unmute",newDevice.trackUnmuteCallback,{once:!1}),this.logger.debug("Notifying mute state after selection"),track.muted?newDevice.trackMuteCallback():newDevice.trackUnmuteCallback()}}}))}calculateMediaStreamConstraints(kind,deviceId,groupId,minimal){if(minimal&&1===this.listCachedDevicesOfKind(`${kind}input`).length)return!0;const trackConstraints={};if(this.browserBehavior.requiresNoExactMediaStreamConstraints()?trackConstraints.deviceId=deviceId:trackConstraints.deviceId={exact:deviceId},groupId&&(trackConstraints.groupId=groupId),minimal)return trackConstraints;if("video"===kind)return trackConstraints.width={ideal:this.videoInputQualitySettings.videoWidth},trackConstraints.height={ideal:this.videoInputQualitySettings.videoHeight},trackConstraints.frameRate={ideal:this.videoInputQualitySettings.videoFrameRate},trackConstraints;this.supportSampleRateConstraint()&&(trackConstraints.sampleRate={ideal:DefaultDeviceController.defaultSampleRate}),this.supportSampleSizeConstraint()&&(trackConstraints.sampleSize={ideal:DefaultDeviceController.defaultSampleSize}),this.supportChannelCountConstraint()&&(trackConstraints.channelCount={ideal:DefaultDeviceController.defaultChannelCount});return Object.assign({echoCancellation:!0,googEchoCancellation:!0,googEchoCancellation2:!0,googAutoGainControl:!0,googAutoGainControl2:!0,googNoiseSuppression:!0,googNoiseSuppression2:!0,googHighpassFilter:!0},trackConstraints)}getMediaStreamConstraintsFromTrackConstraints(kind,trackConstraints){return"audio"===kind?{audio:trackConstraints}:{video:trackConstraints}}getMediaStreamConstraints(kind,device,minimal=!1){let trackConstraints={};if(!device)return null;const stream=this.intrinsicDeviceAsMediaStream(device);if(stream)return trackConstraints.streamId=stream.id,this.getMediaStreamConstraintsFromTrackConstraints(kind,trackConstraints);if("string"==typeof device){let groupId="";return this.browserBehavior.requiresGroupIdMediaStreamConstraints()&&(null!==this.deviceInfoCache?groupId=this.getGroupIdFromDeviceId(kind,device):this.logger.error("Device cache is not populated. Please make sure to call list devices first")),trackConstraints=this.calculateMediaStreamConstraints(kind,device,groupId,minimal),this.getMediaStreamConstraintsFromTrackConstraints(kind,trackConstraints)}return function isMediaDeviceInfo(device){return"object"==typeof device&&"deviceId"in device&&"groupId"in device&&"kind"in device&&"label"in device}(device)?(trackConstraints=this.calculateMediaStreamConstraints(kind,device.deviceId,device.groupId,minimal),this.getMediaStreamConstraintsFromTrackConstraints(kind,trackConstraints)):(trackConstraints=device,this.getMediaStreamConstraintsFromTrackConstraints(kind,trackConstraints))}deviceInfoFromDeviceId(deviceKind,deviceId){if(null===this.deviceInfoCache)return null;for(const device of this.deviceInfoCache)if(device.kind===deviceKind&&device.deviceId===deviceId)return device;return null}hasAppliedTransform(){return!!this.transform}isMediaStreamReusableByDeviceId(stream,device){if(!stream||!stream.active||!device)return!1;if(device.id)return stream.id===device.id;const settings=this.getMediaTrackSettings(stream);if(!settings.deviceId)return!1;const deviceIds=DefaultDeviceController.getIntrinsicDeviceId(device);return"string"==typeof deviceIds&&settings.deviceId===deviceIds}getMediaTrackSettings(stream){var _a;return null===(_a=stream.getTracks()[0])||void 0===_a?void 0:_a.getSettings()}reconnectAudioInputs(){if(!this.audioInputSourceNode)return;this.audioInputSourceNode.disconnect();const output=this.getMediaStreamOutputNode();this.audioInputSourceNode.connect(output)}setTransform(device,nodes){var _a,_b;null===(_b=null===(_a=this.transform)||void 0===_a?void 0:_a.nodes)||void 0===_b||_b.end.disconnect(),this.transform={nodes,device};const proc=null==nodes?void 0:nodes.end,dest=this.getMediaStreamDestinationNode();this.logger.debug(`Connecting transform node ${proc} to destination ${dest}.`),null==proc||proc.connect(dest),this.reconnectAudioInputs()}removeTransform(){var _a;const previous=this.transform;if(previous)return null===(_a=this.transform.nodes)||void 0===_a||_a.end.disconnect(),this.transform=void 0,this.reconnectAudioInputs(),previous}attachAudioInputStreamToAudioContext(stream){var _a;null===(_a=this.audioInputSourceNode)||void 0===_a||_a.disconnect(),this.audioInputSourceNode=DefaultDeviceController.getAudioContext().createMediaStreamSource(stream);const output=this.getMediaStreamOutputNode();this.audioInputSourceNode.connect(output)}getMediaStreamDestinationNode(){return this.audioInputDestinationNode||(this.audioInputDestinationNode=DefaultDeviceController.getAudioContext().createMediaStreamDestination()),this.audioInputDestinationNode}getMediaStreamOutputNode(){var _a,_b;return(null===(_b=null===(_a=this.transform)||void 0===_a?void 0:_a.nodes)||void 0===_b?void 0:_b.start)||this.getMediaStreamDestinationNode()}static setDefaultLatencyHint(latencyHint){DefaultDeviceController.defaultLatencyHint=latencyHint}static getAudioContext(){if(!DefaultDeviceController.audioContext){const options={};navigator.mediaDevices.getSupportedConstraints().sampleRate&&(options.sampleRate=DefaultDeviceController.defaultSampleRate);(new DefaultBrowserBehavior_1.default).requiresPlaybackLatencyHintForAudioContext()&&(options.latencyHint="playback"),DefaultDeviceController.defaultLatencyHint&&(options.latencyHint=DefaultDeviceController.defaultLatencyHint),DefaultDeviceController.audioContext=new(window.AudioContext||window.webkitAudioContext)(options)}return DefaultDeviceController.audioContext}static closeAudioContext(){if(DefaultDeviceController.audioContext)try{DefaultDeviceController.audioContext.close()}catch(e){}DefaultDeviceController.audioContext=null}addMediaStreamBrokerObserver(observer){this.mediaStreamBrokerObservers.add(observer)}removeMediaStreamBrokerObserver(observer){this.mediaStreamBrokerObservers.delete(observer)}publishVideoInputDidChangeEvent(videoStream){this.forEachMediaStreamBrokerObserver((observer=>{observer.videoInputDidChange&&observer.videoInputDidChange(videoStream)})),this.pushVideoMeetingStateForPermissions(videoStream)}publishAudioInputDidChangeEvent(audioStream){this.forEachMediaStreamBrokerObserver((observer=>{observer.audioInputDidChange&&observer.audioInputDidChange(audioStream)})),this.pushAudioMeetingStateForPermissions(audioStream)}publishAudioOutputDidChangeEvent(device){this.forEachMediaStreamBrokerObserver((observer=>{observer.audioOutputDidChange&&observer.audioOutputDidChange(device)}))}supportSampleRateConstraint(){return this.useWebAudio&&!!navigator.mediaDevices.getSupportedConstraints().sampleRate}supportSampleSizeConstraint(){return this.useWebAudio&&!!navigator.mediaDevices.getSupportedConstraints().sampleSize}supportChannelCountConstraint(){return this.useWebAudio&&!!navigator.mediaDevices.getSupportedConstraints().channelCount}trace(name,input,output){let s=`API/DefaultDeviceController/${name}`;void 0!==input&&(s+=` ${JSON.stringify(input)}`),void 0!==output&&(s+=` -> ${JSON.stringify(output)}`),this.logger.info(s)}}exports.default=DefaultDeviceController,DefaultDeviceController.permissionDeniedOriginDetectionThresholdMs=500,DefaultDeviceController.defaultVideoWidth=960,DefaultDeviceController.defaultVideoHeight=540,DefaultDeviceController.defaultVideoFrameRate=15,DefaultDeviceController.defaultSampleRate=48e3,DefaultDeviceController.defaultSampleSize=16,DefaultDeviceController.defaultChannelCount=1,DefaultDeviceController.audioContext=null},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/DeviceSelection.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class DeviceSelection{constructor(){this.groupId=""}matchesConstraints(constraints){return JSON.stringify(this.constraints)===JSON.stringify(constraints)}}},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class GetUserMediaError extends Error{constructor(cause,message){super(message||"Error fetching device."),this.cause=cause,this.name="GetUserMediaError"}}exports.default=GetUserMediaError},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NoOpDeviceController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0}),exports.NoOpDeviceControllerWithEventController=void 0;const NoOpMediaStreamBroker_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js");class NoOpDeviceController extends NoOpMediaStreamBroker_1.default{constructor(_options){super(),this.destroyed=!1}destroy(){return __awaiter(this,void 0,void 0,(function*(){this.destroyed=!0}))}listAudioInputDevices(){return Promise.resolve([])}listVideoInputDevices(){return Promise.resolve([])}listAudioOutputDevices(){return Promise.resolve([])}startAudioInput(_device){return Promise.reject()}stopAudioInput(){return Promise.resolve()}startVideoInput(_device){return Promise.reject()}stopVideoInput(){return Promise.resolve()}chooseAudioOutput(_deviceId){return Promise.reject()}addDeviceChangeObserver(_observer){}removeDeviceChangeObserver(_observer){}createAnalyserNodeForAudioInput(){return null}startVideoPreviewForVideoInput(_element){}stopVideoPreviewForVideoInput(_element){}setDeviceLabelTrigger(_trigger){}mixIntoAudioInput(_stream){return null}chooseVideoInputQuality(_width,_height,_frameRate){}getVideoInputQualitySettings(){return null}}exports.default=NoOpDeviceController;exports.NoOpDeviceControllerWithEventController=class NoOpDeviceControllerWithEventController extends NoOpDeviceController{constructor(eventController){super(),this.eventController=eventController}}},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotFoundError.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const GetUserMediaError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");class NotFoundError extends GetUserMediaError_1.default{constructor(cause){super(cause),this.name="NotFoundError"}}exports.default=NotFoundError},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotReadableError.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const GetUserMediaError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");class NotReadableError extends GetUserMediaError_1.default{constructor(cause){super(cause),this.name="NotReadableError"}}exports.default=NotReadableError},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/OverconstrainedError.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const GetUserMediaError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");class OverconstrainedError extends GetUserMediaError_1.default{constructor(cause,constraint){super(cause),this.constraint=constraint,this.name="OverconstrainedError"}}exports.default=OverconstrainedError},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const GetUserMediaError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");class PermissionDeniedError extends GetUserMediaError_1.default{constructor(cause,message){super(cause,message),this.name="PermissionDeniedError"}}exports.default=PermissionDeniedError},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/SingleNodeAudioTransformDevice.js":function(__unused_webpack_module,exports){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class SingleNodeAudioTransformDevice{constructor(inner){this.inner=inner}mute(_muted){return __awaiter(this,void 0,void 0,(function*(){}))}stop(){var _a;return __awaiter(this,void 0,void 0,(function*(){null===(_a=this.node)||void 0===_a||_a.disconnect()}))}intrinsicDevice(){return __awaiter(this,void 0,void 0,(function*(){return this.inner}))}createAudioNode(context){var _a;return __awaiter(this,void 0,void 0,(function*(){return null===(_a=this.node)||void 0===_a||_a.disconnect(),this.node=yield this.createSingleAudioNode(context),{start:this.node,end:this.node}}))}}},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/TypeError.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const GetUserMediaError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");class TypeError extends GetUserMediaError_1.default{constructor(cause){super(cause),this.name="TypeError"}}exports.default=TypeError},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoQualitySettings.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class VideoQualitySettings{constructor(videoWidth,videoHeight,videoFrameRate){this.videoWidth=videoWidth,this.videoHeight=videoHeight,this.videoFrameRate=videoFrameRate}}},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isVideoTransformDevice=void 0,exports.isVideoTransformDevice=function isVideoTransformDevice(device){return!!device&&"object"==typeof device&&"transformStream"in device&&"stop"in device&&"intrinsicDevice"in device}},"./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js":function(__unused_webpack_module,exports){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class DefaultDevicePixelRatioMonitor{constructor(devicePixelRatioSource,logger){if(this.devicePixelRatioSource=devicePixelRatioSource,this.observerQueue=new Set,this.mediaQueryListener=()=>{this.observerQueue.forEach((tileObserver=>{tileObserver.devicePixelRatioChanged(this.devicePixelRatioSource.devicePixelRatio())}))},"undefined"==typeof window)return;const mediaQueryList=matchMedia(`(resolution: ${this.devicePixelRatioSource.devicePixelRatio()}dppx)`);"function"==typeof mediaQueryList.addEventListener?(mediaQueryList.addEventListener("change",this.mediaQueryListener),this.mediaQueryList=mediaQueryList):"function"==typeof mediaQueryList.addListener?(mediaQueryList.addListener(this.mediaQueryListener),this.mediaQueryList=mediaQueryList):logger.warn("ignoring DefaultDevicePixelRatioMonitor")}destroy(){return __awaiter(this,void 0,void 0,(function*(){this.mediaQueryList&&("function"==typeof this.mediaQueryList.addEventListener?this.mediaQueryList.removeEventListener("change",this.mediaQueryListener):this.mediaQueryList.removeListener(this.mediaQueryListener)),delete this.mediaQueryListener,this.observerQueue.clear()}))}registerObserver(observer){this.observerQueue.add(observer),observer.devicePixelRatioChanged(this.devicePixelRatioSource.devicePixelRatio())}removeObserver(observer){this.observerQueue.delete(observer)}}},"./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class DevicePixelRatioWindowSource{devicePixelRatio(){return"undefined"!=typeof window&&window&&window.devicePixelRatio?window.devicePixelRatio:1}}},"./node_modules/amazon-chime-sdk-js/build/eventbuffer/InMemoryJSONEventBuffer.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i({type:event.type,v:event.v,payloads:[...event.payloads]}),this.sendEvents=()=>__awaiter(this,void 0,void 0,(function*(){if(this.lock)return;const batch=this.getItems(this.flushSize);if(0===batch.length)return;this.lock=!0;const body=this.makeRequestBody(batch);let failed=!1;const timestamp=Date.now();"firefox"===this.metadata.browserName.toLowerCase()&&this.cancellableEvents.set(timestamp,batch);try{this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEvents - sending body ${body}`);const response=yield this.send(body);if(this.cancellableEvents.delete(timestamp),response.ok)try{const data=yield response.json();this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEvents - send successful events: ${body} message: ${JSON.stringify(data)}`)}catch(err){this.logger.warn(`Event Reporting - InMemoryJSONEventBuffer - sendEvents error reading OK response ${err} for events ${body}`)}else this.logger.error(`Event Reporting - InMemoryJSONEventBuffer - sendEvents - Failed to send events ${body} with response status ${response.status}`),failed=!0}catch(error){failed=!0,this.logger.warn(`Event Reporting - InMemoryJSONEventBuffer - sendEvents - Error in sending events ${body} to the ingestion endpoint ${error}`)}finally{this.lock=!1}failed&&(this.cancellableEvents.delete(timestamp),this.failedIngestionEvents.push(...batch))}));const userAgentParserResult=new DefaultUserAgentParser_1.default(logger).getParserResult(),{browserMajorVersion:_browserMajorVersion}=userAgentParserResult,clientMetadata=__rest(userAgentParserResult,["browserMajorVersion"]),_a=eventsClientConfiguration.toJSON(),{type,v}=_a,rest=__rest(_a,["type","v"]);this.authenticationToken=eventsClientConfiguration.getAuthenticationToken(),this.metadata=Object.assign(Object.assign({},clientMetadata),rest),Object.keys(this.metadata).forEach((key=>this.attributesToFilter.push(key))),this.type=type,this.v=v,this.ingestionURL=ingestionURL,this.logger=logger,this.importantEvents=new Set(importantEvents);const{maxBufferCapacityKb,totalBufferItems,flushSize,flushIntervalMs,retryCountLimit}=eventBufferConfiguration;this.maxBufferCapacityBytes=1024*maxBufferCapacityKb,this.totalBufferItems=totalBufferItems,this.maxBufferItemCapacityBytes=Math.round(this.maxBufferCapacityBytes/totalBufferItems),this.flushIntervalMs=flushIntervalMs,this.flushSize=flushSize,this.retryCountLimit=retryCountLimit,this.currentIngestionEvent=this.initializeAndGetCurrentIngestionEvent(),this.beaconEventListener=e=>this.beaconEventHandler(e),this.addEventListeners()}addEventListeners(){this.beaconEventListener&&"window"in __webpack_require__.g&&window.addEventListener&&"document"in __webpack_require__.g&&document.addEventListener&&(this.logger.debug("Event Reporting - InMemoryJSONEventBuffer - addEventListeners - adding pagehide and visibility change event listeners"),window.addEventListener("pagehide",this.beaconEventListener),document.addEventListener("visibilitychange",this.beaconEventListener))}beaconEventHandler(e){("visibilitychange"===e.type&&"hidden"===document.visibilityState||"pagehide"===e.type)&&(this.logger.debug("Event Reporting - InMemoryJSONEventBuffer - beaconEventHandler is triggered calling sendBeacon"),this.sendBeacon())}removeEventListeners(){this.beaconEventListener&&"window"in __webpack_require__.g&&window.removeEventListener&&"document"in __webpack_require__.g&&document.removeEventListener&&(window.removeEventListener("pagehide",this.beaconEventListener),document.removeEventListener("visibilitychange",this.beaconEventListener),this.logger.debug("Event Reporting - InMemoryJSONEventBuffer - removeEventListeners - removing pagehide and visibility change event listeners"))}start(){var _a;this.removeEventListeners(),this.addEventListeners(),null===(_a=this.intervalScheduler)||void 0===_a||_a.stop(),this.intervalScheduler=new IntervalScheduler_1.default(this.flushIntervalMs),this.intervalScheduler.start((()=>this.sendEvents()))}stop(){var _a;null===(_a=this.intervalScheduler)||void 0===_a||_a.stop(),this.intervalScheduler=void 0,this.sendBeacon(),this.removeEventListeners()}addItem(item){return __awaiter(this,void 0,void 0,(function*(){this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - addItem - received event ${JSON.stringify(item)}`);const{name,ts,attributes}=item,filteredAttributes=attributes&&this.filterAttributes(attributes,this.attributesToFilter),event=Object.assign({name,ts},filteredAttributes);this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - addItem - event after filtering attributes ${JSON.stringify(event)}`);const size=this.getSize(event);if(size>InMemoryJSONEventBuffer.MAX_ITEM_SIZE_BYTES_ALLOWED)throw new Error(`Event Reporting - Item to be added has size ${size} bytes. Item cannot exceed max item size allowed of ${InMemoryJSONEventBuffer.MAX_ITEM_SIZE_BYTES_ALLOWED} bytes.`);if(this.importantEvents.has(name))return this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - addItem - sending important event ${JSON.stringify(event)}`),void this.sendEventImmediately({name,ts,attributes:filteredAttributes});if(this.isFull())throw this.logger.warn("Event Reporting - Event buffer is full"),new Error("Buffer full");if(this.currentIngestionEvent.payloads.push(event),this.ingestionEventSize+=size,this.bufferItemThresholdReached(size)){const currentEvent=this.deepCopyCurrentIngestionEvent(this.currentIngestionEvent);this.buffer.push(currentEvent),this.bufferSize+=this.ingestionEventSize,this.currentIngestionEvent=this.initializeAndGetCurrentIngestionEvent(),this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - addItem - buffer item threshold reached updated buffer ${JSON.stringify(this.buffer)}`)}}))}filterAttributes(attributes,attributesToFilter){const attributesToFilterSet=new Set(attributesToFilter);return Object.keys(attributes).filter((key=>attributesToFilterSet.has(key))).forEach((key=>delete attributes[key])),attributes}initializeAndGetCurrentIngestionEvent(){const bufferItem={type:this.type,v:this.v,payloads:[]};return this.ingestionEventSize=this.getSize(bufferItem),bufferItem}bufferItemThresholdReached(size){return size+this.ingestionEventSize>=this.maxBufferItemCapacityBytes||this.currentIngestionEvent.payloads.length===InMemoryJSONEventBuffer.MAX_PAYLOAD_ITEMS}getSize(item){let bytes=0;if("object"==typeof item)for(const[key,value]of Object.entries(item))bytes+=this.getPrimitiveSize(key),bytes+=this.getSize(value);else bytes+=this.getPrimitiveSize(item);return bytes}getPrimitiveSize(item){let bytes=0;return"string"==typeof item?bytes+=2*item.length:"number"==typeof item&&(bytes+=8),bytes}isFull(){return this.bufferSize===this.maxBufferCapacityBytes||this.buffer.length===this.totalBufferItems}isEmpty(){return 0===this.buffer.length||0===this.bufferSize}getItems(end,start=0){if(this.isEmpty())return[];end=Math.min(this.buffer.length,end+1);return this.buffer.splice(start,end)}makeBeaconRequestBody(batchEvents){const ingestionRecord={metadata:this.metadata,events:batchEvents,authorization:this.authenticationToken};return JSON.stringify(ingestionRecord)}makeRequestBody(batchEvents){const ingestionRecord={metadata:this.metadata,events:batchEvents};return JSON.stringify(ingestionRecord)}sendEventImmediately(item){return __awaiter(this,void 0,void 0,(function*(){this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - important event received ${JSON.stringify(item)}`);const{name,ts,attributes}=item,event={type:this.type,v:this.v,payloads:[Object.assign({name,ts},attributes)]};let failed=!1,response=null;const body=this.makeRequestBody([event]);try{if(response=yield this.send(body),response.ok){try{const data=yield response.json();this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - send successful event: ${body}, message: ${JSON.stringify(data)}`)}catch(err){this.logger.warn(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - Error reading OK response ${err} for event ${body}`)}return}this.logger.error(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - Failed to send an important event ${body} with response status ${response.status}`),failed=!0}catch(error){this.logger.warn(`Event Reporting - There may be a failure in sending an important event ${body} to the ingestion endpoint ${error}.`),failed=!0;try{if("firefox"===this.metadata.browserName.toLowerCase()){const body=this.makeBeaconRequestBody([event]);this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - beaconing data out ${body}`),failed=!navigator.sendBeacon(`${this.ingestionURL}?beacon=1`,body)}}catch(error){this.logger.warn(`Event Reporting - Error sending beacon for an important event ${body}`),failed=!0}}failed&&(this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - pushing to failed events ${body}`),this.failedIngestionEvents.push(event))}))}send(data){return __awaiter(this,void 0,void 0,(function*(){const backoff=new FullJitterBackoff_1.default(InMemoryJSONEventBuffer.RETRY_FIXED_BACKOFF_WAIT_MS,InMemoryJSONEventBuffer.RETRY_SHORT_BACKOFF_MS,InMemoryJSONEventBuffer.RETRY_LONG_BACKOFF_MS);try{let retryCount=0;for(;retryCount0){const clearCurrenIngestionEvent=this.deepCopyCurrentIngestionEvent(this.currentIngestionEvent);events.push(clearCurrenIngestionEvent),this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendBeacon - clearing out current ingestion event ${JSON.stringify(clearCurrenIngestionEvent)}`),this.currentIngestionEvent=this.initializeAndGetCurrentIngestionEvent()}if(this.failedIngestionEvents.length>0){const failedRecordsCopy=this.failedIngestionEvents.map((record=>this.deepCopyCurrentIngestionEvent(record)));events.push(...failedRecordsCopy),this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendBeacon - clearing out any failed ingestion event ${JSON.stringify(failedRecordsCopy)}`),this.failedIngestionEvents=[]}if(this.cancellableEvents.size>0&&(this.cancellableEvents.forEach((value=>{events.push(...value),this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendBeacon - clearing out each cancellable event ${JSON.stringify(value)}`)})),this.cancellableEvents.clear()),0===events.length)return;const beaconData=this.makeBeaconRequestBody(events);this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendBeacon - beacon data to send ${beaconData}`);try{navigator.sendBeacon(`${this.ingestionURL}?beacon=1`,beaconData)||this.logger.warn(`Event Reporting - Browser failed to queue beacon data ${beaconData}`)}catch(error){this.logger.warn(`Event Reporting - Sending beacon data ${beaconData} failed with error ${error}`)}}))}reset(){this.maxBufferCapacityBytes=0,this.totalBufferItems=0,this.buffer=[],this.bufferSize=0,this.maxBufferItemCapacityBytes=0,this.ingestionEventSize=0,this.flushIntervalMs=0,this.flushSize=0,this.failedIngestionEvents=[],this.lock=!1,this.beaconEventListener=void 0,this.cancellableEvents.clear()}destroy(){return __awaiter(this,void 0,void 0,(function*(){this.stop(),this.reset()}))}}exports.default=InMemoryJSONEventBuffer,InMemoryJSONEventBuffer.SENDING_FAILURE_CODES=new Set([408,429,500,502,503,504]),InMemoryJSONEventBuffer.RETRY_FIXED_BACKOFF_WAIT_MS=0,InMemoryJSONEventBuffer.RETRY_SHORT_BACKOFF_MS=1e3,InMemoryJSONEventBuffer.RETRY_LONG_BACKOFF_MS=15e3,InMemoryJSONEventBuffer.MAX_PAYLOAD_ITEMS=2,InMemoryJSONEventBuffer.MAX_ITEM_SIZE_BYTES_ALLOWED=3e3},"./node_modules/amazon-chime-sdk-js/build/eventbufferconfiguration/EventBufferConfiguration.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class EventBufferConfiguration{constructor(flushIntervalMs=5e3,flushSize=2,maxBufferCapacityKb=64,totalBufferItems=100,retryCountLimit=15){this.flushIntervalMs=flushIntervalMs,this.flushSize=flushSize,this.maxBufferCapacityKb=maxBufferCapacityKb,this.totalBufferItems=totalBufferItems,this.retryCountLimit=retryCountLimit}}},"./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const ua_parser_js_1=__webpack_require__("./node_modules/ua-parser-js/src/ua-parser.js"),Destroyable_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js"),EventIngestionConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventingestionconfiguration/EventIngestionConfiguration.js"),DefaultMeetingEventReporter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventreporter/DefaultMeetingEventReporter.js"),MeetingEventsClientConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventsclientconfiguration/MeetingEventsClientConfiguration.js"),AsyncScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js"),Versioning_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js"),flattenEventAttributes_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventcontroller/flattenEventAttributes.js");class DefaultEventController{constructor(configuration,logger,eventReporter){var _a,_b,_c,_d,_e,_f,_g;this.meetingHistoryStates=[],this.observerSet=new Set,this.destroyed=!1,this.logger=logger,this.configuration=configuration,this.setupEventReporter(configuration,logger,eventReporter);try{this.parserResult=navigator&&navigator.userAgent?new ua_parser_js_1.UAParser(navigator.userAgent).getResult():null}catch(error){this.logger.error(error.message)}this.browserMajorVersion=(null===(_c=null===(_b=null===(_a=this.parserResult)||void 0===_a?void 0:_a.browser)||void 0===_b?void 0:_b.version)||void 0===_c?void 0:_c.split(".")[0])||DefaultEventController.UNAVAILABLE,this.browserName=(null===(_d=this.parserResult)||void 0===_d?void 0:_d.browser.name)||DefaultEventController.UNAVAILABLE,this.browserVersion=(null===(_e=this.parserResult)||void 0===_e?void 0:_e.browser.version)||DefaultEventController.UNAVAILABLE,this.deviceName=[(null===(_f=this.parserResult)||void 0===_f?void 0:_f.device.vendor)||"",(null===(_g=this.parserResult)||void 0===_g?void 0:_g.device.model)||""].join(" ").trim()||DefaultEventController.UNAVAILABLE}addObserver(observer){this.observerSet.add(observer)}removeObserver(observer){this.observerSet.delete(observer)}forEachObserver(observerFunc){for(const observer of this.observerSet)AsyncScheduler_1.default.nextTick((()=>{this.observerSet.has(observer)&&observerFunc(observer)}))}publishEvent(name,attributes){return __awaiter(this,void 0,void 0,(function*(){const timestampMs=Date.now();this.meetingHistoryStates.push({name,timestampMs});const eventAttributes=Object.freeze(Object.assign(this.getAttributes(timestampMs),attributes));this.forEachObserver((observer=>{observer.eventDidReceive(name,eventAttributes)})),this.reportEvent(name,timestampMs,attributes)}))}reportEvent(name,timestampMs,attributes){var _a;return __awaiter(this,void 0,void 0,(function*(){let flattenedAttributes;try{attributes&&(flattenedAttributes=flattenEventAttributes_1.default(attributes)),yield null===(_a=this.eventReporter)||void 0===_a?void 0:_a.reportEvent(timestampMs,name,flattenedAttributes)}catch(error){this.logger.error(`Error reporting event ${error}`)}}))}setupEventReporter(configuration,logger,eventReporter){if(eventReporter)this._eventReporter=eventReporter;else if(configuration.urls){const eventIngestionURL=configuration.urls.eventIngestionURL;if(eventIngestionURL){this.logger.info("Event ingestion URL is present in the configuration");const{meetingId,credentials:{attendeeId,joinToken}}=configuration,meetingEventsClientConfiguration=new MeetingEventsClientConfiguration_1.default(meetingId,attendeeId,joinToken),eventIngestionConfiguration=new EventIngestionConfiguration_1.default(meetingEventsClientConfiguration,eventIngestionURL);this._eventReporter=new DefaultMeetingEventReporter_1.default(eventIngestionConfiguration,logger)}}}getAttributes(timestampMs){var _a,_b;return{attendeeId:this.configuration.credentials.attendeeId,browserMajorVersion:this.browserMajorVersion,browserName:this.browserName,browserVersion:this.browserVersion,deviceName:this.deviceName,externalMeetingId:"string"==typeof this.configuration.externalMeetingId?this.configuration.externalMeetingId:"",externalUserId:this.configuration.credentials.externalUserId,meetingHistory:this.meetingHistoryStates,meetingId:this.configuration.meetingId,osName:(null===(_a=this.parserResult)||void 0===_a?void 0:_a.os.name)||DefaultEventController.UNAVAILABLE,osVersion:(null===(_b=this.parserResult)||void 0===_b?void 0:_b.os.version)||DefaultEventController.UNAVAILABLE,sdkVersion:Versioning_1.default.sdkVersion,sdkName:Versioning_1.default.sdkName,timestampMs}}get eventReporter(){return this._eventReporter}destroy(){return __awaiter(this,void 0,void 0,(function*(){Destroyable_1.isDestroyable(this.eventReporter)&&(yield this.eventReporter.destroy()),this.logger=void 0,this.configuration=void 0,this._eventReporter=void 0,this.destroyed=!0}))}}exports.default=DefaultEventController,DefaultEventController.UNAVAILABLE="Unavailable"},"./node_modules/amazon-chime-sdk-js/build/eventcontroller/flattenEventAttributes.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=attributes=>{const flattenedAttributes={};for(const[key,value]of Object.entries(attributes))if(null!=value&&""!==value){if("number"!=typeof value&&"string"!=typeof value)throw new TypeError("Unhandled type received while flattening attributes.");flattenedAttributes[key]=value}return flattenedAttributes}},"./node_modules/amazon-chime-sdk-js/build/eventingestionconfiguration/EventIngestionConfiguration.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const EventBufferConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventbufferconfiguration/EventBufferConfiguration.js");exports.default=class EventIngestionConfiguration{constructor(eventsClientConfiguration,ingestionURL,eventBufferConfiguration=new EventBufferConfiguration_1.default){this.eventsClientConfiguration=eventsClientConfiguration,this.ingestionURL=ingestionURL,this.eventBufferConfiguration=eventBufferConfiguration}}},"./node_modules/amazon-chime-sdk-js/build/eventreporter/DefaultMeetingEventReporter.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const Destroyable_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js"),InMemoryJSONEventBuffer_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventbuffer/InMemoryJSONEventBuffer.js");exports.default=class DefaultMeetingEventReporter{constructor(eventIngestionConfiguration,logger){this.reportingEvents=!1,this.importantEvents=["meetingEnded","meetingFailed","meetingStartFailed","audioInputFailed","videoInputFailed","meetingStartSucceeded"],this.destroyed=!1;const{eventsClientConfiguration,ingestionURL,eventBufferConfiguration}=eventIngestionConfiguration,{eventsToIgnore}=eventsClientConfiguration;this.eventBuffer=new InMemoryJSONEventBuffer_1.default(eventBufferConfiguration,eventsClientConfiguration,ingestionURL,this.importantEvents,logger),this.logger=logger,this.eventsToIgnore=eventsToIgnore,this.start()}start(){if(!this.reportingEvents)try{this.eventBuffer.start(),this.logger.info("Event reporting started"),this.reportingEvents=!0}catch(error){this.logger.error(`Event Reporting - Error starting the event buffer ${error}`)}}stop(){if(this.reportingEvents)try{this.eventBuffer.stop(),this.logger.info("Event reporting stopped"),this.reportingEvents=!1}catch(error){this.logger.error(`Event Reporting - Error stopping the event buffer ${error}`)}}reportEvent(ts,name,attributes){return __awaiter(this,void 0,void 0,(function*(){if(this.logger.debug(`Event Reporting - DefaultMeetingEventReporter - event received in reportEvent ${ts}, ${name}, ${JSON.stringify(attributes)}`),this.eventsToIgnore.includes(name))this.logger.debug(`Event Reporting - DefaultMeetingEventReporter - ${name} event will be ignored as it is in events to ignore`);else try{this.logger.debug("Event Reporting - DefaultMeetingEventReporter - adding item to event buffer"),yield this.eventBuffer.addItem({ts,name,attributes})}catch(error){this.logger.error(`Event Reporting - Error adding event to buffer ${error}`)}}))}destroy(){return __awaiter(this,void 0,void 0,(function*(){this.destroyed=!0,this.stop(),Destroyable_1.isDestroyable(this.eventBuffer)&&this.eventBuffer.destroy(),this.eventBuffer=void 0}))}}},"./node_modules/amazon-chime-sdk-js/build/eventreporter/NoOpEventReporter.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class NoOpEventReporter{constructor(){}reportEvent(_ts,_name,_attributes){}start(){}stop(){}}},"./node_modules/amazon-chime-sdk-js/build/eventsclientconfiguration/MeetingEventsClientConfiguration.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class MeetingEventsClientConfiguration{constructor(meetingId,attendeeId,authenticationToken,eventsToIgnore=[]){this.type="Meet",this.v=1,this.meetingId=meetingId,this.attendeeId=attendeeId,this.eventsToIgnore=eventsToIgnore,this.authenticationToken=authenticationToken}getAuthenticationToken(){return this.authenticationToken}toJSON(){const attributes={};return attributes.type=this.type,attributes.v=this.v,attributes.meetingId=this.meetingId,attributes.attendeeId=this.attendeeId,attributes}}},"./node_modules/amazon-chime-sdk-js/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultEventController=exports.DefaultDevicePixelRatioMonitor=exports.DefaultDeviceController=exports.DefaultContentShareController=exports.DefaultBrowserBehavior=exports.DefaultAudioVideoFacade=exports.DefaultAudioVideoController=exports.DefaultAudioMixController=exports.DefaultActiveSpeakerPolicy=exports.DefaultActiveSpeakerDetector=exports.DataMessage=exports.CreateSDPTask=exports.CreatePeerConnectionTask=exports.ContentShareMediaStreamBroker=exports.ContentShareConstants=exports.ConsoleLogger=exports.ConnectionHealthPolicyConfiguration=exports.ConnectionHealthData=exports.ClientVideoStreamReceivingReport=exports.ClientMetricReportMediaType=exports.ClientMetricReportDirection=exports.ClientMetricReport=exports.CleanStoppedSessionTask=exports.CleanRestartedSessionTask=exports.CheckVideoInputFeedback=exports.CheckVideoConnectivityFeedback=exports.CheckNetworkUDPConnectivityFeedback=exports.CheckNetworkTCPConnectivityFeedback=exports.CheckContentShareConnectivityFeedback=exports.CheckCameraResolutionFeedback=exports.CheckAudioOutputFeedback=exports.CheckAudioInputFeedback=exports.CheckAudioConnectivityFeedback=exports.CanvasVideoFrameBuffer=exports.CSPMonitor=exports.BitrateParameters=exports.BaseTask=exports.BaseConnectionHealthPolicy=exports.BackgroundReplacementVideoFrameProcessor=exports.BackgroundFilterVideoFrameProcessor=exports.BackgroundBlurVideoFrameProcessor=exports.BackgroundBlurStrength=exports.AudioVideoControllerState=exports.AudioProfile=exports.AudioLogEvent=exports.Attendee=exports.AttachMediaInputTask=exports.AsyncScheduler=exports.ApplicationMetadata=exports.AllHighestVideoBandwidthPolicy=void 0,exports.MeetingSessionCredentials=exports.MeetingSessionConfiguration=exports.MeetingReadinessCheckerConfiguration=exports.MeetingEventsClientConfiguration=exports.MediaDeviceProxyHandler=exports.Maybe=exports.LogLevel=exports.Log=exports.ListenForVolumeIndicatorsTask=exports.LeaveAndReceiveLeaveAckTask=exports.JoinAndReceiveIndexTask=exports.IntervalScheduler=exports.InMemoryJSONEventBuffer=exports.GlobalMetricReport=exports.GetUserMediaError=exports.FullJitterLimitedBackoff=exports.FullJitterBackoffFactory=exports.FullJitterBackoff=exports.FinishGatheringICECandidatesTask=exports.EventIngestionConfiguration=exports.EventBufferConfiguration=exports.DeviceSelection=exports.DevicePixelRatioWindowSource=exports.DefaultWebSocketAdapter=exports.DefaultVolumeIndicatorAdapter=exports.DefaultVideoTransformDevice=exports.DefaultVideoTileFactory=exports.DefaultVideoTileController=exports.DefaultVideoTile=exports.DefaultVideoStreamIndex=exports.DefaultVideoStreamIdSet=exports.DefaultVideoFrameProcessorPipeline=exports.DefaultVideoCaptureAndEncodeParameter=exports.DefaultUserAgentParser=exports.DefaultTranscriptionController=exports.DefaultTransceiverController=exports.DefaultSimulcastUplinkPolicyForContentShare=exports.DefaultSimulcastUplinkPolicy=exports.DefaultSignalingClient=exports.DefaultSigV4=exports.DefaultSessionStateController=exports.DefaultReconnectController=exports.DefaultRealtimeController=exports.DefaultPingPong=exports.DefaultModality=exports.DefaultMessagingSession=exports.DefaultMeetingSession=exports.DefaultMeetingReadinessChecker=exports.DefaultMeetingEventReporter=exports.DefaultMediaDeviceFactory=void 0,exports.SDPMediaSection=exports.SDPCandidateType=exports.SDP=exports.RunnableTask=exports.ReconnectionHealthPolicy=exports.ReceiveVideoStreamIndexTask=exports.ReceiveVideoInputTask=exports.ReceiveTURNCredentialsTask=exports.ReceiveAudioInputTask=exports.RealtimeVolumeIndicator=exports.RealtimeState=exports.RealtimeAttendeePositionInFrame=exports.PromoteToPrimaryMeetingTask=exports.PromiseQueue=exports.PrefetchSortBy=exports.PrefetchOn=exports.PermissionDeniedError=exports.ParallelGroupTask=exports.POSTLogger=exports.OverconstrainedError=exports.OpenSignalingConnectionTask=exports.OnceTask=exports.NotReadableError=exports.NotFoundError=exports.None=exports.NoVideoUplinkBandwidthPolicy=exports.NoVideoDownlinkBandwidthPolicy=exports.NoOpVideoFrameProcessor=exports.NoOpVideoElementFactory=exports.NoOpTask=exports.NoOpMediaStreamBroker=exports.NoOpLogger=exports.NoOpEventReporter=exports.NoOpDeviceController=exports.NoOpDebugLogger=exports.NoOpAudioVideoController=exports.NScaleVideoUplinkBandwidthPolicy=exports.MutableVideoPreferences=exports.MultiLogger=exports.MonitorTask=exports.ModelSpecBuilder=exports.MessagingSessionConfiguration=exports.Message=exports.MeetingSessionVideoAvailability=exports.MeetingSessionURLs=exports.MeetingSessionTURNCredentials=exports.MeetingSessionStatusCode=exports.MeetingSessionStatus=exports.MeetingSessionLifecycleEventCondition=exports.MeetingSessionLifecycleEvent=void 0,exports.VideoPriorityBasedPolicyConfig=exports.VideoPriorityBasedPolicy=exports.VideoPreferences=exports.VideoPreference=exports.VideoOnlyTransceiverController=exports.VideoLogEvent=exports.VideoFxProcessor=exports.VideoCodecCapability=exports.VideoAdaptiveProbePolicy=exports.Versioning=exports.UnusableAudioWarningConnectionHealthPolicy=exports.TypeError=exports.TranscriptionStatusType=exports.TranscriptionStatus=exports.TranscriptResult=exports.TranscriptLanguageWithScore=exports.TranscriptItemType=exports.TranscriptItem=exports.TranscriptEntity=exports.TranscriptAlternative=exports.Transcript=exports.TimeoutTask=exports.TimeoutScheduler=exports.TaskStatus=exports.TargetDisplaySize=exports.SubscribeAndReceiveSubscribeAckTask=exports.StreamMetricReport=exports.Some=exports.SingleNodeAudioTransformDevice=exports.SimulcastVideoStreamIndex=exports.SimulcastTransceiverController=exports.SimulcastLayers=exports.SimulcastContentShareTransceiverController=exports.SignalingClientVideoSubscriptionConfiguration=exports.SignalingClientSubscribe=exports.SignalingClientJoin=exports.SignalingClientEventType=exports.SignalingClientEvent=exports.SignalingClientConnectionRequest=exports.SignalingAndMetricsConnectionMonitor=exports.SetRemoteDescriptionTask=exports.SetLocalDescriptionTask=exports.SessionStateControllerTransitionResult=exports.SessionStateControllerState=exports.SessionStateControllerDeferPriority=exports.SessionStateControllerAction=exports.ServerSideNetworkAdaption=exports.SerialGroupTask=exports.SendingAudioFailureConnectionHealthPolicy=exports.SendAndReceiveDataMessagesTask=void 0,exports.isVideoTransformDevice=exports.isDestroyable=exports.isAudioTransformDevice=exports.ZLIBTextCompressor=exports.WebSocketReadyState=exports.WaitForAttendeePresenceTask=exports.VoiceFocusTransformDevice=exports.VoiceFocusDeviceTransformer=exports.VideoTileState=exports.VideoStreamDescription=exports.VideoSource=exports.VideoQualitySettings=void 0;const AllHighestVideoBandwidthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy.js");exports.AllHighestVideoBandwidthPolicy=AllHighestVideoBandwidthPolicy_1.default;const ApplicationMetadata_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/applicationmetadata/ApplicationMetadata.js");exports.ApplicationMetadata=ApplicationMetadata_1.default;const AsyncScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js");exports.AsyncScheduler=AsyncScheduler_1.default;const AttachMediaInputTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/AttachMediaInputTask.js");exports.AttachMediaInputTask=AttachMediaInputTask_1.default;const Attendee_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/attendee/Attendee.js");exports.Attendee=Attendee_1.default;const AudioLogEvent_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js");exports.AudioLogEvent=AudioLogEvent_1.default;const AudioProfile_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audioprofile/AudioProfile.js");exports.AudioProfile=AudioProfile_1.default;const AudioVideoControllerState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/AudioVideoControllerState.js");exports.AudioVideoControllerState=AudioVideoControllerState_1.default;const BackgroundBlurStrength_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js");exports.BackgroundBlurStrength=BackgroundBlurStrength_1.default;const BackgroundBlurVideoFrameProcessor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessor.js");exports.BackgroundBlurVideoFrameProcessor=BackgroundBlurVideoFrameProcessor_1.default;const BackgroundFilterVideoFrameProcessor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js");exports.BackgroundFilterVideoFrameProcessor=BackgroundFilterVideoFrameProcessor_1.default;const BackgroundReplacementVideoFrameProcessor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessor.js");exports.BackgroundReplacementVideoFrameProcessor=BackgroundReplacementVideoFrameProcessor_1.default;const BaseConnectionHealthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js");exports.BaseConnectionHealthPolicy=BaseConnectionHealthPolicy_1.default;const BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");exports.BaseTask=BaseTask_1.default;const BitrateParameters_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js");exports.BitrateParameters=BitrateParameters_1.default;const CSPMonitor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js");exports.CSPMonitor=CSPMonitor_1.default;const CanvasVideoFrameBuffer_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js");exports.CanvasVideoFrameBuffer=CanvasVideoFrameBuffer_1.default;const CheckAudioConnectivityFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioConnectivityFeedback.js");exports.CheckAudioConnectivityFeedback=CheckAudioConnectivityFeedback_1.default;const CheckAudioInputFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioInputFeedback.js");exports.CheckAudioInputFeedback=CheckAudioInputFeedback_1.default;const CheckAudioOutputFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioOutputFeedback.js");exports.CheckAudioOutputFeedback=CheckAudioOutputFeedback_1.default;const CheckCameraResolutionFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckCameraResolutionFeedback.js");exports.CheckCameraResolutionFeedback=CheckCameraResolutionFeedback_1.default;const CheckContentShareConnectivityFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckContentShareConnectivityFeedback.js");exports.CheckContentShareConnectivityFeedback=CheckContentShareConnectivityFeedback_1.default;const CheckNetworkTCPConnectivityFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback.js");exports.CheckNetworkTCPConnectivityFeedback=CheckNetworkTCPConnectivityFeedback_1.default;const CheckNetworkUDPConnectivityFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback.js");exports.CheckNetworkUDPConnectivityFeedback=CheckNetworkUDPConnectivityFeedback_1.default;const CheckVideoConnectivityFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoConnectivityFeedback.js");exports.CheckVideoConnectivityFeedback=CheckVideoConnectivityFeedback_1.default;const CheckVideoInputFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoInputFeedback.js");exports.CheckVideoInputFeedback=CheckVideoInputFeedback_1.default;const CleanRestartedSessionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/CleanRestartedSessionTask.js");exports.CleanRestartedSessionTask=CleanRestartedSessionTask_1.default;const CleanStoppedSessionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/CleanStoppedSessionTask.js");exports.CleanStoppedSessionTask=CleanStoppedSessionTask_1.default;const ClientMetricReport_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js");exports.ClientMetricReport=ClientMetricReport_1.default;const ClientMetricReportDirection_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js");exports.ClientMetricReportDirection=ClientMetricReportDirection_1.default;const ClientMetricReportMediaType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js");exports.ClientMetricReportMediaType=ClientMetricReportMediaType_1.default;const ClientVideoStreamReceivingReport_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js");exports.ClientVideoStreamReceivingReport=ClientVideoStreamReceivingReport_1.default;const ConnectionHealthData_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthData.js");exports.ConnectionHealthData=ConnectionHealthData_1.default;const ConnectionHealthPolicyConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthPolicyConfiguration.js");exports.ConnectionHealthPolicyConfiguration=ConnectionHealthPolicyConfiguration_1.default;const ConsoleLogger_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js");exports.ConsoleLogger=ConsoleLogger_1.default;const ContentShareConstants_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js");exports.ContentShareConstants=ContentShareConstants_1.default;const ContentShareMediaStreamBroker_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareMediaStreamBroker.js");exports.ContentShareMediaStreamBroker=ContentShareMediaStreamBroker_1.default;const CreatePeerConnectionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/CreatePeerConnectionTask.js");exports.CreatePeerConnectionTask=CreatePeerConnectionTask_1.default;const CreateSDPTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/CreateSDPTask.js");exports.CreateSDPTask=CreateSDPTask_1.default;const DataMessage_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.js");exports.DataMessage=DataMessage_1.default;const DefaultActiveSpeakerDetector_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/activespeakerdetector/DefaultActiveSpeakerDetector.js");exports.DefaultActiveSpeakerDetector=DefaultActiveSpeakerDetector_1.default;const DefaultActiveSpeakerPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/activespeakerpolicy/DefaultActiveSpeakerPolicy.js");exports.DefaultActiveSpeakerPolicy=DefaultActiveSpeakerPolicy_1.default;const DefaultAudioMixController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js");exports.DefaultAudioMixController=DefaultAudioMixController_1.default;const DefaultAudioVideoController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js");exports.DefaultAudioVideoController=DefaultAudioVideoController_1.default;const DefaultAudioVideoFacade_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audiovideofacade/DefaultAudioVideoFacade.js");exports.DefaultAudioVideoFacade=DefaultAudioVideoFacade_1.default;const DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js");exports.DefaultBrowserBehavior=DefaultBrowserBehavior_1.default;const DefaultContentShareController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/DefaultContentShareController.js");exports.DefaultContentShareController=DefaultContentShareController_1.default;const DefaultDeviceController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js");exports.DefaultDeviceController=DefaultDeviceController_1.default;const DefaultDevicePixelRatioMonitor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js");exports.DefaultDevicePixelRatioMonitor=DefaultDevicePixelRatioMonitor_1.default;const DefaultEventController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js");exports.DefaultEventController=DefaultEventController_1.default;const DefaultMediaDeviceFactory_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/DefaultMediaDeviceFactory.js");exports.DefaultMediaDeviceFactory=DefaultMediaDeviceFactory_1.default;const DefaultMeetingEventReporter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventreporter/DefaultMeetingEventReporter.js");exports.DefaultMeetingEventReporter=DefaultMeetingEventReporter_1.default;const DefaultMeetingReadinessChecker_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/DefaultMeetingReadinessChecker.js");exports.DefaultMeetingReadinessChecker=DefaultMeetingReadinessChecker_1.default;const DefaultMeetingSession_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/DefaultMeetingSession.js");exports.DefaultMeetingSession=DefaultMeetingSession_1.default;const DefaultMessagingSession_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/messagingsession/DefaultMessagingSession.js");exports.DefaultMessagingSession=DefaultMessagingSession_1.default;const DefaultModality_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js");exports.DefaultModality=DefaultModality_1.default;const DefaultPingPong_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/pingpong/DefaultPingPong.js");exports.DefaultPingPong=DefaultPingPong_1.default;const DefaultRealtimeController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/realtimecontroller/DefaultRealtimeController.js");exports.DefaultRealtimeController=DefaultRealtimeController_1.default;const DefaultReconnectController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js");exports.DefaultReconnectController=DefaultReconnectController_1.default;const DefaultSessionStateController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/DefaultSessionStateController.js");exports.DefaultSessionStateController=DefaultSessionStateController_1.default;const DefaultSigV4_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sigv4/DefaultSigV4.js");exports.DefaultSigV4=DefaultSigV4_1.default;const DefaultSignalingClient_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/DefaultSignalingClient.js");exports.DefaultSignalingClient=DefaultSignalingClient_1.default;const DefaultSimulcastUplinkPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy.js");exports.DefaultSimulcastUplinkPolicy=DefaultSimulcastUplinkPolicy_1.default;const DefaultSimulcastUplinkPolicyForContentShare_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare.js");exports.DefaultSimulcastUplinkPolicyForContentShare=DefaultSimulcastUplinkPolicyForContentShare_1.default;const DefaultTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js");exports.DefaultTransceiverController=DefaultTransceiverController_1.default;const DefaultTranscriptionController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/DefaultTranscriptionController.js");exports.DefaultTranscriptionController=DefaultTranscriptionController_1.default;const DefaultUserAgentParser_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/useragentparser/DefaultUserAgentParser.js");exports.DefaultUserAgentParser=DefaultUserAgentParser_1.default;const DefaultVideoCaptureAndEncodeParameter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js");exports.DefaultVideoCaptureAndEncodeParameter=DefaultVideoCaptureAndEncodeParameter_1.default;const DefaultVideoFrameProcessorPipeline_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js");exports.DefaultVideoFrameProcessorPipeline=DefaultVideoFrameProcessorPipeline_1.default;const DefaultVideoStreamIdSet_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js");exports.DefaultVideoStreamIdSet=DefaultVideoStreamIdSet_1.default;const DefaultVideoStreamIndex_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js");exports.DefaultVideoStreamIndex=DefaultVideoStreamIndex_1.default;const DefaultVideoTile_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js");exports.DefaultVideoTile=DefaultVideoTile_1.default;const DefaultVideoTileController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videotilecontroller/DefaultVideoTileController.js");exports.DefaultVideoTileController=DefaultVideoTileController_1.default;const DefaultVideoTileFactory_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videotilefactory/DefaultVideoTileFactory.js");exports.DefaultVideoTileFactory=DefaultVideoTileFactory_1.default;const DefaultVideoTransformDevice_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.js");exports.DefaultVideoTransformDevice=DefaultVideoTransformDevice_1.default;const DefaultVolumeIndicatorAdapter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/volumeindicatoradapter/DefaultVolumeIndicatorAdapter.js");exports.DefaultVolumeIndicatorAdapter=DefaultVolumeIndicatorAdapter_1.default;const DefaultWebSocketAdapter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js");exports.DefaultWebSocketAdapter=DefaultWebSocketAdapter_1.default;const DevicePixelRatioWindowSource_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.js");exports.DevicePixelRatioWindowSource=DevicePixelRatioWindowSource_1.default;const DeviceSelection_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/DeviceSelection.js");exports.DeviceSelection=DeviceSelection_1.default;const EventBufferConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventbufferconfiguration/EventBufferConfiguration.js");exports.EventBufferConfiguration=EventBufferConfiguration_1.default;const EventIngestionConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventingestionconfiguration/EventIngestionConfiguration.js");exports.EventIngestionConfiguration=EventIngestionConfiguration_1.default;const FinishGatheringICECandidatesTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/FinishGatheringICECandidatesTask.js");exports.FinishGatheringICECandidatesTask=FinishGatheringICECandidatesTask_1.default;const FullJitterBackoff_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js");exports.FullJitterBackoff=FullJitterBackoff_1.default;const FullJitterBackoffFactory_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoffFactory.js");exports.FullJitterBackoffFactory=FullJitterBackoffFactory_1.default;const FullJitterLimitedBackoff_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterLimitedBackoff.js");exports.FullJitterLimitedBackoff=FullJitterLimitedBackoff_1.default;const GetUserMediaError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");exports.GetUserMediaError=GetUserMediaError_1.default;const GlobalMetricReport_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/GlobalMetricReport.js");exports.GlobalMetricReport=GlobalMetricReport_1.default;const InMemoryJSONEventBuffer_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventbuffer/InMemoryJSONEventBuffer.js");exports.InMemoryJSONEventBuffer=InMemoryJSONEventBuffer_1.default;const IntervalScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js");exports.IntervalScheduler=IntervalScheduler_1.default;const JoinAndReceiveIndexTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/JoinAndReceiveIndexTask.js");exports.JoinAndReceiveIndexTask=JoinAndReceiveIndexTask_1.default;const LeaveAndReceiveLeaveAckTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/LeaveAndReceiveLeaveAckTask.js");exports.LeaveAndReceiveLeaveAckTask=LeaveAndReceiveLeaveAckTask_1.default;const ListenForVolumeIndicatorsTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ListenForVolumeIndicatorsTask.js");exports.ListenForVolumeIndicatorsTask=ListenForVolumeIndicatorsTask_1.default;const Log_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/Log.js");exports.Log=Log_1.default;const LogLevel_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js");exports.LogLevel=LogLevel_1.default;const MediaDeviceProxyHandler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/MediaDeviceProxyHandler.js");exports.MediaDeviceProxyHandler=MediaDeviceProxyHandler_1.default;const MeetingEventsClientConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventsclientconfiguration/MeetingEventsClientConfiguration.js");exports.MeetingEventsClientConfiguration=MeetingEventsClientConfiguration_1.default;const MeetingReadinessCheckerConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/MeetingReadinessCheckerConfiguration.js");exports.MeetingReadinessCheckerConfiguration=MeetingReadinessCheckerConfiguration_1.default;const MeetingSessionConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js");exports.MeetingSessionConfiguration=MeetingSessionConfiguration_1.default;const MeetingSessionCredentials_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js");exports.MeetingSessionCredentials=MeetingSessionCredentials_1.default;const MeetingSessionLifecycleEvent_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js");exports.MeetingSessionLifecycleEvent=MeetingSessionLifecycleEvent_1.default;const MeetingSessionLifecycleEventCondition_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js");exports.MeetingSessionLifecycleEventCondition=MeetingSessionLifecycleEventCondition_1.default;const MeetingSessionStatus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js");exports.MeetingSessionStatus=MeetingSessionStatus_1.default;const MeetingSessionStatusCode_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js");exports.MeetingSessionStatusCode=MeetingSessionStatusCode_1.default;const MeetingSessionTURNCredentials_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js");exports.MeetingSessionTURNCredentials=MeetingSessionTURNCredentials_1.default;const MeetingSessionURLs_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js");exports.MeetingSessionURLs=MeetingSessionURLs_1.default;const MeetingSessionVideoAvailability_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionVideoAvailability.js");exports.MeetingSessionVideoAvailability=MeetingSessionVideoAvailability_1.default;const Message_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/message/Message.js");exports.Message=Message_1.default;const MessagingSessionConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/messagingsession/MessagingSessionConfiguration.js");exports.MessagingSessionConfiguration=MessagingSessionConfiguration_1.default;const ModelSpecBuilder_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/ModelSpecBuilder.js");exports.ModelSpecBuilder=ModelSpecBuilder_1.default;const MonitorTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/MonitorTask.js");exports.MonitorTask=MonitorTask_1.default;const MultiLogger_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/MultiLogger.js");exports.MultiLogger=MultiLogger_1.default;const NScaleVideoUplinkBandwidthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy.js");exports.NScaleVideoUplinkBandwidthPolicy=NScaleVideoUplinkBandwidthPolicy_1.default;const NoOpAudioVideoController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/NoOpAudioVideoController.js");exports.NoOpAudioVideoController=NoOpAudioVideoController_1.default;const NoOpDebugLogger_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/NoOpDebugLogger.js");exports.NoOpDebugLogger=NoOpDebugLogger_1.default;const NoOpDeviceController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/NoOpDeviceController.js");exports.NoOpDeviceController=NoOpDeviceController_1.default;const NoOpEventReporter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventreporter/NoOpEventReporter.js");exports.NoOpEventReporter=NoOpEventReporter_1.default;const NoOpLogger_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js");exports.NoOpLogger=NoOpLogger_1.default;const NoOpMediaStreamBroker_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js");exports.NoOpMediaStreamBroker=NoOpMediaStreamBroker_1.default;const NoOpTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/NoOpTask.js");exports.NoOpTask=NoOpTask_1.default;const NoOpVideoElementFactory_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoelementfactory/NoOpVideoElementFactory.js");exports.NoOpVideoElementFactory=NoOpVideoElementFactory_1.default;const NoOpVideoFrameProcessor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js");exports.NoOpVideoFrameProcessor=NoOpVideoFrameProcessor_1.default;const NoVideoDownlinkBandwidthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/NoVideoDownlinkBandwidthPolicy.js");exports.NoVideoDownlinkBandwidthPolicy=NoVideoDownlinkBandwidthPolicy_1.default;const NoVideoUplinkBandwidthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NoVideoUplinkBandwidthPolicy.js");exports.NoVideoUplinkBandwidthPolicy=NoVideoUplinkBandwidthPolicy_1.default;const NotFoundError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotFoundError.js");exports.NotFoundError=NotFoundError_1.default;const NotReadableError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotReadableError.js");exports.NotReadableError=NotReadableError_1.default;const OnceTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js");exports.OnceTask=OnceTask_1.default;const OpenSignalingConnectionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/OpenSignalingConnectionTask.js");exports.OpenSignalingConnectionTask=OpenSignalingConnectionTask_1.default;const OverconstrainedError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/OverconstrainedError.js");exports.OverconstrainedError=OverconstrainedError_1.default;const POSTLogger_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/POSTLogger.js");exports.POSTLogger=POSTLogger_1.default;const ParallelGroupTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ParallelGroupTask.js");exports.ParallelGroupTask=ParallelGroupTask_1.default;const PermissionDeniedError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js");exports.PermissionDeniedError=PermissionDeniedError_1.default;const PrefetchOn_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchOn.js");exports.PrefetchOn=PrefetchOn_1.default;const PrefetchSortBy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchSortBy.js");exports.PrefetchSortBy=PrefetchSortBy_1.default;const PromiseQueue_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/PromiseQueue.js");exports.PromiseQueue=PromiseQueue_1.default;const PromoteToPrimaryMeetingTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/PromoteToPrimaryMeetingTask.js");exports.PromoteToPrimaryMeetingTask=PromoteToPrimaryMeetingTask_1.default;const RealtimeAttendeePositionInFrame_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeAttendeePositionInFrame.js");exports.RealtimeAttendeePositionInFrame=RealtimeAttendeePositionInFrame_1.default;const RealtimeState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeState.js");exports.RealtimeState=RealtimeState_1.default;const RealtimeVolumeIndicator_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeVolumeIndicator.js");exports.RealtimeVolumeIndicator=RealtimeVolumeIndicator_1.default;const ReceiveAudioInputTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ReceiveAudioInputTask.js");exports.ReceiveAudioInputTask=ReceiveAudioInputTask_1.default;const ReceiveTURNCredentialsTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ReceiveTURNCredentialsTask.js");exports.ReceiveTURNCredentialsTask=ReceiveTURNCredentialsTask_1.default;const ReceiveVideoInputTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoInputTask.js");exports.ReceiveVideoInputTask=ReceiveVideoInputTask_1.default;const ReceiveVideoStreamIndexTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoStreamIndexTask.js");exports.ReceiveVideoStreamIndexTask=ReceiveVideoStreamIndexTask_1.default;const ReconnectionHealthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js");exports.ReconnectionHealthPolicy=ReconnectionHealthPolicy_1.default;const RunnableTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/RunnableTask.js");exports.RunnableTask=RunnableTask_1.default;const SDP_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js");exports.SDP=SDP_1.default;const SDPCandidateType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/SDPCandidateType.js");exports.SDPCandidateType=SDPCandidateType_1.default;const SDPMediaSection_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/SDPMediaSection.js");exports.SDPMediaSection=SDPMediaSection_1.default;const SendAndReceiveDataMessagesTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/SendAndReceiveDataMessagesTask.js");exports.SendAndReceiveDataMessagesTask=SendAndReceiveDataMessagesTask_1.default;const SendingAudioFailureConnectionHealthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js");exports.SendingAudioFailureConnectionHealthPolicy=SendingAudioFailureConnectionHealthPolicy_1.default;const SerialGroupTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/SerialGroupTask.js");exports.SerialGroupTask=SerialGroupTask_1.default;const ServerSideNetworkAdaption_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js");exports.ServerSideNetworkAdaption=ServerSideNetworkAdaption_1.default;const SessionStateControllerAction_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js");exports.SessionStateControllerAction=SessionStateControllerAction_1.default;const SessionStateControllerDeferPriority_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerDeferPriority.js");exports.SessionStateControllerDeferPriority=SessionStateControllerDeferPriority_1.default;const SessionStateControllerState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js");exports.SessionStateControllerState=SessionStateControllerState_1.default;const SessionStateControllerTransitionResult_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js");exports.SessionStateControllerTransitionResult=SessionStateControllerTransitionResult_1.default;const SetLocalDescriptionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/SetLocalDescriptionTask.js");exports.SetLocalDescriptionTask=SetLocalDescriptionTask_1.default;const SetRemoteDescriptionTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/SetRemoteDescriptionTask.js");exports.SetRemoteDescriptionTask=SetRemoteDescriptionTask_1.default;const SignalingAndMetricsConnectionMonitor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionmonitor/SignalingAndMetricsConnectionMonitor.js");exports.SignalingAndMetricsConnectionMonitor=SignalingAndMetricsConnectionMonitor_1.default;const SignalingClientConnectionRequest_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js");exports.SignalingClientConnectionRequest=SignalingClientConnectionRequest_1.default;const SignalingClientEvent_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEvent.js");exports.SignalingClientEvent=SignalingClientEvent_1.default;const SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js");exports.SignalingClientEventType=SignalingClientEventType_1.default;const SignalingClientJoin_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js");exports.SignalingClientJoin=SignalingClientJoin_1.default;const SignalingClientSubscribe_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.js");exports.SignalingClientSubscribe=SignalingClientSubscribe_1.default;const SignalingClientVideoSubscriptionConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js");exports.SignalingClientVideoSubscriptionConfiguration=SignalingClientVideoSubscriptionConfiguration_1.default;const SimulcastContentShareTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js");exports.SimulcastContentShareTransceiverController=SimulcastContentShareTransceiverController_1.default;const SimulcastLayers_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js");exports.SimulcastLayers=SimulcastLayers_1.default;const SimulcastTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js");exports.SimulcastTransceiverController=SimulcastTransceiverController_1.default;const SimulcastVideoStreamIndex_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamindex/SimulcastVideoStreamIndex.js");exports.SimulcastVideoStreamIndex=SimulcastVideoStreamIndex_1.default;const SingleNodeAudioTransformDevice_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/SingleNodeAudioTransformDevice.js");exports.SingleNodeAudioTransformDevice=SingleNodeAudioTransformDevice_1.default;const StreamMetricReport_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js");exports.StreamMetricReport=StreamMetricReport_1.default;const SubscribeAndReceiveSubscribeAckTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/SubscribeAndReceiveSubscribeAckTask.js");exports.SubscribeAndReceiveSubscribeAckTask=SubscribeAndReceiveSubscribeAckTask_1.default;const TargetDisplaySize_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js");exports.TargetDisplaySize=TargetDisplaySize_1.default;const TaskStatus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js");exports.TaskStatus=TaskStatus_1.default;const TimeoutScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js");exports.TimeoutScheduler=TimeoutScheduler_1.default;const TimeoutTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js");exports.TimeoutTask=TimeoutTask_1.default;const Transcript_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js");exports.Transcript=Transcript_1.default;const TranscriptAlternative_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptAlternative.js");exports.TranscriptAlternative=TranscriptAlternative_1.default;const TranscriptEntity_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEntity.js");exports.TranscriptEntity=TranscriptEntity_1.default;const TranscriptItem_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItem.js");exports.TranscriptItem=TranscriptItem_1.default;const TranscriptItemType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js");exports.TranscriptItemType=TranscriptItemType_1.default;const TranscriptLanguageWithScore_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptLanguageWithScore.js");exports.TranscriptLanguageWithScore=TranscriptLanguageWithScore_1.default;const TranscriptResult_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptResult.js");exports.TranscriptResult=TranscriptResult_1.default;const TranscriptionStatus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js");exports.TranscriptionStatus=TranscriptionStatus_1.default;const TranscriptionStatusType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js");exports.TranscriptionStatusType=TranscriptionStatusType_1.default;const TypeError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/TypeError.js");exports.TypeError=TypeError_1.default;const UnusableAudioWarningConnectionHealthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.js");exports.UnusableAudioWarningConnectionHealthPolicy=UnusableAudioWarningConnectionHealthPolicy_1.default;const Versioning_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js");exports.Versioning=Versioning_1.default;const VideoAdaptiveProbePolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy.js");exports.VideoAdaptiveProbePolicy=VideoAdaptiveProbePolicy_1.default;const VideoCodecCapability_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.js");exports.VideoCodecCapability=VideoCodecCapability_1.default;const VideoFxProcessor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxProcessor.js");exports.VideoFxProcessor=VideoFxProcessor_1.default;const VideoLogEvent_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js");exports.VideoLogEvent=VideoLogEvent_1.default;const VideoOnlyTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/VideoOnlyTransceiverController.js");exports.VideoOnlyTransceiverController=VideoOnlyTransceiverController_1.default;const VideoPreference_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js");exports.VideoPreference=VideoPreference_1.default;const VideoPreferences_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js");exports.VideoPreferences=VideoPreferences_1.default;const VideoPriorityBasedPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js");exports.VideoPriorityBasedPolicy=VideoPriorityBasedPolicy_1.default;const VideoPriorityBasedPolicyConfig_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js");exports.VideoPriorityBasedPolicyConfig=VideoPriorityBasedPolicyConfig_1.default;const VideoQualitySettings_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoQualitySettings.js");exports.VideoQualitySettings=VideoQualitySettings_1.default;const VideoSource_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videosource/VideoSource.js");exports.VideoSource=VideoSource_1.default;const VideoStreamDescription_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js");exports.VideoStreamDescription=VideoStreamDescription_1.default;const VideoTileState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js");exports.VideoTileState=VideoTileState_1.default;const VoiceFocusDeviceTransformer_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusDeviceTransformer.js");exports.VoiceFocusDeviceTransformer=VoiceFocusDeviceTransformer_1.default;const VoiceFocusTransformDevice_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js");exports.VoiceFocusTransformDevice=VoiceFocusTransformDevice_1.default;const WaitForAttendeePresenceTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/WaitForAttendeePresenceTask.js");exports.WaitForAttendeePresenceTask=WaitForAttendeePresenceTask_1.default;const WebSocketReadyState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js");exports.WebSocketReadyState=WebSocketReadyState_1.default;const ZLIBTextCompressor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js");exports.ZLIBTextCompressor=ZLIBTextCompressor_1.default;const VideoPreferences_2=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js");Object.defineProperty(exports,"MutableVideoPreferences",{enumerable:!0,get:function(){return VideoPreferences_2.MutableVideoPreferences}});const Types_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Types.js");Object.defineProperty(exports,"Some",{enumerable:!0,get:function(){return Types_1.Some}}),Object.defineProperty(exports,"None",{enumerable:!0,get:function(){return Types_1.None}}),Object.defineProperty(exports,"Maybe",{enumerable:!0,get:function(){return Types_1.Maybe}});const AudioTransformDevice_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/AudioTransformDevice.js");Object.defineProperty(exports,"isAudioTransformDevice",{enumerable:!0,get:function(){return AudioTransformDevice_1.isAudioTransformDevice}});const Destroyable_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js");Object.defineProperty(exports,"isDestroyable",{enumerable:!0,get:function(){return Destroyable_1.isDestroyable}});const VideoTransformDevice_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js");Object.defineProperty(exports,"isVideoTransformDevice",{enumerable:!0,get:function(){return VideoTransformDevice_1.isVideoTransformDevice}})},"./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const LogLevel_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js");exports.default=class ConsoleLogger{constructor(name,level=LogLevel_1.default.WARN){this.name=name,this.level=level}info(msg){this.log(LogLevel_1.default.INFO,msg)}warn(msg){this.log(LogLevel_1.default.WARN,msg)}error(msg){this.log(LogLevel_1.default.ERROR,msg)}debug(debugFunction){LogLevel_1.default.DEBUG{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class Log{constructor(sequenceNumber,message,timestampMs,logLevel){this.sequenceNumber=sequenceNumber,this.message=message,this.timestampMs=timestampMs,this.logLevel=logLevel}}},"./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js":(__unused_webpack_module,exports)=>{"use strict";var LogLevel;Object.defineProperty(exports,"__esModule",{value:!0}),exports.LogLevel=void 0,function(LogLevel){LogLevel[LogLevel.DEBUG=0]="DEBUG",LogLevel[LogLevel.INFO=1]="INFO",LogLevel[LogLevel.WARN=2]="WARN",LogLevel[LogLevel.ERROR=3]="ERROR",LogLevel[LogLevel.OFF=4]="OFF"}(LogLevel=exports.LogLevel||(exports.LogLevel={})),exports.default=LogLevel},"./node_modules/amazon-chime-sdk-js/build/logger/MultiLogger.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const LogLevel_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js");exports.default=class MultiLogger{constructor(...loggers){this._loggers=loggers}info(msg){for(const logger of this._loggers)logger.info(msg)}warn(msg){for(const logger of this._loggers)logger.warn(msg)}error(msg){for(const logger of this._loggers)logger.error(msg)}debug(debugFunction){let message,memoized;memoized="string"==typeof debugFunction?debugFunction:debugFunction?()=>(message||(message=debugFunction()),message):""+debugFunction;for(const logger of this._loggers)logger.debug(memoized)}setLogLevel(level){for(const logger of this._loggers)logger.setLogLevel(level)}getLogLevel(){for(const logger of this._loggers)return logger.getLogLevel();return LogLevel_1.default.OFF}}},"./node_modules/amazon-chime-sdk-js/build/logger/NoOpDebugLogger.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const LogLevel_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js"),NoOpLogger_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js");class NoOpDebugLogger extends NoOpLogger_1.default{constructor(){super(LogLevel_1.default.DEBUG)}}exports.default=NoOpDebugLogger},"./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const LogLevel_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js");exports.default=class NoOpLogger{constructor(level=LogLevel_1.default.OFF){this.level=level}info(_msg){}warn(_msg){}error(_msg){}debug(debugFunction){LogLevel_1.default.DEBUG{this.stop()},this.addEventListener()}addEventListener(){this.eventListener&&"window"in __webpack_require__.g&&window.addEventListener&&window.addEventListener("unload",this.eventListener)}removeEventListener(){this.eventListener&&"window"in __webpack_require__.g&&window.removeEventListener&&window.removeEventListener("unload",this.eventListener)}debug(debugFunction){LogLevel_1.default.DEBUG__awaiter(this,void 0,void 0,(function*(){if(!0===this.lock||0===this.getLogCaptureSize())return;this.lock=!0;const batch=this.logCapture.slice(0,this.batchSize),body=this.makeRequestBody(batch);try{200===(yield fetch(this.url,Object.assign({method:"POST",body},this.headers?{headers:this.headers}:{}))).status&&(this.logCapture=this.logCapture.slice(batch.length))}catch(error){console.warn("[POSTLogger] "+error.message)}finally{this.lock=!1}}))))}stop(){var _a;null===(_a=this.intervalScheduler)||void 0===_a||_a.stop(),this.intervalScheduler=void 0,this.removeEventListener();const body=this.makeRequestBody(this.logCapture);navigator.sendBeacon(this.url,body)}destroy(){return __awaiter(this,void 0,void 0,(function*(){this.stop(),this.metadata=void 0,this.headers=void 0,this.logCapture=[],this.sequenceNumber=0,this.lock=!1,this.batchSize=0,this.intervalMs=0,this.url=void 0}))}makeRequestBody(batch){return JSON.stringify(Object.assign(Object.assign({},this.metadata),{logs:batch}))}log(type,msg){if(type{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const MediaDeviceProxyHandler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/MediaDeviceProxyHandler.js");exports.default=class DefaultMediaDeviceFactory{constructor(){this.isMediaDevicesSupported="undefined"!=typeof navigator&&!!navigator.mediaDevices}create(){if(this.isMediaDevicesSupported)return new Proxy(navigator.mediaDevices,new MediaDeviceProxyHandler_1.default);throw new Error("navigator.mediaDevices is not supported")}}},"./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/MediaDeviceProxyHandler.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const AsyncScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js"),IntervalScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js");class MediaDeviceProxyHandler{constructor(){this.scheduler=null,this.devices=null,this.deviceChangeListeners=new Set,this.get=(target,property,receiver)=>{if(!Reflect.has(target,property))return;if(!("ondevicechange"in navigator.mediaDevices)){if("addEventListener"===property)return this.patchAddEventListener(target,property,receiver);if("removeEventListener"===property)return this.patchRemoveEventListener(target,property,receiver)}const value=Reflect.get(target,property,receiver);return"function"==typeof value?value.bind(target):value},this.patchAddEventListener=(target,property,receiver)=>{const value=Reflect.get(target,property,receiver);return(type,listener,options)=>{if("devicechange"!==type)return Reflect.apply(value,target,[type,listener,options]);this.deviceChangeListeners.add(listener),this.scheduler||(this.scheduler=new IntervalScheduler_1.default(MediaDeviceProxyHandler.INTERVAL_MS),this.scheduler.start(this.pollDeviceLists))}},this.patchRemoveEventListener=(target,property,receiver)=>{const value=Reflect.get(target,property,receiver);return(type,listener,options)=>{if("devicechange"!==type)return Reflect.apply(value,target,[type,listener,options]);this.deviceChangeListeners.delete(listener),0===this.deviceChangeListeners.size&&this.scheduler&&(this.scheduler.stop(),this.scheduler=null)}},this.pollDeviceLists=()=>__awaiter(this,void 0,void 0,(function*(){const newDevices=yield this.sortedDeviceList();if(this.devices){(newDevices.length!==this.devices.length||newDevices.some(((device,index)=>device.deviceId!==this.devices[index].deviceId)))&&this.handleDeviceChangeEvent()}this.devices=newDevices}))}sortedDeviceList(){return __awaiter(this,void 0,void 0,(function*(){return(yield navigator.mediaDevices.enumerateDevices()).sort(((device1,device2)=>device1.deviceIddevice2.deviceId?-1:0))}))}handleDeviceChangeEvent(){for(const listener of this.deviceChangeListeners)AsyncScheduler_1.default.nextTick((()=>{if(this.deviceChangeListeners.has(listener)){const event=new Event("devicechange");"function"==typeof listener?listener(event):listener.handleEvent(event)}}))}}exports.default=MediaDeviceProxyHandler,MediaDeviceProxyHandler.INTERVAL_MS=1e3},"./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class NoOpMediaStreamBroker{acquireAudioInputStream(){return Promise.reject()}acquireVideoInputStream(){return Promise.reject()}acquireDisplayInputStream(_streamConstraints){return Promise.reject()}muteLocalAudioInputStream(){}unmuteLocalAudioInputStream(){}addMediaStreamBrokerObserver(_observer){}removeMediaStreamBrokerObserver(_observer){}}},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioConnectivityFeedback.js":(__unused_webpack_module,exports)=>{"use strict";var CheckAudioConnectivityFeedback;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CheckAudioConnectivityFeedback=void 0,function(CheckAudioConnectivityFeedback){CheckAudioConnectivityFeedback[CheckAudioConnectivityFeedback.Succeeded=0]="Succeeded",CheckAudioConnectivityFeedback[CheckAudioConnectivityFeedback.AudioInputRequestFailed=1]="AudioInputRequestFailed",CheckAudioConnectivityFeedback[CheckAudioConnectivityFeedback.AudioInputPermissionDenied=2]="AudioInputPermissionDenied",CheckAudioConnectivityFeedback[CheckAudioConnectivityFeedback.ConnectionFailed=3]="ConnectionFailed",CheckAudioConnectivityFeedback[CheckAudioConnectivityFeedback.AudioNotReceived=4]="AudioNotReceived"}(CheckAudioConnectivityFeedback=exports.CheckAudioConnectivityFeedback||(exports.CheckAudioConnectivityFeedback={})),exports.default=CheckAudioConnectivityFeedback},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioInputFeedback.js":(__unused_webpack_module,exports)=>{"use strict";var CheckAudioInputFeedback;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CheckAudioInputFeedback=void 0,function(CheckAudioInputFeedback){CheckAudioInputFeedback[CheckAudioInputFeedback.Succeeded=0]="Succeeded",CheckAudioInputFeedback[CheckAudioInputFeedback.Failed=1]="Failed",CheckAudioInputFeedback[CheckAudioInputFeedback.PermissionDenied=2]="PermissionDenied"}(CheckAudioInputFeedback=exports.CheckAudioInputFeedback||(exports.CheckAudioInputFeedback={})),exports.default=CheckAudioInputFeedback},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioOutputFeedback.js":(__unused_webpack_module,exports)=>{"use strict";var CheckAudioOutputFeedback;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CheckAudioOutputFeedback=void 0,function(CheckAudioOutputFeedback){CheckAudioOutputFeedback[CheckAudioOutputFeedback.Succeeded=0]="Succeeded",CheckAudioOutputFeedback[CheckAudioOutputFeedback.Failed=1]="Failed"}(CheckAudioOutputFeedback=exports.CheckAudioOutputFeedback||(exports.CheckAudioOutputFeedback={})),exports.default=CheckAudioOutputFeedback},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckCameraResolutionFeedback.js":(__unused_webpack_module,exports)=>{"use strict";var CheckCameraResolutionFeedback;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CheckCameraResolutionFeedback=void 0,function(CheckCameraResolutionFeedback){CheckCameraResolutionFeedback[CheckCameraResolutionFeedback.Succeeded=0]="Succeeded",CheckCameraResolutionFeedback[CheckCameraResolutionFeedback.Failed=1]="Failed",CheckCameraResolutionFeedback[CheckCameraResolutionFeedback.ResolutionNotSupported=2]="ResolutionNotSupported",CheckCameraResolutionFeedback[CheckCameraResolutionFeedback.PermissionDenied=3]="PermissionDenied"}(CheckCameraResolutionFeedback=exports.CheckCameraResolutionFeedback||(exports.CheckCameraResolutionFeedback={})),exports.default=CheckCameraResolutionFeedback},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckContentShareConnectivityFeedback.js":(__unused_webpack_module,exports)=>{"use strict";var CheckContentShareConnectivityFeedback;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CheckContentShareConnectivityFeedback=void 0,function(CheckContentShareConnectivityFeedback){CheckContentShareConnectivityFeedback[CheckContentShareConnectivityFeedback.Succeeded=0]="Succeeded",CheckContentShareConnectivityFeedback[CheckContentShareConnectivityFeedback.Failed=1]="Failed",CheckContentShareConnectivityFeedback[CheckContentShareConnectivityFeedback.PermissionDenied=2]="PermissionDenied",CheckContentShareConnectivityFeedback[CheckContentShareConnectivityFeedback.TimedOut=3]="TimedOut",CheckContentShareConnectivityFeedback[CheckContentShareConnectivityFeedback.ConnectionFailed=4]="ConnectionFailed"}(CheckContentShareConnectivityFeedback=exports.CheckContentShareConnectivityFeedback||(exports.CheckContentShareConnectivityFeedback={})),exports.default=CheckContentShareConnectivityFeedback},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback.js":(__unused_webpack_module,exports)=>{"use strict";var CheckNetworkTCPConnectivityFeedback;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CheckNetworkTCPConnectivityFeedback=void 0,function(CheckNetworkTCPConnectivityFeedback){CheckNetworkTCPConnectivityFeedback[CheckNetworkTCPConnectivityFeedback.Succeeded=0]="Succeeded",CheckNetworkTCPConnectivityFeedback[CheckNetworkTCPConnectivityFeedback.MeetingSessionURLsNotInitialized=1]="MeetingSessionURLsNotInitialized",CheckNetworkTCPConnectivityFeedback[CheckNetworkTCPConnectivityFeedback.ConnectionFailed=2]="ConnectionFailed",CheckNetworkTCPConnectivityFeedback[CheckNetworkTCPConnectivityFeedback.ICENegotiationFailed=3]="ICENegotiationFailed"}(CheckNetworkTCPConnectivityFeedback=exports.CheckNetworkTCPConnectivityFeedback||(exports.CheckNetworkTCPConnectivityFeedback={})),exports.default=CheckNetworkTCPConnectivityFeedback},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback.js":(__unused_webpack_module,exports)=>{"use strict";var CheckNetworkUDPConnectivityFeedback;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CheckNetworkUDPConnectivityFeedback=void 0,function(CheckNetworkUDPConnectivityFeedback){CheckNetworkUDPConnectivityFeedback[CheckNetworkUDPConnectivityFeedback.Succeeded=0]="Succeeded",CheckNetworkUDPConnectivityFeedback[CheckNetworkUDPConnectivityFeedback.MeetingSessionURLsNotInitialized=1]="MeetingSessionURLsNotInitialized",CheckNetworkUDPConnectivityFeedback[CheckNetworkUDPConnectivityFeedback.ConnectionFailed=2]="ConnectionFailed",CheckNetworkUDPConnectivityFeedback[CheckNetworkUDPConnectivityFeedback.ICENegotiationFailed=3]="ICENegotiationFailed"}(CheckNetworkUDPConnectivityFeedback=exports.CheckNetworkUDPConnectivityFeedback||(exports.CheckNetworkUDPConnectivityFeedback={})),exports.default=CheckNetworkUDPConnectivityFeedback},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoConnectivityFeedback.js":(__unused_webpack_module,exports)=>{"use strict";var CheckVideoConnectivityFeedback;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CheckVideoConnectivityFeedback=void 0,function(CheckVideoConnectivityFeedback){CheckVideoConnectivityFeedback[CheckVideoConnectivityFeedback.Succeeded=0]="Succeeded",CheckVideoConnectivityFeedback[CheckVideoConnectivityFeedback.VideoInputRequestFailed=1]="VideoInputRequestFailed",CheckVideoConnectivityFeedback[CheckVideoConnectivityFeedback.VideoInputPermissionDenied=2]="VideoInputPermissionDenied",CheckVideoConnectivityFeedback[CheckVideoConnectivityFeedback.ConnectionFailed=3]="ConnectionFailed",CheckVideoConnectivityFeedback[CheckVideoConnectivityFeedback.VideoNotSent=4]="VideoNotSent"}(CheckVideoConnectivityFeedback=exports.CheckVideoConnectivityFeedback||(exports.CheckVideoConnectivityFeedback={})),exports.default=CheckVideoConnectivityFeedback},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoInputFeedback.js":(__unused_webpack_module,exports)=>{"use strict";var CheckVideoInputFeedback;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CheckVideoInputFeedback=void 0,function(CheckVideoInputFeedback){CheckVideoInputFeedback[CheckVideoInputFeedback.Succeeded=0]="Succeeded",CheckVideoInputFeedback[CheckVideoInputFeedback.Failed=1]="Failed",CheckVideoInputFeedback[CheckVideoInputFeedback.PermissionDenied=2]="PermissionDenied"}(CheckVideoInputFeedback=exports.CheckVideoInputFeedback||(exports.CheckVideoInputFeedback={})),exports.default=CheckVideoInputFeedback},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/DefaultMeetingReadinessChecker.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultAudioMixController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js"),DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),DefaultDeviceController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js"),PermissionDeniedError_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js"),TimeoutTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js"),CheckAudioConnectivityFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioConnectivityFeedback.js"),CheckAudioInputFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioInputFeedback.js"),CheckAudioOutputFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioOutputFeedback.js"),CheckCameraResolutionFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckCameraResolutionFeedback.js"),CheckContentShareConnectivityFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckContentShareConnectivityFeedback.js"),CheckNetworkTCPConnectivityFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback.js"),CheckNetworkUDPConnectivityFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback.js"),CheckVideoConnectivityFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoConnectivityFeedback.js"),CheckVideoInputFeedback_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoInputFeedback.js"),MeetingReadinessCheckerConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/MeetingReadinessCheckerConfiguration.js");class DefaultMeetingReadinessChecker{constructor(logger,meetingSession,configuration=new MeetingReadinessCheckerConfiguration_1.default){this.logger=logger,this.meetingSession=meetingSession,this.configuration=configuration,this.browserBehavior=new DefaultBrowserBehavior_1.default}static delay(timeoutMs){return __awaiter(this,void 0,void 0,(function*(){return new Promise((resolve=>setTimeout(resolve,timeoutMs)))}))}checkAudioInput(audioInputDevice){return __awaiter(this,void 0,void 0,(function*(){try{return yield this.meetingSession.audioVideo.startAudioInput(audioInputDevice),yield this.meetingSession.audioVideo.stopAudioInput(),CheckAudioInputFeedback_1.default.Succeeded}catch(error){return this.logger.error(`MeetingReadinessChecker: Audio input check failed with error ${error}`),error instanceof PermissionDeniedError_1.default?CheckAudioInputFeedback_1.default.PermissionDenied:CheckAudioInputFeedback_1.default.Failed}}))}checkAudioOutput(audioOutputDeviceInfo,audioOutputVerificationCallback,audioElement=null){return __awaiter(this,void 0,void 0,(function*(){try{const audioOutputDeviceId=audioOutputDeviceInfo?DefaultDeviceController_1.default.getIntrinsicDeviceId(audioOutputDeviceInfo):"";yield this.playTone(audioOutputDeviceId,this.configuration.audioOutputFrequency,audioElement);return(yield audioOutputVerificationCallback())?CheckAudioOutputFeedback_1.default.Succeeded:CheckAudioOutputFeedback_1.default.Failed}catch(error){return this.logger.error(`MeetingReadinessChecker: Audio output check failed with error: ${error}`),CheckAudioOutputFeedback_1.default.Failed}finally{this.stopTone()}}))}playTone(sinkId,frequency,audioElement){return __awaiter(this,void 0,void 0,(function*(){const maxGainValue=this.configuration.audioOutputGain;this.oscillatorNode&&this.stopTone(),this.audioContext=DefaultDeviceController_1.default.getAudioContext(),this.gainNode=this.audioContext.createGain(),this.gainNode.gain.value=0,this.oscillatorNode=this.audioContext.createOscillator(),this.oscillatorNode.frequency.value=frequency,this.oscillatorNode.connect(this.gainNode),this.destinationStream=this.audioContext.createMediaStreamDestination(),this.gainNode.connect(this.destinationStream);const startTime=this.audioContext.currentTime+.1;this.gainNode.gain.linearRampToValueAtTime(0,startTime),this.gainNode.gain.linearRampToValueAtTime(maxGainValue,startTime+.1),this.oscillatorNode.start();const audioMixController=new DefaultAudioMixController_1.default(this.logger);try{this.browserBehavior.supportsSetSinkId()&&(yield audioMixController.bindAudioDevice({deviceId:sinkId}))}catch(e){this.logger.error(`Failed to bind audio device: ${e}`)}try{yield audioMixController.bindAudioElement(audioElement||new Audio)}catch(e){this.logger.error(`Failed to bind audio element: ${e}`)}yield audioMixController.bindAudioStream(this.destinationStream.stream)}))}stopTone(){if(!(this.audioContext&&this.gainNode&&this.oscillatorNode&&this.destinationStream))return;const maxGainValue=this.configuration.audioOutputGain,currentTime=this.audioContext.currentTime;this.gainNode.gain.linearRampToValueAtTime(maxGainValue,currentTime+.1+1),this.gainNode.gain.linearRampToValueAtTime(0,currentTime+.2+1),this.oscillatorNode.stop(),this.oscillatorNode.disconnect(this.gainNode),this.gainNode.disconnect(this.destinationStream),this.oscillatorNode=null,this.gainNode=null,this.destinationStream=null}checkVideoInput(videoInputDevice){return __awaiter(this,void 0,void 0,(function*(){try{return yield this.meetingSession.audioVideo.startVideoInput(videoInputDevice),yield this.meetingSession.audioVideo.stopVideoInput(),CheckVideoInputFeedback_1.default.Succeeded}catch(error){return this.logger.error(`MeetingReadinessChecker: Video check failed with error ${error}`),error instanceof PermissionDeniedError_1.default?CheckVideoInputFeedback_1.default.PermissionDenied:CheckVideoInputFeedback_1.default.Failed}}))}checkCameraResolution(videoInputDevice,width,height){return __awaiter(this,void 0,void 0,(function*(){let stream;try{const videoInputDeviceId=DefaultDeviceController_1.default.getIntrinsicDeviceId(videoInputDevice),videoConstraint={video:this.calculateVideoConstraint(videoInputDeviceId,width,height)};stream=yield navigator.mediaDevices.getUserMedia(videoConstraint)}catch(error){return this.logger.error(`MeetingReadinessChecker: Camera resolution check with width: ${width} height ${height} failed with error ${error}`),error&&"OverconstrainedError"===error.name?CheckCameraResolutionFeedback_1.default.ResolutionNotSupported:error&&"NotAllowedError"===error.name?CheckCameraResolutionFeedback_1.default.PermissionDenied:CheckCameraResolutionFeedback_1.default.Failed}finally{stream&&stream.getTracks().forEach((function(track){track.stop()}))}return CheckCameraResolutionFeedback_1.default.Succeeded}))}calculateVideoConstraint(videoInputDeviceId,width,height){const dimension=this.browserBehavior.requiresResolutionAlignment(width,height),trackConstraints={};return this.browserBehavior.requiresNoExactMediaStreamConstraints()?(trackConstraints.deviceId=videoInputDeviceId,trackConstraints.width=width,trackConstraints.height=height):(trackConstraints.deviceId={exact:videoInputDeviceId},trackConstraints.width={exact:dimension[0]},trackConstraints.height={exact:dimension[1]}),trackConstraints}checkContentShareConnectivity(sourceId){return __awaiter(this,void 0,void 0,(function*(){let isContentShareStarted=!1,isAudioVideoStarted=!1;const contentShareObserver={contentShareDidStart:()=>{isContentShareStarted=!0}},observer={audioVideoDidStart:()=>{isAudioVideoStarted=!0}};try{return this.meetingSession.audioVideo.addObserver(observer),this.meetingSession.audioVideo.start(),this.meetingSession.audioVideo.addContentShareObserver(contentShareObserver),yield this.meetingSession.audioVideo.startContentShareFromScreenCapture(sourceId),yield this.executeTimeoutTask((()=>__awaiter(this,void 0,void 0,(function*(){return isAudioVideoStarted&&isContentShareStarted})))),isAudioVideoStarted?(yield this.stopMeeting(),isContentShareStarted?CheckContentShareConnectivityFeedback_1.default.Succeeded:CheckContentShareConnectivityFeedback_1.default.TimedOut):CheckContentShareConnectivityFeedback_1.default.ConnectionFailed}catch(error){return this.logger.error(`MeetingReadinessChecker: Content share check failed with error ${error}`),"NotAllowedError"===error.name?CheckContentShareConnectivityFeedback_1.default.PermissionDenied:CheckContentShareConnectivityFeedback_1.default.Failed}finally{this.meetingSession.audioVideo.removeObserver(observer),this.meetingSession.audioVideo.stopContentShare(),this.meetingSession.audioVideo.removeContentShareObserver(contentShareObserver)}}))}checkAudioConnectivity(audioInputDevice){return __awaiter(this,void 0,void 0,(function*(){let audioPresence=!1;const audioConnectivityMetrics={packetsReceived:0},audioVideo=this.meetingSession.audioVideo,checkAudioConnectivityMetricsObserver={metricsDidReceive(clientMetricReport){clientMetricReport.getRTCStatsReport().forEach((report=>{"inbound-rtp"===report.type&&"audio"===report.mediaType&&(audioConnectivityMetrics.packetsReceived=report.packetsReceived)}))}},attendeePresenceHandler=(attendeeId,present,_externalUserId,_dropped)=>{attendeeId===this.meetingSession.configuration.credentials.attendeeId&&present&&(audioPresence=!0)};try{yield audioVideo.startAudioInput(audioInputDevice)}catch(error){return this.logger.error(`MeetingReadinessChecker: Failed to get audio input device with error ${error}`),error instanceof PermissionDeniedError_1.default?CheckAudioConnectivityFeedback_1.default.AudioInputPermissionDenied:CheckAudioConnectivityFeedback_1.default.AudioInputRequestFailed}return audioVideo.realtimeSubscribeToAttendeeIdPresence(attendeePresenceHandler),audioVideo.addObserver(checkAudioConnectivityMetricsObserver),(yield this.startMeeting())?(yield this.executeTimeoutTask((()=>__awaiter(this,void 0,void 0,(function*(){return this.isAudioConnectionSuccessful(audioPresence,audioConnectivityMetrics)})))),audioVideo.removeObserver(checkAudioConnectivityMetricsObserver),audioVideo.realtimeUnsubscribeToAttendeeIdPresence(attendeePresenceHandler),yield this.stopMeeting(),yield this.meetingSession.audioVideo.stopAudioInput(),this.isAudioConnectionSuccessful(audioPresence,audioConnectivityMetrics)?CheckAudioConnectivityFeedback_1.default.Succeeded:CheckAudioConnectivityFeedback_1.default.AudioNotReceived):(audioVideo.removeObserver(checkAudioConnectivityMetricsObserver),audioVideo.realtimeUnsubscribeToAttendeeIdPresence(attendeePresenceHandler),yield this.meetingSession.audioVideo.stopAudioInput(),CheckAudioConnectivityFeedback_1.default.ConnectionFailed)}))}checkVideoConnectivity(videoInputDevice){return __awaiter(this,void 0,void 0,(function*(){const audioVideo=this.meetingSession.audioVideo;let packetsSent=0;const observer={metricsDidReceive(clientMetricReport){clientMetricReport.getRTCStatsReport().forEach((report=>{"outbound-rtp"===report.type&&"video"===report.mediaType&&(packetsSent=report.packetsSent)}))}};try{yield audioVideo.startVideoInput(videoInputDevice)}catch(error){return this.logger.error(`MeetingReadinessChecker: Failed to get video input device with error ${error}`),error instanceof PermissionDeniedError_1.default?CheckVideoConnectivityFeedback_1.default.VideoInputPermissionDenied:CheckVideoConnectivityFeedback_1.default.VideoInputRequestFailed}return audioVideo.addObserver(observer),(yield this.startMeeting())?(audioVideo.startLocalVideoTile(),yield this.executeTimeoutTask((()=>__awaiter(this,void 0,void 0,(function*(){return packetsSent>0})))),yield audioVideo.stopVideoInput(),yield this.stopMeeting(),audioVideo.removeObserver(observer),packetsSent<=0?CheckVideoConnectivityFeedback_1.default.VideoNotSent:CheckVideoConnectivityFeedback_1.default.Succeeded):CheckVideoConnectivityFeedback_1.default.ConnectionFailed}))}checkNetworkUDPConnectivity(){return __awaiter(this,void 0,void 0,(function*(){let candidatePairSucceed=!1;const observer={metricsDidReceive(clientMetricReport){clientMetricReport.getRTCStatsReport().forEach((report=>{"candidate-pair"===report.type&&"succeeded"===report.state&&(candidatePairSucceed=!0)}))}};try{this.originalURLRewriter=this.meetingSession.configuration.urls.urlRewriter}catch(error){return this.logger.error(`MeetingSessionConfiguration.urls doesn't exist. Error: ${error}`),CheckNetworkUDPConnectivityFeedback_1.default.MeetingSessionURLsNotInitialized}this.meetingSession.configuration.urls.urlRewriter=uri=>{const transformedUri=this.originalURLRewriter(uri);return transformedUri.includes("transport=tcp")?"":transformedUri};const audioVideo=this.meetingSession.audioVideo;return audioVideo.addObserver(observer),(yield this.startMeeting())?(yield this.executeTimeoutTask((()=>__awaiter(this,void 0,void 0,(function*(){return candidatePairSucceed})))),this.meetingSession.configuration.urls.urlRewriter=this.originalURLRewriter,yield this.stopMeeting(),audioVideo.removeObserver(observer),candidatePairSucceed?CheckNetworkUDPConnectivityFeedback_1.default.Succeeded:CheckNetworkUDPConnectivityFeedback_1.default.ICENegotiationFailed):(this.meetingSession.configuration.urls.urlRewriter=this.originalURLRewriter,CheckNetworkUDPConnectivityFeedback_1.default.ConnectionFailed)}))}checkNetworkTCPConnectivity(){return __awaiter(this,void 0,void 0,(function*(){let candidatePairSucceed=!1;const observer={metricsDidReceive(clientMetricReport){clientMetricReport.getRTCStatsReport().forEach((report=>{"candidate-pair"===report.type&&"succeeded"===report.state&&(candidatePairSucceed=!0)}))}};try{this.originalURLRewriter=this.meetingSession.configuration.urls.urlRewriter}catch(error){return this.logger.error(`MeetingSessionConfiguration.urls doesn't exist. Error: ${error}`),CheckNetworkTCPConnectivityFeedback_1.default.MeetingSessionURLsNotInitialized}this.meetingSession.configuration.urls.urlRewriter=uri=>{const transformedUri=this.originalURLRewriter(uri);return transformedUri.includes("transport=udp")?"":transformedUri};const audioVideo=this.meetingSession.audioVideo;return audioVideo.addObserver(observer),(yield this.startMeeting())?(yield this.executeTimeoutTask((()=>__awaiter(this,void 0,void 0,(function*(){return candidatePairSucceed})))),this.meetingSession.configuration.urls.urlRewriter=this.originalURLRewriter,yield this.stopMeeting(),audioVideo.removeObserver(observer),candidatePairSucceed?CheckNetworkTCPConnectivityFeedback_1.default.Succeeded:CheckNetworkTCPConnectivityFeedback_1.default.ICENegotiationFailed):(this.meetingSession.configuration.urls.urlRewriter=this.originalURLRewriter,CheckNetworkTCPConnectivityFeedback_1.default.ConnectionFailed)}))}startMeeting(){return __awaiter(this,void 0,void 0,(function*(){let isStarted=!1;const observer={audioVideoDidStart:()=>{isStarted=!0}};return this.meetingSession.audioVideo.addObserver(observer),this.meetingSession.audioVideo.start(),yield this.executeTimeoutTask((()=>__awaiter(this,void 0,void 0,(function*(){return isStarted})))),this.meetingSession.audioVideo.removeObserver(observer),isStarted}))}stopMeeting(){return __awaiter(this,void 0,void 0,(function*(){let isStopped=!1;const observer={audioVideoDidStop:_sessionStatus=>{isStopped=!0}};return this.meetingSession.audioVideo.addObserver(observer),this.meetingSession.audioVideo.stop(),yield this.executeTimeoutTask((()=>__awaiter(this,void 0,void 0,(function*(){return isStopped})))),this.meetingSession.audioVideo.removeObserver(observer),isStopped}))}executeTimeoutTask(conditionCheck){return __awaiter(this,void 0,void 0,(function*(){let isSuccess=!1;class CheckForConditionTask extends BaseTask_1.default{constructor(logger,waitDurationMs){super(logger),this.waitDurationMs=waitDurationMs,this.isCancelled=!1}cancel(){this.isCancelled=!0}run(){return __awaiter(this,void 0,void 0,(function*(){for(;!this.isCancelled;){if(yield conditionCheck()){isSuccess=!0;break}yield DefaultMeetingReadinessChecker.delay(this.waitDurationMs)}}))}}const timeoutTask=new TimeoutTask_1.default(this.logger,new CheckForConditionTask(this.logger,this.configuration.waitDurationMs),this.configuration.timeoutMs);return yield timeoutTask.run(),isSuccess}))}isAudioConnectionSuccessful(audioPresence,audioConnectivityMetrics){return audioPresence&&audioConnectivityMetrics.packetsReceived>0}}exports.default=DefaultMeetingReadinessChecker},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/MeetingReadinessCheckerConfiguration.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class MeetingReadinessCheckerConfiguration{constructor(){this.timeoutMs=1e4,this.waitDurationMs=3e3,this.audioOutputFrequency=440,this.audioOutputGain=.1}}},"./node_modules/amazon-chime-sdk-js/build/meetingsession/DefaultMeetingSession.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultAudioVideoController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js"),DefaultAudioVideoFacade_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/audiovideofacade/DefaultAudioVideoFacade.js"),FullJitterBackoff_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js"),DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),ContentShareMediaStreamBroker_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareMediaStreamBroker.js"),DefaultContentShareController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/DefaultContentShareController.js"),CSPMonitor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js"),Destroyable_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js"),DefaultEventController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js"),DefaultReconnectController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js"),DefaultWebSocketAdapter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js");exports.default=class DefaultMeetingSession{constructor(configuration,logger,deviceController,_eventController){this._eventController=_eventController,this._configuration=configuration,this._logger=logger,this.checkBrowserSupportAndFeatureConfiguration(),CSPMonitor_1.default.addLogger(this._logger),CSPMonitor_1.default.register(),this._eventController||(this._eventController=new DefaultEventController_1.default(configuration,logger)),deviceController.eventController||(deviceController.eventController=this.eventController),this.audioVideoController=new DefaultAudioVideoController_1.default(this._configuration,this._logger,new DefaultWebSocketAdapter_1.default(this._logger),deviceController,new DefaultReconnectController_1.default(this._configuration.reconnectTimeoutMs,new FullJitterBackoff_1.default(this._configuration.reconnectFixedWaitMs,this._configuration.reconnectShortBackOffMs,this._configuration.reconnectLongBackOffMs)),this.eventController),this._deviceController=deviceController;const contentShareMediaStreamBroker=new ContentShareMediaStreamBroker_1.default(this._logger);this.contentShareController=new DefaultContentShareController_1.default(contentShareMediaStreamBroker,new DefaultAudioVideoController_1.default(DefaultContentShareController_1.default.createContentShareMeetingSessionConfigure(this._configuration),this._logger,new DefaultWebSocketAdapter_1.default(this._logger),contentShareMediaStreamBroker,new DefaultReconnectController_1.default(this._configuration.reconnectTimeoutMs,new FullJitterBackoff_1.default(this._configuration.reconnectFixedWaitMs,this._configuration.reconnectShortBackOffMs,this._configuration.reconnectLongBackOffMs))),this.audioVideoController),this.audioVideoFacade=new DefaultAudioVideoFacade_1.default(this.audioVideoController,this.audioVideoController.videoTileController,this.audioVideoController.realtimeController,this.audioVideoController.audioMixController,this._deviceController,this.contentShareController)}get configuration(){return this._configuration}get logger(){return this._logger}get audioVideo(){return this.audioVideoFacade}get contentShare(){return this.contentShareController}get deviceController(){return this._deviceController}get eventController(){return this._eventController}destroy(){return __awaiter(this,void 0,void 0,(function*(){Destroyable_1.isDestroyable(this.contentShareController)&&(yield this.contentShareController.destroy()),Destroyable_1.isDestroyable(this.audioVideoController)&&(yield this.audioVideoController.destroy()),Destroyable_1.isDestroyable(this.eventController)&&(yield this.eventController.destroy()),CSPMonitor_1.default.removeLogger(this._logger),this._logger=void 0,this._configuration=void 0,this._deviceController=void 0,this.audioVideoFacade=void 0,this.audioVideoController=void 0,this.contentShareController=void 0,this._eventController=void 0}))}checkBrowserSupportAndFeatureConfiguration(){const browserBehavior=new DefaultBrowserBehavior_1.default,browser=`${browserBehavior.name()} ${browserBehavior.majorVersion()} (${browserBehavior.version()})`;if(this.logger.info(`browser is ${browser}`),browserBehavior.isSupported()||this.logger.warn(`this browser is not currently supported. Stability may suffer. Supported browsers are: ${browserBehavior.supportString()}.`),this._configuration.videoUplinkBandwidthPolicy)if(this.isSimulcastUplinkPolicy(this._configuration.videoUplinkBandwidthPolicy)){if(!browserBehavior.hasChromiumWebRTC())throw new Error("Simulcast is only supported on Chromium-based browsers");this._configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers=!0}else this._configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers=!1;this._configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers&&(browserBehavior.hasChromiumWebRTC()?this.logger.info(`Simulcast is enabled for ${browserBehavior.name()}`):(this._configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers=!1,this.logger.info("Simulcast is only supported on Chromium-based browsers")))}isSimulcastUplinkPolicy(policy){return!(!policy||!policy.addObserver)}}},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ConnectionHealthPolicyConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthPolicyConfiguration.js"),Utils_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Utils.js"),MeetingSessionCredentials_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js"),MeetingSessionURLs_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js");exports.default=class MeetingSessionConfiguration{constructor(createMeetingResponse,createAttendeeResponse){this.meetingId=null,this.externalMeetingId=null,this.credentials=null,this.urls=null,this.connectionTimeoutMs=15e3,this.attendeePresenceTimeoutMs=0,this.connectionHealthPolicyConfiguration=new ConnectionHealthPolicyConfiguration_1.default,this.reconnectTimeoutMs=12e4,this.reconnectFixedWaitMs=0,this.reconnectShortBackOffMs=1e3,this.reconnectLongBackOffMs=5e3,this.enableSimulcastForUnifiedPlanChromiumBasedBrowsers=!1,this.videoDownlinkBandwidthPolicy=null,this.videoUplinkBandwidthPolicy=null,this.keepLastFrameWhenPaused=!1,this.disablePeriodicKeyframeRequestOnContentSender=!1,createMeetingResponse&&((createMeetingResponse=Utils_1.toLowerCasePropertyNames(createMeetingResponse)).meeting&&(createMeetingResponse=createMeetingResponse.meeting),this.meetingId=createMeetingResponse.meetingid,this.externalMeetingId=createMeetingResponse.externalmeetingid,this.urls=new MeetingSessionURLs_1.default,this.urls.audioHostURL=createMeetingResponse.mediaplacement.audiohosturl,this.urls.signalingURL=createMeetingResponse.mediaplacement.signalingurl,this.urls.turnControlURL=createMeetingResponse.mediaplacement.turncontrolurl,createMeetingResponse.mediaplacement.eventingestionurl&&(this.urls.eventIngestionURL=createMeetingResponse.mediaplacement.eventingestionurl)),createAttendeeResponse&&((createAttendeeResponse=Utils_1.toLowerCasePropertyNames(createAttendeeResponse)).attendee&&(createAttendeeResponse=createAttendeeResponse.attendee),this.credentials=new MeetingSessionCredentials_1.default,this.credentials.attendeeId=createAttendeeResponse.attendeeid,this.credentials.externalUserId=createAttendeeResponse.externaluserid,this.credentials.joinToken=createAttendeeResponse.jointoken)}}},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class MeetingSessionCredentials{constructor(){this.attendeeId=null,this.externalUserId=null,this.joinToken=null}toJSON(){return{attendeeId:this.attendeeId,joinToken:null===this.joinToken?null:""}}}},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js":(__unused_webpack_module,exports)=>{"use strict";var MeetingSessionLifecycleEvent;Object.defineProperty(exports,"__esModule",{value:!0}),exports.MeetingSessionLifecycleEvent=void 0,function(MeetingSessionLifecycleEvent){MeetingSessionLifecycleEvent[MeetingSessionLifecycleEvent.Connecting=0]="Connecting",MeetingSessionLifecycleEvent[MeetingSessionLifecycleEvent.Started=1]="Started",MeetingSessionLifecycleEvent[MeetingSessionLifecycleEvent.Stopped=2]="Stopped"}(MeetingSessionLifecycleEvent=exports.MeetingSessionLifecycleEvent||(exports.MeetingSessionLifecycleEvent={})),exports.default=MeetingSessionLifecycleEvent},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js":(__unused_webpack_module,exports)=>{"use strict";var MeetingSessionLifecycleEventCondition;Object.defineProperty(exports,"__esModule",{value:!0}),exports.MeetingSessionLifecycleEventCondition=void 0,function(MeetingSessionLifecycleEventCondition){MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition.ConnectingNew=0]="ConnectingNew",MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition.ReconnectingExisting=1]="ReconnectingExisting",MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition.StartedNew=2]="StartedNew",MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition.StartedExisting=3]="StartedExisting",MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition.StartedAfterReconnect=4]="StartedAfterReconnect",MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition.StoppedCleanly=5]="StoppedCleanly",MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition.StoppedWithFailure=6]="StoppedWithFailure"}(MeetingSessionLifecycleEventCondition=exports.MeetingSessionLifecycleEventCondition||(exports.MeetingSessionLifecycleEventCondition={})),exports.default=MeetingSessionLifecycleEventCondition},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),MeetingSessionStatusCode_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js");class MeetingSessionStatus{constructor(_statusCode){this._statusCode=_statusCode}statusCode(){return this._statusCode}isFailure(){switch(this._statusCode){case MeetingSessionStatusCode_1.default.AudioAuthenticationRejected:case MeetingSessionStatusCode_1.default.AudioCallAtCapacity:case MeetingSessionStatusCode_1.default.AudioInternalServerError:case MeetingSessionStatusCode_1.default.AudioServiceUnavailable:case MeetingSessionStatusCode_1.default.AudioDisconnected:case MeetingSessionStatusCode_1.default.VideoCallAtSourceCapacity:case MeetingSessionStatusCode_1.default.SignalingBadRequest:case MeetingSessionStatusCode_1.default.SignalingInternalServerError:case MeetingSessionStatusCode_1.default.SignalingRequestFailed:case MeetingSessionStatusCode_1.default.ICEGatheringTimeoutWorkaround:case MeetingSessionStatusCode_1.default.ConnectionHealthReconnect:case MeetingSessionStatusCode_1.default.RealtimeApiFailed:case MeetingSessionStatusCode_1.default.TaskFailed:case MeetingSessionStatusCode_1.default.NoAttendeePresent:return!0;default:return!1}}isTerminal(){switch(this._statusCode){case MeetingSessionStatusCode_1.default.Left:case MeetingSessionStatusCode_1.default.AudioJoinedFromAnotherDevice:case MeetingSessionStatusCode_1.default.AudioAuthenticationRejected:case MeetingSessionStatusCode_1.default.AudioCallAtCapacity:case MeetingSessionStatusCode_1.default.MeetingEnded:case MeetingSessionStatusCode_1.default.AudioDisconnected:case MeetingSessionStatusCode_1.default.TURNCredentialsForbidden:case MeetingSessionStatusCode_1.default.SignalingBadRequest:case MeetingSessionStatusCode_1.default.SignalingRequestFailed:case MeetingSessionStatusCode_1.default.VideoCallAtSourceCapacity:case MeetingSessionStatusCode_1.default.RealtimeApiFailed:case MeetingSessionStatusCode_1.default.AudioAttendeeRemoved:return!0;default:return!1}}isAudioConnectionFailure(){switch(this._statusCode){case MeetingSessionStatusCode_1.default.AudioAuthenticationRejected:case MeetingSessionStatusCode_1.default.AudioInternalServerError:case MeetingSessionStatusCode_1.default.AudioServiceUnavailable:case MeetingSessionStatusCode_1.default.ICEGatheringTimeoutWorkaround:case MeetingSessionStatusCode_1.default.SignalingBadRequest:case MeetingSessionStatusCode_1.default.SignalingInternalServerError:case MeetingSessionStatusCode_1.default.SignalingRequestFailed:case MeetingSessionStatusCode_1.default.RealtimeApiFailed:case MeetingSessionStatusCode_1.default.NoAttendeePresent:return!0;default:return!1}}toString(){switch(this._statusCode){case MeetingSessionStatusCode_1.default.OK:return"Everything is OK so far.";case MeetingSessionStatusCode_1.default.Left:return"The attendee left the meeting.";case MeetingSessionStatusCode_1.default.AudioJoinedFromAnotherDevice:return"The attendee joined from another device.";case MeetingSessionStatusCode_1.default.AudioAuthenticationRejected:return"The meeting rejected the attendee.";case MeetingSessionStatusCode_1.default.AudioCallAtCapacity:return"The attendee couldn't join because the meeting was at capacity.";case MeetingSessionStatusCode_1.default.MeetingEnded:return"The meeting ended.";case MeetingSessionStatusCode_1.default.AudioInternalServerError:case MeetingSessionStatusCode_1.default.AudioServiceUnavailable:case MeetingSessionStatusCode_1.default.AudioDisconnected:return"The audio connection failed.";case MeetingSessionStatusCode_1.default.VideoCallSwitchToViewOnly:return"The attendee couldn't start the local video because the maximum video capacity was reached.";case MeetingSessionStatusCode_1.default.VideoCallAtSourceCapacity:return"The connection failed due to an internal server error.";case MeetingSessionStatusCode_1.default.SignalingBadRequest:case MeetingSessionStatusCode_1.default.SignalingInternalServerError:case MeetingSessionStatusCode_1.default.SignalingRequestFailed:return"The signaling connection failed.";case MeetingSessionStatusCode_1.default.ICEGatheringTimeoutWorkaround:return"Gathering ICE candidates timed out. In Chrome, this might indicate that the browser is in a bad state after reconnecting to VPN.";case MeetingSessionStatusCode_1.default.ConnectionHealthReconnect:return"The meeting was reconnected.";case MeetingSessionStatusCode_1.default.RealtimeApiFailed:return"The real-time API failed. This status code might indicate that the callback you passed to the real-time API threw an exception.";case MeetingSessionStatusCode_1.default.TaskFailed:return"The connection failed. See the error message for more details.";case MeetingSessionStatusCode_1.default.IncompatibleSDP:return"The connection failed due to incompatible SDP.";case MeetingSessionStatusCode_1.default.TURNCredentialsForbidden:return"The meeting ended, or the attendee was removed.";case MeetingSessionStatusCode_1.default.NoAttendeePresent:return"The attendee was not present.";case MeetingSessionStatusCode_1.default.AudioAttendeeRemoved:return"The meeting ended because attendee removed.";case MeetingSessionStatusCode_1.default.AudioVideoWasRemovedFromPrimaryMeeting:return"The Primary meeting credentials provided are no longer valid. chime::DeleteAttendee may have been called on them.";case MeetingSessionStatusCode_1.default.AudioDisconnectAudio:return"The audio connection failed.";default:{const exhaustiveCheck=this._statusCode;throw new Error(`Unhandled case: ${exhaustiveCheck}`)}}}static fromSignalFrame(frame){return frame.error&&frame.error.status?this.fromSignalingStatus(frame.error.status):frame.type===SignalingProtocol_js_1.SdkSignalFrame.Type.AUDIO_STATUS?frame.audioStatus?this.fromAudioStatus(frame.audioStatus.audioStatus):new MeetingSessionStatus(MeetingSessionStatusCode_1.default.SignalingRequestFailed):frame.type===SignalingProtocol_js_1.SdkSignalFrame.Type.PRIMARY_MEETING_LEAVE?new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioVideoWasRemovedFromPrimaryMeeting):new MeetingSessionStatus(MeetingSessionStatusCode_1.default.OK)}static fromAudioStatus(status){switch(status){case 200:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.OK);case 301:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioJoinedFromAnotherDevice);case 302:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioDisconnectAudio);case 403:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioAuthenticationRejected);case 409:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioCallAtCapacity);case 410:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.MeetingEnded);case 411:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioAttendeeRemoved);case 500:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioInternalServerError);case 503:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioServiceUnavailable);default:return 2===Math.floor(status/100)?new MeetingSessionStatus(MeetingSessionStatusCode_1.default.OK):new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioDisconnected)}}static fromSignalingStatus(status){switch(status){case 206:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.VideoCallSwitchToViewOnly);case 509:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.VideoCallAtSourceCapacity);case 403:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioAuthenticationRejected);case 409:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioCallAtCapacity);default:switch(Math.floor(status/100)){case 2:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.OK);case 4:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.SignalingBadRequest);case 5:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.SignalingInternalServerError);default:return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.SignalingRequestFailed)}}}}exports.default=MeetingSessionStatus},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js":(__unused_webpack_module,exports)=>{"use strict";var MeetingSessionStatusCode;Object.defineProperty(exports,"__esModule",{value:!0}),exports.MeetingSessionStatusCode=void 0,function(MeetingSessionStatusCode){MeetingSessionStatusCode[MeetingSessionStatusCode.OK=0]="OK",MeetingSessionStatusCode[MeetingSessionStatusCode.Left=1]="Left",MeetingSessionStatusCode[MeetingSessionStatusCode.AudioJoinedFromAnotherDevice=2]="AudioJoinedFromAnotherDevice",MeetingSessionStatusCode[MeetingSessionStatusCode.AudioAuthenticationRejected=3]="AudioAuthenticationRejected",MeetingSessionStatusCode[MeetingSessionStatusCode.AudioCallAtCapacity=4]="AudioCallAtCapacity",MeetingSessionStatusCode[MeetingSessionStatusCode.MeetingEnded=5]="MeetingEnded",MeetingSessionStatusCode[MeetingSessionStatusCode.AudioInternalServerError=6]="AudioInternalServerError",MeetingSessionStatusCode[MeetingSessionStatusCode.AudioServiceUnavailable=7]="AudioServiceUnavailable",MeetingSessionStatusCode[MeetingSessionStatusCode.AudioDisconnected=8]="AudioDisconnected",MeetingSessionStatusCode[MeetingSessionStatusCode.VideoCallSwitchToViewOnly=9]="VideoCallSwitchToViewOnly",MeetingSessionStatusCode[MeetingSessionStatusCode.VideoCallAtSourceCapacity=10]="VideoCallAtSourceCapacity",MeetingSessionStatusCode[MeetingSessionStatusCode.SignalingBadRequest=11]="SignalingBadRequest",MeetingSessionStatusCode[MeetingSessionStatusCode.SignalingInternalServerError=12]="SignalingInternalServerError",MeetingSessionStatusCode[MeetingSessionStatusCode.SignalingRequestFailed=13]="SignalingRequestFailed",MeetingSessionStatusCode[MeetingSessionStatusCode.ICEGatheringTimeoutWorkaround=14]="ICEGatheringTimeoutWorkaround",MeetingSessionStatusCode[MeetingSessionStatusCode.ConnectionHealthReconnect=15]="ConnectionHealthReconnect",MeetingSessionStatusCode[MeetingSessionStatusCode.RealtimeApiFailed=16]="RealtimeApiFailed",MeetingSessionStatusCode[MeetingSessionStatusCode.TaskFailed=17]="TaskFailed",MeetingSessionStatusCode[MeetingSessionStatusCode.IncompatibleSDP=18]="IncompatibleSDP",MeetingSessionStatusCode[MeetingSessionStatusCode.TURNCredentialsForbidden=19]="TURNCredentialsForbidden",MeetingSessionStatusCode[MeetingSessionStatusCode.NoAttendeePresent=20]="NoAttendeePresent",MeetingSessionStatusCode[MeetingSessionStatusCode.AudioAttendeeRemoved=21]="AudioAttendeeRemoved",MeetingSessionStatusCode[MeetingSessionStatusCode.AudioVideoWasRemovedFromPrimaryMeeting=22]="AudioVideoWasRemovedFromPrimaryMeeting",MeetingSessionStatusCode[MeetingSessionStatusCode.AudioDisconnectAudio=23]="AudioDisconnectAudio"}(MeetingSessionStatusCode=exports.MeetingSessionStatusCode||(exports.MeetingSessionStatusCode={})),exports.default=MeetingSessionStatusCode},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class MeetingSessionTURNCredentials{constructor(){this.username=null,this.password=null,this.ttl=null,this.uris=null}}},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class MeetingSessionURLs{constructor(){this._audioHostURL=null,this._signalingURL=null,this._turnControlURL=null,this._eventIngestionURL=null,this.urlRewriter=url=>url}get audioHostURL(){return this.urlRewriter(this._audioHostURL)}set audioHostURL(value){this._audioHostURL=value}get signalingURL(){return this.urlRewriter(this._signalingURL)}set signalingURL(value){this._signalingURL=value}get turnControlURL(){return this.urlRewriter(this._turnControlURL)}set turnControlURL(value){this._turnControlURL=value}get eventIngestionURL(){return this.urlRewriter(this._eventIngestionURL)}set eventIngestionURL(value){this._eventIngestionURL=value}}},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionVideoAvailability.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class MeetingSessionVideoAvailability{constructor(){this.remoteVideoAvailable=!1,this.canStartLocalVideo=!1}equal(other){return this.remoteVideoAvailable===other.remoteVideoAvailable&&this.canStartLocalVideo===other.canStartLocalVideo}clone(){const cloned=new MeetingSessionVideoAvailability;return cloned.remoteVideoAvailable=this.remoteVideoAvailable,cloned.canStartLocalVideo=this.canStartLocalVideo,cloned}}exports.default=MeetingSessionVideoAvailability},"./node_modules/amazon-chime-sdk-js/build/message/Message.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class Message{constructor(type,headers,payload){this.type=type,this.headers=headers,this.payload=payload}}},"./node_modules/amazon-chime-sdk-js/build/messagingsession/DefaultMessagingSession.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const client_chime_sdk_messaging_1=__webpack_require__("./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/index.js"),FullJitterBackoff_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js"),CSPMonitor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js"),Message_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/message/Message.js"),DefaultReconnectController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js"),AsyncScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js"),DefaultSigV4_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sigv4/DefaultSigV4.js"),DefaultWebSocketAdapter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js"),WebSocketReadyState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js"),PrefetchOn_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchOn.js");exports.default=class DefaultMessagingSession{constructor(configuration,logger,webSocket,reconnectController,sigV4){this.configuration=configuration,this.logger=logger,this.webSocket=webSocket,this.reconnectController=reconnectController,this.sigV4=sigV4,this.observerQueue=new Set,this.webSocket||(this.webSocket=new DefaultWebSocketAdapter_1.default(this.logger)),this.reconnectController||(this.reconnectController=new DefaultReconnectController_1.default(configuration.reconnectTimeoutMs,new FullJitterBackoff_1.default(configuration.reconnectFixedWaitMs,configuration.reconnectShortBackoffMs,configuration.reconnectLongBackoffMs))),this.sigV4||(this.sigV4=new DefaultSigV4_1.default(this.configuration.chimeClient)),CSPMonitor_1.default.addLogger(this.logger),CSPMonitor_1.default.register(),this.preBootstrapMessages=[]}addObserver(observer){this.logger.info("adding messaging observer"),this.observerQueue.add(observer)}removeObserver(observer){this.logger.info("removing messaging observer"),this.observerQueue.delete(observer)}start(){return __awaiter(this,void 0,void 0,(function*(){this.isClosed()?yield this.startConnecting(!1):this.logger.info("messaging session already started")}))}stop(){this.isClosed()?this.logger.info("no existing messaging session needs closing"):(this.isClosing=!0,this.webSocket.close(),CSPMonitor_1.default.removeLogger(this.logger))}forEachObserver(observerFunc){for(const observer of this.observerQueue)AsyncScheduler_1.default.nextTick((()=>{this.observerQueue.has(observer)&&observerFunc(observer)}))}setUpEventListeners(){this.webSocket.addEventListener("open",(()=>{this.openEventHandler()})),this.webSocket.addEventListener("message",(event=>{this.receiveMessageHandler(event.data)})),this.webSocket.addEventListener("close",(event=>{this.closeEventHandler(event)})),this.webSocket.addEventListener("error",(()=>{this.logger.error("WebSocket error")}))}startConnecting(reconnecting){return __awaiter(this,void 0,void 0,(function*(){return yield this.startConnectingInternal(reconnecting),yield new Promise(((resolve,reject)=>{this.bootstrapResolved=resolve,this.bootstrapRejected=reject}))}))}startConnectingInternal(reconnecting){var _a;return __awaiter(this,void 0,void 0,(function*(){let endpointUrl=this.configuration.endpointUrl;if(reconnecting||this.reconnectController.reset(),this.reconnectController.hasStartedConnectionAttempt()?this.reconnectController.startedConnectionAttempt(!1):this.reconnectController.startedConnectionAttempt(!0),reconnecting||void 0===endpointUrl)try{if(this.configuration.chimeClient.getMessagingSessionEndpoint instanceof Function){const response=yield this.configuration.chimeClient.getMessagingSessionEndpoint();if(null===(_a=response.Endpoint)||void 0===_a?void 0:_a.Url)endpointUrl=response.Endpoint.Url;else{endpointUrl=(yield this.configuration.chimeClient.getMessagingSessionEndpoint().promise()).Endpoint.Url}}else endpointUrl=(yield this.configuration.chimeClient.send(new client_chime_sdk_messaging_1.GetMessagingSessionEndpointCommand({}))).Endpoint.Url;this.logger.debug(`Messaging endpoint resolved to: ${endpointUrl}`)}catch(e){this.logger.error(`Messaging Session failed to resolve endpoint: ${e}`);const closeEvent=new CloseEvent("close",{wasClean:!1,code:4999,reason:"Failed to get messaging session endpoint URL",bubbles:!1});return void this.closeEventHandler(closeEvent)}const signedUrl=yield this.prepareWebSocketUrl(endpointUrl);this.logger.info(`opening connection to ${signedUrl}`),reconnecting||this.reconnectController.reset(),this.reconnectController.hasStartedConnectionAttempt()?this.reconnectController.startedConnectionAttempt(!1):this.reconnectController.startedConnectionAttempt(!0),this.webSocket.create(signedUrl,[],!0),this.forEachObserver((observer=>{observer.messagingSessionDidStartConnecting&&observer.messagingSessionDidStartConnecting(reconnecting)})),this.setUpEventListeners()}))}prepareWebSocketUrl(endpointUrl){return __awaiter(this,void 0,void 0,(function*(){const queryParams=new Map;return queryParams.set("userArn",[this.configuration.userArn]),queryParams.set("sessionId",[this.configuration.messagingSessionId]),this.configuration.prefetchOn===PrefetchOn_1.default.Connect&&queryParams.set("prefetch-on",[PrefetchOn_1.default.Connect]),this.configuration.prefetchSortBy&&queryParams.set("prefetch-sort-by",[this.configuration.prefetchSortBy]),yield this.sigV4.signURL("GET","wss","chime",endpointUrl,"/connect","",queryParams)}))}isClosed(){return this.webSocket.readyState()===WebSocketReadyState_1.default.None||this.webSocket.readyState()===WebSocketReadyState_1.default.Closed}openEventHandler(){this.reconnectController.reset(),this.isSessionEstablished=!1}receiveMessageHandler(data){try{const jsonData=JSON.parse(data),messageType=jsonData.Headers["x-amz-chime-event-type"],message=new Message_1.default(messageType,jsonData.Headers,jsonData.Payload||null);if(this.isSessionEstablished||"SESSION_ESTABLISHED"!==messageType){if(!this.isSessionEstablished)return void this.preBootstrapMessages.push(message)}else{this.forEachObserver((observer=>{observer.messagingSessionDidStart&&observer.messagingSessionDidStart()})),this.bootstrapResolved(),this.isSessionEstablished=!0;const preBootstrapMessageLength=this.preBootstrapMessages.length;for(let iter=0;iter{this.sendMessageToObserver(observer,preBootstrapMessage)}))}}this.forEachObserver((observer=>{this.sendMessageToObserver(observer,message)}))}catch(error){this.logger.error(`Messaging parsing failed: ${error}`)}}sendMessageToObserver(observer,message){observer.messagingSessionDidReceiveMessage&&observer.messagingSessionDidReceiveMessage(message)}retryConnection(){return this.reconnectController.retryWithBackoff((()=>__awaiter(this,void 0,void 0,(function*(){yield this.startConnecting(!0)}))),null)}closeEventHandler(event){this.logger.info(`WebSocket close: ${event.code} ${event.reason}`),4999!==event.code&&this.webSocket.destroy(),!this.isClosing&&this.canReconnect(event.code)&&this.retryConnection()||(this.isClosing=!1,this.isSessionEstablished?this.forEachObserver((observer=>{observer.messagingSessionDidStop&&observer.messagingSessionDidStop(event)})):this.bootstrapRejected(event))}canReconnect(closeCode){return 1001===closeCode||1006===closeCode||closeCode>=1011&&closeCode<=1014||closeCode>4e3&&4002!==closeCode&&4003!==closeCode&&4401!==closeCode}}},"./node_modules/amazon-chime-sdk-js/build/messagingsession/MessagingSessionConfiguration.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class MessagingSessionConfiguration{constructor(userArn,messagingSessionId,endpointUrl,chimeClient){this.userArn=userArn,this.messagingSessionId=messagingSessionId,this.endpointUrl=endpointUrl,this.chimeClient=chimeClient,this.reconnectTimeoutMs=1e4,this.reconnectFixedWaitMs=0,this.reconnectShortBackoffMs=1e3,this.reconnectLongBackoffMs=5e3,this.prefetchOn=void 0,this.prefetchSortBy=void 0,this.messagingSessionId||(this.messagingSessionId=this.generateSessionId())}generateSessionId(){const num=new Uint32Array(1);return window.crypto.getRandomValues(num)[0].toString()}}},"./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchOn.js":(__unused_webpack_module,exports)=>{"use strict";var PrefetchOn;Object.defineProperty(exports,"__esModule",{value:!0}),function(PrefetchOn){PrefetchOn.Connect="connect"}(PrefetchOn||(PrefetchOn={})),exports.default=PrefetchOn},"./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchSortBy.js":(__unused_webpack_module,exports)=>{"use strict";var PrefetchSortBy;Object.defineProperty(exports,"__esModule",{value:!0}),function(PrefetchSortBy){PrefetchSortBy.Unread="unread",PrefetchSortBy.LastMessageTimestamp="last-message-timestamp"}(PrefetchSortBy||(PrefetchSortBy={})),exports.default=PrefetchSortBy},"./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ContentShareConstants_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js");class DefaultModality{constructor(_id){this._id=_id}id(){return this._id}base(){return this._id?this._id.split(DefaultModality.MODALITY_SEPARATOR)[0]:""}modality(){if(!this._id)return"";const components=this._id.split(DefaultModality.MODALITY_SEPARATOR);return 2===components.length?components[1]:""}hasModality(modality){return""!==modality&&this.modality()===modality}withModality(modality){const m=new DefaultModality(this.base()+DefaultModality.MODALITY_SEPARATOR+modality);return""===modality||""===this.base()||new DefaultModality(m._id).modality()!==modality?new DefaultModality(this.base()):m}}exports.default=DefaultModality,DefaultModality.MODALITY_SEPARATOR=ContentShareConstants_1.default.Modality[0],DefaultModality.MODALITY_CONTENT=ContentShareConstants_1.default.Modality.substr(1)},"./node_modules/amazon-chime-sdk-js/build/pingpong/DefaultPingPong.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const AsyncScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js"),IntervalScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js"),SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js"),SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),Types_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Types.js");exports.default=class DefaultPingPong{constructor(signalingClient,intervalMs,logger){this.signalingClient=signalingClient,this.intervalMs=intervalMs,this.logger=logger,this.observerQueue=new Set,this.consecutivePongsUnaccountedFor=0,this.intervalScheduler=new IntervalScheduler_1.default(this.intervalMs),this.pingId=0}addObserver(observer){this.logger.info("adding a ping-pong observer"),this.observerQueue.add(observer)}removeObserver(observer){this.logger.info("removing a ping-pong observer"),this.observerQueue.delete(observer)}forEachObserver(observerFunc){for(const observer of this.observerQueue)AsyncScheduler_1.default.nextTick((()=>{this.observerQueue.has(observer)&&observerFunc(observer)}))}start(){this.stop(),this.signalingClient.registerObserver(this),this.signalingClient.ready()&&this.startPingInterval()}stop(){this.stopPingInterval(),this.signalingClient.removeObserver(this)}startPingInterval(){this.intervalScheduler.start((()=>{this.ping()})),this.ping()}stopPingInterval(){this.intervalScheduler.stop(),this.pingId=0,this.consecutivePongsUnaccountedFor=0}ping(){this.consecutivePongsUnaccountedFor>0&&(this.logger.warn(`missed pong ${this.consecutivePongsUnaccountedFor} time(s)`),this.forEachObserver((observer=>{Types_1.Maybe.of(observer.didMissPongs).map((f=>f.bind(observer)(this.consecutivePongsUnaccountedFor)))}))),this.consecutivePongsUnaccountedFor+=1,this.pingId=this.pingId+1&4294967295;const ping=SignalingProtocol_js_1.SdkPingPongFrame.create();ping.pingId=this.pingId,ping.type=SignalingProtocol_js_1.SdkPingPongType.PING,this.pingTimestampLocalMs=this.signalingClient.pingPong(ping),this.logger.debug((()=>`sent ping ${this.pingId}`))}pong(pingId){const pong=SignalingProtocol_js_1.SdkPingPongFrame.create();pong.pingId=pingId,pong.type=SignalingProtocol_js_1.SdkPingPongType.PONG,this.signalingClient.pingPong(pong)}handleSignalingClientEvent(event){switch(event.type){case SignalingClientEventType_1.default.WebSocketOpen:this.startPingInterval();break;case SignalingClientEventType_1.default.WebSocketFailed:case SignalingClientEventType_1.default.WebSocketError:this.logger.warn(`stopped pinging (${SignalingClientEventType_1.default[event.type]})`),this.stopPingInterval();break;case SignalingClientEventType_1.default.WebSocketClosing:case SignalingClientEventType_1.default.WebSocketClosed:this.logger.info(`stopped pinging (${SignalingClientEventType_1.default[event.type]})`),this.stopPingInterval();break;case SignalingClientEventType_1.default.ReceivedSignalFrame:if(event.message.type!==SignalingProtocol_js_1.SdkSignalFrame.Type.PING_PONG)break;if(event.message.pingPong.type===SignalingProtocol_js_1.SdkPingPongType.PONG){const pingId=event.message.pingPong.pingId;if(pingId!==this.pingId){this.logger.warn(`unexpected ping id ${pingId} (expected ${this.pingId})`);break}let pongTimestampRemoteMs;if(this.consecutivePongsUnaccountedFor=0,"number"!=typeof event.message.timestampMs)break;pongTimestampRemoteMs=event.message.timestampMs,this.logger.debug((()=>`received pong ${pingId} with timestamp ${pongTimestampRemoteMs}`));const pingPongLocalIntervalMs=event.timestampMs-this.pingTimestampLocalMs,estimatedPingTimestampRemoteMs=Math.round(pongTimestampRemoteMs-pingPongLocalIntervalMs/2),estimatedClockSkewMs=this.pingTimestampLocalMs-estimatedPingTimestampRemoteMs;this.logger.info(`local clock skew estimate=${estimatedClockSkewMs}ms from ping-pong time=${pingPongLocalIntervalMs}ms`),this.forEachObserver((observer=>{Types_1.Maybe.of(observer.didReceivePong).map((f=>f.bind(observer)(pingId,estimatedClockSkewMs,pingPongLocalIntervalMs)))}))}else this.pong(event.message.pingPong.pingId)}}}},"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/DefaultRealtimeController.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const DefaultTranscriptionController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/DefaultTranscriptionController.js"),RealtimeState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeState.js"),RealtimeVolumeIndicator_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeVolumeIndicator.js");exports.default=class DefaultRealtimeController{constructor(mediaStreamBroker,transcriptionController){this.mediaStreamBroker=mediaStreamBroker,this.state=new RealtimeState_1.default,this._transcriptionController=transcriptionController||new DefaultTranscriptionController_1.default(this)}realtimeSetLocalAttendeeId(attendeeId,externalUserId){this.state.localAttendeeId=attendeeId,this.state.localExternalUserId=externalUserId}realtimeSetAttendeeIdPresence(attendeeId,present,externalUserId,dropped,posInFrame){try{present&&(this.state.attendeeIdToExternalUserId[attendeeId]=externalUserId);for(const fn of this.state.attendeeIdChangesCallbacks)fn(attendeeId,present,externalUserId,dropped,posInFrame)}catch(e){this.onError(e)}}realtimeSubscribeToAttendeeIdPresence(callback){try{this.state.attendeeIdChangesCallbacks.push(callback)}catch(e){this.onError(e)}}realtimeUnsubscribeToAttendeeIdPresence(callback){try{const index=this.state.attendeeIdChangesCallbacks.indexOf(callback);-1!==index&&this.state.attendeeIdChangesCallbacks.splice(index,1)}catch(e){this.onError(e)}}realtimeSetCanUnmuteLocalAudio(canUnmute){try{if(this.state.canUnmute===canUnmute)return;this.state.canUnmute=canUnmute;for(const fn of this.state.setCanUnmuteLocalAudioCallbacks)fn(canUnmute)}catch(e){this.onError(e)}}realtimeSubscribeToSetCanUnmuteLocalAudio(callback){try{this.state.setCanUnmuteLocalAudioCallbacks.push(callback)}catch(e){this.onError(e)}}realtimeUnsubscribeToSetCanUnmuteLocalAudio(callback){try{const index=this.state.setCanUnmuteLocalAudioCallbacks.indexOf(callback);-1!==index&&this.state.setCanUnmuteLocalAudioCallbacks.splice(index,1)}catch(e){this.onError(e)}}realtimeCanUnmuteLocalAudio(){return this.state.canUnmute}realtimeMuteLocalAudio(){if(!this.state.muted)try{this.setAudioInputEnabled(!1),this.state.muted=!0,this.realtimeUpdateVolumeIndicator(this.state.localAttendeeId,null,null,null,this.state.localExternalUserId);for(const fn of this.state.muteAndUnmuteLocalAudioCallbacks)fn(!0)}catch(e){this.onError(e)}}realtimeUnmuteLocalAudio(){if(!this.state.muted)return!0;if(!this.state.canUnmute)return!1;try{this.setAudioInputEnabled(!0),this.state.muted=!1,this.realtimeUpdateVolumeIndicator(this.state.localAttendeeId,null,null,null,this.state.localExternalUserId);for(const fn of this.state.muteAndUnmuteLocalAudioCallbacks)fn(!1);return!0}catch(e){return this.onError(e),!1}}realtimeSubscribeToMuteAndUnmuteLocalAudio(callback){try{this.state.muteAndUnmuteLocalAudioCallbacks.push(callback)}catch(e){this.onError(e)}}realtimeUnsubscribeToMuteAndUnmuteLocalAudio(callback){try{const index=this.state.muteAndUnmuteLocalAudioCallbacks.indexOf(callback);-1!==index&&this.state.muteAndUnmuteLocalAudioCallbacks.splice(index,1)}catch(e){this.onError(e)}}realtimeIsLocalAudioMuted(){return this.state.muted}realtimeSubscribeToVolumeIndicator(attendeeId,callback){try{this.state.volumeIndicatorCallbacks.hasOwnProperty(attendeeId)||(this.state.volumeIndicatorCallbacks[attendeeId]=[]),this.state.volumeIndicatorCallbacks[attendeeId].push(callback),this.sendVolumeIndicatorChange(attendeeId,!0,!0,!0,this.state.attendeeIdToExternalUserId[attendeeId])}catch(e){this.onError(e)}}realtimeUnsubscribeFromVolumeIndicator(attendeeId,callback){if(this.state.volumeIndicatorCallbacks[attendeeId])if(callback){const index=this.state.volumeIndicatorCallbacks[attendeeId].indexOf(callback);index>=0&&this.state.volumeIndicatorCallbacks[attendeeId].splice(index,1)}else delete this.state.volumeIndicatorCallbacks[attendeeId]}realtimeUpdateVolumeIndicator(attendeeId,volume,muted,signalStrength,externalUserId){try{muted=this.applyLocalMuteOverride(attendeeId,muted);const state=this.getVolumeIndicatorState(attendeeId);let volumeUpdated=!1,mutedUpdated=!1,signalStrengthUpdated=!1;null!==muted&&state.muted!==muted&&(state.muted=muted,mutedUpdated=!0,state.muted&&0!==state.volume&&(state.volume=0,volumeUpdated=!0)),state.muted||null===volume||(state.volume!==volume&&(state.volume=volume,volumeUpdated=!0),null===state.muted&&(state.muted=!1,mutedUpdated=!0)),null!==signalStrength&&state.signalStrength!==signalStrength&&(state.signalStrength=signalStrength,signalStrengthUpdated=!0),this.sendVolumeIndicatorChange(attendeeId,volumeUpdated,mutedUpdated,signalStrengthUpdated,externalUserId)}catch(e){this.onError(e)}}realtimeSubscribeToLocalSignalStrengthChange(callback){try{if(this.state.localSignalStrengthChangeCallbacks.push(callback),null===this.state.localAttendeeId)return;this.sendLocalSignalStrengthChange(this.state.localAttendeeId,!0)}catch(e){this.onError(e)}}realtimeUnsubscribeToLocalSignalStrengthChange(callback){try{const index=this.state.localSignalStrengthChangeCallbacks.indexOf(callback);-1!==index&&this.state.localSignalStrengthChangeCallbacks.splice(index,1)}catch(e){this.onError(e)}}realtimeSubscribeToSendDataMessage(callback){try{this.state.sendDataMessageCallbacks.push(callback)}catch(e){this.onError(e)}}realtimeUnsubscribeFromSendDataMessage(callback){try{const index=this.state.sendDataMessageCallbacks.indexOf(callback);-1!==index&&this.state.sendDataMessageCallbacks.splice(index,1)}catch(e){this.onError(e)}}realtimeSendDataMessage(topic,data,lifetimeMs){try{for(const fn of this.state.sendDataMessageCallbacks)fn(topic,data,lifetimeMs)}catch(e){this.onError(e)}}realtimeSubscribeToReceiveDataMessage(topic,callback){try{this.state.receiveDataMessageCallbacks.has(topic)?this.state.receiveDataMessageCallbacks.get(topic).push(callback):this.state.receiveDataMessageCallbacks.set(topic,[callback])}catch(e){this.onError(e)}}realtimeUnsubscribeFromReceiveDataMessage(topic){try{this.state.receiveDataMessageCallbacks.delete(topic)}catch(e){this.onError(e)}}realtimeReceiveDataMessage(dataMessage){try{if(this.state.receiveDataMessageCallbacks.has(dataMessage.topic))for(const fn of this.state.receiveDataMessageCallbacks.get(dataMessage.topic))fn(dataMessage)}catch(e){this.onError(e)}}realtimeSubscribeToFatalError(callback){try{this.state.fatalErrorCallbacks.push(callback)}catch(e){this.onError(e)}}realtimeUnsubscribeToFatalError(callback){try{const index=this.state.fatalErrorCallbacks.indexOf(callback);-1!==index&&this.state.fatalErrorCallbacks.splice(index,1)}catch(e){this.onError(e)}}get transcriptionController(){return this._transcriptionController}setAudioInputEnabled(enabled){enabled?this.mediaStreamBroker.unmuteLocalAudioInputStream():this.mediaStreamBroker.muteLocalAudioInputStream()}applyLocalMuteOverride(attendeeIdRemote,mutedRemote){const attendeeIdLocal=this.state.localAttendeeId,mutedLocal=this.state.muted;return attendeeIdRemote!==attendeeIdLocal?mutedRemote:"activeDevices"in this.mediaStreamBroker&&this.mediaStreamBroker.activeDevices.audio?mutedLocal:mutedRemote}sendVolumeIndicatorChange(attendeeId,volumeUpdated,mutedUpdated,signalStrengthUpdated,externalUserId){if(this.sendLocalSignalStrengthChange(attendeeId,signalStrengthUpdated),!this.state.volumeIndicatorCallbacks.hasOwnProperty(attendeeId))return;const state=this.getVolumeIndicatorState(attendeeId),updateState=new RealtimeVolumeIndicator_1.default;if(volumeUpdated&&(updateState.volume=state.volume),mutedUpdated&&(updateState.muted=state.muted),signalStrengthUpdated&&(updateState.signalStrength=state.signalStrength),!this.stateIsEmpty(updateState))for(const fn of this.state.volumeIndicatorCallbacks[attendeeId])fn(attendeeId,updateState.volume,updateState.muted,updateState.signalStrength,externalUserId)}sendLocalSignalStrengthChange(attendeeId,signalStrengthUpdated){if(!signalStrengthUpdated)return;if(attendeeId!==this.state.localAttendeeId)return;const signalStrength=this.getVolumeIndicatorState(attendeeId).signalStrength;if(null!==signalStrength)for(const fn of this.state.localSignalStrengthChangeCallbacks)fn(signalStrength)}getVolumeIndicatorState(id){return this.state.volumeIndicatorState.hasOwnProperty(id)||(this.state.volumeIndicatorState[id]=new RealtimeVolumeIndicator_1.default),this.state.volumeIndicatorState[id]}stateIsEmpty(state){return null===state.volume&&null===state.muted&&null===state.signalStrength}onError(error){try{for(const callback of this.state.fatalErrorCallbacks)callback(error)}catch(eventError){try{console.error(error),console.error(eventError)}catch(consoleError){}}}}},"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeAttendeePositionInFrame.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class RealtimeAttendeePositionInFrame{constructor(){this.attendeeIndex=null,this.attendeesInFrame=null}}},"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeState.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class RealtimeState{constructor(){this.localAttendeeId=null,this.localExternalUserId=null,this.attendeeIdChangesCallbacks=[],this.canUnmute=!0,this.setCanUnmuteLocalAudioCallbacks=[],this.muted=!1,this.muteAndUnmuteLocalAudioCallbacks=[],this.volumeIndicatorState={},this.attendeeIdToExternalUserId={},this.volumeIndicatorCallbacks={},this.localSignalStrengthChangeCallbacks=[],this.fatalErrorCallbacks=[],this.sendDataMessageCallbacks=[],this.receiveDataMessageCallbacks=new Map}}},"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeVolumeIndicator.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class RealtimeVolumeIndicator{constructor(){this.volume=null,this.muted=null,this.signalStrength=null}}},"./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const TimeoutScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js");class DefaultReconnectController{constructor(reconnectTimeoutMs,backoffPolicy){this.reconnectTimeoutMs=reconnectTimeoutMs,this.backoffPolicy=backoffPolicy,this.shouldReconnect=!0,this.onlyRestartPeerConnection=!1,this.firstConnectionAttempted=!1,this.firstConnectionAttemptTimestampMs=0,this.lastActiveTimestampMs=1/0,this._isFirstConnection=!0,this.backoffTimer=null,this.backoffCancel=null,this.reset()}timeSpentReconnectingMs(){return this.firstConnectionAttempted?Date.now()-this.firstConnectionAttemptTimestampMs:0}hasPastReconnectDeadline(){return Date.now()-this.lastActiveTimestampMs>=this.reconnectTimeoutMs||this.timeSpentReconnectingMs()>=this.reconnectTimeoutMs}reset(){this.cancel(),this.shouldReconnect=!0,this.onlyRestartPeerConnection=!1,this.firstConnectionAttempted=!1,this.firstConnectionAttemptTimestampMs=0,this.lastActiveTimestampMs=1/0,this.backoffPolicy.reset()}startedConnectionAttempt(isFirstConnection){this._isFirstConnection=isFirstConnection,this.firstConnectionAttempted||(this.firstConnectionAttempted=!0,this.firstConnectionAttemptTimestampMs=Date.now())}hasStartedConnectionAttempt(){return this.firstConnectionAttempted}isFirstConnection(){return this._isFirstConnection}disableReconnect(){this.shouldReconnect=!1}enableRestartPeerConnection(){this.onlyRestartPeerConnection=!0}cancel(){this.disableReconnect(),this.backoffTimer&&(this.backoffTimer.stop(),this.backoffCancel&&(this.backoffCancel(),this.backoffCancel=null))}retryWithBackoff(retryFunc,cancelFunc){const willRetry=this.shouldReconnect&&!this.hasPastReconnectDeadline();return willRetry&&(this.backoffCancel=cancelFunc,this.backoffTimer=new TimeoutScheduler_1.default(this.backoffPolicy.nextBackoffAmountMs()),this.backoffTimer.start((()=>{this.backoffCancel=null,retryFunc()}))),willRetry}shouldOnlyRestartPeerConnection(){return this.onlyRestartPeerConnection}clone(){return new DefaultReconnectController(this.reconnectTimeoutMs,this.backoffPolicy)}setLastActiveTimestampMs(timestampMs){this.lastActiveTimestampMs=timestampMs}}exports.default=DefaultReconnectController},"./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const TimeoutScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js");class AsyncScheduler extends TimeoutScheduler_1.default{constructor(){super(0)}static nextTick(callback){setTimeout(callback,0)}}exports.default=AsyncScheduler},"./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class IntervalScheduler{constructor(intervalMs){this.intervalMs=intervalMs}start(callback){this.stop(),this.timer=setInterval(callback,this.intervalMs)}stop(){void 0!==this.timer&&(clearInterval(this.timer),this.timer=void 0)}running(){return void 0!==this.timer}}},"./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class TimeoutScheduler{constructor(timeoutMs){this.timeoutMs=timeoutMs,this.timer=null}start(callback){this.stop(),this.timer=setTimeout((()=>{clearTimeout(this.timer),callback()}),this.timeoutMs)}stop(){null!==this.timer&&(clearTimeout(this.timer),this.timer=null)}}},"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SDPCandidateType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/SDPCandidateType.js"),SDPMediaSection_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/SDPMediaSection.js"),VideoCodecCapability_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.js");class SDP{constructor(sdp){this.sdp=sdp}clone(){return new SDP(this.sdp)}static isRTPCandidate(candidate){const match=/candidate[:](\S+) (\d+)/g.exec(candidate);return null!==match&&"1"===match[2]}static linesToSDP(lines){return new SDP(lines.join(SDP.CRLF))}static candidateTypeFromString(candidateType){switch(candidateType){case SDPCandidateType_1.default.Host:return SDPCandidateType_1.default.Host;case SDPCandidateType_1.default.ServerReflexive:return SDPCandidateType_1.default.ServerReflexive;case SDPCandidateType_1.default.PeerReflexive:return SDPCandidateType_1.default.PeerReflexive;case SDPCandidateType_1.default.Relay:return SDPCandidateType_1.default.Relay}return null}static candidateType(sdpLine){const match=/a[=]candidate[:].* typ ([a-z]+) /g.exec(sdpLine);return null===match?null:SDP.candidateTypeFromString(match[1])}static mediaType(sdpLine){const match=/m=(audio|video)/g.exec(sdpLine);if(null!==match)return match[1]}static mid(sdpLine){if(sdpLine.includes("a=mid:"))return sdpLine.replace(/^(a=mid:)/,"")}static direction(sdpLine){const match=/a=(sendrecv|sendonly|recvonly|inactive)/g.exec(sdpLine);if(null!==match)return match[1]}static splitLines(blob){return blob.trim().split("\n").map((line=>line.trim()))}static splitSections(sdp){return sdp.split("\nm=").map(((section,index)=>(index>0?"m="+section:section).trim()+SDP.CRLF))}static findActiveCameraSection(sections){let cameraLineIndex=0,hasCamera=!1;for(const sec of sections){if(/^m=video/.test(sec)&&(sec.indexOf("sendrecv")>-1||-1===sec.indexOf("sendonly")&&-1===sec.indexOf("recvonly")&&-1===sec.indexOf("inactive"))){hasCamera=!0;break}cameraLineIndex++}return!1===hasCamera&&(cameraLineIndex=-1),cameraLineIndex}static extractSSRCsFromFIDGroupLine(figGroupLine){return/^a=ssrc-group:FID\s(.+)/.exec(figGroupLine)[1]}static matchPrefix(blob,prefix){return SDP.splitLines(blob).filter((line=>0===line.indexOf(prefix)))}lines(){return this.sdp.split(SDP.CRLF)}hasVideo(){return null!==/^m=video/gm.exec(this.sdp)}hasCandidates(){return null!==/a[=]candidate[:]/g.exec(this.sdp)}hasCandidatesForAllMLines(){return!(this.sdp.indexOf("c=IN IP4 0.0.0.0")>-1)}withoutCandidateType(candidateTypeToExclude){return SDP.linesToSDP(this.lines().filter((line=>SDP.candidateType(line)!==candidateTypeToExclude)))}withoutServerReflexiveCandidates(){return this.withoutCandidateType(SDPCandidateType_1.default.ServerReflexive)}withAudioMaxAverageBitrate(maxAverageBitrate){if(!maxAverageBitrate)return this.clone();maxAverageBitrate=Math.trunc(Math.min(Math.max(maxAverageBitrate,SDP.rfc7587LowestBitrate),SDP.rfc7587HighestBitrate));const srcLines=this.lines(),fmtpAttributes=SDP.findOpusFmtpAttributes(srcLines),dstLines=SDP.updateOpusFmtpAttributes(srcLines,fmtpAttributes,[`maxaveragebitrate=${maxAverageBitrate}`]);return SDP.linesToSDP(dstLines)}withStereoAudio(){const srcLines=this.lines(),fmtpAttributes=SDP.findOpusFmtpAttributes(srcLines),dstLines=SDP.updateOpusFmtpAttributes(srcLines,fmtpAttributes,["stereo=1","sprop-stereo=1"]);return SDP.linesToSDP(dstLines)}static findOpusFmtpAttributes(sdpLines){const opusRtpMapRegex=/^a=rtpmap:\s*(\d+)\s+opus\/48000/;let lookingForOpusRtpMap=!1;const fmtpAttributes=[];for(const line of sdpLines)if(line.startsWith("m=audio")&&(fmtpAttributes.push(null),lookingForOpusRtpMap=!0),line.startsWith("m=video")&&(lookingForOpusRtpMap=!1),lookingForOpusRtpMap){const match=opusRtpMapRegex.exec(line);null!==match&&(fmtpAttributes[fmtpAttributes.length-1]=`a=fmtp:${match[1]} `)}return fmtpAttributes}static updateOpusFmtpAttributes(srcLines,fmtpAttributes,additionalParams){const dstLines=[];let fmtpIndex=0,currFmtpAttribute=null;for(const line of srcLines)if(line.startsWith("m=audio")&&(currFmtpAttribute=fmtpAttributes[fmtpIndex],fmtpIndex++),line.startsWith("m=video")&&(currFmtpAttribute=null),currFmtpAttribute&&line.startsWith(currFmtpAttribute)){const oldParameters=line.slice(currFmtpAttribute.length).split(";"),newParameters=[];for(const parameter of oldParameters){additionalParams.findIndex((element=>element.startsWith(parameter.split("=")[0])))<0&&newParameters.push(parameter)}for(const parameter of additionalParams)newParameters.push(parameter);dstLines.push(currFmtpAttribute+newParameters.join(";"))}else dstLines.push(line);return dstLines}withUnifiedPlanFormat(){let originalSdp=this.sdp;return originalSdp.includes("mozilla")?this.clone():(originalSdp=originalSdp.replace("o=-","o=mozilla-chrome"),new SDP(originalSdp))}getUniqueRtpHeaderExtensionId(srcLines){const headerExtensionIds=[];for(const line of srcLines)if(/^a=extmap:/.test(line.trim())){const id=+line.split("a=extmap:")[1].split(" ")[0];headerExtensionIds.includes(id)||headerExtensionIds.push(id)}headerExtensionIds.sort(((a,b)=>a-b));let previousId=0;for(const id of headerExtensionIds){if(id-previousId>1)return previousId+1;previousId=id}return 14===previousId?-1:previousId+1}withVideoLayersAllocationRtpHeaderExtension(previousSdp){const url="http://www.webrtc.org/experiments/rtp-hdrext/video-layers-allocation00",previousId=previousSdp?previousSdp.getRtpHeaderExtensionId(url):-1,id=-1===previousId?this.getUniqueRtpHeaderExtensionId(SDP.splitLines(this.sdp)):previousId,sections=SDP.splitSections(this.sdp),newSections=[];for(let section of sections){if(/^m=video/.test(section)&&-1===SDP.getRtpHeaderExtensionIdInSection(section,url)){const srcLines=SDP.splitLines(section),dstLines=[];if(-1===id||this.hasRtpHeaderExtensionId(id)){newSections.push(section);continue}for(const line of srcLines)if(dstLines.push(line),/^a=sendrecv/.test(line.trim())){const targetLine="a=extmap:"+id+" "+url;dstLines.push(targetLine)}section=dstLines.join(SDP.CRLF)+SDP.CRLF}else if(-1!==previousId&&/^m=video/.test(section)&&SDP.getRtpHeaderExtensionIdInSection(section,url)!==previousId){const srcLines=SDP.splitLines(section),dstLines=[];for(const line of srcLines){if(/^a=extmap:/.test(line.trim())){if(line.split("a=extmap:")[1].split(" ")[1]===url){if(!this.hasRtpHeaderExtensionId(previousId)){const targetLine="a=extmap:"+previousId+" "+url;dstLines.push(targetLine)}continue}}dstLines.push(line)}section=dstLines.join(SDP.CRLF)+SDP.CRLF}newSections.push(section)}const newSdp=newSections.join("");return new SDP(newSdp)}ssrcForVideoSendingSection(){const srcSDP=this.sdp,sections=SDP.splitSections(srcSDP);if(sections.length<2)return"";const cameraLineIndex=SDP.findActiveCameraSection(sections);if(-1===cameraLineIndex)return"";const fidGroupMatch=SDP.matchPrefix(sections[cameraLineIndex],"a=ssrc-group:FID ");if(fidGroupMatch.length<1)return"";const fidGroup=SDP.extractSSRCsFromFIDGroupLine(fidGroupMatch[0]),[videoSSRC1]=fidGroup.split(" ").map((ssrc=>parseInt(ssrc,10)));return videoSSRC1.toString()}videoSendSectionHasDifferentSSRC(prevSdp){const ssrc1=this.ssrcForVideoSendingSection(),ssrc2=prevSdp.ssrcForVideoSendingSection();if(""===ssrc1||""===ssrc2)return!1;return parseInt(ssrc1,10)!==parseInt(ssrc2,10)}removeH264SupportFromSendSection(){const srcSDP=this.sdp,sections=SDP.splitSections(srcSDP),cameraLineIndex=SDP.findActiveCameraSection(sections);if(-1===cameraLineIndex)return new SDP(this.sdp);const cameraSection=sections[cameraLineIndex],cameraSectionLines=SDP.splitLines(cameraSection),payloadTypesForH264=[],primaryPayloadTypeToFeedbackPayloadTypes=new Map;cameraSectionLines.forEach((attribute=>{if(/^a=rtpmap:/.test(attribute)){const payloadMatch=/^a=rtpmap:([0-9]+)\s/.exec(attribute);payloadMatch&&attribute.toLowerCase().includes("h264")&&payloadTypesForH264.push(parseInt(payloadMatch[1],10))}if(/^a=fmtp:/.test(attribute)){const feedbackMatches=/^a=fmtp:([0-9]+) apt=([0-9]+)/.exec(attribute);if(feedbackMatches&&3===feedbackMatches.length){const feedbackPayloadType=parseInt(feedbackMatches[1],10),primaryPayloadType=parseInt(feedbackMatches[2],10);primaryPayloadTypeToFeedbackPayloadTypes.has(primaryPayloadType)?primaryPayloadTypeToFeedbackPayloadTypes.get(primaryPayloadType).push(feedbackPayloadType):primaryPayloadTypeToFeedbackPayloadTypes.set(primaryPayloadType,[feedbackPayloadType])}}}));const payloadTypesToRemove=new Set;for(const type of payloadTypesForH264){payloadTypesToRemove.add(type);const feedbackTypes=primaryPayloadTypeToFeedbackPayloadTypes.get(type);if(feedbackTypes)for(const feedbackType of feedbackTypes)payloadTypesToRemove.add(feedbackType)}if(payloadTypesForH264.length>0){const mline=cameraSectionLines[0].split(" ");cameraSectionLines[0]=mline.filter((text=>!payloadTypesToRemove.has(parseInt(text)))).join(" ")}const filteredLines=cameraSectionLines.filter((line=>{if(!line.includes("rtpmap")&&!line.includes("rtcp-fb")&&!line.includes("fmtp"))return!0;for(const type of payloadTypesToRemove)if(line.includes(type.toString()))return!1;return!0}));sections[cameraLineIndex]=filteredLines.join(SDP.CRLF)+SDP.CRLF;const newSDP=sections.join("");return new SDP(newSDP)}mediaSections(){const sections=SDP.splitSections(this.sdp);if(sections.length<2)return[];const parsedMediaSections=[];for(let i=1;i{if(/^a=rtpmap:/.test(line))for(const preference of preferences){if(!line.includes(`${preference.codecName}/${preference.codecCapability.clockRate}`))continue;const payloadMatch=/^a=rtpmap:([0-9]+)\s/.exec(line);let codecMatches=!1;if(void 0!==preference.codecCapability.sdpFmtpLine){for(const prospectiveFmtpLine of lines)if(prospectiveFmtpLine.startsWith(`a=fmtp:${payloadMatch[1]} ${preference.codecCapability.sdpFmtpLine}`)){codecMatches=!0;break}}else codecMatches=!0;if(codecMatches){codecNamesToPayloadTypes.set(preference.codecName,payloadMatch[1]);break}}}));const payloadTypesToRemove=new Set(codecNamesToPayloadTypes.values()),mline=lines[0].split(" ").filter((text=>!payloadTypesToRemove.has(text))),orderedPreferedPayloadTypes=Array.from(codecNamesToPayloadTypes.values()).sort(((name1,name2)=>preferences.findIndex((capability=>codecNamesToPayloadTypes.get(capability.codecName)===name1))-preferences.findIndex((capability=>codecNamesToPayloadTypes.get(capability.codecName)===name2))));return mline.splice(3,0,...orderedPreferedPayloadTypes.values()),lines[0]=mline.join(" "),lines.join(SDP.CRLF)+SDP.CRLF}highestPriorityVideoSendCodec(){const srcSDP=this.sdp,sections=SDP.splitSections(srcSDP),cameraLineIndex=SDP.findActiveCameraSection(sections);if(-1===cameraLineIndex)return;const lines=SDP.splitLines(sections[cameraLineIndex]),mlineTokens=lines[0].split(" ");if(mlineTokens.length<4)return;const highestPriorityPayloadType=mlineTokens[3];let highestPriorityCodecName,highestPriorityClockRate,highestPriorityFmtpLine;for(const line of lines){const payloadMatch=/^a=rtpmap:([0-9]+)\s/.exec(line);if(null===payloadMatch||payloadMatch.length<2||payloadMatch[1]!==highestPriorityPayloadType)continue;const nameAndClockRate=line.split(" ")[1].split("/");if(!(void 0===nameAndClockRate||nameAndClockRate.length<2)){highestPriorityCodecName=nameAndClockRate[0],highestPriorityClockRate=nameAndClockRate[1];for(const prospectiveFmtpLine of lines)if(prospectiveFmtpLine.startsWith(`a=fmtp:${highestPriorityPayloadType}`)){const fmtpLineTokens=prospectiveFmtpLine.split(" ");if(void 0===fmtpLineTokens||fmtpLineTokens.length<2)return;highestPriorityFmtpLine=fmtpLineTokens[1]}else;break}}return void 0!==highestPriorityCodecName?new VideoCodecCapability_1.default(highestPriorityCodecName,{clockRate:parseInt(highestPriorityClockRate),mimeType:`video/${highestPriorityCodecName}`,sdpFmtpLine:highestPriorityFmtpLine}):void 0}}exports.default=SDP,SDP.CRLF="\r\n",SDP.rfc7587LowestBitrate=6e3,SDP.rfc7587HighestBitrate=51e4},"./node_modules/amazon-chime-sdk-js/build/sdp/SDPCandidateType.js":(__unused_webpack_module,exports)=>{"use strict";var SDPCandidateType;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SDPCandidateType=void 0,function(SDPCandidateType){SDPCandidateType.Host="host",SDPCandidateType.ServerReflexive="srflx",SDPCandidateType.PeerReflexive="prflx",SDPCandidateType.Relay="relay"}(SDPCandidateType=exports.SDPCandidateType||(exports.SDPCandidateType={})),exports.default=SDPCandidateType},"./node_modules/amazon-chime-sdk-js/build/sdp/SDPMediaSection.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class SDPMediaSection{}},"./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SignalingProtocol_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js");class VideoCodecCapability{constructor(codecName,codecCapability){this.codecName=codecName,this.codecCapability=codecCapability}equals(other){return void 0!==other&&this.codecName===other.codecName&&this.codecCapability.mimeType===other.codecCapability.mimeType&&this.codecCapability.clockRate===other.codecCapability.clockRate&&this.codecCapability.sdpFmtpLine===other.codecCapability.sdpFmtpLine}static vp8(){return new VideoCodecCapability("VP8",{clockRate:9e4,mimeType:"video/VP8"})}static h264ConstrainedBaselineProfile(){return new VideoCodecCapability("H264",{clockRate:9e4,mimeType:"video/H264",sdpFmtpLine:"level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f"})}static h264(){return this.h264ConstrainedBaselineProfile()}static fromSignaled(capability){switch(capability){case SignalingProtocol_1.SdkVideoCodecCapability.VP8:return this.vp8();case SignalingProtocol_1.SdkVideoCodecCapability.H264_CONSTRAINED_BASELINE_PROFILE:return this.h264ConstrainedBaselineProfile();default:return}}}exports.default=VideoCodecCapability},"./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const pako=__webpack_require__("./node_modules/pako/index.js");class ZLIBTextCompressor{constructor(logger){this.logger=logger}compress(text,dictionary){if(dictionary.length>0){const dictionarySize=Math.min(dictionary.length,ZLIBTextCompressor.MAX_DICTIONARY_SIZE);dictionary=dictionary.slice(0,dictionarySize)}const options={memLevel:ZLIBTextCompressor.Z_MEM_LEVEL,dictionary};return pako.deflateRaw(text,options)}decompress(compressedText,dictionary){if(dictionary.length>0){const dictionarySize=Math.min(dictionary.length,ZLIBTextCompressor.MAX_DICTIONARY_SIZE);dictionary=dictionary.slice(0,dictionarySize)}const options={to:"string",dictionary,chunkSize:4096};let decompressedText="";try{decompressedText=pako.inflateRaw(compressedText,options)}catch(ex){this.logger.error(`failed to decompress the string with error: [${ex}]`)}return decompressedText}}exports.default=ZLIBTextCompressor,ZLIBTextCompressor.Z_MEM_LEVEL=9,ZLIBTextCompressor.MAX_DICTIONARY_SIZE=31744},"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/DefaultSessionStateController.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SessionStateControllerAction_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js"),SessionStateControllerDeferPriority_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerDeferPriority.js"),SessionStateControllerState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js"),SessionStateControllerTransitionResult_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js");exports.default=class DefaultSessionStateController{constructor(logger){this.logger=logger,this.currentState=SessionStateControllerState_1.SessionStateControllerState.NotConnected,this.deferredAction=null,this.deferredWork=null}perform(action,work){const state=this.currentState;if(state===SessionStateControllerState_1.SessionStateControllerState.NotConnected&&action===SessionStateControllerAction_1.SessionStateControllerAction.Connect)this.transition(SessionStateControllerState_1.SessionStateControllerState.Connecting,action);else if(state===SessionStateControllerState_1.SessionStateControllerState.Connecting&&action===SessionStateControllerAction_1.SessionStateControllerAction.Fail)this.transition(SessionStateControllerState_1.SessionStateControllerState.Disconnecting,action);else if(state===SessionStateControllerState_1.SessionStateControllerState.Connecting&&action===SessionStateControllerAction_1.SessionStateControllerAction.FinishConnecting)this.transition(SessionStateControllerState_1.SessionStateControllerState.Connected,action);else if(state===SessionStateControllerState_1.SessionStateControllerState.Connected&&action===SessionStateControllerAction_1.SessionStateControllerAction.Disconnect)this.transition(SessionStateControllerState_1.SessionStateControllerState.Disconnecting,action);else if(state===SessionStateControllerState_1.SessionStateControllerState.Connected&&action===SessionStateControllerAction_1.SessionStateControllerAction.Reconnect)this.transition(SessionStateControllerState_1.SessionStateControllerState.Connecting,action);else if(state===SessionStateControllerState_1.SessionStateControllerState.Connected&&action===SessionStateControllerAction_1.SessionStateControllerAction.Fail)this.transition(SessionStateControllerState_1.SessionStateControllerState.Disconnecting,action);else if(state===SessionStateControllerState_1.SessionStateControllerState.Connected&&action===SessionStateControllerAction_1.SessionStateControllerAction.Update)this.transition(SessionStateControllerState_1.SessionStateControllerState.Updating,action);else if(state===SessionStateControllerState_1.SessionStateControllerState.Updating&&action===SessionStateControllerAction_1.SessionStateControllerAction.Fail)this.transition(SessionStateControllerState_1.SessionStateControllerState.Disconnecting,action);else if(state===SessionStateControllerState_1.SessionStateControllerState.Updating&&action===SessionStateControllerAction_1.SessionStateControllerAction.FinishUpdating)this.transition(SessionStateControllerState_1.SessionStateControllerState.Connected,action);else{if(state!==SessionStateControllerState_1.SessionStateControllerState.Disconnecting||action!==SessionStateControllerAction_1.SessionStateControllerAction.FinishDisconnecting)return this.canDefer(action)?(this.logger.info(`deferring transition from ${SessionStateControllerState_1.SessionStateControllerState[this.currentState]} with ${SessionStateControllerAction_1.SessionStateControllerAction[action]}`),this.deferAction(action,work),SessionStateControllerTransitionResult_1.SessionStateControllerTransitionResult.DeferredTransition):(this.logger.warn(`no transition found from ${SessionStateControllerState_1.SessionStateControllerState[this.currentState]} with ${SessionStateControllerAction_1.SessionStateControllerAction[action]}`),SessionStateControllerTransitionResult_1.SessionStateControllerTransitionResult.NoTransitionAvailable);this.transition(SessionStateControllerState_1.SessionStateControllerState.NotConnected,action)}try{work()}catch(e){return this.logger.error(`error during state ${SessionStateControllerState_1.SessionStateControllerState[this.currentState]} with action ${SessionStateControllerAction_1.SessionStateControllerAction[action]}: ${e}`),this.logger.info(`rolling back transition to ${SessionStateControllerState_1.SessionStateControllerState[state]}`),this.currentState=state,SessionStateControllerTransitionResult_1.SessionStateControllerTransitionResult.TransitionFailed}return this.performDeferredAction(),SessionStateControllerTransitionResult_1.SessionStateControllerTransitionResult.Transitioned}state(){return this.currentState}transition(newState,action){this.logger.info(`transitioning from ${SessionStateControllerState_1.SessionStateControllerState[this.currentState]} to ${SessionStateControllerState_1.SessionStateControllerState[newState]} with ${SessionStateControllerAction_1.SessionStateControllerAction[action]}`),this.currentState=newState}deferPriority(action){switch(action){case SessionStateControllerAction_1.SessionStateControllerAction.Disconnect:return SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.VeryHigh;case SessionStateControllerAction_1.SessionStateControllerAction.Fail:return SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.High;case SessionStateControllerAction_1.SessionStateControllerAction.Reconnect:return SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.Medium;case SessionStateControllerAction_1.SessionStateControllerAction.Update:return SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.Low;default:return SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.DoNotDefer}}deferAction(action,work){null!==this.deferredAction&&this.deferPriority(this.deferredAction)>this.deferPriority(action)||(this.deferredAction=action,this.deferredWork=work)}canDefer(action){return this.deferPriority(action)!==SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.DoNotDefer&&(this.currentState===SessionStateControllerState_1.SessionStateControllerState.Connecting||this.currentState===SessionStateControllerState_1.SessionStateControllerState.Updating)}performDeferredAction(){if(!this.deferredAction)return;const deferredAction=this.deferredAction,deferredWork=this.deferredWork;this.deferredAction=null,this.deferredWork=null,this.logger.info(`performing deferred action ${SessionStateControllerAction_1.SessionStateControllerAction[deferredAction]}`),this.perform(deferredAction,deferredWork)!==SessionStateControllerTransitionResult_1.SessionStateControllerTransitionResult.Transitioned&&this.logger.info(`unable to perform deferred action ${SessionStateControllerAction_1.SessionStateControllerAction[deferredAction]} in state ${SessionStateControllerState_1.SessionStateControllerState[this.currentState]}`)}}},"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js":(__unused_webpack_module,exports)=>{"use strict";var SessionStateControllerAction;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SessionStateControllerAction=void 0,function(SessionStateControllerAction){SessionStateControllerAction[SessionStateControllerAction.Connect=0]="Connect",SessionStateControllerAction[SessionStateControllerAction.FinishConnecting=1]="FinishConnecting",SessionStateControllerAction[SessionStateControllerAction.Update=2]="Update",SessionStateControllerAction[SessionStateControllerAction.FinishUpdating=3]="FinishUpdating",SessionStateControllerAction[SessionStateControllerAction.Reconnect=4]="Reconnect",SessionStateControllerAction[SessionStateControllerAction.Disconnect=5]="Disconnect",SessionStateControllerAction[SessionStateControllerAction.Fail=6]="Fail",SessionStateControllerAction[SessionStateControllerAction.FinishDisconnecting=7]="FinishDisconnecting"}(SessionStateControllerAction=exports.SessionStateControllerAction||(exports.SessionStateControllerAction={})),exports.default=SessionStateControllerAction},"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerDeferPriority.js":(__unused_webpack_module,exports)=>{"use strict";var SessionStateControllerDeferPriority;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SessionStateControllerDeferPriority=void 0,function(SessionStateControllerDeferPriority){SessionStateControllerDeferPriority[SessionStateControllerDeferPriority.DoNotDefer=0]="DoNotDefer",SessionStateControllerDeferPriority[SessionStateControllerDeferPriority.Low=1]="Low",SessionStateControllerDeferPriority[SessionStateControllerDeferPriority.Medium=2]="Medium",SessionStateControllerDeferPriority[SessionStateControllerDeferPriority.High=3]="High",SessionStateControllerDeferPriority[SessionStateControllerDeferPriority.VeryHigh=4]="VeryHigh"}(SessionStateControllerDeferPriority=exports.SessionStateControllerDeferPriority||(exports.SessionStateControllerDeferPriority={})),exports.default=SessionStateControllerDeferPriority},"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js":(__unused_webpack_module,exports)=>{"use strict";var SessionStateControllerState;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SessionStateControllerState=void 0,function(SessionStateControllerState){SessionStateControllerState[SessionStateControllerState.NotConnected=0]="NotConnected",SessionStateControllerState[SessionStateControllerState.Connecting=1]="Connecting",SessionStateControllerState[SessionStateControllerState.Connected=2]="Connected",SessionStateControllerState[SessionStateControllerState.Updating=3]="Updating",SessionStateControllerState[SessionStateControllerState.Disconnecting=4]="Disconnecting"}(SessionStateControllerState=exports.SessionStateControllerState||(exports.SessionStateControllerState={})),exports.default=SessionStateControllerState},"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js":(__unused_webpack_module,exports)=>{"use strict";var SessionStateControllerTransitionResult;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SessionStateControllerTransitionResult=void 0,function(SessionStateControllerTransitionResult){SessionStateControllerTransitionResult[SessionStateControllerTransitionResult.Transitioned=0]="Transitioned",SessionStateControllerTransitionResult[SessionStateControllerTransitionResult.NoTransitionAvailable=1]="NoTransitionAvailable",SessionStateControllerTransitionResult[SessionStateControllerTransitionResult.DeferredTransition=2]="DeferredTransition",SessionStateControllerTransitionResult[SessionStateControllerTransitionResult.TransitionFailed=3]="TransitionFailed"}(SessionStateControllerTransitionResult=exports.SessionStateControllerTransitionResult||(exports.SessionStateControllerTransitionResult={})),exports.default=SessionStateControllerTransitionResult},"./node_modules/amazon-chime-sdk-js/build/signalingclient/DefaultSignalingClient.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),TimeoutScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js"),SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),Utils_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Utils.js"),Versioning_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js"),WebSocketReadyState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js"),ServerSideNetworkAdaption_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js"),SignalingClientEvent_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEvent.js"),SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js");class DefaultSignalingClient{constructor(webSocket,logger){this.webSocket=webSocket,this.logger=logger,this.unloadHandler=null,this.closeEventHandler=event=>{this.deactivatePageUnloadHandler(),this.resetConnection(),this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.WebSocketClosed,null,event.code,event.reason)),this.serviceConnectionRequestQueue()},this.observerQueue=new Set,this.connectionRequestQueue=[],this.resetConnection(),this.logger.debug((()=>"signaling client init")),this.audioSessionId=this.generateNewAudioSessionId()}registerObserver(observer){this.logger.debug((()=>"registering signaling client observer")),this.observerQueue.add(observer)}removeObserver(observer){this.logger.debug((()=>"removing signaling client observer")),this.observerQueue.delete(observer)}openConnection(request){this.logger.info("adding connection request to queue: "+request.url()),this.connectionRequestQueue.push(request),this.closeConnection()}pingPong(pingPongFrame){this.logger.debug((()=>"sending ping"));const message=SignalingProtocol_js_1.SdkSignalFrame.create();return message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.PING_PONG,message.pingPong=pingPongFrame,this.sendMessage(message),message.timestampMs}join(settings){this.logger.info("sending join");const joinFrame=SignalingProtocol_js_1.SdkJoinFrame.create();joinFrame.protocolVersion=2,joinFrame.flags=SignalingProtocol_js_1.SdkJoinFlags.HAS_STREAM_UPDATE;const browserBehavior=new DefaultBrowserBehavior_1.default,sdkClientDetails={platformName:browserBehavior.name(),platformVersion:browserBehavior.version(),clientSource:Versioning_1.default.sdkName,chimeSdkVersion:Versioning_1.default.sdkVersion,clientUtcOffset:Utils_1.getFormattedOffset((new Date).getTimezoneOffset())};if(settings.applicationMetadata){const{appName,appVersion}=settings.applicationMetadata;sdkClientDetails.appName=appName,sdkClientDetails.appVersion=appVersion}joinFrame.clientDetails=SignalingProtocol_js_1.SdkClientDetails.create(sdkClientDetails),joinFrame.audioSessionId=this.audioSessionId,joinFrame.wantsCompressedSdp=DefaultSignalingClient.CLIENT_SUPPORTS_COMPRESSION,joinFrame.disablePeriodicKeyframeRequestOnContentSender=settings.disablePeriodicKeyframeRequestOnContentSender,joinFrame.serverSideNetworkAdaption=ServerSideNetworkAdaption_1.convertServerSideNetworkAdaptionEnumToSignaled(settings.serverSideNetworkAdaption),joinFrame.supportedServerSideNetworkAdaptions=settings.supportedServerSideNetworkAdaptions.map(ServerSideNetworkAdaption_1.convertServerSideNetworkAdaptionEnumToSignaled);const message=SignalingProtocol_js_1.SdkSignalFrame.create();message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.JOIN,message.join=joinFrame,this.sendMessage(message)}subscribe(settings){const subscribeFrame=SignalingProtocol_js_1.SdkSubscribeFrame.create();if(subscribeFrame.sendStreams=[],subscribeFrame.sdpOffer=settings.sdpOffer,settings.connectionTypeHasVideo&&(subscribeFrame.receiveStreamIds=settings.receiveStreamIds),settings.audioHost&&(subscribeFrame.audioCheckin=settings.audioCheckin,subscribeFrame.audioHost=settings.audioHost,subscribeFrame.audioMuted=settings.audioMuted,!settings.audioCheckin)){const audioStream=SignalingProtocol_js_1.SdkStreamDescriptor.create();audioStream.mediaType=SignalingProtocol_js_1.SdkStreamMediaType.AUDIO,audioStream.trackLabel="AmazonChimeExpressAudio",audioStream.attendeeId=settings.attendeeId,audioStream.streamId=1,audioStream.groupId=1,audioStream.framerate=15,audioStream.maxBitrateKbps=600,audioStream.avgBitrateBps=4e5,subscribeFrame.sendStreams.push(audioStream)}if(subscribeFrame.compressedSdpOffer=settings.compressedSdpOffer,subscribeFrame.duplex=SignalingProtocol_js_1.SdkStreamServiceType.RX,settings.localVideoEnabled){subscribeFrame.duplex=SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX;for(let i=0;i0&&(subscribeFrame.videoSubscriptionConfiguration=settings.videoSubscriptionConfiguration.map(this.convertVideoSubscriptionConfiguration));const message=SignalingProtocol_js_1.SdkSignalFrame.create();message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.SUBSCRIBE,message.sub=subscribeFrame,this.sendMessage(message)}remoteVideoUpdate(addedOrUpdated,removed){const remoteVideoUpdate=SignalingProtocol_js_1.SdkRemoteVideoUpdateFrame.create();remoteVideoUpdate.addedOrUpdatedVideoSubscriptions=addedOrUpdated.map(this.convertVideoSubscriptionConfiguration),remoteVideoUpdate.removedVideoSubscriptionMids=removed;const message=SignalingProtocol_js_1.SdkSignalFrame.create();message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.REMOTE_VIDEO_UPDATE,message.remoteVideoUpdate=remoteVideoUpdate,this.sendMessage(message)}convertVideoSubscriptionConfiguration(config){const signalConfig=new SignalingProtocol_js_1.SdkVideoSubscriptionConfiguration;return signalConfig.mid=config.mid,signalConfig.attendeeId=config.attendeeId,signalConfig.streamId=config.streamId,signalConfig.groupId=config.groupId,signalConfig.priority=config.priority,signalConfig.targetBitrateKbps=config.targetBitrateKbps,signalConfig}leave(){const message=SignalingProtocol_js_1.SdkSignalFrame.create();message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.LEAVE,message.leave=SignalingProtocol_js_1.SdkLeaveFrame.create(),this.sendMessage(message),this.logger.debug((()=>"sent leave"))}sendClientMetrics(clientMetricFrame){const message=SignalingProtocol_js_1.SdkSignalFrame.create();message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.CLIENT_METRIC,message.clientMetric=clientMetricFrame,this.sendMessage(message)}sendDataMessage(messageFrame){const message=SignalingProtocol_js_1.SdkSignalFrame.create();message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.DATA_MESSAGE,message.dataMessage=messageFrame,this.sendMessage(message)}closeConnection(){var _a,_b;if(this.webSocket.readyState()!==WebSocketReadyState_1.default.None&&this.webSocket.readyState()!==WebSocketReadyState_1.default.Closed){this.isClosing=!0,this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.WebSocketClosing,null));const scheduler=new TimeoutScheduler_1.default(DefaultSignalingClient.CLOSE_EVENT_TIMEOUT_MS),handler=event=>{var _a,_b;null===(_b=(_a=this.webSocket).removeEventListener)||void 0===_b||_b.call(_a,"close",handler),scheduler.stop(),this.closeEventHandler(event)};null===(_b=(_a=this.webSocket).removeEventListener)||void 0===_b||_b.call(_a,"close",this.closeEventHandler),this.webSocket.addEventListener("close",handler),scheduler.start((()=>{handler(new CloseEvent("close",{wasClean:!1,code:1006,reason:"",bubbles:!1}))})),this.webSocket.close(),this.deactivatePageUnloadHandler()}else this.logger.info("no existing signaling client connection needs closing"),this.serviceConnectionRequestQueue()}ready(){return this.webSocket.readyState()===WebSocketReadyState_1.default.Open&&!this.isClosing&&this.wasOpened}mute(muted){const message=SignalingProtocol_js_1.SdkSignalFrame.create();message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.AUDIO_CONTROL;const audioControl=SignalingProtocol_js_1.SdkAudioControlFrame.create();audioControl.muted=muted,message.audioControl=audioControl,this.sendMessage(message)}pause(streamIds){const message=SignalingProtocol_js_1.SdkSignalFrame.create();message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.PAUSE,message.pause=SignalingProtocol_js_1.SdkPauseResumeFrame.create(),message.pause.streamIds=streamIds,this.sendMessage(message)}resume(streamIds){const message=SignalingProtocol_js_1.SdkSignalFrame.create();message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.RESUME,message.pause=SignalingProtocol_js_1.SdkPauseResumeFrame.create(),message.pause.streamIds=streamIds,this.sendMessage(message)}resetConnection(){this.webSocket.destroy(),this.wasOpened=!1}sendMessage(message){message.timestampMs=Date.now(),this.logger.debug((()=>`sending: ${JSON.stringify(message)}`));const buffer=this.prependWithFrameTypeRTC(SignalingProtocol_js_1.SdkSignalFrame.encode(message).finish());if(this.ready()){if(!this.webSocket.send(buffer))return void this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.WebSocketSendMessageFailure,null));this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.WebSocketSentMessage,null))}else this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.WebSocketSkippedMessage,null))}receiveMessage(inBuffer){let message;try{message=SignalingProtocol_js_1.SdkSignalFrame.decode(inBuffer)}catch(e){return this.logger.info(`failed to decode: ${inBuffer}`),void this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.ProtocolDecodeFailure,null))}this.logger.debug((()=>`received: ${JSON.stringify(message)}`)),this.webSocket.readyState()===WebSocketReadyState_1.default.Open?this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.ReceivedSignalFrame,message)):this.logger.info(`skipping notification of message since WebSocket is not open: ${JSON.stringify(message)}`)}stripFrameTypeRTC(inBuffer){const frameType=inBuffer[0];return frameType!==DefaultSignalingClient.FRAME_TYPE_RTC&&2!==frameType&&this.logger.warn(`expected FrameTypeRTC for message but got ${frameType}`),inBuffer.slice(1)}prependWithFrameTypeRTC(inBuffer){const outBuffer=new Uint8Array(inBuffer.length+1);return outBuffer[0]=DefaultSignalingClient.FRAME_TYPE_RTC,outBuffer.set(inBuffer,1),outBuffer}serviceConnectionRequestQueue(){if(0===this.connectionRequestQueue.length)return void this.logger.info("no connection requests to service");const request=this.connectionRequestQueue.shift();this.logger.info(`opening connection to ${request.url()}`),this.isClosing=!1,this.webSocket.create(request.url(),request.protocols()),this.setUpEventListeners(),this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.WebSocketConnecting,null))}sendEvent(event){switch(event.type){case SignalingClientEventType_1.default.WebSocketMessage:case SignalingClientEventType_1.default.ReceivedSignalFrame:case SignalingClientEventType_1.default.WebSocketSentMessage:this.logger.debug((()=>`notifying event: ${SignalingClientEventType_1.default[event.type]}`));break;case SignalingClientEventType_1.default.WebSocketSkippedMessage:this.logger.debug((()=>`notifying event: ${SignalingClientEventType_1.default[event.type]}, websocket state=${WebSocketReadyState_1.default[this.webSocket.readyState()]}`));break;default:this.logger.info(`notifying event: ${SignalingClientEventType_1.default[event.type]}`)}for(const observer of this.observerQueue)observer.handleSignalingClientEvent(event)}setUpEventListeners(){this.webSocket.addEventListener("open",(()=>{this.activatePageUnloadHandler(),this.wasOpened=!0,this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.WebSocketOpen,null))})),this.webSocket.addEventListener("message",(event=>{this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.WebSocketMessage,null)),this.receiveMessage(this.stripFrameTypeRTC(new Uint8Array(event.data)))})),this.webSocket.addEventListener("close",this.closeEventHandler),this.webSocket.addEventListener("error",(()=>{!this.isClosing||this.wasOpened?this.wasOpened?(this.logger.error("received error while connected"),this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.WebSocketError,null))):(this.logger.error("failed to connect"),this.sendEvent(new SignalingClientEvent_1.default(this,SignalingClientEventType_1.default.WebSocketFailed,null))):this.logger.info("ignoring error closing signaling while connecting")}))}activatePageUnloadHandler(){this.unloadHandler=()=>{this.leave()};const GlobalAny=__webpack_require__.g;GlobalAny.window&&GlobalAny.window.addEventListener&&window.addEventListener("unload",this.unloadHandler)}deactivatePageUnloadHandler(){const GlobalAny=__webpack_require__.g;GlobalAny.window&&GlobalAny.window.removeEventListener&&window.removeEventListener("unload",this.unloadHandler),this.unloadHandler=null}generateNewAudioSessionId(){const num=new Uint32Array(1);return window.crypto.getRandomValues(num)[0]}promoteToPrimaryMeeting(credentials){const signaledCredentials=SignalingProtocol_js_1.SdkMeetingSessionCredentials.create();signaledCredentials.attendeeId=credentials.attendeeId,signaledCredentials.externalUserId=credentials.externalUserId,signaledCredentials.joinToken=credentials.joinToken;const primaryMeetingJoin=SignalingProtocol_js_1.SdkPrimaryMeetingJoinFrame.create();primaryMeetingJoin.credentials=signaledCredentials;const message=SignalingProtocol_js_1.SdkSignalFrame.create();message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.PRIMARY_MEETING_JOIN,message.primaryMeetingJoin=primaryMeetingJoin,this.sendMessage(message)}demoteFromPrimaryMeeting(){const primaryMeetingLeave=SignalingProtocol_js_1.SdkPrimaryMeetingLeaveFrame.create(),message=SignalingProtocol_js_1.SdkSignalFrame.create();message.type=SignalingProtocol_js_1.SdkSignalFrame.Type.PRIMARY_MEETING_LEAVE,message.primaryMeetingLeave=primaryMeetingLeave,this.sendMessage(message)}}exports.default=DefaultSignalingClient,DefaultSignalingClient.FRAME_TYPE_RTC=5,DefaultSignalingClient.CLOSE_EVENT_TIMEOUT_MS=2e3,DefaultSignalingClient.CLIENT_SUPPORTS_COMPRESSION=!0},"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.convertServerSideNetworkAdaptionEnumToSignaled=exports.convertServerSideNetworkAdaptionEnumFromSignaled=exports.ServerSideNetworkAdaption=void 0;const SignalingProtocol_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js");var ServerSideNetworkAdaption;!function(ServerSideNetworkAdaption){ServerSideNetworkAdaption[ServerSideNetworkAdaption.Default=0]="Default",ServerSideNetworkAdaption[ServerSideNetworkAdaption.None=1]="None",ServerSideNetworkAdaption[ServerSideNetworkAdaption.BandwidthProbing=2]="BandwidthProbing"}(ServerSideNetworkAdaption=exports.ServerSideNetworkAdaption||(exports.ServerSideNetworkAdaption={})),exports.default=ServerSideNetworkAdaption,exports.convertServerSideNetworkAdaptionEnumFromSignaled=function convertServerSideNetworkAdaptionEnumFromSignaled(adaption){switch(adaption){case SignalingProtocol_1.SdkServerSideNetworkAdaption.DEFAULT:return ServerSideNetworkAdaption.Default;case SignalingProtocol_1.SdkServerSideNetworkAdaption.NONE:return ServerSideNetworkAdaption.None;case SignalingProtocol_1.SdkServerSideNetworkAdaption.BANDWIDTH_PROBING:return ServerSideNetworkAdaption.BandwidthProbing}},exports.convertServerSideNetworkAdaptionEnumToSignaled=function convertServerSideNetworkAdaptionEnumToSignaled(adaption){switch(adaption){case ServerSideNetworkAdaption.Default:return SignalingProtocol_1.SdkServerSideNetworkAdaption.DEFAULT;case ServerSideNetworkAdaption.None:return SignalingProtocol_1.SdkServerSideNetworkAdaption.NONE;case ServerSideNetworkAdaption.BandwidthProbing:return SignalingProtocol_1.SdkServerSideNetworkAdaption.BANDWIDTH_PROBING}}},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class SignalingClientConnectionRequest{constructor(signalingURL,joinToken){this.signalingURL=signalingURL,this.joinToken=joinToken}url(){return this.signalingURL+"?X-Chime-Control-Protocol-Version=3&X-Amzn-Chime-Send-Close-On-Error=1"}protocols(){return["_aws_wt_session",this.joinToken]}}},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEvent.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js");exports.default=class SignalingClientEvent{constructor(client,type,message,closeCode,closeReason){this.client=client,this.type=type,this.message=message,this.closeCode=closeCode,this.closeReason=closeReason,this.timestampMs=Date.now()}isConnectionTerminated(){switch(this.type){case SignalingClientEventType_1.default.WebSocketFailed:case SignalingClientEventType_1.default.WebSocketError:case SignalingClientEventType_1.default.WebSocketClosing:case SignalingClientEventType_1.default.WebSocketClosed:return!0;default:return!1}}}},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js":(__unused_webpack_module,exports)=>{"use strict";var SignalingClientEventType;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SignalingClientEventType=void 0,function(SignalingClientEventType){SignalingClientEventType[SignalingClientEventType.WebSocketConnecting=0]="WebSocketConnecting",SignalingClientEventType[SignalingClientEventType.WebSocketOpen=1]="WebSocketOpen",SignalingClientEventType[SignalingClientEventType.WebSocketError=2]="WebSocketError",SignalingClientEventType[SignalingClientEventType.WebSocketClosing=3]="WebSocketClosing",SignalingClientEventType[SignalingClientEventType.WebSocketClosed=4]="WebSocketClosed",SignalingClientEventType[SignalingClientEventType.WebSocketFailed=5]="WebSocketFailed",SignalingClientEventType[SignalingClientEventType.WebSocketMessage=6]="WebSocketMessage",SignalingClientEventType[SignalingClientEventType.WebSocketSendMessageFailure=7]="WebSocketSendMessageFailure",SignalingClientEventType[SignalingClientEventType.WebSocketSentMessage=8]="WebSocketSentMessage",SignalingClientEventType[SignalingClientEventType.ProtocolDecodeFailure=9]="ProtocolDecodeFailure",SignalingClientEventType[SignalingClientEventType.ReceivedSignalFrame=10]="ReceivedSignalFrame",SignalingClientEventType[SignalingClientEventType.WebSocketSkippedMessage=11]="WebSocketSkippedMessage"}(SignalingClientEventType=exports.SignalingClientEventType||(exports.SignalingClientEventType={})),exports.default=SignalingClientEventType},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ServerSideNetworkAdaption_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js");exports.default=class SignalingClientJoin{constructor(applicationMetadata){this.applicationMetadata=applicationMetadata,this.serverSideNetworkAdaption=ServerSideNetworkAdaption_1.default.Default,this.supportedServerSideNetworkAdaptions=[],this.disablePeriodicKeyframeRequestOnContentSender=!1}}},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class SignalingClientSubscribe{constructor(attendeeId,sdpOffer,audioHost,audioMuted,audioCheckin,receiveStreamIds,localVideoEnabled,videoStreamDescriptions,connectionTypeHasVideo,compressedSdpOffer){this.attendeeId=attendeeId,this.sdpOffer=sdpOffer,this.audioHost=audioHost,this.audioMuted=audioMuted,this.audioCheckin=audioCheckin,this.receiveStreamIds=receiveStreamIds,this.localVideoEnabled=localVideoEnabled,this.videoStreamDescriptions=videoStreamDescriptions,this.connectionTypeHasVideo=connectionTypeHasVideo,this.compressedSdpOffer=compressedSdpOffer,this.videoSubscriptionConfiguration=[]}}},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class SignalingClientVideoSubscriptionConfiguration{}},"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var valuesById,values,$protobuf=__webpack_require__("./node_modules/protobufjs/minimal.js"),$Reader=$protobuf.Reader,$Writer=$protobuf.Writer,$util=$protobuf.util,$root=$protobuf.roots.default||($protobuf.roots.default={});$root.SdkSignalFrame=function(){function SdkSignalFrame(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.timestampMs=reader.uint64();break;case 2:message.type=reader.int32();break;case 3:message.error=$root.SdkErrorFrame.decode(reader,reader.uint32());break;case 4:message.join=$root.SdkJoinFrame.decode(reader,reader.uint32());break;case 5:message.joinack=$root.SdkJoinAckFrame.decode(reader,reader.uint32());break;case 6:message.sub=$root.SdkSubscribeFrame.decode(reader,reader.uint32());break;case 7:message.suback=$root.SdkSubscribeAckFrame.decode(reader,reader.uint32());break;case 8:message.index=$root.SdkIndexFrame.decode(reader,reader.uint32());break;case 10:message.pause=$root.SdkPauseResumeFrame.decode(reader,reader.uint32());break;case 11:message.leave=$root.SdkLeaveFrame.decode(reader,reader.uint32());break;case 12:message.leaveAck=$root.SdkLeaveAckFrame.decode(reader,reader.uint32());break;case 14:message.bitrates=$root.SdkBitrateFrame.decode(reader,reader.uint32());break;case 17:message.audioControl=$root.SdkAudioControlFrame.decode(reader,reader.uint32());break;case 18:message.audioMetadata=$root.SdkAudioMetadataFrame.decode(reader,reader.uint32());break;case 19:message.audioStreamIdInfo=$root.SdkAudioStreamIdInfoFrame.decode(reader,reader.uint32());break;case 20:message.pingPong=$root.SdkPingPongFrame.decode(reader,reader.uint32());break;case 21:message.audioStatus=$root.SdkAudioStatusFrame.decode(reader,reader.uint32());break;case 22:message.clientMetric=$root.SdkClientMetricFrame.decode(reader,reader.uint32());break;case 23:message.dataMessage=$root.SdkDataMessageFrame.decode(reader,reader.uint32());break;case 25:message.remoteVideoUpdate=$root.SdkRemoteVideoUpdateFrame.decode(reader,reader.uint32());break;case 26:message.primaryMeetingJoin=$root.SdkPrimaryMeetingJoinFrame.decode(reader,reader.uint32());break;case 27:message.primaryMeetingJoinAck=$root.SdkPrimaryMeetingJoinAckFrame.decode(reader,reader.uint32());break;case 28:message.primaryMeetingLeave=$root.SdkPrimaryMeetingLeaveFrame.decode(reader,reader.uint32());break;default:reader.skipType(7&tag)}}if(!message.hasOwnProperty("timestampMs"))throw $util.ProtocolError("missing required 'timestampMs'",{instance:message});if(!message.hasOwnProperty("type"))throw $util.ProtocolError("missing required 'type'",{instance:message});return message},SdkSignalFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkSignalFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(!($util.isInteger(message.timestampMs)||message.timestampMs&&$util.isInteger(message.timestampMs.low)&&$util.isInteger(message.timestampMs.high)))return"timestampMs: integer|Long expected";switch(message.type){default:return"type: enum value expected";case 1:case 2:case 3:case 4:case 5:case 7:case 8:case 9:case 10:case 13:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 24:case 25:case 26:case 27:}var error;if(null!=message.error&&message.hasOwnProperty("error")&&(error=$root.SdkErrorFrame.verify(message.error)))return"error."+error;if(null!=message.join&&message.hasOwnProperty("join")&&(error=$root.SdkJoinFrame.verify(message.join)))return"join."+error;if(null!=message.joinack&&message.hasOwnProperty("joinack")&&(error=$root.SdkJoinAckFrame.verify(message.joinack)))return"joinack."+error;if(null!=message.sub&&message.hasOwnProperty("sub")&&(error=$root.SdkSubscribeFrame.verify(message.sub)))return"sub."+error;if(null!=message.suback&&message.hasOwnProperty("suback")&&(error=$root.SdkSubscribeAckFrame.verify(message.suback)))return"suback."+error;if(null!=message.index&&message.hasOwnProperty("index")&&(error=$root.SdkIndexFrame.verify(message.index)))return"index."+error;if(null!=message.pause&&message.hasOwnProperty("pause")&&(error=$root.SdkPauseResumeFrame.verify(message.pause)))return"pause."+error;if(null!=message.leave&&message.hasOwnProperty("leave")&&(error=$root.SdkLeaveFrame.verify(message.leave)))return"leave."+error;if(null!=message.leaveAck&&message.hasOwnProperty("leaveAck")&&(error=$root.SdkLeaveAckFrame.verify(message.leaveAck)))return"leaveAck."+error;if(null!=message.bitrates&&message.hasOwnProperty("bitrates")&&(error=$root.SdkBitrateFrame.verify(message.bitrates)))return"bitrates."+error;if(null!=message.audioControl&&message.hasOwnProperty("audioControl")&&(error=$root.SdkAudioControlFrame.verify(message.audioControl)))return"audioControl."+error;if(null!=message.audioMetadata&&message.hasOwnProperty("audioMetadata")&&(error=$root.SdkAudioMetadataFrame.verify(message.audioMetadata)))return"audioMetadata."+error;if(null!=message.audioStreamIdInfo&&message.hasOwnProperty("audioStreamIdInfo")&&(error=$root.SdkAudioStreamIdInfoFrame.verify(message.audioStreamIdInfo)))return"audioStreamIdInfo."+error;if(null!=message.pingPong&&message.hasOwnProperty("pingPong")&&(error=$root.SdkPingPongFrame.verify(message.pingPong)))return"pingPong."+error;if(null!=message.audioStatus&&message.hasOwnProperty("audioStatus")&&(error=$root.SdkAudioStatusFrame.verify(message.audioStatus)))return"audioStatus."+error;if(null!=message.clientMetric&&message.hasOwnProperty("clientMetric")&&(error=$root.SdkClientMetricFrame.verify(message.clientMetric)))return"clientMetric."+error;if(null!=message.dataMessage&&message.hasOwnProperty("dataMessage")&&(error=$root.SdkDataMessageFrame.verify(message.dataMessage)))return"dataMessage."+error;if(null!=message.remoteVideoUpdate&&message.hasOwnProperty("remoteVideoUpdate")&&(error=$root.SdkRemoteVideoUpdateFrame.verify(message.remoteVideoUpdate)))return"remoteVideoUpdate."+error;if(null!=message.primaryMeetingJoin&&message.hasOwnProperty("primaryMeetingJoin")&&(error=$root.SdkPrimaryMeetingJoinFrame.verify(message.primaryMeetingJoin)))return"primaryMeetingJoin."+error;if(null!=message.primaryMeetingJoinAck&&message.hasOwnProperty("primaryMeetingJoinAck")&&(error=$root.SdkPrimaryMeetingJoinAckFrame.verify(message.primaryMeetingJoinAck)))return"primaryMeetingJoinAck."+error;if(null!=message.primaryMeetingLeave&&message.hasOwnProperty("primaryMeetingLeave")&&(error=$root.SdkPrimaryMeetingLeaveFrame.verify(message.primaryMeetingLeave)))return"primaryMeetingLeave."+error;return null},SdkSignalFrame.fromObject=function fromObject(object){if(object instanceof $root.SdkSignalFrame)return object;var message=new $root.SdkSignalFrame;switch(null!=object.timestampMs&&($util.Long?(message.timestampMs=$util.Long.fromValue(object.timestampMs)).unsigned=!0:"string"==typeof object.timestampMs?message.timestampMs=parseInt(object.timestampMs,10):"number"==typeof object.timestampMs?message.timestampMs=object.timestampMs:"object"==typeof object.timestampMs&&(message.timestampMs=new $util.LongBits(object.timestampMs.low>>>0,object.timestampMs.high>>>0).toNumber(!0))),object.type){case"JOIN":case 1:message.type=1;break;case"JOIN_ACK":case 2:message.type=2;break;case"SUBSCRIBE":case 3:message.type=3;break;case"SUBSCRIBE_ACK":case 4:message.type=4;break;case"INDEX":case 5:message.type=5;break;case"PAUSE":case 7:message.type=7;break;case"RESUME":case 8:message.type=8;break;case"LEAVE":case 9:message.type=9;break;case"LEAVE_ACK":case 10:message.type=10;break;case"BITRATES":case 13:message.type=13;break;case"AUDIO_CONTROL":case 16:message.type=16;break;case"AUDIO_METADATA":case 17:message.type=17;break;case"AUDIO_STREAM_ID_INFO":case 18:message.type=18;break;case"PING_PONG":case 19:message.type=19;break;case"AUDIO_STATUS":case 20:message.type=20;break;case"CLIENT_METRIC":case 21:message.type=21;break;case"DATA_MESSAGE":case 22:message.type=22;break;case"REMOTE_VIDEO_UPDATE":case 24:message.type=24;break;case"PRIMARY_MEETING_JOIN":case 25:message.type=25;break;case"PRIMARY_MEETING_JOIN_ACK":case 26:message.type=26;break;case"PRIMARY_MEETING_LEAVE":case 27:message.type=27}if(null!=object.error){if("object"!=typeof object.error)throw TypeError(".SdkSignalFrame.error: object expected");message.error=$root.SdkErrorFrame.fromObject(object.error)}if(null!=object.join){if("object"!=typeof object.join)throw TypeError(".SdkSignalFrame.join: object expected");message.join=$root.SdkJoinFrame.fromObject(object.join)}if(null!=object.joinack){if("object"!=typeof object.joinack)throw TypeError(".SdkSignalFrame.joinack: object expected");message.joinack=$root.SdkJoinAckFrame.fromObject(object.joinack)}if(null!=object.sub){if("object"!=typeof object.sub)throw TypeError(".SdkSignalFrame.sub: object expected");message.sub=$root.SdkSubscribeFrame.fromObject(object.sub)}if(null!=object.suback){if("object"!=typeof object.suback)throw TypeError(".SdkSignalFrame.suback: object expected");message.suback=$root.SdkSubscribeAckFrame.fromObject(object.suback)}if(null!=object.index){if("object"!=typeof object.index)throw TypeError(".SdkSignalFrame.index: object expected");message.index=$root.SdkIndexFrame.fromObject(object.index)}if(null!=object.pause){if("object"!=typeof object.pause)throw TypeError(".SdkSignalFrame.pause: object expected");message.pause=$root.SdkPauseResumeFrame.fromObject(object.pause)}if(null!=object.leave){if("object"!=typeof object.leave)throw TypeError(".SdkSignalFrame.leave: object expected");message.leave=$root.SdkLeaveFrame.fromObject(object.leave)}if(null!=object.leaveAck){if("object"!=typeof object.leaveAck)throw TypeError(".SdkSignalFrame.leaveAck: object expected");message.leaveAck=$root.SdkLeaveAckFrame.fromObject(object.leaveAck)}if(null!=object.bitrates){if("object"!=typeof object.bitrates)throw TypeError(".SdkSignalFrame.bitrates: object expected");message.bitrates=$root.SdkBitrateFrame.fromObject(object.bitrates)}if(null!=object.audioControl){if("object"!=typeof object.audioControl)throw TypeError(".SdkSignalFrame.audioControl: object expected");message.audioControl=$root.SdkAudioControlFrame.fromObject(object.audioControl)}if(null!=object.audioMetadata){if("object"!=typeof object.audioMetadata)throw TypeError(".SdkSignalFrame.audioMetadata: object expected");message.audioMetadata=$root.SdkAudioMetadataFrame.fromObject(object.audioMetadata)}if(null!=object.audioStreamIdInfo){if("object"!=typeof object.audioStreamIdInfo)throw TypeError(".SdkSignalFrame.audioStreamIdInfo: object expected");message.audioStreamIdInfo=$root.SdkAudioStreamIdInfoFrame.fromObject(object.audioStreamIdInfo)}if(null!=object.pingPong){if("object"!=typeof object.pingPong)throw TypeError(".SdkSignalFrame.pingPong: object expected");message.pingPong=$root.SdkPingPongFrame.fromObject(object.pingPong)}if(null!=object.audioStatus){if("object"!=typeof object.audioStatus)throw TypeError(".SdkSignalFrame.audioStatus: object expected");message.audioStatus=$root.SdkAudioStatusFrame.fromObject(object.audioStatus)}if(null!=object.clientMetric){if("object"!=typeof object.clientMetric)throw TypeError(".SdkSignalFrame.clientMetric: object expected");message.clientMetric=$root.SdkClientMetricFrame.fromObject(object.clientMetric)}if(null!=object.dataMessage){if("object"!=typeof object.dataMessage)throw TypeError(".SdkSignalFrame.dataMessage: object expected");message.dataMessage=$root.SdkDataMessageFrame.fromObject(object.dataMessage)}if(null!=object.remoteVideoUpdate){if("object"!=typeof object.remoteVideoUpdate)throw TypeError(".SdkSignalFrame.remoteVideoUpdate: object expected");message.remoteVideoUpdate=$root.SdkRemoteVideoUpdateFrame.fromObject(object.remoteVideoUpdate)}if(null!=object.primaryMeetingJoin){if("object"!=typeof object.primaryMeetingJoin)throw TypeError(".SdkSignalFrame.primaryMeetingJoin: object expected");message.primaryMeetingJoin=$root.SdkPrimaryMeetingJoinFrame.fromObject(object.primaryMeetingJoin)}if(null!=object.primaryMeetingJoinAck){if("object"!=typeof object.primaryMeetingJoinAck)throw TypeError(".SdkSignalFrame.primaryMeetingJoinAck: object expected");message.primaryMeetingJoinAck=$root.SdkPrimaryMeetingJoinAckFrame.fromObject(object.primaryMeetingJoinAck)}if(null!=object.primaryMeetingLeave){if("object"!=typeof object.primaryMeetingLeave)throw TypeError(".SdkSignalFrame.primaryMeetingLeave: object expected");message.primaryMeetingLeave=$root.SdkPrimaryMeetingLeaveFrame.fromObject(object.primaryMeetingLeave)}return message},SdkSignalFrame.toObject=function toObject(message,options){options||(options={});var object={};if(options.defaults){if($util.Long){var long=new $util.Long(0,0,!0);object.timestampMs=options.longs===String?long.toString():options.longs===Number?long.toNumber():long}else object.timestampMs=options.longs===String?"0":0;object.type=options.enums===String?"JOIN":1,object.error=null,object.join=null,object.joinack=null,object.sub=null,object.suback=null,object.index=null,object.pause=null,object.leave=null,object.leaveAck=null,object.bitrates=null,object.audioControl=null,object.audioMetadata=null,object.audioStreamIdInfo=null,object.pingPong=null,object.audioStatus=null,object.clientMetric=null,object.dataMessage=null,object.remoteVideoUpdate=null,object.primaryMeetingJoin=null,object.primaryMeetingJoinAck=null,object.primaryMeetingLeave=null}return null!=message.timestampMs&&message.hasOwnProperty("timestampMs")&&("number"==typeof message.timestampMs?object.timestampMs=options.longs===String?String(message.timestampMs):message.timestampMs:object.timestampMs=options.longs===String?$util.Long.prototype.toString.call(message.timestampMs):options.longs===Number?new $util.LongBits(message.timestampMs.low>>>0,message.timestampMs.high>>>0).toNumber(!0):message.timestampMs),null!=message.type&&message.hasOwnProperty("type")&&(object.type=options.enums===String?$root.SdkSignalFrame.Type[message.type]:message.type),null!=message.error&&message.hasOwnProperty("error")&&(object.error=$root.SdkErrorFrame.toObject(message.error,options)),null!=message.join&&message.hasOwnProperty("join")&&(object.join=$root.SdkJoinFrame.toObject(message.join,options)),null!=message.joinack&&message.hasOwnProperty("joinack")&&(object.joinack=$root.SdkJoinAckFrame.toObject(message.joinack,options)),null!=message.sub&&message.hasOwnProperty("sub")&&(object.sub=$root.SdkSubscribeFrame.toObject(message.sub,options)),null!=message.suback&&message.hasOwnProperty("suback")&&(object.suback=$root.SdkSubscribeAckFrame.toObject(message.suback,options)),null!=message.index&&message.hasOwnProperty("index")&&(object.index=$root.SdkIndexFrame.toObject(message.index,options)),null!=message.pause&&message.hasOwnProperty("pause")&&(object.pause=$root.SdkPauseResumeFrame.toObject(message.pause,options)),null!=message.leave&&message.hasOwnProperty("leave")&&(object.leave=$root.SdkLeaveFrame.toObject(message.leave,options)),null!=message.leaveAck&&message.hasOwnProperty("leaveAck")&&(object.leaveAck=$root.SdkLeaveAckFrame.toObject(message.leaveAck,options)),null!=message.bitrates&&message.hasOwnProperty("bitrates")&&(object.bitrates=$root.SdkBitrateFrame.toObject(message.bitrates,options)),null!=message.audioControl&&message.hasOwnProperty("audioControl")&&(object.audioControl=$root.SdkAudioControlFrame.toObject(message.audioControl,options)),null!=message.audioMetadata&&message.hasOwnProperty("audioMetadata")&&(object.audioMetadata=$root.SdkAudioMetadataFrame.toObject(message.audioMetadata,options)),null!=message.audioStreamIdInfo&&message.hasOwnProperty("audioStreamIdInfo")&&(object.audioStreamIdInfo=$root.SdkAudioStreamIdInfoFrame.toObject(message.audioStreamIdInfo,options)),null!=message.pingPong&&message.hasOwnProperty("pingPong")&&(object.pingPong=$root.SdkPingPongFrame.toObject(message.pingPong,options)),null!=message.audioStatus&&message.hasOwnProperty("audioStatus")&&(object.audioStatus=$root.SdkAudioStatusFrame.toObject(message.audioStatus,options)),null!=message.clientMetric&&message.hasOwnProperty("clientMetric")&&(object.clientMetric=$root.SdkClientMetricFrame.toObject(message.clientMetric,options)),null!=message.dataMessage&&message.hasOwnProperty("dataMessage")&&(object.dataMessage=$root.SdkDataMessageFrame.toObject(message.dataMessage,options)),null!=message.remoteVideoUpdate&&message.hasOwnProperty("remoteVideoUpdate")&&(object.remoteVideoUpdate=$root.SdkRemoteVideoUpdateFrame.toObject(message.remoteVideoUpdate,options)),null!=message.primaryMeetingJoin&&message.hasOwnProperty("primaryMeetingJoin")&&(object.primaryMeetingJoin=$root.SdkPrimaryMeetingJoinFrame.toObject(message.primaryMeetingJoin,options)),null!=message.primaryMeetingJoinAck&&message.hasOwnProperty("primaryMeetingJoinAck")&&(object.primaryMeetingJoinAck=$root.SdkPrimaryMeetingJoinAckFrame.toObject(message.primaryMeetingJoinAck,options)),null!=message.primaryMeetingLeave&&message.hasOwnProperty("primaryMeetingLeave")&&(object.primaryMeetingLeave=$root.SdkPrimaryMeetingLeaveFrame.toObject(message.primaryMeetingLeave,options)),object},SdkSignalFrame.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkSignalFrame.Type=(valuesById={},(values=Object.create(valuesById))[valuesById[1]="JOIN"]=1,values[valuesById[2]="JOIN_ACK"]=2,values[valuesById[3]="SUBSCRIBE"]=3,values[valuesById[4]="SUBSCRIBE_ACK"]=4,values[valuesById[5]="INDEX"]=5,values[valuesById[7]="PAUSE"]=7,values[valuesById[8]="RESUME"]=8,values[valuesById[9]="LEAVE"]=9,values[valuesById[10]="LEAVE_ACK"]=10,values[valuesById[13]="BITRATES"]=13,values[valuesById[16]="AUDIO_CONTROL"]=16,values[valuesById[17]="AUDIO_METADATA"]=17,values[valuesById[18]="AUDIO_STREAM_ID_INFO"]=18,values[valuesById[19]="PING_PONG"]=19,values[valuesById[20]="AUDIO_STATUS"]=20,values[valuesById[21]="CLIENT_METRIC"]=21,values[valuesById[22]="DATA_MESSAGE"]=22,values[valuesById[24]="REMOTE_VIDEO_UPDATE"]=24,values[valuesById[25]="PRIMARY_MEETING_JOIN"]=25,values[valuesById[26]="PRIMARY_MEETING_JOIN_ACK"]=26,values[valuesById[27]="PRIMARY_MEETING_LEAVE"]=27,values),SdkSignalFrame}(),$root.SdkErrorFrame=function(){function SdkErrorFrame(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.status=reader.uint32();break;case 2:message.description=reader.string();break;default:reader.skipType(7&tag)}}return message},SdkErrorFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkErrorFrame.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.status&&message.hasOwnProperty("status")&&!$util.isInteger(message.status)?"status: integer expected":null!=message.description&&message.hasOwnProperty("description")&&!$util.isString(message.description)?"description: string expected":null},SdkErrorFrame.fromObject=function fromObject(object){if(object instanceof $root.SdkErrorFrame)return object;var message=new $root.SdkErrorFrame;return null!=object.status&&(message.status=object.status>>>0),null!=object.description&&(message.description=String(object.description)),message},SdkErrorFrame.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.status=0,object.description=""),null!=message.status&&message.hasOwnProperty("status")&&(object.status=message.status),null!=message.description&&message.hasOwnProperty("description")&&(object.description=message.description),object},SdkErrorFrame.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkErrorFrame}(),$root.SdkJoinFlags=(valuesById={},(values=Object.create(valuesById))[valuesById[2]="HAS_STREAM_UPDATE"]=2,values[valuesById[16]="COMPLETE_VIDEO_SOURCES_LIST"]=16,values[valuesById[32]="EXCLUDE_SELF_CONTENT_IN_INDEX"]=32,values),$root.SdkClientDetails=function(){function SdkClientDetails(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.appName=reader.string();break;case 2:message.appVersion=reader.string();break;case 3:message.deviceModel=reader.string();break;case 4:message.deviceMake=reader.string();break;case 5:message.platformName=reader.string();break;case 6:message.platformVersion=reader.string();break;case 7:message.clientSource=reader.string();break;case 8:message.chimeSdkVersion=reader.string();break;case 9:message.clientUtcOffset=reader.string();break;default:reader.skipType(7&tag)}}return message},SdkClientDetails.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkClientDetails.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.appName&&message.hasOwnProperty("appName")&&!$util.isString(message.appName)?"appName: string expected":null!=message.appVersion&&message.hasOwnProperty("appVersion")&&!$util.isString(message.appVersion)?"appVersion: string expected":null!=message.deviceModel&&message.hasOwnProperty("deviceModel")&&!$util.isString(message.deviceModel)?"deviceModel: string expected":null!=message.deviceMake&&message.hasOwnProperty("deviceMake")&&!$util.isString(message.deviceMake)?"deviceMake: string expected":null!=message.platformName&&message.hasOwnProperty("platformName")&&!$util.isString(message.platformName)?"platformName: string expected":null!=message.platformVersion&&message.hasOwnProperty("platformVersion")&&!$util.isString(message.platformVersion)?"platformVersion: string expected":null!=message.clientSource&&message.hasOwnProperty("clientSource")&&!$util.isString(message.clientSource)?"clientSource: string expected":null!=message.chimeSdkVersion&&message.hasOwnProperty("chimeSdkVersion")&&!$util.isString(message.chimeSdkVersion)?"chimeSdkVersion: string expected":null!=message.clientUtcOffset&&message.hasOwnProperty("clientUtcOffset")&&!$util.isString(message.clientUtcOffset)?"clientUtcOffset: string expected":null},SdkClientDetails.fromObject=function fromObject(object){if(object instanceof $root.SdkClientDetails)return object;var message=new $root.SdkClientDetails;return null!=object.appName&&(message.appName=String(object.appName)),null!=object.appVersion&&(message.appVersion=String(object.appVersion)),null!=object.deviceModel&&(message.deviceModel=String(object.deviceModel)),null!=object.deviceMake&&(message.deviceMake=String(object.deviceMake)),null!=object.platformName&&(message.platformName=String(object.platformName)),null!=object.platformVersion&&(message.platformVersion=String(object.platformVersion)),null!=object.clientSource&&(message.clientSource=String(object.clientSource)),null!=object.chimeSdkVersion&&(message.chimeSdkVersion=String(object.chimeSdkVersion)),null!=object.clientUtcOffset&&(message.clientUtcOffset=String(object.clientUtcOffset)),message},SdkClientDetails.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.appName="",object.appVersion="",object.deviceModel="",object.deviceMake="",object.platformName="",object.platformVersion="",object.clientSource="",object.chimeSdkVersion="",object.clientUtcOffset=""),null!=message.appName&&message.hasOwnProperty("appName")&&(object.appName=message.appName),null!=message.appVersion&&message.hasOwnProperty("appVersion")&&(object.appVersion=message.appVersion),null!=message.deviceModel&&message.hasOwnProperty("deviceModel")&&(object.deviceModel=message.deviceModel),null!=message.deviceMake&&message.hasOwnProperty("deviceMake")&&(object.deviceMake=message.deviceMake),null!=message.platformName&&message.hasOwnProperty("platformName")&&(object.platformName=message.platformName),null!=message.platformVersion&&message.hasOwnProperty("platformVersion")&&(object.platformVersion=message.platformVersion),null!=message.clientSource&&message.hasOwnProperty("clientSource")&&(object.clientSource=message.clientSource),null!=message.chimeSdkVersion&&message.hasOwnProperty("chimeSdkVersion")&&(object.chimeSdkVersion=message.chimeSdkVersion),null!=message.clientUtcOffset&&message.hasOwnProperty("clientUtcOffset")&&(object.clientUtcOffset=message.clientUtcOffset),object},SdkClientDetails.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkClientDetails}(),$root.SdkServerSideNetworkAdaption=function(){var valuesById={},values=Object.create(valuesById);return values[valuesById[1]="DEFAULT"]=1,values[valuesById[2]="NONE"]=2,values[valuesById[3]="BANDWIDTH_PROBING"]=3,values}(),$root.SdkJoinFrame=function(){function SdkJoinFrame(properties){if(this.supportedServerSideNetworkAdaptions=[],properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.protocolVersion=reader.uint32();break;case 2:message.maxNumOfVideos=reader.uint32();break;case 3:message.flags=reader.uint32();break;case 4:message.clientDetails=$root.SdkClientDetails.decode(reader,reader.uint32());break;case 6:message.audioSessionId=reader.uint64();break;case 7:message.wantsCompressedSdp=reader.bool();break;case 10:message.serverSideNetworkAdaption=reader.int32();break;case 11:if(message.supportedServerSideNetworkAdaptions&&message.supportedServerSideNetworkAdaptions.length||(message.supportedServerSideNetworkAdaptions=[]),2==(7&tag))for(var end2=reader.uint32()+reader.pos;reader.pos>>0),null!=object.maxNumOfVideos&&(message.maxNumOfVideos=object.maxNumOfVideos>>>0),null!=object.flags&&(message.flags=object.flags>>>0),null!=object.clientDetails){if("object"!=typeof object.clientDetails)throw TypeError(".SdkJoinFrame.clientDetails: object expected");message.clientDetails=$root.SdkClientDetails.fromObject(object.clientDetails)}switch(null!=object.audioSessionId&&($util.Long?(message.audioSessionId=$util.Long.fromValue(object.audioSessionId)).unsigned=!0:"string"==typeof object.audioSessionId?message.audioSessionId=parseInt(object.audioSessionId,10):"number"==typeof object.audioSessionId?message.audioSessionId=object.audioSessionId:"object"==typeof object.audioSessionId&&(message.audioSessionId=new $util.LongBits(object.audioSessionId.low>>>0,object.audioSessionId.high>>>0).toNumber(!0))),null!=object.wantsCompressedSdp&&(message.wantsCompressedSdp=Boolean(object.wantsCompressedSdp)),object.serverSideNetworkAdaption){case"DEFAULT":case 1:message.serverSideNetworkAdaption=1;break;case"NONE":case 2:message.serverSideNetworkAdaption=2;break;case"BANDWIDTH_PROBING":case 3:message.serverSideNetworkAdaption=3}if(object.supportedServerSideNetworkAdaptions){if(!Array.isArray(object.supportedServerSideNetworkAdaptions))throw TypeError(".SdkJoinFrame.supportedServerSideNetworkAdaptions: array expected");message.supportedServerSideNetworkAdaptions=[];for(var i=0;i>>0,message.audioSessionId.high>>>0).toNumber(!0):message.audioSessionId),null!=message.wantsCompressedSdp&&message.hasOwnProperty("wantsCompressedSdp")&&(object.wantsCompressedSdp=message.wantsCompressedSdp),null!=message.serverSideNetworkAdaption&&message.hasOwnProperty("serverSideNetworkAdaption")&&(object.serverSideNetworkAdaption=options.enums===String?$root.SdkServerSideNetworkAdaption[message.serverSideNetworkAdaption]:message.serverSideNetworkAdaption),message.supportedServerSideNetworkAdaptions&&message.supportedServerSideNetworkAdaptions.length){object.supportedServerSideNetworkAdaptions=[];for(var j=0;j>>3){case 1:message.turnCredentials=$root.SdkTurnCredentials.decode(reader,reader.uint32());break;case 2:message.videoSubscriptionLimit=reader.uint32();break;case 3:message.wantsCompressedSdp=reader.bool();break;case 4:message.defaultServerSideNetworkAdaption=reader.int32();break;default:reader.skipType(7&tag)}}return message},SdkJoinAckFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkJoinAckFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.turnCredentials&&message.hasOwnProperty("turnCredentials")){var error=$root.SdkTurnCredentials.verify(message.turnCredentials);if(error)return"turnCredentials."+error}if(null!=message.videoSubscriptionLimit&&message.hasOwnProperty("videoSubscriptionLimit")&&!$util.isInteger(message.videoSubscriptionLimit))return"videoSubscriptionLimit: integer expected";if(null!=message.wantsCompressedSdp&&message.hasOwnProperty("wantsCompressedSdp")&&"boolean"!=typeof message.wantsCompressedSdp)return"wantsCompressedSdp: boolean expected";if(null!=message.defaultServerSideNetworkAdaption&&message.hasOwnProperty("defaultServerSideNetworkAdaption"))switch(message.defaultServerSideNetworkAdaption){default:return"defaultServerSideNetworkAdaption: enum value expected";case 1:case 2:case 3:}return null},SdkJoinAckFrame.fromObject=function fromObject(object){if(object instanceof $root.SdkJoinAckFrame)return object;var message=new $root.SdkJoinAckFrame;if(null!=object.turnCredentials){if("object"!=typeof object.turnCredentials)throw TypeError(".SdkJoinAckFrame.turnCredentials: object expected");message.turnCredentials=$root.SdkTurnCredentials.fromObject(object.turnCredentials)}switch(null!=object.videoSubscriptionLimit&&(message.videoSubscriptionLimit=object.videoSubscriptionLimit>>>0),null!=object.wantsCompressedSdp&&(message.wantsCompressedSdp=Boolean(object.wantsCompressedSdp)),object.defaultServerSideNetworkAdaption){case"DEFAULT":case 1:message.defaultServerSideNetworkAdaption=1;break;case"NONE":case 2:message.defaultServerSideNetworkAdaption=2;break;case"BANDWIDTH_PROBING":case 3:message.defaultServerSideNetworkAdaption=3}return message},SdkJoinAckFrame.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.turnCredentials=null,object.videoSubscriptionLimit=0,object.wantsCompressedSdp=!1,object.defaultServerSideNetworkAdaption=options.enums===String?"DEFAULT":1),null!=message.turnCredentials&&message.hasOwnProperty("turnCredentials")&&(object.turnCredentials=$root.SdkTurnCredentials.toObject(message.turnCredentials,options)),null!=message.videoSubscriptionLimit&&message.hasOwnProperty("videoSubscriptionLimit")&&(object.videoSubscriptionLimit=message.videoSubscriptionLimit),null!=message.wantsCompressedSdp&&message.hasOwnProperty("wantsCompressedSdp")&&(object.wantsCompressedSdp=message.wantsCompressedSdp),null!=message.defaultServerSideNetworkAdaption&&message.hasOwnProperty("defaultServerSideNetworkAdaption")&&(object.defaultServerSideNetworkAdaption=options.enums===String?$root.SdkServerSideNetworkAdaption[message.defaultServerSideNetworkAdaption]:message.defaultServerSideNetworkAdaption),object},SdkJoinAckFrame.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkJoinAckFrame}(),$root.SdkLeaveFrame=function(){function SdkLeaveFrame(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.duplex=reader.int32();break;case 2:message.sendStreams&&message.sendStreams.length||(message.sendStreams=[]),message.sendStreams.push($root.SdkStreamDescriptor.decode(reader,reader.uint32()));break;case 3:if(message.receiveStreamIds&&message.receiveStreamIds.length||(message.receiveStreamIds=[]),2==(7&tag))for(var end2=reader.uint32()+reader.pos;reader.pos>>0}if(null!=object.sdpOffer&&(message.sdpOffer=String(object.sdpOffer)),null!=object.audioHost&&(message.audioHost=String(object.audioHost)),null!=object.audioCheckin&&(message.audioCheckin=Boolean(object.audioCheckin)),null!=object.audioMuted&&(message.audioMuted=Boolean(object.audioMuted)),null!=object.compressedSdpOffer&&("string"==typeof object.compressedSdpOffer?$util.base64.decode(object.compressedSdpOffer,message.compressedSdpOffer=$util.newBuffer($util.base64.length(object.compressedSdpOffer)),0):object.compressedSdpOffer.length&&(message.compressedSdpOffer=object.compressedSdpOffer)),object.videoSubscriptionConfiguration){if(!Array.isArray(object.videoSubscriptionConfiguration))throw TypeError(".SdkSubscribeFrame.videoSubscriptionConfiguration: array expected");message.videoSubscriptionConfiguration=[];for(i=0;i>>3){case 1:message.duplex=reader.int32();break;case 2:message.allocations&&message.allocations.length||(message.allocations=[]),message.allocations.push($root.SdkStreamAllocation.decode(reader,reader.uint32()));break;case 3:message.sdpAnswer=reader.string();break;case 4:message.tracks&&message.tracks.length||(message.tracks=[]),message.tracks.push($root.SdkTrackMapping.decode(reader,reader.uint32()));break;case 5:message.compressedSdpAnswer=reader.bytes();break;default:reader.skipType(7&tag)}}return message},SdkSubscribeAckFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkSubscribeAckFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.duplex&&message.hasOwnProperty("duplex"))switch(message.duplex){default:return"duplex: enum value expected";case 1:case 2:case 3:}if(null!=message.allocations&&message.hasOwnProperty("allocations")){if(!Array.isArray(message.allocations))return"allocations: array expected";for(var i=0;i>>3){case 1:message.atCapacity=reader.bool();break;case 2:message.sources&&message.sources.length||(message.sources=[]),message.sources.push($root.SdkStreamDescriptor.decode(reader,reader.uint32()));break;case 3:if(message.pausedAtSourceIds&&message.pausedAtSourceIds.length||(message.pausedAtSourceIds=[]),2==(7&tag))for(var end2=reader.uint32()+reader.pos;reader.pos>>0}if(null!=object.numParticipants&&(message.numParticipants=object.numParticipants>>>0),object.supportedReceiveCodecIntersection){if(!Array.isArray(object.supportedReceiveCodecIntersection))throw TypeError(".SdkIndexFrame.supportedReceiveCodecIntersection: array expected");message.supportedReceiveCodecIntersection=[];for(i=0;i>>3){case 1:if(message.streamIds&&message.streamIds.length||(message.streamIds=[]),2==(7&tag))for(var end2=reader.uint32()+reader.pos;reader.pos>>0}if(object.groupIds){if(!Array.isArray(object.groupIds))throw TypeError(".SdkPauseResumeFrame.groupIds: array expected");message.groupIds=[];for(i=0;i>>0}return message},SdkPauseResumeFrame.toObject=function toObject(message,options){options||(options={});var object={};if((options.arrays||options.defaults)&&(object.streamIds=[],object.groupIds=[]),message.streamIds&&message.streamIds.length){object.streamIds=[];for(var j=0;j>>3==1)message.bitrates&&message.bitrates.length||(message.bitrates=[]),message.bitrates.push($root.SdkBitrate.decode(reader,reader.uint32()));else reader.skipType(7&tag)}return message},SdkBitrateFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkBitrateFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.bitrates&&message.hasOwnProperty("bitrates")){if(!Array.isArray(message.bitrates))return"bitrates: array expected";for(var i=0;i>>3){case 1:message.streamId=reader.uint32();break;case 2:message.framerate=reader.uint32();break;case 3:message.maxBitrateKbps=reader.uint32();break;case 4:message.trackLabel=reader.string();break;case 6:message.groupId=reader.uint32();break;case 7:message.avgBitrateBps=reader.uint32();break;case 8:message.attendeeId=reader.string();break;case 9:message.mediaType=reader.int32();break;case 10:message.externalUserId=reader.string();break;default:reader.skipType(7&tag)}}return message},SdkStreamDescriptor.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkStreamDescriptor.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.streamId&&message.hasOwnProperty("streamId")&&!$util.isInteger(message.streamId))return"streamId: integer expected";if(null!=message.framerate&&message.hasOwnProperty("framerate")&&!$util.isInteger(message.framerate))return"framerate: integer expected";if(null!=message.maxBitrateKbps&&message.hasOwnProperty("maxBitrateKbps")&&!$util.isInteger(message.maxBitrateKbps))return"maxBitrateKbps: integer expected";if(null!=message.trackLabel&&message.hasOwnProperty("trackLabel")&&!$util.isString(message.trackLabel))return"trackLabel: string expected";if(null!=message.groupId&&message.hasOwnProperty("groupId")&&!$util.isInteger(message.groupId))return"groupId: integer expected";if(null!=message.avgBitrateBps&&message.hasOwnProperty("avgBitrateBps")&&!$util.isInteger(message.avgBitrateBps))return"avgBitrateBps: integer expected";if(null!=message.attendeeId&&message.hasOwnProperty("attendeeId")&&!$util.isString(message.attendeeId))return"attendeeId: string expected";if(null!=message.mediaType&&message.hasOwnProperty("mediaType"))switch(message.mediaType){default:return"mediaType: enum value expected";case 1:case 2:}return null!=message.externalUserId&&message.hasOwnProperty("externalUserId")&&!$util.isString(message.externalUserId)?"externalUserId: string expected":null},SdkStreamDescriptor.fromObject=function fromObject(object){if(object instanceof $root.SdkStreamDescriptor)return object;var message=new $root.SdkStreamDescriptor;switch(null!=object.streamId&&(message.streamId=object.streamId>>>0),null!=object.framerate&&(message.framerate=object.framerate>>>0),null!=object.maxBitrateKbps&&(message.maxBitrateKbps=object.maxBitrateKbps>>>0),null!=object.trackLabel&&(message.trackLabel=String(object.trackLabel)),null!=object.groupId&&(message.groupId=object.groupId>>>0),null!=object.avgBitrateBps&&(message.avgBitrateBps=object.avgBitrateBps>>>0),null!=object.attendeeId&&(message.attendeeId=String(object.attendeeId)),object.mediaType){case"AUDIO":case 1:message.mediaType=1;break;case"VIDEO":case 2:message.mediaType=2}return null!=object.externalUserId&&(message.externalUserId=String(object.externalUserId)),message},SdkStreamDescriptor.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.streamId=0,object.framerate=0,object.maxBitrateKbps=0,object.trackLabel="",object.groupId=0,object.avgBitrateBps=0,object.attendeeId="",object.mediaType=options.enums===String?"AUDIO":1,object.externalUserId=""),null!=message.streamId&&message.hasOwnProperty("streamId")&&(object.streamId=message.streamId),null!=message.framerate&&message.hasOwnProperty("framerate")&&(object.framerate=message.framerate),null!=message.maxBitrateKbps&&message.hasOwnProperty("maxBitrateKbps")&&(object.maxBitrateKbps=message.maxBitrateKbps),null!=message.trackLabel&&message.hasOwnProperty("trackLabel")&&(object.trackLabel=message.trackLabel),null!=message.groupId&&message.hasOwnProperty("groupId")&&(object.groupId=message.groupId),null!=message.avgBitrateBps&&message.hasOwnProperty("avgBitrateBps")&&(object.avgBitrateBps=message.avgBitrateBps),null!=message.attendeeId&&message.hasOwnProperty("attendeeId")&&(object.attendeeId=message.attendeeId),null!=message.mediaType&&message.hasOwnProperty("mediaType")&&(object.mediaType=options.enums===String?$root.SdkStreamMediaType[message.mediaType]:message.mediaType),null!=message.externalUserId&&message.hasOwnProperty("externalUserId")&&(object.externalUserId=message.externalUserId),object},SdkStreamDescriptor.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkStreamDescriptor}(),$root.SdkStreamAllocation=function(){function SdkStreamAllocation(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.trackLabel=reader.string();break;case 2:message.streamId=reader.uint32();break;case 3:message.groupId=reader.uint32();break;default:reader.skipType(7&tag)}}return message},SdkStreamAllocation.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkStreamAllocation.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.trackLabel&&message.hasOwnProperty("trackLabel")&&!$util.isString(message.trackLabel)?"trackLabel: string expected":null!=message.streamId&&message.hasOwnProperty("streamId")&&!$util.isInteger(message.streamId)?"streamId: integer expected":null!=message.groupId&&message.hasOwnProperty("groupId")&&!$util.isInteger(message.groupId)?"groupId: integer expected":null},SdkStreamAllocation.fromObject=function fromObject(object){if(object instanceof $root.SdkStreamAllocation)return object;var message=new $root.SdkStreamAllocation;return null!=object.trackLabel&&(message.trackLabel=String(object.trackLabel)),null!=object.streamId&&(message.streamId=object.streamId>>>0),null!=object.groupId&&(message.groupId=object.groupId>>>0),message},SdkStreamAllocation.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.trackLabel="",object.streamId=0,object.groupId=0),null!=message.trackLabel&&message.hasOwnProperty("trackLabel")&&(object.trackLabel=message.trackLabel),null!=message.streamId&&message.hasOwnProperty("streamId")&&(object.streamId=message.streamId),null!=message.groupId&&message.hasOwnProperty("groupId")&&(object.groupId=message.groupId),object},SdkStreamAllocation.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkStreamAllocation}(),$root.SdkTrackMapping=function(){function SdkTrackMapping(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.streamId=reader.uint32();break;case 2:message.ssrc=reader.uint32();break;case 3:message.trackLabel=reader.string();break;default:reader.skipType(7&tag)}}return message},SdkTrackMapping.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkTrackMapping.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.streamId&&message.hasOwnProperty("streamId")&&!$util.isInteger(message.streamId)?"streamId: integer expected":null!=message.ssrc&&message.hasOwnProperty("ssrc")&&!$util.isInteger(message.ssrc)?"ssrc: integer expected":null!=message.trackLabel&&message.hasOwnProperty("trackLabel")&&!$util.isString(message.trackLabel)?"trackLabel: string expected":null},SdkTrackMapping.fromObject=function fromObject(object){if(object instanceof $root.SdkTrackMapping)return object;var message=new $root.SdkTrackMapping;return null!=object.streamId&&(message.streamId=object.streamId>>>0),null!=object.ssrc&&(message.ssrc=object.ssrc>>>0),null!=object.trackLabel&&(message.trackLabel=String(object.trackLabel)),message},SdkTrackMapping.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.streamId=0,object.ssrc=0,object.trackLabel=""),null!=message.streamId&&message.hasOwnProperty("streamId")&&(object.streamId=message.streamId),null!=message.ssrc&&message.hasOwnProperty("ssrc")&&(object.ssrc=message.ssrc),null!=message.trackLabel&&message.hasOwnProperty("trackLabel")&&(object.trackLabel=message.trackLabel),object},SdkTrackMapping.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkTrackMapping}(),$root.SdkBitrate=function(){function SdkBitrate(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.sourceStreamId=reader.uint32();break;case 2:message.avgBitrateBps=reader.uint32();break;default:reader.skipType(7&tag)}}return message},SdkBitrate.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkBitrate.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.sourceStreamId&&message.hasOwnProperty("sourceStreamId")&&!$util.isInteger(message.sourceStreamId)?"sourceStreamId: integer expected":null!=message.avgBitrateBps&&message.hasOwnProperty("avgBitrateBps")&&!$util.isInteger(message.avgBitrateBps)?"avgBitrateBps: integer expected":null},SdkBitrate.fromObject=function fromObject(object){if(object instanceof $root.SdkBitrate)return object;var message=new $root.SdkBitrate;return null!=object.sourceStreamId&&(message.sourceStreamId=object.sourceStreamId>>>0),null!=object.avgBitrateBps&&(message.avgBitrateBps=object.avgBitrateBps>>>0),message},SdkBitrate.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.sourceStreamId=0,object.avgBitrateBps=0),null!=message.sourceStreamId&&message.hasOwnProperty("sourceStreamId")&&(object.sourceStreamId=message.sourceStreamId),null!=message.avgBitrateBps&&message.hasOwnProperty("avgBitrateBps")&&(object.avgBitrateBps=message.avgBitrateBps),object},SdkBitrate.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkBitrate}(),$root.SdkAudioControlFrame=function(){function SdkAudioControlFrame(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3==1)message.muted=reader.bool();else reader.skipType(7&tag)}return message},SdkAudioControlFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkAudioControlFrame.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.muted&&message.hasOwnProperty("muted")&&"boolean"!=typeof message.muted?"muted: boolean expected":null},SdkAudioControlFrame.fromObject=function fromObject(object){if(object instanceof $root.SdkAudioControlFrame)return object;var message=new $root.SdkAudioControlFrame;return null!=object.muted&&(message.muted=Boolean(object.muted)),message},SdkAudioControlFrame.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.muted=!1),null!=message.muted&&message.hasOwnProperty("muted")&&(object.muted=message.muted),object},SdkAudioControlFrame.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkAudioControlFrame}(),$root.SdkAudioMetadataFrame=function(){function SdkAudioMetadataFrame(properties){if(this.attendeeStates=[],properties)for(var keys=Object.keys(properties),i=0;i>>3==1)message.attendeeStates&&message.attendeeStates.length||(message.attendeeStates=[]),message.attendeeStates.push($root.SdkAudioAttendeeState.decode(reader,reader.uint32()));else reader.skipType(7&tag)}return message},SdkAudioMetadataFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkAudioMetadataFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.attendeeStates&&message.hasOwnProperty("attendeeStates")){if(!Array.isArray(message.attendeeStates))return"attendeeStates: array expected";for(var i=0;i>>3){case 1:message.audioStreamId=reader.uint32();break;case 2:message.volume=reader.uint32();break;case 3:message.muted=reader.bool();break;case 4:message.signalStrength=reader.uint32();break;default:reader.skipType(7&tag)}}return message},SdkAudioAttendeeState.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkAudioAttendeeState.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.audioStreamId&&message.hasOwnProperty("audioStreamId")&&!$util.isInteger(message.audioStreamId)?"audioStreamId: integer expected":null!=message.volume&&message.hasOwnProperty("volume")&&!$util.isInteger(message.volume)?"volume: integer expected":null!=message.muted&&message.hasOwnProperty("muted")&&"boolean"!=typeof message.muted?"muted: boolean expected":null!=message.signalStrength&&message.hasOwnProperty("signalStrength")&&!$util.isInteger(message.signalStrength)?"signalStrength: integer expected":null},SdkAudioAttendeeState.fromObject=function fromObject(object){if(object instanceof $root.SdkAudioAttendeeState)return object;var message=new $root.SdkAudioAttendeeState;return null!=object.audioStreamId&&(message.audioStreamId=object.audioStreamId>>>0),null!=object.volume&&(message.volume=object.volume>>>0),null!=object.muted&&(message.muted=Boolean(object.muted)),null!=object.signalStrength&&(message.signalStrength=object.signalStrength>>>0),message},SdkAudioAttendeeState.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.audioStreamId=0,object.volume=0,object.muted=!1,object.signalStrength=0),null!=message.audioStreamId&&message.hasOwnProperty("audioStreamId")&&(object.audioStreamId=message.audioStreamId),null!=message.volume&&message.hasOwnProperty("volume")&&(object.volume=message.volume),null!=message.muted&&message.hasOwnProperty("muted")&&(object.muted=message.muted),null!=message.signalStrength&&message.hasOwnProperty("signalStrength")&&(object.signalStrength=message.signalStrength),object},SdkAudioAttendeeState.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkAudioAttendeeState}(),$root.SdkAudioStreamIdInfoFrame=function(){function SdkAudioStreamIdInfoFrame(properties){if(this.streams=[],properties)for(var keys=Object.keys(properties),i=0;i>>3==1)message.streams&&message.streams.length||(message.streams=[]),message.streams.push($root.SdkAudioStreamIdInfo.decode(reader,reader.uint32()));else reader.skipType(7&tag)}return message},SdkAudioStreamIdInfoFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkAudioStreamIdInfoFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.streams&&message.hasOwnProperty("streams")){if(!Array.isArray(message.streams))return"streams: array expected";for(var i=0;i>>3){case 1:message.audioStreamId=reader.uint32();break;case 2:message.attendeeId=reader.string();break;case 3:message.muted=reader.bool();break;case 4:message.externalUserId=reader.string();break;case 5:message.dropped=reader.bool();break;default:reader.skipType(7&tag)}}return message},SdkAudioStreamIdInfo.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkAudioStreamIdInfo.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.audioStreamId&&message.hasOwnProperty("audioStreamId")&&!$util.isInteger(message.audioStreamId)?"audioStreamId: integer expected":null!=message.attendeeId&&message.hasOwnProperty("attendeeId")&&!$util.isString(message.attendeeId)?"attendeeId: string expected":null!=message.muted&&message.hasOwnProperty("muted")&&"boolean"!=typeof message.muted?"muted: boolean expected":null!=message.externalUserId&&message.hasOwnProperty("externalUserId")&&!$util.isString(message.externalUserId)?"externalUserId: string expected":null!=message.dropped&&message.hasOwnProperty("dropped")&&"boolean"!=typeof message.dropped?"dropped: boolean expected":null},SdkAudioStreamIdInfo.fromObject=function fromObject(object){if(object instanceof $root.SdkAudioStreamIdInfo)return object;var message=new $root.SdkAudioStreamIdInfo;return null!=object.audioStreamId&&(message.audioStreamId=object.audioStreamId>>>0),null!=object.attendeeId&&(message.attendeeId=String(object.attendeeId)),null!=object.muted&&(message.muted=Boolean(object.muted)),null!=object.externalUserId&&(message.externalUserId=String(object.externalUserId)),null!=object.dropped&&(message.dropped=Boolean(object.dropped)),message},SdkAudioStreamIdInfo.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.audioStreamId=0,object.attendeeId="",object.muted=!1,object.externalUserId="",object.dropped=!1),null!=message.audioStreamId&&message.hasOwnProperty("audioStreamId")&&(object.audioStreamId=message.audioStreamId),null!=message.attendeeId&&message.hasOwnProperty("attendeeId")&&(object.attendeeId=message.attendeeId),null!=message.muted&&message.hasOwnProperty("muted")&&(object.muted=message.muted),null!=message.externalUserId&&message.hasOwnProperty("externalUserId")&&(object.externalUserId=message.externalUserId),null!=message.dropped&&message.hasOwnProperty("dropped")&&(object.dropped=message.dropped),object},SdkAudioStreamIdInfo.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkAudioStreamIdInfo}(),$root.SdkPingPongType=function(){var valuesById={},values=Object.create(valuesById);return values[valuesById[1]="PING"]=1,values[valuesById[2]="PONG"]=2,values}(),$root.SdkPingPongFrame=function(){function SdkPingPongFrame(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.type=reader.int32();break;case 2:message.pingId=reader.uint32();break;default:reader.skipType(7&tag)}}if(!message.hasOwnProperty("type"))throw $util.ProtocolError("missing required 'type'",{instance:message});if(!message.hasOwnProperty("pingId"))throw $util.ProtocolError("missing required 'pingId'",{instance:message});return message},SdkPingPongFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkPingPongFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";switch(message.type){default:return"type: enum value expected";case 1:case 2:}return $util.isInteger(message.pingId)?null:"pingId: integer expected"},SdkPingPongFrame.fromObject=function fromObject(object){if(object instanceof $root.SdkPingPongFrame)return object;var message=new $root.SdkPingPongFrame;switch(object.type){case"PING":case 1:message.type=1;break;case"PONG":case 2:message.type=2}return null!=object.pingId&&(message.pingId=object.pingId>>>0),message},SdkPingPongFrame.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.type=options.enums===String?"PING":1,object.pingId=0),null!=message.type&&message.hasOwnProperty("type")&&(object.type=options.enums===String?$root.SdkPingPongType[message.type]:message.type),null!=message.pingId&&message.hasOwnProperty("pingId")&&(object.pingId=message.pingId),object},SdkPingPongFrame.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkPingPongFrame}(),$root.SdkAudioStatusFrame=function(){function SdkAudioStatusFrame(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3==1)message.audioStatus=reader.uint32();else reader.skipType(7&tag)}return message},SdkAudioStatusFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkAudioStatusFrame.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.audioStatus&&message.hasOwnProperty("audioStatus")&&!$util.isInteger(message.audioStatus)?"audioStatus: integer expected":null},SdkAudioStatusFrame.fromObject=function fromObject(object){if(object instanceof $root.SdkAudioStatusFrame)return object;var message=new $root.SdkAudioStatusFrame;return null!=object.audioStatus&&(message.audioStatus=object.audioStatus>>>0),message},SdkAudioStatusFrame.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.audioStatus=0),null!=message.audioStatus&&message.hasOwnProperty("audioStatus")&&(object.audioStatus=message.audioStatus),object},SdkAudioStatusFrame.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkAudioStatusFrame}(),$root.SdkMetric=function(){function SdkMetric(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.type=reader.int32();break;case 2:message.value=reader.double();break;default:reader.skipType(7&tag)}}return message},SdkMetric.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkMetric.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.type&&message.hasOwnProperty("type"))switch(message.type){default:return"type: enum value expected";case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 64:case 66:case 69:case 72:case 86:case 87:case 88:case 89:}return null!=message.value&&message.hasOwnProperty("value")&&"number"!=typeof message.value?"value: number expected":null},SdkMetric.fromObject=function fromObject(object){if(object instanceof $root.SdkMetric)return object;var message=new $root.SdkMetric;switch(object.type){case"VIDEO_ACTUAL_ENCODER_BITRATE":case 1:message.type=1;break;case"VIDEO_AVAILABLE_SEND_BANDWIDTH":case 2:message.type=2;break;case"VIDEO_RETRANSMIT_BITRATE":case 3:message.type=3;break;case"VIDEO_AVAILABLE_RECEIVE_BANDWIDTH":case 4:message.type=4;break;case"VIDEO_TARGET_ENCODER_BITRATE":case 5:message.type=5;break;case"VIDEO_BUCKET_DELAY_MS":case 6:message.type=6;break;case"STUN_RTT_MS":case 7:message.type=7;break;case"SOCKET_DISCARDED_PPS":case 8:message.type=8;break;case"RTC_MIC_JITTER_MS":case 9:message.type=9;break;case"RTC_MIC_PPS":case 10:message.type=10;break;case"RTC_MIC_FRACTION_PACKET_LOST_PERCENT":case 11:message.type=11;break;case"RTC_MIC_BITRATE":case 12:message.type=12;break;case"RTC_MIC_RTT_MS":case 13:message.type=13;break;case"RTC_SPK_PPS":case 14:message.type=14;break;case"RTC_SPK_FRACTION_PACKET_LOST_PERCENT":case 15:message.type=15;break;case"RTC_SPK_JITTER_MS":case 16:message.type=16;break;case"RTC_SPK_FRACTION_DECODER_LOSS_PERCENT":case 17:message.type=17;break;case"RTC_SPK_BITRATE":case 18:message.type=18;break;case"RTC_SPK_CURRENT_DELAY_MS":case 19:message.type=19;break;case"RTC_SPK_JITTER_BUFFER_MS":case 20:message.type=20;break;case"VIDEO_SENT_RTT_MS":case 21:message.type=21;break;case"VIDEO_ENCODE_USAGE_PERCENT":case 22:message.type=22;break;case"VIDEO_NACKS_RECEIVED":case 23:message.type=23;break;case"VIDEO_PLIS_RECEIVED":case 24:message.type=24;break;case"VIDEO_ENCODE_MS":case 25:message.type=25;break;case"VIDEO_INPUT_FPS":case 26:message.type=26;break;case"VIDEO_ENCODE_FPS":case 27:message.type=27;break;case"VIDEO_SENT_FPS":case 28:message.type=28;break;case"VIDEO_FIRS_RECEIVED":case 29:message.type=29;break;case"VIDEO_SENT_PPS":case 30:message.type=30;break;case"VIDEO_SENT_FRACTION_PACKET_LOST_PERCENT":case 31:message.type=31;break;case"VIDEO_SENT_BITRATE":case 32:message.type=32;break;case"VIDEO_DROPPED_FPS":case 33:message.type=33;break;case"VIDEO_TARGET_DELAY_MS":case 34:message.type=34;break;case"VIDEO_DECODE_MS":case 35:message.type=35;break;case"VIDEO_OUTPUT_FPS":case 36:message.type=36;break;case"VIDEO_RECEIVED_PPS":case 37:message.type=37;break;case"VIDEO_RECEIVED_FRACTION_PACKET_LOST_PERCENT":case 38:message.type=38;break;case"VIDEO_RENDER_DELAY_MS":case 39:message.type=39;break;case"VIDEO_RECEIVED_FPS":case 40:message.type=40;break;case"VIDEO_DECODE_FPS":case 41:message.type=41;break;case"VIDEO_NACKS_SENT":case 42:message.type=42;break;case"VIDEO_FIRS_SENT":case 43:message.type=43;break;case"VIDEO_RECEIVED_BITRATE":case 44:message.type=44;break;case"VIDEO_CURRENT_DELAY_MS":case 45:message.type=45;break;case"VIDEO_JITTER_BUFFER_MS":case 46:message.type=46;break;case"VIDEO_DISCARDED_PPS":case 47:message.type=47;break;case"VIDEO_PLIS_SENT":case 48:message.type=48;break;case"VIDEO_RECEIVED_JITTER_MS":case 49:message.type=49;break;case"VIDEO_ENCODE_HEIGHT":case 64:message.type=64;break;case"VIDEO_SENT_QP_SUM":case 66:message.type=66;break;case"VIDEO_DECODE_HEIGHT":case 69:message.type=69;break;case"VIDEO_RECEIVED_QP_SUM":case 72:message.type=72;break;case"VIDEO_ENCODE_WIDTH":case 86:message.type=86;break;case"VIDEO_DECODE_WIDTH":case 87:message.type=87;break;case"VIDEO_ENCODER_IS_HARDWARE":case 88:message.type=88;break;case"VIDEO_DECODER_IS_HARDWARE":case 89:message.type=89}return null!=object.value&&(message.value=Number(object.value)),message},SdkMetric.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.type=options.enums===String?"VIDEO_ACTUAL_ENCODER_BITRATE":1,object.value=0),null!=message.type&&message.hasOwnProperty("type")&&(object.type=options.enums===String?$root.SdkMetric.Type[message.type]:message.type),null!=message.value&&message.hasOwnProperty("value")&&(object.value=options.json&&!isFinite(message.value)?String(message.value):message.value),object},SdkMetric.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkMetric.Type=function(){var valuesById={},values=Object.create(valuesById);return values[valuesById[1]="VIDEO_ACTUAL_ENCODER_BITRATE"]=1,values[valuesById[2]="VIDEO_AVAILABLE_SEND_BANDWIDTH"]=2,values[valuesById[3]="VIDEO_RETRANSMIT_BITRATE"]=3,values[valuesById[4]="VIDEO_AVAILABLE_RECEIVE_BANDWIDTH"]=4,values[valuesById[5]="VIDEO_TARGET_ENCODER_BITRATE"]=5,values[valuesById[6]="VIDEO_BUCKET_DELAY_MS"]=6,values[valuesById[7]="STUN_RTT_MS"]=7,values[valuesById[8]="SOCKET_DISCARDED_PPS"]=8,values[valuesById[9]="RTC_MIC_JITTER_MS"]=9,values[valuesById[10]="RTC_MIC_PPS"]=10,values[valuesById[11]="RTC_MIC_FRACTION_PACKET_LOST_PERCENT"]=11,values[valuesById[12]="RTC_MIC_BITRATE"]=12,values[valuesById[13]="RTC_MIC_RTT_MS"]=13,values[valuesById[14]="RTC_SPK_PPS"]=14,values[valuesById[15]="RTC_SPK_FRACTION_PACKET_LOST_PERCENT"]=15,values[valuesById[16]="RTC_SPK_JITTER_MS"]=16,values[valuesById[17]="RTC_SPK_FRACTION_DECODER_LOSS_PERCENT"]=17,values[valuesById[18]="RTC_SPK_BITRATE"]=18,values[valuesById[19]="RTC_SPK_CURRENT_DELAY_MS"]=19,values[valuesById[20]="RTC_SPK_JITTER_BUFFER_MS"]=20,values[valuesById[21]="VIDEO_SENT_RTT_MS"]=21,values[valuesById[22]="VIDEO_ENCODE_USAGE_PERCENT"]=22,values[valuesById[23]="VIDEO_NACKS_RECEIVED"]=23,values[valuesById[24]="VIDEO_PLIS_RECEIVED"]=24,values[valuesById[25]="VIDEO_ENCODE_MS"]=25,values[valuesById[26]="VIDEO_INPUT_FPS"]=26,values[valuesById[27]="VIDEO_ENCODE_FPS"]=27,values[valuesById[28]="VIDEO_SENT_FPS"]=28,values[valuesById[29]="VIDEO_FIRS_RECEIVED"]=29,values[valuesById[30]="VIDEO_SENT_PPS"]=30,values[valuesById[31]="VIDEO_SENT_FRACTION_PACKET_LOST_PERCENT"]=31,values[valuesById[32]="VIDEO_SENT_BITRATE"]=32,values[valuesById[33]="VIDEO_DROPPED_FPS"]=33,values[valuesById[34]="VIDEO_TARGET_DELAY_MS"]=34,values[valuesById[35]="VIDEO_DECODE_MS"]=35,values[valuesById[36]="VIDEO_OUTPUT_FPS"]=36,values[valuesById[37]="VIDEO_RECEIVED_PPS"]=37,values[valuesById[38]="VIDEO_RECEIVED_FRACTION_PACKET_LOST_PERCENT"]=38,values[valuesById[39]="VIDEO_RENDER_DELAY_MS"]=39,values[valuesById[40]="VIDEO_RECEIVED_FPS"]=40,values[valuesById[41]="VIDEO_DECODE_FPS"]=41,values[valuesById[42]="VIDEO_NACKS_SENT"]=42,values[valuesById[43]="VIDEO_FIRS_SENT"]=43,values[valuesById[44]="VIDEO_RECEIVED_BITRATE"]=44,values[valuesById[45]="VIDEO_CURRENT_DELAY_MS"]=45,values[valuesById[46]="VIDEO_JITTER_BUFFER_MS"]=46,values[valuesById[47]="VIDEO_DISCARDED_PPS"]=47,values[valuesById[48]="VIDEO_PLIS_SENT"]=48,values[valuesById[49]="VIDEO_RECEIVED_JITTER_MS"]=49,values[valuesById[64]="VIDEO_ENCODE_HEIGHT"]=64,values[valuesById[66]="VIDEO_SENT_QP_SUM"]=66,values[valuesById[69]="VIDEO_DECODE_HEIGHT"]=69,values[valuesById[72]="VIDEO_RECEIVED_QP_SUM"]=72,values[valuesById[86]="VIDEO_ENCODE_WIDTH"]=86,values[valuesById[87]="VIDEO_DECODE_WIDTH"]=87,values[valuesById[88]="VIDEO_ENCODER_IS_HARDWARE"]=88,values[valuesById[89]="VIDEO_DECODER_IS_HARDWARE"]=89,values}(),SdkMetric}(),$root.SdkStreamMetricFrame=function(){function SdkStreamMetricFrame(properties){if(this.metrics=[],this.dimensions=[],properties)for(var keys=Object.keys(properties),i=0;i>>3){case 3:message.streamId=reader.uint32();break;case 4:message.groupId=reader.uint32();break;case 5:message.metrics&&message.metrics.length||(message.metrics=[]),message.metrics.push($root.SdkMetric.decode(reader,reader.uint32()));break;case 6:message.dimensions&&message.dimensions.length||(message.dimensions=[]),message.dimensions.push($root.SdkStreamDimension.decode(reader,reader.uint32()));break;default:reader.skipType(7&tag)}}return message},SdkStreamMetricFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkStreamMetricFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.streamId&&message.hasOwnProperty("streamId")&&!$util.isInteger(message.streamId))return"streamId: integer expected";if(null!=message.groupId&&message.hasOwnProperty("groupId")&&!$util.isInteger(message.groupId))return"groupId: integer expected";if(null!=message.metrics&&message.hasOwnProperty("metrics")){if(!Array.isArray(message.metrics))return"metrics: array expected";for(var i=0;i>>0),null!=object.groupId&&(message.groupId=object.groupId>>>0),object.metrics){if(!Array.isArray(object.metrics))throw TypeError(".SdkStreamMetricFrame.metrics: array expected");message.metrics=[];for(var i=0;i>>3){case 1:message.globalMetrics&&message.globalMetrics.length||(message.globalMetrics=[]),message.globalMetrics.push($root.SdkMetric.decode(reader,reader.uint32()));break;case 2:message.streamMetricFrames&&message.streamMetricFrames.length||(message.streamMetricFrames=[]),message.streamMetricFrames.push($root.SdkStreamMetricFrame.decode(reader,reader.uint32()));break;default:reader.skipType(7&tag)}}return message},SdkClientMetricFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkClientMetricFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.globalMetrics&&message.hasOwnProperty("globalMetrics")){if(!Array.isArray(message.globalMetrics))return"globalMetrics: array expected";for(var i=0;i>>3){case 1:message.type=reader.int32();break;case 2:message.value=$root.SdkDimensionValue.decode(reader,reader.uint32());break;default:reader.skipType(7&tag)}}return message},SdkStreamDimension.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkStreamDimension.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.type&&message.hasOwnProperty("type"))switch(message.type){default:return"type: enum value expected";case 1:case 2:}if(null!=message.value&&message.hasOwnProperty("value")){var error=$root.SdkDimensionValue.verify(message.value);if(error)return"value."+error}return null},SdkStreamDimension.fromObject=function fromObject(object){if(object instanceof $root.SdkStreamDimension)return object;var message=new $root.SdkStreamDimension;switch(object.type){case"VIDEO_ENCODER_NAME":case 1:message.type=1;break;case"VIDEO_DECODER_NAME":case 2:message.type=2}if(null!=object.value){if("object"!=typeof object.value)throw TypeError(".SdkStreamDimension.value: object expected");message.value=$root.SdkDimensionValue.fromObject(object.value)}return message},SdkStreamDimension.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.type=options.enums===String?"VIDEO_ENCODER_NAME":1,object.value=null),null!=message.type&&message.hasOwnProperty("type")&&(object.type=options.enums===String?$root.SdkStreamDimension.Type[message.type]:message.type),null!=message.value&&message.hasOwnProperty("value")&&(object.value=$root.SdkDimensionValue.toObject(message.value,options)),object},SdkStreamDimension.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkStreamDimension.Type=function(){var valuesById={},values=Object.create(valuesById);return values[valuesById[1]="VIDEO_ENCODER_NAME"]=1,values[valuesById[2]="VIDEO_DECODER_NAME"]=2,values}(),SdkStreamDimension}(),$root.SdkDimensionValue=function(){function SdkDimensionValue(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.stringValue=reader.string();break;case 2:message.boolValue=reader.bool();break;case 3:message.uintValue=reader.uint64();break;default:reader.skipType(7&tag)}}return message},SdkDimensionValue.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkDimensionValue.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.stringValue&&message.hasOwnProperty("stringValue")&&!$util.isString(message.stringValue)?"stringValue: string expected":null!=message.boolValue&&message.hasOwnProperty("boolValue")&&"boolean"!=typeof message.boolValue?"boolValue: boolean expected":null!=message.uintValue&&message.hasOwnProperty("uintValue")&&!($util.isInteger(message.uintValue)||message.uintValue&&$util.isInteger(message.uintValue.low)&&$util.isInteger(message.uintValue.high))?"uintValue: integer|Long expected":null},SdkDimensionValue.fromObject=function fromObject(object){if(object instanceof $root.SdkDimensionValue)return object;var message=new $root.SdkDimensionValue;return null!=object.stringValue&&(message.stringValue=String(object.stringValue)),null!=object.boolValue&&(message.boolValue=Boolean(object.boolValue)),null!=object.uintValue&&($util.Long?(message.uintValue=$util.Long.fromValue(object.uintValue)).unsigned=!0:"string"==typeof object.uintValue?message.uintValue=parseInt(object.uintValue,10):"number"==typeof object.uintValue?message.uintValue=object.uintValue:"object"==typeof object.uintValue&&(message.uintValue=new $util.LongBits(object.uintValue.low>>>0,object.uintValue.high>>>0).toNumber(!0))),message},SdkDimensionValue.toObject=function toObject(message,options){options||(options={});var object={};if(options.defaults)if(object.stringValue="",object.boolValue=!1,$util.Long){var long=new $util.Long(0,0,!0);object.uintValue=options.longs===String?long.toString():options.longs===Number?long.toNumber():long}else object.uintValue=options.longs===String?"0":0;return null!=message.stringValue&&message.hasOwnProperty("stringValue")&&(object.stringValue=message.stringValue),null!=message.boolValue&&message.hasOwnProperty("boolValue")&&(object.boolValue=message.boolValue),null!=message.uintValue&&message.hasOwnProperty("uintValue")&&("number"==typeof message.uintValue?object.uintValue=options.longs===String?String(message.uintValue):message.uintValue:object.uintValue=options.longs===String?$util.Long.prototype.toString.call(message.uintValue):options.longs===Number?new $util.LongBits(message.uintValue.low>>>0,message.uintValue.high>>>0).toNumber(!0):message.uintValue),object},SdkDimensionValue.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkDimensionValue}(),$root.SdkDataMessageFrame=function(){function SdkDataMessageFrame(properties){if(this.messages=[],properties)for(var keys=Object.keys(properties),i=0;i>>3==1)message.messages&&message.messages.length||(message.messages=[]),message.messages.push($root.SdkDataMessagePayload.decode(reader,reader.uint32()));else reader.skipType(7&tag)}return message},SdkDataMessageFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkDataMessageFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.messages&&message.hasOwnProperty("messages")){if(!Array.isArray(message.messages))return"messages: array expected";for(var i=0;i>>3){case 1:message.topic=reader.string();break;case 2:message.data=reader.bytes();break;case 3:message.lifetimeMs=reader.uint32();break;case 4:message.senderAttendeeId=reader.string();break;case 5:message.ingestTimeNs=reader.int64();break;case 6:message.senderExternalUserId=reader.string();break;default:reader.skipType(7&tag)}}return message},SdkDataMessagePayload.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkDataMessagePayload.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.topic&&message.hasOwnProperty("topic")&&!$util.isString(message.topic)?"topic: string expected":null!=message.data&&message.hasOwnProperty("data")&&!(message.data&&"number"==typeof message.data.length||$util.isString(message.data))?"data: buffer expected":null!=message.lifetimeMs&&message.hasOwnProperty("lifetimeMs")&&!$util.isInteger(message.lifetimeMs)?"lifetimeMs: integer expected":null!=message.senderAttendeeId&&message.hasOwnProperty("senderAttendeeId")&&!$util.isString(message.senderAttendeeId)?"senderAttendeeId: string expected":null!=message.ingestTimeNs&&message.hasOwnProperty("ingestTimeNs")&&!($util.isInteger(message.ingestTimeNs)||message.ingestTimeNs&&$util.isInteger(message.ingestTimeNs.low)&&$util.isInteger(message.ingestTimeNs.high))?"ingestTimeNs: integer|Long expected":null!=message.senderExternalUserId&&message.hasOwnProperty("senderExternalUserId")&&!$util.isString(message.senderExternalUserId)?"senderExternalUserId: string expected":null},SdkDataMessagePayload.fromObject=function fromObject(object){if(object instanceof $root.SdkDataMessagePayload)return object;var message=new $root.SdkDataMessagePayload;return null!=object.topic&&(message.topic=String(object.topic)),null!=object.data&&("string"==typeof object.data?$util.base64.decode(object.data,message.data=$util.newBuffer($util.base64.length(object.data)),0):object.data.length&&(message.data=object.data)),null!=object.lifetimeMs&&(message.lifetimeMs=object.lifetimeMs>>>0),null!=object.senderAttendeeId&&(message.senderAttendeeId=String(object.senderAttendeeId)),null!=object.ingestTimeNs&&($util.Long?(message.ingestTimeNs=$util.Long.fromValue(object.ingestTimeNs)).unsigned=!1:"string"==typeof object.ingestTimeNs?message.ingestTimeNs=parseInt(object.ingestTimeNs,10):"number"==typeof object.ingestTimeNs?message.ingestTimeNs=object.ingestTimeNs:"object"==typeof object.ingestTimeNs&&(message.ingestTimeNs=new $util.LongBits(object.ingestTimeNs.low>>>0,object.ingestTimeNs.high>>>0).toNumber())),null!=object.senderExternalUserId&&(message.senderExternalUserId=String(object.senderExternalUserId)),message},SdkDataMessagePayload.toObject=function toObject(message,options){options||(options={});var object={};if(options.defaults){if(object.topic="",options.bytes===String?object.data="":(object.data=[],options.bytes!==Array&&(object.data=$util.newBuffer(object.data))),object.lifetimeMs=0,object.senderAttendeeId="",$util.Long){var long=new $util.Long(0,0,!1);object.ingestTimeNs=options.longs===String?long.toString():options.longs===Number?long.toNumber():long}else object.ingestTimeNs=options.longs===String?"0":0;object.senderExternalUserId=""}return null!=message.topic&&message.hasOwnProperty("topic")&&(object.topic=message.topic),null!=message.data&&message.hasOwnProperty("data")&&(object.data=options.bytes===String?$util.base64.encode(message.data,0,message.data.length):options.bytes===Array?Array.prototype.slice.call(message.data):message.data),null!=message.lifetimeMs&&message.hasOwnProperty("lifetimeMs")&&(object.lifetimeMs=message.lifetimeMs),null!=message.senderAttendeeId&&message.hasOwnProperty("senderAttendeeId")&&(object.senderAttendeeId=message.senderAttendeeId),null!=message.ingestTimeNs&&message.hasOwnProperty("ingestTimeNs")&&("number"==typeof message.ingestTimeNs?object.ingestTimeNs=options.longs===String?String(message.ingestTimeNs):message.ingestTimeNs:object.ingestTimeNs=options.longs===String?$util.Long.prototype.toString.call(message.ingestTimeNs):options.longs===Number?new $util.LongBits(message.ingestTimeNs.low>>>0,message.ingestTimeNs.high>>>0).toNumber():message.ingestTimeNs),null!=message.senderExternalUserId&&message.hasOwnProperty("senderExternalUserId")&&(object.senderExternalUserId=message.senderExternalUserId),object},SdkDataMessagePayload.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkDataMessagePayload}(),$root.SdkTurnCredentials=function(){function SdkTurnCredentials(properties){if(this.uris=[],properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.username=reader.string();break;case 2:message.password=reader.string();break;case 3:message.ttl=reader.uint32();break;case 4:message.uris&&message.uris.length||(message.uris=[]),message.uris.push(reader.string());break;default:reader.skipType(7&tag)}}return message},SdkTurnCredentials.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkTurnCredentials.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.username&&message.hasOwnProperty("username")&&!$util.isString(message.username))return"username: string expected";if(null!=message.password&&message.hasOwnProperty("password")&&!$util.isString(message.password))return"password: string expected";if(null!=message.ttl&&message.hasOwnProperty("ttl")&&!$util.isInteger(message.ttl))return"ttl: integer expected";if(null!=message.uris&&message.hasOwnProperty("uris")){if(!Array.isArray(message.uris))return"uris: array expected";for(var i=0;i>>0),object.uris){if(!Array.isArray(object.uris))throw TypeError(".SdkTurnCredentials.uris: array expected");message.uris=[];for(var i=0;i>>3){case 1:message.content=reader.string();break;case 2:message.endTime=reader.int64();break;case 3:message.speakerAttendeeId=reader.string();break;case 4:message.speakerExternalUserId=reader.string();break;case 5:message.startTime=reader.int64();break;case 6:message.type=reader.int32();break;case 7:message.vocabularyFilterMatch=reader.bool();break;case 8:message.confidence=reader.double();break;case 9:message.stable=reader.bool();break;default:reader.skipType(7&tag)}}return message},SdkTranscriptItem.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkTranscriptItem.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.content&&message.hasOwnProperty("content")&&!$util.isString(message.content))return"content: string expected";if(null!=message.endTime&&message.hasOwnProperty("endTime")&&!($util.isInteger(message.endTime)||message.endTime&&$util.isInteger(message.endTime.low)&&$util.isInteger(message.endTime.high)))return"endTime: integer|Long expected";if(null!=message.speakerAttendeeId&&message.hasOwnProperty("speakerAttendeeId")&&!$util.isString(message.speakerAttendeeId))return"speakerAttendeeId: string expected";if(null!=message.speakerExternalUserId&&message.hasOwnProperty("speakerExternalUserId")&&!$util.isString(message.speakerExternalUserId))return"speakerExternalUserId: string expected";if(null!=message.startTime&&message.hasOwnProperty("startTime")&&!($util.isInteger(message.startTime)||message.startTime&&$util.isInteger(message.startTime.low)&&$util.isInteger(message.startTime.high)))return"startTime: integer|Long expected";if(null!=message.type&&message.hasOwnProperty("type"))switch(message.type){default:return"type: enum value expected";case 1:case 2:}return null!=message.vocabularyFilterMatch&&message.hasOwnProperty("vocabularyFilterMatch")&&"boolean"!=typeof message.vocabularyFilterMatch?"vocabularyFilterMatch: boolean expected":null!=message.confidence&&message.hasOwnProperty("confidence")&&"number"!=typeof message.confidence?"confidence: number expected":null!=message.stable&&message.hasOwnProperty("stable")&&"boolean"!=typeof message.stable?"stable: boolean expected":null},SdkTranscriptItem.fromObject=function fromObject(object){if(object instanceof $root.SdkTranscriptItem)return object;var message=new $root.SdkTranscriptItem;switch(null!=object.content&&(message.content=String(object.content)),null!=object.endTime&&($util.Long?(message.endTime=$util.Long.fromValue(object.endTime)).unsigned=!1:"string"==typeof object.endTime?message.endTime=parseInt(object.endTime,10):"number"==typeof object.endTime?message.endTime=object.endTime:"object"==typeof object.endTime&&(message.endTime=new $util.LongBits(object.endTime.low>>>0,object.endTime.high>>>0).toNumber())),null!=object.speakerAttendeeId&&(message.speakerAttendeeId=String(object.speakerAttendeeId)),null!=object.speakerExternalUserId&&(message.speakerExternalUserId=String(object.speakerExternalUserId)),null!=object.startTime&&($util.Long?(message.startTime=$util.Long.fromValue(object.startTime)).unsigned=!1:"string"==typeof object.startTime?message.startTime=parseInt(object.startTime,10):"number"==typeof object.startTime?message.startTime=object.startTime:"object"==typeof object.startTime&&(message.startTime=new $util.LongBits(object.startTime.low>>>0,object.startTime.high>>>0).toNumber())),object.type){case"PRONUNCIATION":case 1:message.type=1;break;case"PUNCTUATION":case 2:message.type=2}return null!=object.vocabularyFilterMatch&&(message.vocabularyFilterMatch=Boolean(object.vocabularyFilterMatch)),null!=object.confidence&&(message.confidence=Number(object.confidence)),null!=object.stable&&(message.stable=Boolean(object.stable)),message},SdkTranscriptItem.toObject=function toObject(message,options){options||(options={});var object={};if(options.defaults){if(object.content="",$util.Long){var long=new $util.Long(0,0,!1);object.endTime=options.longs===String?long.toString():options.longs===Number?long.toNumber():long}else object.endTime=options.longs===String?"0":0;if(object.speakerAttendeeId="",object.speakerExternalUserId="",$util.Long){long=new $util.Long(0,0,!1);object.startTime=options.longs===String?long.toString():options.longs===Number?long.toNumber():long}else object.startTime=options.longs===String?"0":0;object.type=options.enums===String?"PRONUNCIATION":1,object.vocabularyFilterMatch=!1,object.confidence=0,object.stable=!1}return null!=message.content&&message.hasOwnProperty("content")&&(object.content=message.content),null!=message.endTime&&message.hasOwnProperty("endTime")&&("number"==typeof message.endTime?object.endTime=options.longs===String?String(message.endTime):message.endTime:object.endTime=options.longs===String?$util.Long.prototype.toString.call(message.endTime):options.longs===Number?new $util.LongBits(message.endTime.low>>>0,message.endTime.high>>>0).toNumber():message.endTime),null!=message.speakerAttendeeId&&message.hasOwnProperty("speakerAttendeeId")&&(object.speakerAttendeeId=message.speakerAttendeeId),null!=message.speakerExternalUserId&&message.hasOwnProperty("speakerExternalUserId")&&(object.speakerExternalUserId=message.speakerExternalUserId),null!=message.startTime&&message.hasOwnProperty("startTime")&&("number"==typeof message.startTime?object.startTime=options.longs===String?String(message.startTime):message.startTime:object.startTime=options.longs===String?$util.Long.prototype.toString.call(message.startTime):options.longs===Number?new $util.LongBits(message.startTime.low>>>0,message.startTime.high>>>0).toNumber():message.startTime),null!=message.type&&message.hasOwnProperty("type")&&(object.type=options.enums===String?$root.SdkTranscriptItem.Type[message.type]:message.type),null!=message.vocabularyFilterMatch&&message.hasOwnProperty("vocabularyFilterMatch")&&(object.vocabularyFilterMatch=message.vocabularyFilterMatch),null!=message.confidence&&message.hasOwnProperty("confidence")&&(object.confidence=options.json&&!isFinite(message.confidence)?String(message.confidence):message.confidence),null!=message.stable&&message.hasOwnProperty("stable")&&(object.stable=message.stable),object},SdkTranscriptItem.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkTranscriptItem.Type=function(){var valuesById={},values=Object.create(valuesById);return values[valuesById[1]="PRONUNCIATION"]=1,values[valuesById[2]="PUNCTUATION"]=2,values}(),SdkTranscriptItem}(),$root.SdkTranscriptEntity=function(){function SdkTranscriptEntity(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.category=reader.string();break;case 2:message.confidence=reader.double();break;case 3:message.content=reader.string();break;case 4:message.endTime=reader.int64();break;case 5:message.startTime=reader.int64();break;case 6:message.type=reader.string();break;default:reader.skipType(7&tag)}}return message},SdkTranscriptEntity.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkTranscriptEntity.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.category&&message.hasOwnProperty("category")&&!$util.isString(message.category)?"category: string expected":null!=message.confidence&&message.hasOwnProperty("confidence")&&"number"!=typeof message.confidence?"confidence: number expected":null!=message.content&&message.hasOwnProperty("content")&&!$util.isString(message.content)?"content: string expected":null!=message.endTime&&message.hasOwnProperty("endTime")&&!($util.isInteger(message.endTime)||message.endTime&&$util.isInteger(message.endTime.low)&&$util.isInteger(message.endTime.high))?"endTime: integer|Long expected":null!=message.startTime&&message.hasOwnProperty("startTime")&&!($util.isInteger(message.startTime)||message.startTime&&$util.isInteger(message.startTime.low)&&$util.isInteger(message.startTime.high))?"startTime: integer|Long expected":null!=message.type&&message.hasOwnProperty("type")&&!$util.isString(message.type)?"type: string expected":null},SdkTranscriptEntity.fromObject=function fromObject(object){if(object instanceof $root.SdkTranscriptEntity)return object;var message=new $root.SdkTranscriptEntity;return null!=object.category&&(message.category=String(object.category)),null!=object.confidence&&(message.confidence=Number(object.confidence)),null!=object.content&&(message.content=String(object.content)),null!=object.endTime&&($util.Long?(message.endTime=$util.Long.fromValue(object.endTime)).unsigned=!1:"string"==typeof object.endTime?message.endTime=parseInt(object.endTime,10):"number"==typeof object.endTime?message.endTime=object.endTime:"object"==typeof object.endTime&&(message.endTime=new $util.LongBits(object.endTime.low>>>0,object.endTime.high>>>0).toNumber())),null!=object.startTime&&($util.Long?(message.startTime=$util.Long.fromValue(object.startTime)).unsigned=!1:"string"==typeof object.startTime?message.startTime=parseInt(object.startTime,10):"number"==typeof object.startTime?message.startTime=object.startTime:"object"==typeof object.startTime&&(message.startTime=new $util.LongBits(object.startTime.low>>>0,object.startTime.high>>>0).toNumber())),null!=object.type&&(message.type=String(object.type)),message},SdkTranscriptEntity.toObject=function toObject(message,options){options||(options={});var object={};if(options.defaults){if(object.category="",object.confidence=0,object.content="",$util.Long){var long=new $util.Long(0,0,!1);object.endTime=options.longs===String?long.toString():options.longs===Number?long.toNumber():long}else object.endTime=options.longs===String?"0":0;if($util.Long){long=new $util.Long(0,0,!1);object.startTime=options.longs===String?long.toString():options.longs===Number?long.toNumber():long}else object.startTime=options.longs===String?"0":0;object.type=""}return null!=message.category&&message.hasOwnProperty("category")&&(object.category=message.category),null!=message.confidence&&message.hasOwnProperty("confidence")&&(object.confidence=options.json&&!isFinite(message.confidence)?String(message.confidence):message.confidence),null!=message.content&&message.hasOwnProperty("content")&&(object.content=message.content),null!=message.endTime&&message.hasOwnProperty("endTime")&&("number"==typeof message.endTime?object.endTime=options.longs===String?String(message.endTime):message.endTime:object.endTime=options.longs===String?$util.Long.prototype.toString.call(message.endTime):options.longs===Number?new $util.LongBits(message.endTime.low>>>0,message.endTime.high>>>0).toNumber():message.endTime),null!=message.startTime&&message.hasOwnProperty("startTime")&&("number"==typeof message.startTime?object.startTime=options.longs===String?String(message.startTime):message.startTime:object.startTime=options.longs===String?$util.Long.prototype.toString.call(message.startTime):options.longs===Number?new $util.LongBits(message.startTime.low>>>0,message.startTime.high>>>0).toNumber():message.startTime),null!=message.type&&message.hasOwnProperty("type")&&(object.type=message.type),object},SdkTranscriptEntity.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkTranscriptEntity}(),$root.SdkTranscriptAlternative=function(){function SdkTranscriptAlternative(properties){if(this.items=[],this.entities=[],properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.items&&message.items.length||(message.items=[]),message.items.push($root.SdkTranscriptItem.decode(reader,reader.uint32()));break;case 2:message.transcript=reader.string();break;case 3:message.entities&&message.entities.length||(message.entities=[]),message.entities.push($root.SdkTranscriptEntity.decode(reader,reader.uint32()));break;default:reader.skipType(7&tag)}}return message},SdkTranscriptAlternative.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkTranscriptAlternative.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.items&&message.hasOwnProperty("items")){if(!Array.isArray(message.items))return"items: array expected";for(var i=0;i>>3){case 1:message.languageCode=reader.string();break;case 2:message.score=reader.double();break;default:reader.skipType(7&tag)}}return message},SdkTranscriptLanguageWithScore.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkTranscriptLanguageWithScore.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.languageCode&&message.hasOwnProperty("languageCode")&&!$util.isString(message.languageCode)?"languageCode: string expected":null!=message.score&&message.hasOwnProperty("score")&&"number"!=typeof message.score?"score: number expected":null},SdkTranscriptLanguageWithScore.fromObject=function fromObject(object){if(object instanceof $root.SdkTranscriptLanguageWithScore)return object;var message=new $root.SdkTranscriptLanguageWithScore;return null!=object.languageCode&&(message.languageCode=String(object.languageCode)),null!=object.score&&(message.score=Number(object.score)),message},SdkTranscriptLanguageWithScore.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.languageCode="",object.score=0),null!=message.languageCode&&message.hasOwnProperty("languageCode")&&(object.languageCode=message.languageCode),null!=message.score&&message.hasOwnProperty("score")&&(object.score=options.json&&!isFinite(message.score)?String(message.score):message.score),object},SdkTranscriptLanguageWithScore.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkTranscriptLanguageWithScore}(),$root.SdkTranscriptResult=function(){function SdkTranscriptResult(properties){if(this.alternatives=[],this.languageIdentification=[],properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.alternatives&&message.alternatives.length||(message.alternatives=[]),message.alternatives.push($root.SdkTranscriptAlternative.decode(reader,reader.uint32()));break;case 2:message.channelId=reader.string();break;case 3:message.endTime=reader.int64();break;case 4:message.isPartial=reader.bool();break;case 5:message.resultId=reader.string();break;case 6:message.startTime=reader.int64();break;case 7:message.languageCode=reader.string();break;case 8:message.languageIdentification&&message.languageIdentification.length||(message.languageIdentification=[]),message.languageIdentification.push($root.SdkTranscriptLanguageWithScore.decode(reader,reader.uint32()));break;default:reader.skipType(7&tag)}}return message},SdkTranscriptResult.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkTranscriptResult.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.alternatives&&message.hasOwnProperty("alternatives")){if(!Array.isArray(message.alternatives))return"alternatives: array expected";for(var i=0;i>>0,object.endTime.high>>>0).toNumber())),null!=object.isPartial&&(message.isPartial=Boolean(object.isPartial)),null!=object.resultId&&(message.resultId=String(object.resultId)),null!=object.startTime&&($util.Long?(message.startTime=$util.Long.fromValue(object.startTime)).unsigned=!1:"string"==typeof object.startTime?message.startTime=parseInt(object.startTime,10):"number"==typeof object.startTime?message.startTime=object.startTime:"object"==typeof object.startTime&&(message.startTime=new $util.LongBits(object.startTime.low>>>0,object.startTime.high>>>0).toNumber())),null!=object.languageCode&&(message.languageCode=String(object.languageCode)),object.languageIdentification){if(!Array.isArray(object.languageIdentification))throw TypeError(".SdkTranscriptResult.languageIdentification: array expected");message.languageIdentification=[];for(i=0;i>>0,message.endTime.high>>>0).toNumber():message.endTime),null!=message.isPartial&&message.hasOwnProperty("isPartial")&&(object.isPartial=message.isPartial),null!=message.resultId&&message.hasOwnProperty("resultId")&&(object.resultId=message.resultId),null!=message.startTime&&message.hasOwnProperty("startTime")&&("number"==typeof message.startTime?object.startTime=options.longs===String?String(message.startTime):message.startTime:object.startTime=options.longs===String?$util.Long.prototype.toString.call(message.startTime):options.longs===Number?new $util.LongBits(message.startTime.low>>>0,message.startTime.high>>>0).toNumber():message.startTime),null!=message.languageCode&&message.hasOwnProperty("languageCode")&&(object.languageCode=message.languageCode),message.languageIdentification&&message.languageIdentification.length){object.languageIdentification=[];for(j=0;j>>3==1)message.results&&message.results.length||(message.results=[]),message.results.push($root.SdkTranscriptResult.decode(reader,reader.uint32()));else reader.skipType(7&tag)}return message},SdkTranscript.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkTranscript.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.results&&message.hasOwnProperty("results")){if(!Array.isArray(message.results))return"results: array expected";for(var i=0;i>>3){case 1:message.type=reader.int32();break;case 2:message.eventTime=reader.int64();break;case 3:message.transcriptionRegion=reader.string();break;case 4:message.transcriptionConfiguration=reader.string();break;case 5:message.message=reader.string();break;default:reader.skipType(7&tag)}}return message},SdkTranscriptionStatus.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkTranscriptionStatus.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.type&&message.hasOwnProperty("type"))switch(message.type){default:return"type: enum value expected";case 1:case 2:case 3:case 4:case 5:}return null!=message.eventTime&&message.hasOwnProperty("eventTime")&&!($util.isInteger(message.eventTime)||message.eventTime&&$util.isInteger(message.eventTime.low)&&$util.isInteger(message.eventTime.high))?"eventTime: integer|Long expected":null!=message.transcriptionRegion&&message.hasOwnProperty("transcriptionRegion")&&!$util.isString(message.transcriptionRegion)?"transcriptionRegion: string expected":null!=message.transcriptionConfiguration&&message.hasOwnProperty("transcriptionConfiguration")&&!$util.isString(message.transcriptionConfiguration)?"transcriptionConfiguration: string expected":null!=message.message&&message.hasOwnProperty("message")&&!$util.isString(message.message)?"message: string expected":null},SdkTranscriptionStatus.fromObject=function fromObject(object){if(object instanceof $root.SdkTranscriptionStatus)return object;var message=new $root.SdkTranscriptionStatus;switch(object.type){case"STARTED":case 1:message.type=1;break;case"INTERRUPTED":case 2:message.type=2;break;case"RESUMED":case 3:message.type=3;break;case"STOPPED":case 4:message.type=4;break;case"FAILED":case 5:message.type=5}return null!=object.eventTime&&($util.Long?(message.eventTime=$util.Long.fromValue(object.eventTime)).unsigned=!1:"string"==typeof object.eventTime?message.eventTime=parseInt(object.eventTime,10):"number"==typeof object.eventTime?message.eventTime=object.eventTime:"object"==typeof object.eventTime&&(message.eventTime=new $util.LongBits(object.eventTime.low>>>0,object.eventTime.high>>>0).toNumber())),null!=object.transcriptionRegion&&(message.transcriptionRegion=String(object.transcriptionRegion)),null!=object.transcriptionConfiguration&&(message.transcriptionConfiguration=String(object.transcriptionConfiguration)),null!=object.message&&(message.message=String(object.message)),message},SdkTranscriptionStatus.toObject=function toObject(message,options){options||(options={});var object={};if(options.defaults){if(object.type=options.enums===String?"STARTED":1,$util.Long){var long=new $util.Long(0,0,!1);object.eventTime=options.longs===String?long.toString():options.longs===Number?long.toNumber():long}else object.eventTime=options.longs===String?"0":0;object.transcriptionRegion="",object.transcriptionConfiguration="",object.message=""}return null!=message.type&&message.hasOwnProperty("type")&&(object.type=options.enums===String?$root.SdkTranscriptionStatus.Type[message.type]:message.type),null!=message.eventTime&&message.hasOwnProperty("eventTime")&&("number"==typeof message.eventTime?object.eventTime=options.longs===String?String(message.eventTime):message.eventTime:object.eventTime=options.longs===String?$util.Long.prototype.toString.call(message.eventTime):options.longs===Number?new $util.LongBits(message.eventTime.low>>>0,message.eventTime.high>>>0).toNumber():message.eventTime),null!=message.transcriptionRegion&&message.hasOwnProperty("transcriptionRegion")&&(object.transcriptionRegion=message.transcriptionRegion),null!=message.transcriptionConfiguration&&message.hasOwnProperty("transcriptionConfiguration")&&(object.transcriptionConfiguration=message.transcriptionConfiguration),null!=message.message&&message.hasOwnProperty("message")&&(object.message=message.message),object},SdkTranscriptionStatus.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkTranscriptionStatus.Type=function(){var valuesById={},values=Object.create(valuesById);return values[valuesById[1]="STARTED"]=1,values[valuesById[2]="INTERRUPTED"]=2,values[valuesById[3]="RESUMED"]=3,values[valuesById[4]="STOPPED"]=4,values[valuesById[5]="FAILED"]=5,values}(),SdkTranscriptionStatus}(),$root.SdkTranscriptEvent=function(){function SdkTranscriptEvent(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.status=$root.SdkTranscriptionStatus.decode(reader,reader.uint32());break;case 2:message.transcript=$root.SdkTranscript.decode(reader,reader.uint32());break;default:reader.skipType(7&tag)}}return message},SdkTranscriptEvent.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkTranscriptEvent.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";var properties={};if(null!=message.status&&message.hasOwnProperty("status")&&(properties.Event=1,error=$root.SdkTranscriptionStatus.verify(message.status)))return"status."+error;if(null!=message.transcript&&message.hasOwnProperty("transcript")){if(1===properties.Event)return"Event: multiple values";var error;if(properties.Event=1,error=$root.SdkTranscript.verify(message.transcript))return"transcript."+error}return null},SdkTranscriptEvent.fromObject=function fromObject(object){if(object instanceof $root.SdkTranscriptEvent)return object;var message=new $root.SdkTranscriptEvent;if(null!=object.status){if("object"!=typeof object.status)throw TypeError(".SdkTranscriptEvent.status: object expected");message.status=$root.SdkTranscriptionStatus.fromObject(object.status)}if(null!=object.transcript){if("object"!=typeof object.transcript)throw TypeError(".SdkTranscriptEvent.transcript: object expected");message.transcript=$root.SdkTranscript.fromObject(object.transcript)}return message},SdkTranscriptEvent.toObject=function toObject(message,options){options||(options={});var object={};return null!=message.status&&message.hasOwnProperty("status")&&(object.status=$root.SdkTranscriptionStatus.toObject(message.status,options),options.oneofs&&(object.Event="status")),null!=message.transcript&&message.hasOwnProperty("transcript")&&(object.transcript=$root.SdkTranscript.toObject(message.transcript,options),options.oneofs&&(object.Event="transcript")),object},SdkTranscriptEvent.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkTranscriptEvent}(),$root.SdkTranscriptFrame=function(){function SdkTranscriptFrame(properties){if(this.events=[],properties)for(var keys=Object.keys(properties),i=0;i>>3==1)message.events&&message.events.length||(message.events=[]),message.events.push($root.SdkTranscriptEvent.decode(reader,reader.uint32()));else reader.skipType(7&tag)}return message},SdkTranscriptFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkTranscriptFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.events&&message.hasOwnProperty("events")){if(!Array.isArray(message.events))return"events: array expected";for(var i=0;i>>3){case 1:message.addedOrUpdatedVideoSubscriptions&&message.addedOrUpdatedVideoSubscriptions.length||(message.addedOrUpdatedVideoSubscriptions=[]),message.addedOrUpdatedVideoSubscriptions.push($root.SdkVideoSubscriptionConfiguration.decode(reader,reader.uint32()));break;case 2:message.removedVideoSubscriptionMids&&message.removedVideoSubscriptionMids.length||(message.removedVideoSubscriptionMids=[]),message.removedVideoSubscriptionMids.push(reader.string());break;default:reader.skipType(7&tag)}}return message},SdkRemoteVideoUpdateFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkRemoteVideoUpdateFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.addedOrUpdatedVideoSubscriptions&&message.hasOwnProperty("addedOrUpdatedVideoSubscriptions")){if(!Array.isArray(message.addedOrUpdatedVideoSubscriptions))return"addedOrUpdatedVideoSubscriptions: array expected";for(var i=0;i>>3){case 1:message.mid=reader.string();break;case 2:message.attendeeId=reader.string();break;case 3:message.streamId=reader.uint32();break;case 4:message.priority=reader.uint32();break;case 5:message.targetBitrateKbps=reader.uint32();break;case 6:message.groupId=reader.uint32();break;default:reader.skipType(7&tag)}}if(!message.hasOwnProperty("mid"))throw $util.ProtocolError("missing required 'mid'",{instance:message});return message},SdkVideoSubscriptionConfiguration.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkVideoSubscriptionConfiguration.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":$util.isString(message.mid)?null!=message.attendeeId&&message.hasOwnProperty("attendeeId")&&!$util.isString(message.attendeeId)?"attendeeId: string expected":null!=message.streamId&&message.hasOwnProperty("streamId")&&!$util.isInteger(message.streamId)?"streamId: integer expected":null!=message.priority&&message.hasOwnProperty("priority")&&!$util.isInteger(message.priority)?"priority: integer expected":null!=message.targetBitrateKbps&&message.hasOwnProperty("targetBitrateKbps")&&!$util.isInteger(message.targetBitrateKbps)?"targetBitrateKbps: integer expected":null!=message.groupId&&message.hasOwnProperty("groupId")&&!$util.isInteger(message.groupId)?"groupId: integer expected":null:"mid: string expected"},SdkVideoSubscriptionConfiguration.fromObject=function fromObject(object){if(object instanceof $root.SdkVideoSubscriptionConfiguration)return object;var message=new $root.SdkVideoSubscriptionConfiguration;return null!=object.mid&&(message.mid=String(object.mid)),null!=object.attendeeId&&(message.attendeeId=String(object.attendeeId)),null!=object.streamId&&(message.streamId=object.streamId>>>0),null!=object.priority&&(message.priority=object.priority>>>0),null!=object.targetBitrateKbps&&(message.targetBitrateKbps=object.targetBitrateKbps>>>0),null!=object.groupId&&(message.groupId=object.groupId>>>0),message},SdkVideoSubscriptionConfiguration.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.mid="",object.attendeeId="",object.streamId=0,object.priority=0,object.targetBitrateKbps=0,object.groupId=0),null!=message.mid&&message.hasOwnProperty("mid")&&(object.mid=message.mid),null!=message.attendeeId&&message.hasOwnProperty("attendeeId")&&(object.attendeeId=message.attendeeId),null!=message.streamId&&message.hasOwnProperty("streamId")&&(object.streamId=message.streamId),null!=message.priority&&message.hasOwnProperty("priority")&&(object.priority=message.priority),null!=message.targetBitrateKbps&&message.hasOwnProperty("targetBitrateKbps")&&(object.targetBitrateKbps=message.targetBitrateKbps),null!=message.groupId&&message.hasOwnProperty("groupId")&&(object.groupId=message.groupId),object},SdkVideoSubscriptionConfiguration.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkVideoSubscriptionConfiguration}(),$root.SdkPrimaryMeetingJoinFrame=function(){function SdkPrimaryMeetingJoinFrame(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3==1)message.credentials=$root.SdkMeetingSessionCredentials.decode(reader,reader.uint32());else reader.skipType(7&tag)}return message},SdkPrimaryMeetingJoinFrame.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkPrimaryMeetingJoinFrame.verify=function verify(message){if("object"!=typeof message||null===message)return"object expected";if(null!=message.credentials&&message.hasOwnProperty("credentials")){var error=$root.SdkMeetingSessionCredentials.verify(message.credentials);if(error)return"credentials."+error}return null},SdkPrimaryMeetingJoinFrame.fromObject=function fromObject(object){if(object instanceof $root.SdkPrimaryMeetingJoinFrame)return object;var message=new $root.SdkPrimaryMeetingJoinFrame;if(null!=object.credentials){if("object"!=typeof object.credentials)throw TypeError(".SdkPrimaryMeetingJoinFrame.credentials: object expected");message.credentials=$root.SdkMeetingSessionCredentials.fromObject(object.credentials)}return message},SdkPrimaryMeetingJoinFrame.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.credentials=null),null!=message.credentials&&message.hasOwnProperty("credentials")&&(object.credentials=$root.SdkMeetingSessionCredentials.toObject(message.credentials,options)),object},SdkPrimaryMeetingJoinFrame.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkPrimaryMeetingJoinFrame}(),$root.SdkPrimaryMeetingJoinAckFrame=function(){function SdkPrimaryMeetingJoinAckFrame(properties){if(properties)for(var keys=Object.keys(properties),i=0;i>>3){case 1:message.attendeeId=reader.string();break;case 2:message.externalUserId=reader.string();break;case 3:message.joinToken=reader.string();break;default:reader.skipType(7&tag)}}return message},SdkMeetingSessionCredentials.decodeDelimited=function decodeDelimited(reader){return reader instanceof $Reader||(reader=new $Reader(reader)),this.decode(reader,reader.uint32())},SdkMeetingSessionCredentials.verify=function verify(message){return"object"!=typeof message||null===message?"object expected":null!=message.attendeeId&&message.hasOwnProperty("attendeeId")&&!$util.isString(message.attendeeId)?"attendeeId: string expected":null!=message.externalUserId&&message.hasOwnProperty("externalUserId")&&!$util.isString(message.externalUserId)?"externalUserId: string expected":null!=message.joinToken&&message.hasOwnProperty("joinToken")&&!$util.isString(message.joinToken)?"joinToken: string expected":null},SdkMeetingSessionCredentials.fromObject=function fromObject(object){if(object instanceof $root.SdkMeetingSessionCredentials)return object;var message=new $root.SdkMeetingSessionCredentials;return null!=object.attendeeId&&(message.attendeeId=String(object.attendeeId)),null!=object.externalUserId&&(message.externalUserId=String(object.externalUserId)),null!=object.joinToken&&(message.joinToken=String(object.joinToken)),message},SdkMeetingSessionCredentials.toObject=function toObject(message,options){options||(options={});var object={};return options.defaults&&(object.attendeeId="",object.externalUserId="",object.joinToken=""),null!=message.attendeeId&&message.hasOwnProperty("attendeeId")&&(object.attendeeId=message.attendeeId),null!=message.externalUserId&&message.hasOwnProperty("externalUserId")&&(object.externalUserId=message.externalUserId),null!=message.joinToken&&message.hasOwnProperty("joinToken")&&(object.joinToken=message.joinToken),object},SdkMeetingSessionCredentials.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},SdkMeetingSessionCredentials}(),$root.SdkVideoCodecCapability=function(){var valuesById={},values=Object.create(valuesById);return values[valuesById[1]="VP8"]=1,values[valuesById[3]="H264_CONSTRAINED_BASELINE_PROFILE"]=3,values}(),module.exports=$root,$util.Long=void 0,$protobuf.configure()},"./node_modules/amazon-chime-sdk-js/build/sigv4/DefaultSigV4.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const sha256_js_1=__webpack_require__("./node_modules/@aws-crypto/sha256-js/build/index.js"),util_hex_encoding_1=__webpack_require__("./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js"),Versioning_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js");exports.default=class DefaultSigV4{constructor(chimeClient){this.chimeClient=chimeClient}makeTwoDigits(n){return n>9?n.toString():"0"+n.toString()}hmac(data,secret){const hash=new sha256_js_1.Sha256(secret);return hash.update(data),hash.digest()}getDateTimeString(){const d=new Date;return d.getUTCFullYear()+this.makeTwoDigits(d.getUTCMonth()+1)+this.makeTwoDigits(d.getUTCDate())+"T"+this.makeTwoDigits(d.getUTCHours())+this.makeTwoDigits(d.getUTCMinutes())+this.makeTwoDigits(d.getUTCSeconds())+"Z"}getDateString(dateTimeString){return dateTimeString.substring(0,dateTimeString.indexOf("T"))}getSignatureKey(key,date,regionName,serviceName){return __awaiter(this,void 0,void 0,(function*(){const kDate=yield this.hmac(date,"AWS4"+key),kRegion=yield this.hmac(regionName,kDate),kService=yield this.hmac(serviceName,kRegion);return yield this.hmac("aws4_request",kService)}))}signURL(method,scheme,serviceName,hostname,path,payload,queryParams){return __awaiter(this,void 0,void 0,(function*(){const now=this.getDateTimeString(),today=this.getDateString(now);let region="";region=this.chimeClient.config.region instanceof Function?yield this.chimeClient.config.region():this.chimeClient.config.region;const canonicalHeaders="host:"+hostname.toLowerCase()+"\n",credentialScope=today+"/"+region+"/"+serviceName+"/aws4_request";let credentials;credentials=this.chimeClient.config.credentials instanceof Function?yield this.chimeClient.config.credentials():this.chimeClient.config.credentials;let params=new Map;params.set("X-Amz-Algorithm",["AWS4-HMAC-SHA256"]),params.set("X-Amz-Credential",[encodeURIComponent(credentials.accessKeyId+"/"+credentialScope)]),params.set("X-Amz-Date",[now]),params.set("X-Amz-Expires",["10"]),params.set("X-Amz-SignedHeaders",["host"]),credentials.sessionToken&¶ms.set("X-Amz-Security-Token",[encodeURIComponent(credentials.sessionToken)]),params.set(Versioning_1.default.X_AMZN_VERSION,[encodeURIComponent(Versioning_1.default.sdkVersion)]),params.set(Versioning_1.default.X_AMZN_USER_AGENT,[encodeURIComponent(Versioning_1.default.sdkUserAgentLowResolution)]),null==queryParams||queryParams.forEach(((values,key)=>{const encodedKey=encodeURIComponent(key);values.sort().forEach((value=>{params.has(encodedKey)||params.set(encodedKey,[]),params.get(encodedKey).push(encodeURIComponent(value))}))}));let canonicalQuerystring="";params=new Map([...params.entries()].sort()),params.forEach(((values,key)=>{values.forEach((value=>{canonicalQuerystring.length&&(canonicalQuerystring+="&"),canonicalQuerystring+=key+"="+value}))}));const canonicalRequest=method+"\n"+path+"\n"+canonicalQuerystring+"\n"+canonicalHeaders+"\nhost\n"+util_hex_encoding_1.toHex(yield this.hmac(payload)),hashedCanonicalRequest=util_hex_encoding_1.toHex(yield this.hmac(canonicalRequest)),stringToSign="AWS4-HMAC-SHA256\n"+now+"\n"+today+"/"+region+"/"+serviceName+"/aws4_request\n"+hashedCanonicalRequest,signingKey=yield this.getSignatureKey(credentials.secretAccessKey,today,region,serviceName),signature=util_hex_encoding_1.toHex(yield this.hmac(stringToSign,signingKey));return scheme+"://"+hostname+path+"?"+(canonicalQuerystring+"&X-Amz-Signature="+signature)}))}}},"./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js":(__unused_webpack_module,exports)=>{"use strict";var SimulcastLayers;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SimulcastLayers=void 0,function(SimulcastLayers){SimulcastLayers[SimulcastLayers.Low=0]="Low",SimulcastLayers[SimulcastLayers.LowAndMedium=1]="LowAndMedium",SimulcastLayers[SimulcastLayers.LowAndHigh=2]="LowAndHigh",SimulcastLayers[SimulcastLayers.Medium=3]="Medium",SimulcastLayers[SimulcastLayers.MediumAndHigh=4]="MediumAndHigh",SimulcastLayers[SimulcastLayers.High=5]="High"}(SimulcastLayers=exports.SimulcastLayers||(exports.SimulcastLayers={})),exports.default=SimulcastLayers},"./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js":(__unused_webpack_module,exports)=>{"use strict";var AudioLogEvent;Object.defineProperty(exports,"__esModule",{value:!0}),exports.AudioLogEvent=void 0,function(AudioLogEvent){AudioLogEvent[AudioLogEvent.DeviceChanged=0]="DeviceChanged",AudioLogEvent[AudioLogEvent.MutedLocal=1]="MutedLocal",AudioLogEvent[AudioLogEvent.UnmutedLocal=2]="UnmutedLocal",AudioLogEvent[AudioLogEvent.Connected=3]="Connected",AudioLogEvent[AudioLogEvent.ConnectFailed=4]="ConnectFailed",AudioLogEvent[AudioLogEvent.RedmicStartLoss=5]="RedmicStartLoss",AudioLogEvent[AudioLogEvent.RedmicEndLoss=6]="RedmicEndLoss"}(AudioLogEvent=exports.AudioLogEvent||(exports.AudioLogEvent={})),exports.default=AudioLogEvent},"./node_modules/amazon-chime-sdk-js/build/statscollector/StatsCollector.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const ClientMetricReport_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js"),ClientMetricReportDirection_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js"),ClientMetricReportMediaType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js"),StreamMetricReport_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js"),MeetingSessionLifecycleEvent_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js"),MeetingSessionLifecycleEventCondition_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js"),IntervalScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js"),SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),Types_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Types.js"),AudioLogEvent_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js"),VideoLogEvent_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js");class StatsCollector{constructor(audioVideoController,logger,interval=StatsCollector.INTERVAL_MS){this.audioVideoController=audioVideoController,this.logger=logger,this.interval=interval,this.intervalScheduler=null,this.metricsAddTime=(_name,_duration,_attributes)=>{},this.metricsLogEvent=(_name,_attributes)=>{}}toAttribute(str){return this.toSuffix(str).substring(1)}toSuffix(str){return str.toLowerCase()===str?`_${str}`:str.toUpperCase()===str?`_${str.toLowerCase()}`:str.replace(/([A-Z][a-z]+)/g,(function($1){return`_${$1}`})).replace(/([A-Z][A-Z]+)/g,(function($1){return`_${$1}`})).toLowerCase()}logLatency(eventName,timeMs,attributes){const event=this.toSuffix(eventName);this.logEventTime("meeting"+event,timeMs,attributes)}logStateTimeout(stateName,attributes){const state=this.toSuffix(stateName);this.logEvent("meeting_session_state_timeout",Object.assign(Object.assign({},attributes),{state:`state${state}`}))}logAudioEvent(eventName,attributes){const event="audio"+this.toSuffix(AudioLogEvent_1.default[eventName]);this.logEvent(event,attributes)}logVideoEvent(eventName,attributes){const event="video"+this.toSuffix(VideoLogEvent_1.default[eventName]);this.logEvent(event,attributes)}logEventTime(eventName,timeMs,attributes={}){const finalAttributes=Object.assign(Object.assign({},attributes),{call_id:this.audioVideoController.configuration.meetingId,client_type:StatsCollector.CLIENT_TYPE,metric_type:"latency"});this.logger.debug((()=>`[StatsCollector] ${eventName}: ${JSON.stringify(finalAttributes)}`)),this.metricsAddTime(eventName,timeMs,finalAttributes)}logMeetingSessionStatus(status){const statusEventName=`${status.statusCode()}`;this.logEvent(statusEventName);const statusAttribute={status:statusEventName,status_code:`${status.statusCode()}`};this.logEvent("meeting_session_status",statusAttribute),status.isTerminal()&&this.logEvent("meeting_session_stopped",statusAttribute),status.isAudioConnectionFailure()&&this.logEvent("meeting_session_audio_failed",statusAttribute),status.isFailure()&&this.logEvent("meeting_session_failed",statusAttribute)}logLifecycleEvent(lifecycleEvent,condition){const attributes={lifecycle_event:`lifecycle${this.toSuffix(MeetingSessionLifecycleEvent_1.default[lifecycleEvent])}`,lifecycle_event_code:`${lifecycleEvent}`,lifecycle_event_condition:`condition${this.toSuffix(MeetingSessionLifecycleEventCondition_1.default[condition])}`,lifecycle_event_condition_code:`${condition}`};this.logEvent("meeting_session_lifecycle",attributes)}logEvent(eventName,attributes={}){const finalAttributes=Object.assign(Object.assign({},attributes),{call_id:this.audioVideoController.configuration.meetingId,client_type:StatsCollector.CLIENT_TYPE});this.logger.debug((()=>`[StatsCollector] ${eventName}: ${JSON.stringify(finalAttributes)}`)),this.metricsLogEvent(eventName,finalAttributes)}start(signalingClient,videoStreamIndex){return!this.intervalScheduler&&(this.logger.info("Starting StatsCollector"),this.signalingClient=signalingClient,this.videoStreamIndex=videoStreamIndex,this.clientMetricReport=new ClientMetricReport_1.default(this.logger,this.videoStreamIndex,this.audioVideoController.configuration.credentials.attendeeId),this.intervalScheduler=new IntervalScheduler_1.default(this.interval),this.intervalScheduler.start((()=>__awaiter(this,void 0,void 0,(function*(){yield this.getStatsWrapper()})))),!0)}stop(){this.logger.info("Stopping StatsCollector"),this.intervalScheduler&&this.intervalScheduler.stop(),this.intervalScheduler=null}updateMetricValues(rawMetricReport,isStream){const metricReport=isStream?this.clientMetricReport.streamMetricReports[Number(rawMetricReport.ssrc)]:this.clientMetricReport.globalMetricReport;let metricMap;metricMap=isStream?this.clientMetricReport.getMetricMap(metricReport.mediaType,metricReport.direction):this.clientMetricReport.getMetricMap();for(const rawMetric in rawMetricReport)rawMetric in metricMap&&("number"==typeof rawMetricReport[rawMetric]?(metricReport.previousMetrics[rawMetric]=metricReport.currentMetrics[rawMetric],metricReport.currentMetrics[rawMetric]=rawMetricReport[rawMetric]):"string"==typeof rawMetricReport[rawMetric]?metricReport.currentStringMetrics[rawMetric]=rawMetricReport[rawMetric]:this.logger.error(`Unknown metric value type ${typeof rawMetricReport[rawMetric]} for metric ${rawMetric}`))}processRawMetricReports(rawMetricReports){this.clientMetricReport.currentSsrcs={};const timeStamp=Date.now();for(const rawMetricReport of rawMetricReports){const isStream=this.isStreamRawMetricReport(rawMetricReport.type);if(isStream){const existingStreamMetricReport=this.clientMetricReport.streamMetricReports[Number(rawMetricReport.ssrc)];if(existingStreamMetricReport)existingStreamMetricReport.streamId=this.videoStreamIndex.streamIdForSSRC(Number(rawMetricReport.ssrc));else{const streamMetricReport=new StreamMetricReport_1.default;streamMetricReport.mediaType=this.getMediaType(rawMetricReport),streamMetricReport.direction=this.getDirectionType(rawMetricReport),this.videoStreamIndex.allStreams().empty()||(streamMetricReport.streamId=this.videoStreamIndex.streamIdForSSRC(Number(rawMetricReport.ssrc))),this.clientMetricReport.streamMetricReports[Number(rawMetricReport.ssrc)]=streamMetricReport}this.clientMetricReport.currentSsrcs[Number(rawMetricReport.ssrc)]=1}this.updateMetricValues(rawMetricReport,isStream)}this.clientMetricReport.removeDestroyedSsrcs(),this.clientMetricReport.previousTimestampMs=this.clientMetricReport.currentTimestampMs,this.clientMetricReport.currentTimestampMs=timeStamp,this.clientMetricReport.print()}addStreamMetricDimensionFrames(streamMetricFrame,streamMetricReport){const streamDimensionMap=this.clientMetricReport.getStreamDimensionMap();for(const metricName in streamMetricReport.currentStringMetrics)if(metricName in streamDimensionMap){const dimensionFrame=SignalingProtocol_js_1.SdkStreamDimension.create();dimensionFrame.type=streamDimensionMap[metricName];const dimensionValue=SignalingProtocol_js_1.SdkDimensionValue.create();dimensionValue.stringValue=streamMetricReport.currentStringMetrics[metricName],dimensionFrame.value=dimensionValue,streamMetricFrame.dimensions.push(dimensionFrame)}}addMetricFrame(metricName,clientMetricFrame,metricSpec,ssrc){const type=metricSpec.type,transform=metricSpec.transform,sourceMetric=metricSpec.source,streamMetricFramesLength=clientMetricFrame.streamMetricFrames.length,latestStreamMetricFrame=clientMetricFrame.streamMetricFrames[streamMetricFramesLength-1];if(type){const metricFrame=SignalingProtocol_js_1.SdkMetric.create();metricFrame.type=type,metricFrame.value=transform(sourceMetric||metricName,ssrc),ssrc?latestStreamMetricFrame.metrics.push(metricFrame):clientMetricFrame.globalMetrics.push(metricFrame)}}addGlobalMetricsToProtobuf(clientMetricFrame){const metricMap=this.clientMetricReport.getMetricMap();for(const metricName in this.clientMetricReport.globalMetricReport.currentMetrics)this.addMetricFrame(metricName,clientMetricFrame,metricMap[metricName])}addStreamMetricsToProtobuf(clientMetricFrame){for(const ssrc in this.clientMetricReport.streamMetricReports){const streamMetricReport=this.clientMetricReport.streamMetricReports[ssrc],streamMetricFrame=SignalingProtocol_js_1.SdkStreamMetricFrame.create();streamMetricFrame.streamId=streamMetricReport.streamId,streamMetricFrame.metrics=[],this.addStreamMetricDimensionFrames(streamMetricFrame,streamMetricReport),clientMetricFrame.streamMetricFrames.push(streamMetricFrame);const metricMap=this.clientMetricReport.getMetricMap(streamMetricReport.mediaType,streamMetricReport.direction);for(const metricName in streamMetricReport.currentMetrics)this.addMetricFrame(metricName,clientMetricFrame,metricMap[metricName],Number(ssrc));for(const metricName in streamMetricReport.currentStringMetrics)this.addMetricFrame(metricName,clientMetricFrame,metricMap[metricName],Number(ssrc))}}makeClientMetricProtobuf(){const clientMetricFrame=SignalingProtocol_js_1.SdkClientMetricFrame.create();return clientMetricFrame.globalMetrics=[],clientMetricFrame.streamMetricFrames=[],this.addGlobalMetricsToProtobuf(clientMetricFrame),this.addStreamMetricsToProtobuf(clientMetricFrame),clientMetricFrame}sendClientMetricProtobuf(clientMetricFrame){this.signalingClient.sendClientMetrics(clientMetricFrame)}isStreamRawMetricReport(type){return["inbound-rtp","outbound-rtp","remote-inbound-rtp","remote-outbound-rtp"].includes(type)}getMediaType(rawMetricReport){return"audio"===rawMetricReport.kind?ClientMetricReportMediaType_1.default.AUDIO:ClientMetricReportMediaType_1.default.VIDEO}getDirectionType(rawMetricReport){const{type}=rawMetricReport;return"inbound-rtp"===type||"remote-outbound-rtp"===type?ClientMetricReportDirection_1.default.DOWNSTREAM:ClientMetricReportDirection_1.default.UPSTREAM}isValidStandardRawMetric(rawMetricReport){return"inbound-rtp"===rawMetricReport.type||"outbound-rtp"===rawMetricReport.type||"remote-inbound-rtp"===rawMetricReport.type||"remote-outbound-rtp"===rawMetricReport.type||"candidate-pair"===rawMetricReport.type&&"succeeded"===rawMetricReport.state}isValidSsrc(rawMetricReport){let validSsrc=!0;return this.isStreamRawMetricReport(rawMetricReport.type)&&this.getDirectionType(rawMetricReport)===ClientMetricReportDirection_1.default.DOWNSTREAM&&this.getMediaType(rawMetricReport)===ClientMetricReportMediaType_1.default.VIDEO&&(validSsrc=this.videoStreamIndex.streamIdForSSRC(Number(rawMetricReport.ssrc))>0),validSsrc}isValidRawMetricReport(rawMetricReport){return this.isValidStandardRawMetric(rawMetricReport)&&this.isValidSsrc(rawMetricReport)}filterRawMetricReports(rawMetricReports){const filteredRawMetricReports=[];for(const rawMetricReport of rawMetricReports)this.isValidRawMetricReport(rawMetricReport)&&filteredRawMetricReports.push(rawMetricReport);return filteredRawMetricReports}handleRawMetricReports(rawMetricReports){const filteredRawMetricReports=this.filterRawMetricReports(rawMetricReports);this.logger.debug((()=>`Filtered raw metrics : ${JSON.stringify(filteredRawMetricReports)}`)),this.processRawMetricReports(filteredRawMetricReports);const clientMetricFrame=this.makeClientMetricProtobuf();this.sendClientMetricProtobuf(clientMetricFrame),this.audioVideoController.forEachObserver((observer=>{Types_1.Maybe.of(observer.metricsDidReceive).map((f=>f.bind(observer)(this.clientMetricReport.clone())))}))}getStatsWrapper(){return __awaiter(this,void 0,void 0,(function*(){if(!this.audioVideoController.rtcPeerConnection)return;const rawMetricReports=[];try{const report=yield this.audioVideoController.rtcPeerConnection.getStats();this.clientMetricReport.rtcStatsReport=report,report.forEach((item=>{rawMetricReports.push(item)})),this.handleRawMetricReports(rawMetricReports)}catch(error){this.logger.error(error.message)}}))}}exports.default=StatsCollector,StatsCollector.INTERVAL_MS=1e3,StatsCollector.CLIENT_TYPE="amazon-chime-sdk-js"},"./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js":(__unused_webpack_module,exports)=>{"use strict";var VideoLogEvent;Object.defineProperty(exports,"__esModule",{value:!0}),exports.VideoLogEvent=void 0,function(VideoLogEvent){VideoLogEvent[VideoLogEvent.InputAttached=0]="InputAttached",VideoLogEvent[VideoLogEvent.SendingFailed=1]="SendingFailed",VideoLogEvent[VideoLogEvent.SendingSuccess=2]="SendingSuccess"}(VideoLogEvent=exports.VideoLogEvent||(exports.VideoLogEvent={})),exports.default=VideoLogEvent},"./node_modules/amazon-chime-sdk-js/build/task/AttachMediaInputTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const VideoLogEvent_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class AttachMediaInputTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="AttachMediaInputTask"}run(){return __awaiter(this,void 0,void 0,(function*(){const transceiverController=this.context.transceiverController;transceiverController.setPeer(this.context.peer),transceiverController.setupLocalTransceivers();const audioInput=this.context.activeAudioInput;if(audioInput){const audioTracks=audioInput.getAudioTracks();this.context.logger.info("attaching audio track to peer connection"),yield transceiverController.setAudioInput(audioTracks.length?audioTracks[0]:null)}else yield transceiverController.setAudioInput(null),this.context.logger.info("no audio track");const videoInput=this.context.activeVideoInput;if(videoInput){const videoTracks=videoInput.getVideoTracks(),videoTrack=videoTracks.length?videoTracks[0]:null;if(this.context.logger.info("attaching video track to peer connection"),yield transceiverController.setVideoInput(videoTrack),this.context.enableSimulcast&&this.context.videoUplinkBandwidthPolicy){const encodingParam=this.context.videoUplinkBandwidthPolicy.chooseEncodingParameters();transceiverController.setEncodingParameters(encodingParam)}videoTrack&&this.context.statsCollector.logVideoEvent(VideoLogEvent_1.default.InputAttached,this.context.videoDeviceInformation)}else yield transceiverController.setVideoInput(null),this.context.logger.info("no video track");this.context.videoSubscriptions=transceiverController.updateVideoTransceivers(this.context.videoStreamIndex,this.context.videosToReceive)}))}}exports.default=AttachMediaInputTask},"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const OnceTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js"),TaskStatus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js");exports.default=class BaseTask{constructor(logger){this.logger=logger,this.taskName="BaseTask",this.parentTask=null,this.status=TaskStatus_1.default.IDLE,this.run=this.baseRun.bind(this,this.run),this.cancel=this.baseCancel.bind(this,this.cancel)}once(...dependencies){return new OnceTask_1.default(this.logger,this,dependencies)}cancel(){}name(){return this.parentTask?`${this.parentTask.name()}/${this.taskName}`:this.taskName}setParent(parentTask){this.parentTask=parentTask}getStatus(){return this.status}logAndThrow(message){throw this.logger.info(message),new Error(message)}baseRun(originalRun){return __awaiter(this,void 0,void 0,(function*(){try{const startTime=Date.now();switch(this.logger.info(`running task ${this.name()}`),this.status){case TaskStatus_1.default.RUNNING:this.logAndThrow(`${this.name()} is already running`);case TaskStatus_1.default.CANCELED:this.logAndThrow(`${this.name()} was canceled before running`);case TaskStatus_1.default.FINISHED:this.logAndThrow(`${this.name()} was already finished`)}this.status=TaskStatus_1.default.RUNNING,yield originalRun.call(this),this.logger.info(`${this.name()} took ${Math.round(Date.now()-startTime)} ms`)}catch(err){throw err}finally{this.status!==TaskStatus_1.default.CANCELED&&(this.status=TaskStatus_1.default.FINISHED)}}))}baseCancel(originalCancel){this.status!==TaskStatus_1.default.CANCELED&&this.status!==TaskStatus_1.default.FINISHED?(this.logger.info(`canceling task ${this.name()}`),this.status=TaskStatus_1.default.CANCELED,originalCancel.call(this)):this.logger.info(`Not canceling ${this.name()}: state is ${this.status}`)}}},"./node_modules/amazon-chime-sdk-js/build/task/CleanRestartedSessionTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class CleanRestartedSessionTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="CleanRestartedSessionTask"}run(){return __awaiter(this,void 0,void 0,(function*(){this.context.resetConnectionSpecificState()}))}}exports.default=CleanRestartedSessionTask},"./node_modules/amazon-chime-sdk-js/build/task/CleanStoppedSessionTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class CleanStoppedSessionTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="CleanStoppedSessionTask",this.taskCanceler=null}cancel(){this.taskCanceler&&(this.taskCanceler.cancel(),this.taskCanceler=null)}run(){return __awaiter(this,void 0,void 0,(function*(){try{this.context.signalingClient.ready()&&(this.context.signalingClient.closeConnection(),yield this.receiveWebSocketClosedEvent())}catch(error){throw error}finally{for(const observer of this.context.removableObservers)observer.removeObserver();this.context.resetConnectionSpecificState(),this.context.statsCollector.stop(),this.context.statsCollector=null,this.context.connectionMonitor.stop(),this.context.connectionMonitor=null,this.context.videoUplinkBandwidthPolicy.setTransceiverController&&this.context.videoUplinkBandwidthPolicy.setTransceiverController(void 0),this.context.videoDownlinkBandwidthPolicy.bindToTileController&&this.context.videoDownlinkBandwidthPolicy.bindToTileController(void 0);const tile=this.context.videoTileController.getLocalVideoTile();tile&&tile.bindVideoStream("",!0,null,null,null,null),this.context.videoTileController.removeAllVideoTiles()}}))}receiveWebSocketClosedEvent(){return new Promise(((resolve,reject)=>{const interceptor=new class Interceptor{constructor(signalingClient){this.signalingClient=signalingClient}cancel(){this.signalingClient.removeObserver(this),reject(new Error("CleanStoppedSessionTask got canceled while waiting for the WebSocket closed event"))}handleSignalingClientEvent(event){event.type===SignalingClientEventType_1.default.WebSocketClosed&&(this.signalingClient.removeObserver(this),resolve())}}(this.context.signalingClient);this.taskCanceler=interceptor,this.context.signalingClient.registerObserver(interceptor)}))}}exports.default=CleanStoppedSessionTask},"./node_modules/amazon-chime-sdk-js/build/task/CreatePeerConnectionTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class CreatePeerConnectionTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="CreatePeerConnectionTask",this.removeTrackAddedEventListener=null,this.removeTrackRemovedEventListeners={},this.trackEvents=["ended","mute","unmute","isolationchange","overconstrained"],this.removeVideoTrackEventListeners={},this.trackAddedHandler=event=>{const track=event.track;if(this.context.logger.info(`received track event: kind=${track.kind} id=${track.id} label=${track.label}`),event.transceiver&&"inactive"===event.transceiver.currentDirection)return;if(0===event.streams.length)return void this.context.logger.warn("Track event but no stream");const stream=event.streams[0];"audio"===track.kind?this.context.audioMixController.bindAudioStream(stream):"video"!==track.kind||this.trackIsVideoInput(track)||this.addRemoteVideoTrack(track,stream)}}removeObserver(){this.removeTrackAddedEventListener&&this.removeTrackAddedEventListener();for(const trackId in this.removeTrackRemovedEventListeners)this.removeTrackRemovedEventListeners[trackId]()}addPeerConnectionEventLogger(){const peer=this.context.peer;peer.addEventListener("connectionstatechange",(()=>{this.context.logger.info(`peer connection state changed: ${peer.connectionState}`)})),peer.addEventListener("negotiationneeded",(()=>{this.context.logger.info("peer connection negotiation is needed")})),peer.addEventListener("icegatheringstatechange",(()=>{this.context.logger.info(`peer connection ice gathering state changed: ${peer.iceGatheringState}`)})),peer.addEventListener("icecandidate",(event=>{this.context.logger.info(`peer connection ice candidate: ${event.candidate?event.candidate.candidate:"(null)"}`)})),peer.addEventListener("iceconnectionstatechange",(()=>{this.context.logger.info(`peer connection ice connection state changed: ${peer.iceConnectionState}`)}))}run(){return __awaiter(this,void 0,void 0,(function*(){this.context.removableObservers.push(this);const configuration=this.context.turnCredentials&&this.context.turnCredentials.uris.length>0?{iceServers:[{urls:this.context.turnCredentials.uris,username:this.context.turnCredentials.username,credential:this.context.turnCredentials.password,credentialType:"password"}],iceTransportPolicy:"relay"}:{};configuration.bundlePolicy=this.context.browserBehavior.requiresBundlePolicy(),configuration.sdpSemantics="unified-plan",this.context.peer?this.context.logger.info("reusing peer connection"):(this.context.logger.info("creating new peer connection"),this.context.peer=new RTCPeerConnection(configuration),this.addPeerConnectionEventLogger()),this.removeTrackAddedEventListener=()=>{this.context.peer&&this.context.peer.removeEventListener("track",this.trackAddedHandler),this.removeTrackAddedEventListener=null},this.context.peer.addEventListener("track",this.trackAddedHandler)}))}trackIsVideoInput(track){return!!this.context.transceiverController.useTransceivers()&&(this.logger.debug((()=>"getting video track type")),this.context.transceiverController.trackIsVideoInput(track))}addRemoteVideoTrack(track,stream){var _a;const trackId=stream.id,attendeeId=this.context.videoStreamIndex.attendeeIdForTrack(trackId);let skipAdding,tile;if(this.context.videoTileController.getVideoTileForAttendeeId?(tile=this.context.videoTileController.getVideoTileForAttendeeId(attendeeId),skipAdding=!!(null===(_a=null==tile?void 0:tile.state())||void 0===_a?void 0:_a.boundVideoStream)):skipAdding=this.context.videoTileController.haveVideoTileForAttendeeId(attendeeId),skipAdding)return void this.context.logger.info(`Not adding remote track. Already have tile for attendeeId: ${attendeeId}`);tile||(tile=this.context.videoTileController.addVideoTile(),this.logger.info(`Created video tile ${tile.id()}`));let width,height,streamId=this.context.videoStreamIndex.streamIdForTrack(trackId);void 0===streamId&&(this.logger.warn(`stream not found for tile=${tile.id()} track=${trackId}`),streamId=null);for(let i=0;i{this.context.logger.info(`received the ${trackEvent} event for tile=${tile.id()} id=${track.id} streamId=${streamId}`),"ended"===trackEvent&&this.removeRemoteVideoTrack(track,tile.state())};videoTrack.addEventListener(trackEvent,callback),this.removeVideoTrackEventListeners[track.id]||(this.removeVideoTrackEventListeners[track.id]=[]),this.removeVideoTrackEventListeners[track.id].push((()=>{videoTrack.removeEventListener(trackEvent,callback)}))}}if(track.getSettings){const cap=track.getSettings();width=cap.width,height=cap.height}else{const cap=track.getCapabilities();width=cap.width,height=cap.height}const externalUserId=this.context.videoStreamIndex.externalUserIdForTrack(trackId);tile.bindVideoStream(attendeeId,!1,stream,width,height,streamId,externalUserId),this.logger.info(`video track added, use tile=${tile.id()} track=${trackId} streamId=${streamId}`);const target=stream,trackRemovedHandler=()=>this.removeRemoteVideoTrack(track,tile.state());this.removeTrackRemovedEventListeners[track.id]=()=>{target.removeEventListener("removetrack",trackRemovedHandler),delete this.removeTrackRemovedEventListeners[track.id]},target.addEventListener("removetrack",trackRemovedHandler)}removeRemoteVideoTrack(track,tileState){if(this.removeTrackRemovedEventListeners.hasOwnProperty(track.id)){this.removeTrackRemovedEventListeners[track.id]();for(const removeVideoTrackEventListener of this.removeVideoTrackEventListeners[track.id])removeVideoTrackEventListener();delete this.removeVideoTrackEventListeners[track.id]}this.logger.info(`video track ended, removing tile=${tileState.tileId} id=${track.id} stream=${tileState.streamId}`),tileState.streamId?this.context.videosPaused.remove(tileState.streamId):this.logger.warn(`no stream found for tile=${tileState.tileId}`),this.context.videoTileController.removeVideoTile(tileState.tileId)}}exports.default=CreatePeerConnectionTask,CreatePeerConnectionTask.REMOVE_HANDLER_INTERVAL_MS=1e4},"./node_modules/amazon-chime-sdk-js/build/task/CreateSDPTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const MeetingSessionStatusCode_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js"),SDP_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class CreateSDPTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="CreateSDPTask"}cancel(){if(this.cancelPromise){const error=new Error(`canceling ${this.name()}`);this.cancelPromise(error),delete this.cancelPromise}}sessionUsesAudio(){var _a,_b;return!!(null===(_b=null===(_a=this.context.meetingSessionConfiguration)||void 0===_a?void 0:_a.urls)||void 0===_b?void 0:_b.audioHostURL)}sessionUsesVideo(){let sending;sending=this.context.transceiverController.useTransceivers()?this.context.transceiverController.hasVideoInput():this.context.videoTileController.hasStartedLocalVideoTile();const receiving=!!this.context.videosToReceive&&!this.context.videosToReceive.empty(),usesVideo=sending||receiving;return this.context.logger.info(`uses video: ${usesVideo} (enabled: true, sending: ${sending}, receiving: ${receiving})`),usesVideo}run(){return __awaiter(this,void 0,void 0,(function*(){const offerOptions={offerToReceiveAudio:this.sessionUsesAudio(),offerToReceiveVideo:this.sessionUsesVideo()};this.logger.info(`peer connection offerOptions: ${JSON.stringify(offerOptions)}`),yield new Promise(((resolve,reject)=>__awaiter(this,void 0,void 0,(function*(){this.cancelPromise=error=>{reject(error)};try{if(this.context.sdpOfferInit=yield this.context.peer.createOffer(offerOptions),this.context.logger.info("peer connection created offer"),this.context.previousSdpOffer&&new SDP_1.default(this.context.sdpOfferInit.sdp).videoSendSectionHasDifferentSSRC(this.context.previousSdpOffer)){const error=new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.IncompatibleSDP}`);return this.context.previousSdpOffer=null,void reject(error)}resolve()}catch(error){reject(error)}finally{delete this.cancelPromise}}))))}))}}exports.default=CreateSDPTask},"./node_modules/amazon-chime-sdk-js/build/task/FinishGatheringICECandidatesTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const MeetingSessionStatusCode_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js"),SDP_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class FinishGatheringICECandidatesTask extends BaseTask_1.default{constructor(context,chromeVpnTimeoutMs=FinishGatheringICECandidatesTask.CHROME_VPN_TIMEOUT_MS){super(context.logger),this.context=context,this.chromeVpnTimeoutMs=chromeVpnTimeoutMs,this.taskName="FinishGatheringICECandidatesTask"}removeEventListener(){this.context.peer&&(this.context.peer.removeEventListener("icecandidate",this.context.iceCandidateHandler),this.context.turnCredentials||this.context.peer.removeEventListener("icegatheringstatechange",this.context.iceGatheringStateEventHandler))}cancel(){let error;if(this.context.browserBehavior.requiresIceCandidateGatheringTimeoutWorkaround()&&this.chromeVpnTimeoutMsthis.chromeVpnTimeoutMs&&(error=new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.ICEGatheringTimeoutWorkaround}`))}this.cancelPromise&&(error=error||new Error(`canceling ${this.name()}`),this.cancelPromise(error),delete this.cancelPromise)}run(){return __awaiter(this,void 0,void 0,(function*(){if(this.context.peer||this.logAndThrow("session does not have peer connection; bypass ice gathering"),this.context.browserBehavior.requiresCheckForSdpConnectionAttributes()){if(new SDP_1.default(this.context.peer.localDescription.sdp).hasCandidatesForAllMLines())return void this.context.logger.info(`ice gathering already complete; bypass gathering, current local description ${this.context.peer.localDescription.sdp}`)}else this.context.logger.info(`iOS device does not require checking for connection attributes in SDP, current local description ${this.context.peer.localDescription.sdp}`);if(!this.context.browserBehavior.hasFirefoxWebRTC()&&"complete"!==this.context.peer.iceGatheringState||!new SDP_1.default(this.context.peer.localDescription.sdp).hasCandidates())try{yield new Promise(((resolve,reject)=>{this.cancelPromise=error=>{this.removeEventListener(),reject(error)},this.context.turnCredentials||(this.context.iceGatheringStateEventHandler=()=>{if("complete"===this.context.peer.iceGatheringState)return this.removeEventListener(),resolve(),void delete this.cancelPromise},this.context.peer.addEventListener("icegatheringstatechange",this.context.iceGatheringStateEventHandler)),this.context.iceCandidateHandler=event=>{if(this.context.logger.info(`ice candidate: ${event.candidate?event.candidate.candidate:"(null)"} state: ${this.context.peer.iceGatheringState}`),event.candidate&&(SDP_1.default.isRTPCandidate(event.candidate.candidate)&&this.context.iceCandidates.push(event.candidate),this.context.turnCredentials&&this.context.iceCandidates.length>=1))return this.context.logger.info("gathered at least one relay candidate"),this.removeEventListener(),resolve(),void delete this.cancelPromise;"complete"===this.context.peer.iceGatheringState&&(this.context.logger.info("done gathering ice candidates"),this.removeEventListener(),new SDP_1.default(this.context.peer.localDescription.sdp).hasCandidates()&&0!==this.context.iceCandidates.length?(resolve(),delete this.cancelPromise):(reject(new Error("no ice candidates were gathered")),delete this.cancelPromise))},this.context.peer.addEventListener("icecandidate",this.context.iceCandidateHandler),this.startTimestampMs=Date.now()}))}catch(error){throw error}finally{this.startTimestampMs&&(this.context.iceGatheringDurationMs=Math.round(Date.now()-this.startTimestampMs))}else this.context.logger.info("ice gathering state is complete and candidates are in SDP; bypass gathering")}))}}exports.default=FinishGatheringICECandidatesTask,FinishGatheringICECandidatesTask.CHROME_VPN_TIMEOUT_MS=5e3},"./node_modules/amazon-chime-sdk-js/build/task/JoinAndReceiveIndexTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const MeetingSessionStatus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js"),MeetingSessionStatusCode_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js"),MeetingSessionTURNCredentials_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js"),ServerSideNetworkAdaption_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js"),SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js"),SignalingClientJoin_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js"),SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class JoinAndReceiveIndexTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="JoinAndReceiveIndexTask",this.taskCanceler=null}cancel(){this.taskCanceler&&(this.taskCanceler.cancel(),this.taskCanceler=null)}run(){return __awaiter(this,void 0,void 0,(function*(){const indexFrame=yield new Promise(((resolve,reject)=>{const context=this.context;context.turnCredentials=null;const interceptor=new class IndexFrameInterceptor{constructor(signalingClient){this.signalingClient=signalingClient}cancel(){this.signalingClient.removeObserver(this),reject(new Error("JoinAndReceiveIndexTask got canceled while waiting for SdkIndexFrame"))}handleSignalingClientEvent(event){if(event.type===SignalingClientEventType_1.default.WebSocketClosed){let message=`The signaling connection was closed with code ${event.closeCode} and reason: ${event.closeReason}`;context.logger.warn(message);let statusCode=MeetingSessionStatusCode_1.default.SignalingBadRequest;return 4410===event.closeCode?(message="The meeting already ended.",context.logger.warn(message),statusCode=MeetingSessionStatusCode_1.default.MeetingEnded):event.closeCode>=4500&&event.closeCode<4600&&(statusCode=MeetingSessionStatusCode_1.default.SignalingInternalServerError),void context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(statusCode),new Error(message))}if(event.type!==SignalingClientEventType_1.default.ReceivedSignalFrame)return;if(event.message.type===SignalingProtocol_js_1.SdkSignalFrame.Type.JOIN_ACK){const joinAckFrame=event.message.joinack;if(joinAckFrame&&joinAckFrame.videoSubscriptionLimit&&(context.videoSubscriptionLimit=joinAckFrame.videoSubscriptionLimit),context.serverSupportsCompression=null==joinAckFrame?void 0:joinAckFrame.wantsCompressedSdp,void 0!==(null==joinAckFrame?void 0:joinAckFrame.defaultServerSideNetworkAdaption)&&joinAckFrame.defaultServerSideNetworkAdaption!==ServerSideNetworkAdaption_1.default.Default&&void 0!==context.videoDownlinkBandwidthPolicy.setServerSideNetworkAdaption){const defaultServerSideNetworkAdaption=joinAckFrame.defaultServerSideNetworkAdaption;context.logger.info(`Overriding server side network adaption value to ${defaultServerSideNetworkAdaption}`),context.videoDownlinkBandwidthPolicy.setServerSideNetworkAdaption(ServerSideNetworkAdaption_1.convertServerSideNetworkAdaptionEnumFromSignaled(defaultServerSideNetworkAdaption))}return void(joinAckFrame&&joinAckFrame.turnCredentials?(context.turnCredentials=new MeetingSessionTURNCredentials_1.default,context.turnCredentials.username=joinAckFrame.turnCredentials.username,context.turnCredentials.password=joinAckFrame.turnCredentials.password,context.turnCredentials.ttl=joinAckFrame.turnCredentials.ttl,context.turnCredentials.uris=joinAckFrame.turnCredentials.uris.map((uri=>context.meetingSessionConfiguration.urls.urlRewriter(uri))).filter((uri=>!!uri))):context.logger.error("missing TURN credentials in JoinAckFrame"))}if(event.message.type!==SignalingProtocol_js_1.SdkSignalFrame.Type.INDEX)return;this.signalingClient.removeObserver(this);const indexFrame=event.message.index;resolve(indexFrame)}}(this.context.signalingClient);this.context.signalingClient.registerObserver(interceptor),this.taskCanceler=interceptor,this.context.previousSdpAnswerAsString="",this.context.previousSdpOffer=null,this.context.serverSupportsCompression=!1;const join=new SignalingClientJoin_1.default(this.context.meetingSessionConfiguration.applicationMetadata);void 0!==this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption&&void 0!==this.context.videoDownlinkBandwidthPolicy.supportedServerSideNetworkAdaptions&&(join.serverSideNetworkAdaption=this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption(),join.supportedServerSideNetworkAdaptions=this.context.videoDownlinkBandwidthPolicy.supportedServerSideNetworkAdaptions()),join.disablePeriodicKeyframeRequestOnContentSender=this.context.meetingSessionConfiguration.disablePeriodicKeyframeRequestOnContentSender,this.context.signalingClient.join(join)}));this.context.logger.info(`received first index ${JSON.stringify(indexFrame)}`),this.context.indexFrame=indexFrame}))}}exports.default=JoinAndReceiveIndexTask},"./node_modules/amazon-chime-sdk-js/build/task/LeaveAndReceiveLeaveAckTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js"),SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class LeaveAndReceiveLeaveAckTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="LeaveAndReceiveLeaveAckTask",this.taskCanceler=null}cancel(){this.taskCanceler&&(this.taskCanceler.cancel(),this.taskCanceler=null)}run(){return __awaiter(this,void 0,void 0,(function*(){this.context.signalingClient.ready()&&(this.context.signalingClient.leave(),this.context.logger.info("sent leave"),yield this.receiveLeaveAck())}))}receiveLeaveAck(){return new Promise(((resolve,reject)=>{const interceptor=new class Interceptor{constructor(signalingClient,logger){this.signalingClient=signalingClient,this.logger=logger}cancel(){this.signalingClient.removeObserver(this),reject(new Error("LeaveAndReceiveLeaveAckTask got canceled while waiting for IndexFrame"))}handleSignalingClientEvent(event){if(event.isConnectionTerminated())return this.signalingClient.removeObserver(this),this.logger.info("LeaveAndReceiveLeaveAckTask connection terminated"),void resolve();event.type===SignalingClientEventType_1.default.ReceivedSignalFrame&&event.message.type===SignalingProtocol_js_1.SdkSignalFrame.Type.LEAVE_ACK&&(this.signalingClient.removeObserver(this),this.logger.info("got leave ack"),resolve())}}(this.context.signalingClient,this.context.logger);this.taskCanceler=interceptor,this.context.signalingClient.registerObserver(interceptor)}))}}exports.default=LeaveAndReceiveLeaveAckTask},"./node_modules/amazon-chime-sdk-js/build/task/ListenForVolumeIndicatorsTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js"),SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class ListenForVolumeIndicatorsTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="ListenForVolumeIndicatorsTask",this.realtimeMuteAndUnmuteHandler=muted=>{this.context.signalingClient.mute(muted)}}run(){return __awaiter(this,void 0,void 0,(function*(){this.context.removableObservers.push(this),this.context.signalingClient.registerObserver(this),this.context.realtimeController.realtimeSubscribeToMuteAndUnmuteLocalAudio(this.realtimeMuteAndUnmuteHandler)}))}removeObserver(){this.context.realtimeController.realtimeUnsubscribeToMuteAndUnmuteLocalAudio(this.realtimeMuteAndUnmuteHandler),this.context.signalingClient.removeObserver(this)}handleSignalingClientEvent(event){if(event.type===SignalingClientEventType_1.default.ReceivedSignalFrame)if(event.message.type===SignalingProtocol_js_1.SdkSignalFrame.Type.AUDIO_STREAM_ID_INFO){const audioStreamIdInfo=event.message.audioStreamIdInfo;this.context.volumeIndicatorAdapter.sendRealtimeUpdatesForAudioStreamIdInfo(audioStreamIdInfo)}else if(event.message.type===SignalingProtocol_js_1.SdkSignalFrame.Type.AUDIO_METADATA){const audioMetadata=event.message.audioMetadata;this.context.volumeIndicatorAdapter.sendRealtimeUpdatesForAudioMetadata(audioMetadata)}}}exports.default=ListenForVolumeIndicatorsTask},"./node_modules/amazon-chime-sdk-js/build/task/MonitorTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const ClientMetricReportDirection_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js"),ClientMetricReportMediaType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js"),ClientVideoStreamReceivingReport_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js"),ReconnectionHealthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js"),SendingAudioFailureConnectionHealthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js"),UnusableAudioWarningConnectionHealthPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.js"),MeetingSessionStatus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js"),MeetingSessionStatusCode_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js"),SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js"),SignalingProtocol_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),AudioLogEvent_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js"),Types_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Types.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class MonitorTask extends BaseTask_1.default{constructor(context,connectionHealthPolicyConfiguration,initialConnectionHealthData){super(context.logger),this.context=context,this.initialConnectionHealthData=initialConnectionHealthData,this.taskName="MonitorTask",this.prevSignalStrength=1,this.currentVideoDownlinkBandwidthEstimationKbps=1e4,this.currentAvailableStreamAvgBitrates=null,this.hasSignalingError=!1,this.presenceHandlerCalled=!1,this.isResubscribeCheckPaused=!1,this.pendingMetricsReport=void 0,this.isMeetingConnected=!1,this.checkAndSendWeakSignalEvent=signalStrength=>{const isCurrentSignalBad=signalStrength<1,isPrevSignalBad=this.prevSignalStrength<1,signalStrengthEventType=isCurrentSignalBad?isPrevSignalBad?null:AudioLogEvent_1.default.RedmicStartLoss:isPrevSignalBad?AudioLogEvent_1.default.RedmicEndLoss:null;signalStrengthEventType&&this.context.statsCollector.logAudioEvent(signalStrengthEventType),this.prevSignalStrength=signalStrength},this.realtimeFatalErrorCallback=error=>{this.logger.error(`realtime error: ${error}: ${error.stack}`),this.context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.RealtimeApiFailed),error)},this.realtimeAttendeeIdPresenceHandler=(presentAttendeeId,present)=>{var _a;const attendeeId=this.context.meetingSessionConfiguration.credentials.attendeeId;this.logger.info(`attendeePresenceReceived: ${attendeeId}`),attendeeId===presentAttendeeId&&present&&!this.presenceHandlerCalled&&(this.presenceHandlerCalled=!0,this.context.attendeePresenceDurationMs=Date.now()-this.context.startAudioVideoTimestamp,null===(_a=this.context.eventController)||void 0===_a||_a.publishEvent("attendeePresenceReceived",{attendeePresenceDurationMs:this.context.attendeePresenceDurationMs}))},this.generateBaseAudioVideoEventAttributes=()=>{const{signalingOpenDurationMs,startTimeMs,iceGatheringDurationMs,attendeePresenceDurationMs,meetingStartDurationMs}=this.context;return{meetingDurationMs:null===startTimeMs?0:Math.round(Date.now()-startTimeMs),signalingOpenDurationMs,iceGatheringDurationMs,attendeePresenceDurationMs,meetingStartDurationMs}},this.generateAudioVideoEventAttributesForReceivingAudioDropped=()=>{const baseAttributes=this.generateBaseAudioVideoEventAttributes();return Object.assign(Object.assign({},baseAttributes),{maxVideoTileCount:this.context.maxVideoTileCount,poorConnectionCount:this.context.poorConnectionCount})},this.reconnectionHealthPolicy=new ReconnectionHealthPolicy_1.default(context.logger,Object.assign({},connectionHealthPolicyConfiguration),this.initialConnectionHealthData.clone()),this.unusableAudioWarningHealthPolicy=new UnusableAudioWarningConnectionHealthPolicy_1.default(Object.assign({},connectionHealthPolicyConfiguration),this.initialConnectionHealthData.clone()),this.sendingAudioFailureHealthPolicy=new SendingAudioFailureConnectionHealthPolicy_1.default(context.logger,Object.assign({},connectionHealthPolicyConfiguration),this.initialConnectionHealthData.clone())}removeObserver(){this.context.audioVideoController.removeObserver(this),this.context.realtimeController.realtimeUnsubscribeToFatalError(this.realtimeFatalErrorCallback),this.context.realtimeController.realtimeUnsubscribeToLocalSignalStrengthChange(this.checkAndSendWeakSignalEvent),this.context.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(this.realtimeAttendeeIdPresenceHandler),this.context.signalingClient.removeObserver(this)}run(){return __awaiter(this,void 0,void 0,(function*(){this.context.removableObservers.push(this),this.context.audioVideoController.addObserver(this),this.context.realtimeController.realtimeSubscribeToFatalError(this.realtimeFatalErrorCallback),this.context.realtimeController.realtimeSubscribeToLocalSignalStrengthChange(this.checkAndSendWeakSignalEvent),this.context.realtimeController.realtimeSubscribeToAttendeeIdPresence(this.realtimeAttendeeIdPresenceHandler),this.context.connectionMonitor.start(),this.context.statsCollector.start(this.context.signalingClient,this.context.videoStreamIndex),this.context.signalingClient.registerObserver(this)}))}pauseResubscribeCheck(){this.isResubscribeCheckPaused=!0}resumeResubscribeCheck(){this.isResubscribeCheckPaused&&(this.isResubscribeCheckPaused=!1,this.pendingMetricsReport&&(this.context.logger.info("Resuming resubscribe check with pending metrics report"),this.checkResubscribe(this.pendingMetricsReport)&&this.context.audioVideoController.update({needsRenegotiation:!1})))}videoTileDidUpdate(_tileState){this.context.maxVideoTileCount=Math.max(this.context.maxVideoTileCount,this.context.videoTileController.getAllVideoTiles().length)}checkResubscribe(clientMetricReport){if(this.isResubscribeCheckPaused)return this.context.logger.info("Resubscribe check is paused, setting incoming client metric report as pending"),void(this.pendingMetricsReport=clientMetricReport);this.pendingMetricsReport=void 0;const metricReport=clientMetricReport.getObservableMetrics();if(!metricReport)return!1;const availableSendBandwidth=metricReport.availableOutgoingBitrate,nackCountPerSecond=metricReport.nackCountReceivedPerSecond;let needResubscribe=!1;this.context.videoDownlinkBandwidthPolicy.updateMetrics(clientMetricReport);const resubscribeForDownlink=this.context.videoDownlinkBandwidthPolicy.wantsResubscribe();if(needResubscribe=needResubscribe||resubscribeForDownlink,resubscribeForDownlink){const videoSubscriptionIdSet=this.context.videoDownlinkBandwidthPolicy.chooseSubscriptions();this.context.videosToReceive=videoSubscriptionIdSet.truncate(this.context.videoSubscriptionLimit),videoSubscriptionIdSet.size()>this.context.videosToReceive.size()&&this.logger.warn(`Video receive limit exceeded. Limiting the videos to ${this.context.videosToReceive.size()}. Please consider using AllHighestVideoBandwidthPolicy or VideoPriorityBasedPolicy along with chooseRemoteVideoSources api to select the video sources to be displayed.`),this.logger.info(`trigger resubscribe for down=${resubscribeForDownlink}; videosToReceive=[${this.context.videosToReceive.array()}]`)}if(this.context.videoTileController.hasStartedLocalVideoTile()){this.context.videoUplinkBandwidthPolicy.updateConnectionMetric({uplinkKbps:availableSendBandwidth/1e3,nackCountPerSecond});const resubscribeForUplink=this.context.videoUplinkBandwidthPolicy.wantsResubscribe();needResubscribe=needResubscribe||resubscribeForUplink,resubscribeForUplink&&(this.logger.info(`trigger resubscribe for up=${resubscribeForUplink}; videosToReceive=[${this.context.videosToReceive.array()}]`),this.context.videoUplinkBandwidthPolicy.chooseEncodingParameters(),this.context.videoUplinkBandwidthPolicy.chooseMediaTrackConstraints())}return needResubscribe}metricsDidReceive(clientMetricReport){const defaultClientMetricReport=clientMetricReport;if(!defaultClientMetricReport)return;if(this.checkResubscribe(clientMetricReport)&&this.context.audioVideoController.update({needsRenegotiation:!1}),!this.currentAvailableStreamAvgBitrates)return;const streamMetricReport=defaultClientMetricReport.streamMetricReports;if(!streamMetricReport)return;const metricReport=clientMetricReport.getObservableMetrics();this.currentVideoDownlinkBandwidthEstimationKbps=metricReport.availableIncomingBitrate;const downlinkVideoStream=new Map,videoReceivingBitrateMap=new Map;for(const ssrc in streamMetricReport)streamMetricReport[ssrc].mediaType===ClientMetricReportMediaType_1.default.VIDEO&&streamMetricReport[ssrc].direction===ClientMetricReportDirection_1.default.DOWNSTREAM&&downlinkVideoStream.set(streamMetricReport[ssrc].streamId,streamMetricReport[ssrc]);let fireCallback=!1;for(const bitrate of this.currentAvailableStreamAvgBitrates.bitrates)if(downlinkVideoStream.has(bitrate.sourceStreamId)){const report=downlinkVideoStream.get(bitrate.sourceStreamId),attendeeId=this.context.videoStreamIndex.attendeeIdForStreamId(bitrate.sourceStreamId);if(!attendeeId)continue;const newReport=new ClientVideoStreamReceivingReport_1.default,prevBytesReceived=report.previousMetrics.bytesReceived,currBytesReceived=report.currentMetrics.bytesReceived;if(!prevBytesReceived||!currBytesReceived)continue;const receivedBitrate=8*(currBytesReceived-prevBytesReceived)/1e3;newReport.expectedAverageBitrateKbps=bitrate.avgBitrateBps/1e3,newReport.receivedAverageBitrateKbps=receivedBitrate,newReport.attendeeId=attendeeId,receivedBitrate{this.context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.ConnectionHealthReconnect),null)})),this.applyHealthPolicy(this.unusableAudioWarningHealthPolicy,connectionHealthData,(()=>{var _a;this.context.poorConnectionCount+=1;const attributes=this.generateAudioVideoEventAttributesForReceivingAudioDropped();null===(_a=this.context.eventController)||void 0===_a||_a.publishEvent("receivingAudioDropped",attributes),this.context.videoTileController.haveVideoTilesWithStreams()?this.context.audioVideoController.forEachObserver((observer=>{Types_1.Maybe.of(observer.connectionDidSuggestStopVideo).map((f=>f.bind(observer)()))})):this.context.audioVideoController.forEachObserver((observer=>{Types_1.Maybe.of(observer.connectionDidBecomePoor).map((f=>f.bind(observer)()))}))}),(()=>{this.context.audioVideoController.forEachObserver((observer=>{Types_1.Maybe.of(observer.connectionDidBecomeGood).map((f=>f.bind(observer)()))}))})),this.isMeetingConnected&&this.applyHealthPolicy(this.sendingAudioFailureHealthPolicy,connectionHealthData,(()=>{var _a;const attributes=this.generateBaseAudioVideoEventAttributes();null===(_a=this.context.eventController)||void 0===_a||_a.publishEvent("sendingAudioFailed",attributes)}),(()=>{var _a;const attributes=this.generateBaseAudioVideoEventAttributes();null===(_a=this.context.eventController)||void 0===_a||_a.publishEvent("sendingAudioRecovered",attributes)}))}audioVideoDidStart(){this.isMeetingConnected=!0}audioVideoDidStartConnecting(reconnecting){this.isMeetingConnected=!1}audioVideoDidStop(sessionStatus){this.isMeetingConnected=!1}applyHealthPolicy(healthPolicy,connectionHealthData,unhealthyCallback,healthyCallback){healthPolicy.update(connectionHealthData);const healthValue=healthPolicy.healthIfChanged();null!==healthValue&&(this.logger.info(`${healthPolicy.name} value is now ${healthValue}`),healthValue<=healthPolicy.minimumHealth()?Types_1.Maybe.of(unhealthyCallback).map((f=>f.bind(this)())):Types_1.Maybe.of(healthyCallback).map((f=>f.bind(this)())))}handleBitrateFrame(bitrates){let requiredBandwidthKbps=0;this.currentAvailableStreamAvgBitrates=bitrates,this.logger.debug((()=>`simulcast: bitrates from server ${JSON.stringify(bitrates)}`));for(const bitrate of bitrates.bitrates)this.context.videosToReceive.contain(bitrate.sourceStreamId)&&(requiredBandwidthKbps+=bitrate.avgBitrateBps);requiredBandwidthKbps/=1e3,this.currentVideoDownlinkBandwidthEstimationKbps*MonitorTask.DEFAULT_DOWNLINK_CALLRATE_OVERSHOOT_FACTOR=4500&&event.closeCode<4600)||event.type===SignalingClientEventType_1.default.WebSocketError||event.type===SignalingClientEventType_1.default.WebSocketFailed){if(!this.hasSignalingError){const attributes=this.generateAudioVideoEventAttributesForReceivingAudioDropped();null===(_a=this.context.eventController)||void 0===_a||_a.publishEvent("signalingDropped",attributes),this.hasSignalingError=!0}}else event.type===SignalingClientEventType_1.default.WebSocketOpen&&(this.hasSignalingError=!1);if(event.type===SignalingClientEventType_1.default.ReceivedSignalFrame){if(event.message.bitrates){const bitrateFrame=event.message.bitrates;this.context.videoStreamIndex.integrateBitratesFrame(bitrateFrame),this.context.videoDownlinkBandwidthPolicy.updateIndex(this.context.videoStreamIndex),this.handleBitrateFrame(event.message.bitrates)}const status=MeetingSessionStatus_1.default.fromSignalFrame(event.message);event.message.type!==SignalingProtocol_1.SdkSignalFrame.Type.PRIMARY_MEETING_JOIN_ACK&&status.statusCode()!==MeetingSessionStatusCode_1.default.OK&&this.context.audioVideoController.handleMeetingSessionStatus(status,null)}}}exports.default=MonitorTask,MonitorTask.DEFAULT_DOWNLINK_CALLRATE_OVERSHOOT_FACTOR=2,MonitorTask.DEFAULT_DOWNLINK_CALLRATE_UNDERSHOOT_FACTOR=.2},"./node_modules/amazon-chime-sdk-js/build/task/NoOpTask.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class NoOpTask{cancel(){}name(){return"NoOpTask"}run(){return Promise.resolve()}setParent(_parentTask){}}},"./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const LogLevel_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js"),AsyncScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js");exports.default=class OnceTask{constructor(logger,task,dependencies){this.logger=logger,this.task=task,this.dependencies=dependencies,this.canceled=!1}name(){return`${this.task.name()} (once)`}cancel(){if(!this.canceled){if(this.dependencies)for(const dep of this.dependencies)dep.cancel();this.logger.info(`Canceling ${this.name()}`),AsyncScheduler_1.default.nextTick((()=>this.task.cancel())),this.canceled=!0,this.cancelPromise&&AsyncScheduler_1.default.nextTick((()=>this.cancelPromise(new Error(`canceling ${this.name()}`))))}}logDependencies(){if(this.logger.getLogLevel()>LogLevel_1.default.INFO)return;if(!this.dependencies)return;const names=this.dependencies.filter((d=>d)).map((d=>d.name())).join(", ");this.logger.info(`${this.task.name()} waiting for dependencies: ${names}`)}run(){if(this.promise)return this.promise;const dependencies=this.dependencies?Promise.all(this.dependencies.map((d=>null==d?void 0:d.run()))):Promise.resolve();return this.logDependencies(),this.ongoing=dependencies.then((()=>this.task.run())),this.promise=new Promise(((resolve,reject)=>{this.cancelPromise=reject,this.ongoing.then(resolve).catch(reject)}))}setParent(parentTask){this.task.setParent(parentTask)}}},"./node_modules/amazon-chime-sdk-js/build/task/OpenSignalingConnectionTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const SignalingClientConnectionRequest_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js"),SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class OpenSignalingConnectionTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="OpenSignalingConnectionTask",this.taskCanceler=null}cancel(){this.taskCanceler&&(this.taskCanceler.cancel(),this.taskCanceler=null)}run(){return __awaiter(this,void 0,void 0,(function*(){const configuration=this.context.meetingSessionConfiguration;this.context.signalingClient.openConnection(new SignalingClientConnectionRequest_1.default(configuration.urls.signalingURL,configuration.credentials.joinToken));const startTimeMs=Date.now();try{yield new Promise(((resolve,reject)=>{const interceptor=new class WebSocketOpenInterceptor{constructor(signalingClient){this.signalingClient=signalingClient}cancel(){this.signalingClient.removeObserver(this),reject(new Error("OpenSignalingConnectionTask got canceled while waiting to open signaling connection"))}handleSignalingClientEvent(event){switch(event.type){case SignalingClientEventType_1.default.WebSocketOpen:this.signalingClient.removeObserver(this),resolve();break;case SignalingClientEventType_1.default.WebSocketFailed:this.signalingClient.removeObserver(this),reject(new Error("WebSocket connection failed"))}}}(this.context.signalingClient);this.context.signalingClient.registerObserver(interceptor),this.taskCanceler=interceptor}))}catch(error){throw error}finally{this.context.signalingOpenDurationMs=Math.round(Date.now()-startTimeMs),this.logger.info(`Opening signaling connection took ${this.context.signalingOpenDurationMs} ms`)}}))}}exports.default=OpenSignalingConnectionTask},"./node_modules/amazon-chime-sdk-js/build/task/ParallelGroupTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class ParallelGroupTask extends BaseTask_1.default{constructor(logger,taskName,tasksToRunParallel){super(logger),this.taskName=taskName,this.tasksToRunParallel=tasksToRunParallel;for(const task of tasksToRunParallel)task.setParent(this)}cancel(){for(const task of this.tasksToRunParallel)this.logger.info(`canceling parallel group task ${this.name()} subtask ${task.name()}`),task.cancel()}run(){return __awaiter(this,void 0,void 0,(function*(){const taskResults=[];for(const task of this.tasksToRunParallel)this.logger.info(`parallel group task ${this.name()} running subtask ${task.name()}`),taskResults.push(task.run());const failures=[];for(let i=0;i0){const failureMessage=failures.join(", ");this.logAndThrow(`parallel group task ${this.name()} failed for tasks: ${failureMessage}`)}this.logger.info(`parallel group task ${this.name()} completed`)}))}}exports.default=ParallelGroupTask},"./node_modules/amazon-chime-sdk-js/build/task/PromoteToPrimaryMeetingTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const __1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/index.js"),SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js"),SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class PromoteToPrimaryMeetingTask extends BaseTask_1.default{constructor(context,credentials,completionCallback){super(context.logger),this.context=context,this.credentials=credentials,this.completionCallback=completionCallback,this.taskName="PromoteToPrimaryMeetingTask",this.taskCanceler=null}cancel(){this.taskCanceler&&(this.taskCanceler.cancel(),this.taskCanceler=null)}run(){return __awaiter(this,void 0,void 0,(function*(){this.context.signalingClient.ready()?(this.context.signalingClient.promoteToPrimaryMeeting(this.credentials),this.context.logger.info("Sent request to join primary meeting"),yield this.receivePrimaryMeetingJoinAck()):this.completionCallback(new __1.MeetingSessionStatus(__1.MeetingSessionStatusCode.SignalingRequestFailed))}))}receivePrimaryMeetingJoinAck(){return new Promise(((resolve,_)=>{const interceptor=new class Interceptor{constructor(signalingClient,completionCallback,logger){this.signalingClient=signalingClient,this.completionCallback=completionCallback,this.logger=logger}cancel(){this.signalingClient.removeObserver(this),this.completionCallback(new __1.MeetingSessionStatus(__1.MeetingSessionStatusCode.SignalingRequestFailed)),resolve()}handleSignalingClientEvent(event){event.isConnectionTerminated()&&(this.signalingClient.removeObserver(this),this.logger.info("PromoteToPrimaryMeetingTask connection terminated"),this.completionCallback(new __1.MeetingSessionStatus(__1.MeetingSessionStatusCode.SignalingRequestFailed)),resolve()),event.type===SignalingClientEventType_1.default.ReceivedSignalFrame&&event.message.type===SignalingProtocol_js_1.SdkSignalFrame.Type.PRIMARY_MEETING_JOIN_ACK&&(this.signalingClient.removeObserver(this),this.logger.info("Got a primary meeting join ACK"),this.completionCallback(__1.MeetingSessionStatus.fromSignalFrame(event.message)),resolve())}}(this.context.signalingClient,this.completionCallback,this.context.logger);this.taskCanceler=interceptor,this.context.signalingClient.registerObserver(interceptor)}))}}exports.default=PromoteToPrimaryMeetingTask},"./node_modules/amazon-chime-sdk-js/build/task/ReceiveAudioInputTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class ReceiveAudioInputTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="ReceiveAudioInputTask"}run(){var _a,_b;return __awaiter(this,void 0,void 0,(function*(){if(!(null===(_b=null===(_a=this.context.meetingSessionConfiguration)||void 0===_a?void 0:_a.urls)||void 0===_b?void 0:_b.audioHostURL))return void this.context.logger.info("No audio connection: not acquiring audio input");if(this.context.activeAudioInput)return void this.context.logger.info("an active audio input exists");let audioInput;try{audioInput=yield this.context.mediaStreamBroker.acquireAudioInputStream()}catch(error){this.context.logger.warn("could not acquire audio input from current device")}audioInput?this.context.activeAudioInput=audioInput:this.context.logger.warn("an audio input is not available")}))}}exports.default=ReceiveAudioInputTask},"./node_modules/amazon-chime-sdk-js/build/task/ReceiveTURNCredentialsTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const MeetingSessionStatusCode_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js"),MeetingSessionTURNCredentials_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js"),DefaultModality_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js"),Versioning_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class ReceiveTURNCredentialsTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="ReceiveTURNCredentialsTask",this.url=context.meetingSessionConfiguration.urls.turnControlURL,this.meetingId=context.meetingSessionConfiguration.meetingId,this.joinToken=context.meetingSessionConfiguration.credentials.joinToken}cancel(){if(this.cancelPromise){const error=new Error(`canceling ${this.name()}`);this.cancelPromise(error),delete this.cancelPromise}}run(){return __awaiter(this,void 0,void 0,(function*(){if(this.context.turnCredentials)return void this.context.logger.info("TURN credentials available, skipping credentials fetch");if(this.context.logger.error("missing TURN credentials - falling back to fetch"),!this.url)return void this.context.logger.info("TURN control url not supplied, skipping credentials fetch");const options={method:"POST",mode:"cors",cache:"no-cache",credentials:"omit",headers:{"Content-Type":"application/json","X-Chime-Auth-Token":"_aws_wt_session="+new DefaultModality_1.default(this.joinToken).base()},redirect:"follow",referrer:"no-referrer",body:JSON.stringify({meetingId:this.meetingId})};this.context.logger.info(`requesting TURN credentials from ${this.url}`);const responseBodyJson=yield new Promise(((resolve,reject)=>__awaiter(this,void 0,void 0,(function*(){this.cancelPromise=error=>{reject(error)};try{const responseBody=yield fetch(Versioning_1.default.urlWithVersion(this.url),options);if(this.context.logger.info("received TURN credentials"),responseBody.status&&403===responseBody.status)return void reject(new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.TURNCredentialsForbidden}`));if(responseBody.status&&404===responseBody.status)return void reject(new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.MeetingEnded}`));resolve(yield responseBody.json())}catch(error){reject(error)}finally{delete this.cancelPromise}}))));this.context.turnCredentials=new MeetingSessionTURNCredentials_1.default,this.context.turnCredentials.password=responseBodyJson.password,this.context.turnCredentials.ttl=responseBodyJson.ttl,this.context.turnCredentials.uris=responseBodyJson.uris.map((uri=>this.context.meetingSessionConfiguration.urls.urlRewriter(uri))).filter((uri=>!!uri)),this.context.turnCredentials.username=responseBodyJson.username}))}}exports.default=ReceiveTURNCredentialsTask},"./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoInputTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultModality_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js"),SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class ReceiveVideoInputTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="ReceiveVideoInputTask"}run(){return __awaiter(this,void 0,void 0,(function*(){const receiveEnabled=this.context.videoDuplexMode===SignalingProtocol_js_1.SdkStreamServiceType.RX||this.context.videoDuplexMode===SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX;if(this.context.videoTileController.hasStartedLocalVideoTile()?this.context.videoDuplexMode=receiveEnabled?SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX:SignalingProtocol_js_1.SdkStreamServiceType.TX:this.context.videoDuplexMode=receiveEnabled?SignalingProtocol_js_1.SdkStreamServiceType.RX:0,this.context.videoCaptureAndEncodeParameter=this.context.videoUplinkBandwidthPolicy.chooseCaptureAndEncodeParameters(),!this.context.videoTileController.hasStartedLocalVideoTile())return this.context.logger.info("has not started local video tile"),void(this.context.activeVideoInput&&(this.context.activeVideoInput=void 0,this.context.videoStreamIndex.integrateUplinkPolicyDecision([])));const localTile=this.context.videoTileController.getLocalVideoTile();let videoInput;try{videoInput=yield this.context.mediaStreamBroker.acquireVideoInputStream()}catch(error){this.context.logger.warn("could not acquire video input from current device"),this.context.videoTileController.stopLocalVideoTile()}if(this.context.enableSimulcast){const encodingParams=this.context.videoUplinkBandwidthPolicy.chooseEncodingParameters();this.context.videoStreamIndex.integrateUplinkPolicyDecision(Array.from(encodingParams.values()))}if(this.context.activeVideoInput=videoInput,videoInput){const videoTracks=videoInput.getVideoTracks();if(!videoTracks||0===videoTracks.length)return;const attendeeId=this.context.meetingSessionConfiguration.credentials.attendeeId,isContentAttendee=new DefaultModality_1.default(attendeeId).hasModality(DefaultModality_1.default.MODALITY_CONTENT),trackSettings=videoTracks[0].getSettings();if(this.context.enableSimulcast&&!isContentAttendee){const constraint=this.context.videoUplinkBandwidthPolicy.chooseMediaTrackConstraints();this.context.logger.info(`simulcast: choose constraint ${JSON.stringify(constraint)}`);try{yield videoTracks[0].applyConstraints(constraint)}catch(error){this.context.logger.info("simulcast: pass video without more constraint")}}const externalUserId=this.context.audioVideoController.configuration.credentials.externalUserId;localTile.bindVideoStream(attendeeId,!0,videoInput,trackSettings.width,trackSettings.height,null,externalUserId);for(let i=0;i{const modality=new DefaultModality_1.default(source.attendeeId);return!(modality.base()===selfAttendeeId&&modality.hasModality(DefaultModality_1.default.MODALITY_CONTENT))}));const{videoStreamIndex,videoDownlinkBandwidthPolicy,videoUplinkBandwidthPolicy}=this.context,oldVideoSources=videoStreamIndex.allVideoSendingSourcesExcludingSelf(selfAttendeeId);videoStreamIndex.integrateIndexFrame(indexFrame),videoDownlinkBandwidthPolicy.updateIndex(videoStreamIndex),videoUplinkBandwidthPolicy.updateIndex(videoStreamIndex),this.resubscribe(videoDownlinkBandwidthPolicy,videoUplinkBandwidthPolicy),this.updateVideoAvailability(indexFrame),this.handleIndexVideosPausedAtSource(),indexFrame.supportedReceiveCodecIntersection.length>0&&this.handleSupportedVideoReceiveCodecIntersection(indexFrame);const newVideoSources=videoStreamIndex.allVideoSendingSourcesExcludingSelf(selfAttendeeId);this.areVideoSourcesEqual(oldVideoSources,newVideoSources)||this.context.audioVideoController.forEachObserver((observer=>{Types_1.Maybe.of(observer.remoteVideoSourcesDidChange).map((f=>f.bind(observer)(newVideoSources)))}))}areVideoSourcesEqual(oldVideoSources,newVideoSources){if(oldVideoSources.length!==newVideoSources.length)return!1;const compare=(videoSourceA,videoSourceB)=>videoSourceA.attendee.attendeeId.localeCompare(videoSourceB.attendee.attendeeId),sortedOldVideoSources=[...oldVideoSources].sort(compare),sortedNewVideoSources=[...newVideoSources].sort(compare);for(let i=0;ithis.context.videosToReceive.size()&&this.logger.warn(`Video receive limit exceeded. Limiting the videos to ${this.context.videosToReceive.size()}. Please consider using AllHighestVideoBandwidthPolicy or VideoPriorityBasedPolicy along with chooseRemoteVideoSources api to select the video sources to be displayed.`),this.context.videoCaptureAndEncodeParameter=videoUplinkBandwidthPolicy.chooseCaptureAndEncodeParameters(),this.logger.info(`trigger resubscribe for up=${resubscribeForUplink} down=${resubscribeForDownlink}; videosToReceive=[${this.context.videosToReceive.array()}] captureParams=${JSON.stringify(this.context.videoCaptureAndEncodeParameter)}`),this.context.audioVideoController.update({needsRenegotiation:!1})}updateVideoAvailability(indexFrame){if(!this.context.videosToReceive)return void this.logger.error("videosToReceive must be set in the meeting context.");const videoAvailability=new MeetingSessionVideoAvailability_1.default;videoAvailability.remoteVideoAvailable=!this.context.videosToReceive.empty(),videoAvailability.canStartLocalVideo=!indexFrame.atCapacity,this.context.lastKnownVideoAvailability&&this.context.lastKnownVideoAvailability.equal(videoAvailability)||(this.context.lastKnownVideoAvailability=videoAvailability.clone(),this.context.audioVideoController.forEachObserver((observer=>{Types_1.Maybe.of(observer.videoAvailabilityDidChange).map((f=>f.bind(observer)(videoAvailability.clone())))})))}handleSupportedVideoReceiveCodecIntersection(index){if(void 0===this.context.videoSendCodecPreferences)return;const newMeetingSupportedVideoSendCodecPreferences=[];let willNeedUpdate=!1;for(const capability of this.context.videoSendCodecPreferences){let codecSupported=!1;for(const signaledCapability of index.supportedReceiveCodecIntersection)if(capability.equals(VideoCodecCapability_1.default.fromSignaled(signaledCapability))){codecSupported=!0,newMeetingSupportedVideoSendCodecPreferences.push(capability);break}void 0!==this.context.currentVideoSendCodec&&!codecSupported&&capability.equals(this.context.currentVideoSendCodec)&&(willNeedUpdate=!0)}newMeetingSupportedVideoSendCodecPreferences.length>0?this.context.meetingSupportedVideoSendCodecPreferences=newMeetingSupportedVideoSendCodecPreferences:(this.logger.warn("Interesection of meeting receive codec support and send codec preferences has no overlap, falling back to just values provided in `setVideoCodecSendPreferences`"),this.context.meetingSupportedVideoSendCodecPreferences=void 0),willNeedUpdate&&this.context.audioVideoController.update({needsRenegotiation:!0})}handleIndexVideosPausedAtSource(){const streamsPausedAtSource=this.context.videoStreamIndex.streamsPausedAtSource();for(const tile of this.context.videoTileController.getAllVideoTiles()){const tileState=tile.state();streamsPausedAtSource.contain(tileState.streamId)?tile.markPoorConnection()&&this.logger.info(`marks the tile ${tileState.tileId} as having a poor connection`):tile.unmarkPoorConnection()&&this.logger.info(`unmarks the tile ${tileState.tileId} as having a poor connection`)}}}exports.default=ReceiveVideoStreamIndexTask},"./node_modules/amazon-chime-sdk-js/build/task/RunnableTask.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class RunnableTask extends BaseTask_1.default{constructor(logger,fn,taskName="RunnableTask"){super(logger),this.fn=fn,this.taskName=taskName}run(){return this.fn().then((()=>{}))}}exports.default=RunnableTask},"./node_modules/amazon-chime-sdk-js/build/task/SendAndReceiveDataMessagesTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DataMessage_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.js"),SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js"),SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class SendAndReceiveDataMessagesTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="SendAndReceiveDataMessagesTask",this.sendDataMessageHandler=(topic,data,lifetimeMs)=>{if(this.context.signalingClient.ready()){let uint8Data;uint8Data=data instanceof Uint8Array?data:"string"==typeof data?(new TextEncoder).encode(data):(new TextEncoder).encode(JSON.stringify(data)),this.validateDataMessage(topic,uint8Data,lifetimeMs);const message=SignalingProtocol_js_1.SdkDataMessagePayload.create();message.topic=topic,message.lifetimeMs=lifetimeMs,message.data=uint8Data;const messageFrame=SignalingProtocol_js_1.SdkDataMessageFrame.create();messageFrame.messages=[message],this.context.signalingClient.sendDataMessage(messageFrame)}else this.context.logger.error("Signaling client is not ready")}}run(){return __awaiter(this,void 0,void 0,(function*(){this.context.removableObservers.push(this),this.context.signalingClient.registerObserver(this),this.context.realtimeController.realtimeSubscribeToSendDataMessage(this.sendDataMessageHandler)}))}removeObserver(){this.context.realtimeController.realtimeUnsubscribeFromSendDataMessage(this.sendDataMessageHandler),this.context.signalingClient.removeObserver(this)}handleSignalingClientEvent(event){if(event.type===SignalingClientEventType_1.default.ReceivedSignalFrame&&event.message.type===SignalingProtocol_js_1.SdkSignalFrame.Type.DATA_MESSAGE)for(const message of event.message.dataMessage.messages){const dataMessage=new DataMessage_1.default(message.ingestTimeNs/1e6,message.topic,message.data,message.senderAttendeeId,message.senderExternalUserId,0===message.ingestTimeNs);this.context.realtimeController.realtimeReceiveDataMessage(dataMessage)}}validateDataMessage(topic,data,lifetimeMs){if(!SendAndReceiveDataMessagesTask.TOPIC_REGEX.test(topic))throw new Error("Invalid topic");if(data.length>SendAndReceiveDataMessagesTask.DATA_SIZE)throw new Error("Data size has to be less than 2048 bytes");if(lifetimeMs&&lifetimeMs<0)throw new Error("The life time of the message has to be non negative")}}exports.default=SendAndReceiveDataMessagesTask,SendAndReceiveDataMessagesTask.TOPIC_REGEX=new RegExp(/^[a-zA-Z0-9_-]{1,36}$/),SendAndReceiveDataMessagesTask.DATA_SIZE=2048},"./node_modules/amazon-chime-sdk-js/build/task/SerialGroupTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js"),TaskStatus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js");class SerialGroupTask extends BaseTask_1.default{constructor(logger,taskName,tasksToRunSerially){super(logger),this.taskName=taskName,this.tasksToRunSerially=tasksToRunSerially,this.currentTask=null;for(const task of tasksToRunSerially)task.setParent(this)}cancel(){this.currentTask&&(this.logger.info(`canceling serial group task ${this.name()} subtask ${this.currentTask.name()}`),this.currentTask.cancel())}run(){return __awaiter(this,void 0,void 0,(function*(){for(const task of this.tasksToRunSerially){this.getStatus()===TaskStatus_1.default.CANCELED&&this.logAndThrow(`serial group task ${this.name()} was canceled`);try{this.logger.info(`serial group task ${this.name()} running subtask ${task.name()}`),this.currentTask=task,yield task.run(),this.logger.info(`serial group task ${this.name()} completed subtask ${task.name()}`)}catch(err){this.logAndThrow(`serial group task ${this.name()} was canceled due to subtask ${this.currentTask.name()} error: ${err.message}`)}finally{this.currentTask=null}}this.logger.info(`serial group task ${this.name()} completed`)}))}}exports.default=SerialGroupTask},"./node_modules/amazon-chime-sdk-js/build/task/SetLocalDescriptionTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),SDP_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class SetLocalDescriptionTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="SetLocalDescriptionTask"}cancel(){if(this.cancelPromise){const error=new Error(`canceling ${this.name()}`);this.cancelPromise(error),delete this.cancelPromise}}run(){return __awaiter(this,void 0,void 0,(function*(){const peer=this.context.peer;let sdp=this.context.sdpOfferInit.sdp;this.context.browserBehavior.supportsVideoLayersAllocationRtpHeaderExtension()&&(sdp=new SDP_1.default(sdp).withVideoLayersAllocationRtpHeaderExtension(this.context.previousSdpOffer).sdp),(new DefaultBrowserBehavior_1.default).requiresDisablingH264Encoding()&&(sdp=new SDP_1.default(sdp).removeH264SupportFromSendSection().sdp),void 0!==this.context.videoSendCodecPreferences&&this.context.videoSendCodecPreferences.length>0&&(sdp=new SDP_1.default(sdp).withVideoSendCodecPreferences(void 0!==this.context.meetingSupportedVideoSendCodecPreferences?this.context.meetingSupportedVideoSendCodecPreferences:this.context.videoSendCodecPreferences).sdp),this.context.audioProfile&&(sdp=new SDP_1.default(sdp).withAudioMaxAverageBitrate(this.context.audioProfile.audioBitrateBps).sdp,this.context.audioProfile.isStereo()&&(sdp=new SDP_1.default(sdp).withStereoAudio().sdp)),this.logger.debug((()=>`local description is >>>${sdp}<<<`));const sdpOffer={type:"offer",sdp,toJSON:null};yield new Promise(((resolve,reject)=>__awaiter(this,void 0,void 0,(function*(){this.cancelPromise=error=>{reject(error)};try{yield peer.setLocalDescription(sdpOffer),resolve()}catch(error){reject(error)}finally{delete this.cancelPromise}})))),this.context.logger.info("set local description")}))}}exports.default=SetLocalDescriptionTask},"./node_modules/amazon-chime-sdk-js/build/task/SetRemoteDescriptionTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const SDP_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class SetRemoteDescriptionTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="SetRemoteDescriptionTask"}cancel(){this.cancelICEPromise&&this.cancelICEPromise()}run(){return __awaiter(this,void 0,void 0,(function*(){this.context.peer||this.logAndThrow("session does not have peer connection; bypass set remote description");let sdp=this.context.sdpAnswer;sdp=new SDP_1.default(sdp).withoutServerReflexiveCandidates().sdp,this.context.audioProfile&&(sdp=new SDP_1.default(sdp).withAudioMaxAverageBitrate(this.context.audioProfile.audioBitrateBps).sdp,this.context.audioProfile.isStereo()&&(sdp=new SDP_1.default(sdp).withStereoAudio().sdp)),void 0!==this.context.videoSendCodecPreferences&&this.context.videoSendCodecPreferences.length>0&&(sdp=new SDP_1.default(sdp).withVideoSendCodecPreferences(void 0!==this.context.meetingSupportedVideoSendCodecPreferences?this.context.meetingSupportedVideoSendCodecPreferences:this.context.videoSendCodecPreferences).sdp,this.context.currentVideoSendCodec=new SDP_1.default(sdp).highestPriorityVideoSendCodec()),this.logger.info(`processed remote description is >>>${sdp}<<<`);const remoteDescription={type:"answer",sdp,toJSON:null};try{yield this.createICEConnectionCompletedPromise(remoteDescription)}catch(err){throw err}}))}createICEConnectionCompletedPromise(remoteDescription){return new Promise(((resolve,reject)=>__awaiter(this,void 0,void 0,(function*(){const checkConnectionCompleted=()=>{"connected"!==this.context.peer.iceConnectionState&&"completed"!==this.context.peer.iceConnectionState||(this.context.peer.removeEventListener("iceconnectionstatechange",checkConnectionCompleted),resolve())};this.cancelICEPromise=()=>{this.context.peer&&this.context.peer.removeEventListener("iceconnectionstatechange",checkConnectionCompleted),reject(new Error(`${this.name()} got canceled while waiting for the ICE connection state`))},this.context.peer.addEventListener("iceconnectionstatechange",checkConnectionCompleted);try{yield this.context.peer.setRemoteDescription(remoteDescription),this.logger.info("set remote description, waiting for ICE connection"),checkConnectionCompleted()}catch(err){reject(err)}}))))}}exports.default=SetRemoteDescriptionTask},"./node_modules/amazon-chime-sdk-js/build/task/SubscribeAndReceiveSubscribeAckTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const MeetingSessionStatus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js"),MeetingSessionStatusCode_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js"),SDP_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js"),ZLIBTextCompressor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js"),ServerSideNetworkAdaption_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js"),SignalingClientEventType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js"),SignalingClientSubscribe_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.js"),SignalingClientVideoSubscriptionConfiguration_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js"),SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class SubscribeAndReceiveSubscribeAckTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="SubscribeAndReceiveSubscribeAckTask",this.taskCanceler=null,this.textCompressor=new ZLIBTextCompressor_1.default(context.logger)}cancel(){this.taskCanceler&&(this.taskCanceler.cancel(),this.taskCanceler=null)}run(){return __awaiter(this,void 0,void 0,(function*(){let localSdp="";if(this.context.peer&&this.context.peer.localDescription&&(localSdp=new SDP_1.default(this.context.peer.localDescription.sdp).withUnifiedPlanFormat().sdp),!this.context.enableSimulcast){let frameRate=0,maxEncodeBitrateKbps=0;this.context.videoCaptureAndEncodeParameter&&(frameRate=this.context.videoCaptureAndEncodeParameter.captureFrameRate(),maxEncodeBitrateKbps=this.context.videoCaptureAndEncodeParameter.encodeBitrates()[0]);const param={rid:"hi",maxBitrate:1e3*maxEncodeBitrateKbps,maxFramerate:frameRate,active:!0};this.context.videoStreamIndex.integrateUplinkPolicyDecision([param])}this.context.videoStreamIndex.subscribeFrameSent();const videoSubscriptions=this.fixUpSubscriptionOrder(localSdp,this.context.videoSubscriptions),isSendingStreams=this.context.videoDuplexMode===SignalingProtocol_js_1.SdkStreamServiceType.TX||this.context.videoDuplexMode===SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX;let compressedSDPOffer;const localSdpOffer=localSdp;if(this.context.serverSupportsCompression){const prevOffer=this.context.previousSdpOffer?this.context.previousSdpOffer.sdp:"";compressedSDPOffer=this.textCompressor.compress(localSdpOffer,prevOffer),this.context.logger.info(`Compressed the SDP message from ${localSdpOffer.length} to ${compressedSDPOffer.length} bytes.`),localSdp=""}this.context.previousSdpOffer=new SDP_1.default(localSdpOffer);const subscribe=new SignalingClientSubscribe_1.default(this.context.meetingSessionConfiguration.credentials.attendeeId,localSdp,this.context.meetingSessionConfiguration.urls.audioHostURL,this.context.realtimeController.realtimeIsLocalAudioMuted(),!1,videoSubscriptions,isSendingStreams,this.context.videoStreamIndex.localStreamDescriptions(),!0,compressedSDPOffer);void 0!==this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption&&this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption()!==ServerSideNetworkAdaption_1.default.None&&void 0!==this.context.videoDownlinkBandwidthPolicy.getVideoPreferences&&(subscribe.videoSubscriptionConfiguration=this.convertVideoPreferencesToVideoSubscriptionConfiguration(videoSubscriptions,this.context.videoDownlinkBandwidthPolicy.getVideoPreferences())),this.context.logger.info(`sending subscribe: ${JSON.stringify(subscribe)}`),this.context.signalingClient.subscribe(subscribe);const subscribeAckFrame=yield this.receiveSubscribeAck();this.context.logger.info(`got subscribe ack: ${JSON.stringify(subscribeAckFrame)}`);let decompressedText="";subscribeAckFrame.compressedSdpAnswer&&subscribeAckFrame.compressedSdpAnswer.length?(decompressedText=this.textCompressor.decompress(subscribeAckFrame.compressedSdpAnswer,this.context.previousSdpAnswerAsString),0===decompressedText.length&&(this.context.sdpAnswer="",this.context.previousSdpAnswerAsString="",this.logAndThrow("Error occurred while trying to decompress the SDP answer.")),this.context.logger.info(`Decompressed the SDP message from ${subscribeAckFrame.compressedSdpAnswer.length} to ${decompressedText.length} bytes.`),this.context.sdpAnswer=decompressedText):this.context.sdpAnswer=subscribeAckFrame.sdpAnswer,this.context.previousSdpAnswerAsString=this.context.sdpAnswer,this.context.videoStreamIndex.integrateSubscribeAckFrame(subscribeAckFrame)}))}fixUpSubscriptionOrder(sdp,videoSubscriptions){if(void 0===this.context.transceiverController.getMidForStreamId)return videoSubscriptions;const midsToStreamIds=new Map;for(const streamId of videoSubscriptions){const mid=this.context.transceiverController.getMidForStreamId(streamId);void 0!==mid?midsToStreamIds.set(mid,streamId):0!==streamId&&this.logger.warn(`Could not find MID for stream ID: ${streamId}`)}const sections=new SDP_1.default(sdp).mediaSections(),newSubscriptions=[];for(const section of sections)if("video"===section.mediaType)if("recvonly"===section.direction){const streamId=midsToStreamIds.get(section.mid);if(void 0===streamId){this.logger.warn(`Could not find stream ID for MID: ${section.mid}`);continue}newSubscriptions.push(streamId)}else newSubscriptions.push(0);return this.logger.info(`Fixed up ${JSON.stringify(videoSubscriptions)} to ${JSON.stringify(newSubscriptions)} (may be same))}`),newSubscriptions}convertVideoPreferencesToVideoSubscriptionConfiguration(receiveStreamIds,preferences){if(void 0===this.context.transceiverController.getMidForStreamId||void 0===preferences)return[];const configurations=new Array,attendeeIdToMid=new Map,attendeeIdToGroupId=new Map;for(const streamId of receiveStreamIds){const mid=this.context.transceiverController.getMidForStreamId(streamId);if(void 0===mid){0!==streamId&&this.context.logger.warn(`Could not find MID for stream ID: ${streamId}`);continue}const attendeeId=this.context.videoStreamIndex.attendeeIdForStreamId(streamId);attendeeIdToMid.set(attendeeId,mid),attendeeIdToGroupId.set(attendeeId,this.context.videoStreamIndex.groupIdForStreamId(streamId))}for(const preference of preferences){const configuration=new SignalingClientVideoSubscriptionConfiguration_1.default,mid=attendeeIdToMid.get(preference.attendeeId);void 0!==mid?(configuration.mid=mid,configuration.attendeeId=preference.attendeeId,configuration.groupId=attendeeIdToGroupId.get(preference.attendeeId),configuration.priority=Number.MAX_SAFE_INTEGER-preference.priority,configuration.targetBitrateKbps=preference.targetSizeToBitrateKbps(preference.targetSize),configurations.push(configuration)):this.context.logger.warn(`Could not find MID for attendee ID: ${preference.attendeeId}`)}return configurations}receiveSubscribeAck(){return new Promise(((resolve,reject)=>{const context=this.context;const interceptor=new class Interceptor{constructor(signalingClient){this.signalingClient=signalingClient}cancel(){this.signalingClient.removeObserver(this),reject(new Error("SubscribeAndReceiveSubscribeAckTask got canceled while waiting for SdkSubscribeAckFrame"))}handleSignalingClientEvent(event){if(event.isConnectionTerminated()){const message=`SubscribeAndReceiveSubscribeAckTask connection was terminated with code ${event.closeCode} and reason: ${event.closeReason}`;context.logger.warn(message);let statusCode=MeetingSessionStatusCode_1.default.TaskFailed;return event.closeCode>=4500&&event.closeCode<4600&&(statusCode=MeetingSessionStatusCode_1.default.SignalingInternalServerError),void context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(statusCode),new Error(message))}if(event.type!==SignalingClientEventType_1.default.ReceivedSignalFrame||event.message.type!==SignalingProtocol_js_1.SdkSignalFrame.Type.SUBSCRIBE_ACK)return;this.signalingClient.removeObserver(this);const subackFrame=event.message.suback;resolve(subackFrame)}}(this.context.signalingClient);this.context.signalingClient.registerObserver(interceptor),this.taskCanceler=interceptor}))}}exports.default=SubscribeAndReceiveSubscribeAckTask},"./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js":(__unused_webpack_module,exports)=>{"use strict";var TaskStatus;Object.defineProperty(exports,"__esModule",{value:!0}),function(TaskStatus){TaskStatus.IDLE="IDLE",TaskStatus.RUNNING="RUNNING",TaskStatus.CANCELED="CANCELED",TaskStatus.FINISHED="FINISHED"}(TaskStatus||(TaskStatus={})),exports.default=TaskStatus},"./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const TimeoutScheduler_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class TimeoutTask extends BaseTask_1.default{constructor(logger,taskToRunBeforeTimeout,timeoutMs){super(logger),this.taskToRunBeforeTimeout=taskToRunBeforeTimeout,this.timeoutMs=timeoutMs,this.taskName=`Timeout${this.timeoutMs}ms`,taskToRunBeforeTimeout.setParent(this)}cancel(){this.logger.info(`canceling timeout task ${this.name()} subtask ${this.taskToRunBeforeTimeout}`),this.taskToRunBeforeTimeout.cancel()}run(){return __awaiter(this,void 0,void 0,(function*(){const timer=new TimeoutScheduler_1.default(this.timeoutMs);timer.start((()=>{this.logger.info(`timeout reached for task ${this.name()}`),this.taskToRunBeforeTimeout.cancel()}));try{yield this.taskToRunBeforeTimeout.run()}finally{timer.stop()}this.logger.info(`timeout task ${this.name()} completed`)}))}}exports.default=TimeoutTask},"./node_modules/amazon-chime-sdk-js/build/task/WaitForAttendeePresenceTask.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const MeetingSessionStatusCode_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js"),BaseTask_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");class WaitForAttendeePresenceTask extends BaseTask_1.default{constructor(context){super(context.logger),this.context=context,this.taskName="WaitForAttendeePresenceTask"}cancel(){if(this.cancelPromise){const error=new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.NoAttendeePresent}`);this.cancelPromise(error),delete this.cancelPromise}}run(){return __awaiter(this,void 0,void 0,(function*(){const attendeeId=this.context.meetingSessionConfiguration.credentials.attendeeId;return new Promise(((resolve,reject)=>{const handler=(presentAttendeeId,present,_externalUserId,_dropped,_pos)=>{attendeeId===presentAttendeeId&&present&&(this.context.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(handler),resolve(),delete this.cancelPromise)};this.cancelPromise=error=>{this.context.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(handler),reject(error)},this.context.realtimeController.realtimeSubscribeToAttendeeIdPresence(handler)}))}))}}exports.default=WaitForAttendeePresenceTask},"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js":function(__unused_webpack_module,exports){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class DefaultTransceiverController{constructor(logger,browserBehavior){this.logger=logger,this.browserBehavior=browserBehavior,this._localCameraTransceiver=null,this._localAudioTransceiver=null,this.videoSubscriptions=[],this.defaultMediaStream=null,this.peer=null,this.streamIdToTransceiver=new Map}setEncodingParameters(encodingParamMap){return __awaiter(this,void 0,void 0,(function*(){if(!this._localCameraTransceiver||"sendrecv"!==this._localCameraTransceiver.direction)return;const sender=this._localCameraTransceiver.sender;if(!encodingParamMap||0===encodingParamMap.size)return;const newEncodingParams=Array.from(encodingParamMap.values()),oldParam=sender.getParameters();if(oldParam.encodings&&0!==oldParam.encodings.length)for(const existing of oldParam.encodings)for(const changed of newEncodingParams){if((existing.rid||changed.rid)&&existing.rid!==changed.rid)continue;let key;for(key in changed)"rid"!==key&&"codecPayloadType"!==key&&changed.hasOwnProperty(key)&&(existing[key]=changed[key])}else oldParam.encodings=newEncodingParams;yield sender.setParameters(oldParam)}))}localAudioTransceiver(){return this._localAudioTransceiver}localVideoTransceiver(){return this._localCameraTransceiver}setVideoSendingBitrateKbps(bitrateKbps){return __awaiter(this,void 0,void 0,(function*(){if(!this._localCameraTransceiver||"sendrecv"!==this._localCameraTransceiver.direction)return;const sender=this._localCameraTransceiver.sender;if(!sender||bitrateKbps<=0)return;const param=sender.getParameters();param.encodings||(param.encodings=[{}]);for(const encodeParam of param.encodings)encodeParam.maxBitrate=1e3*bitrateKbps;yield sender.setParameters(param)}))}setPeer(peer){this.peer=peer}reset(){this._localCameraTransceiver=null,this._localAudioTransceiver=null,this.videoSubscriptions=[],this.defaultMediaStream=null,this.peer=null}useTransceivers(){return!!this.peer&&void 0!==this.peer.getTransceivers}hasVideoInput(){return!(!this._localCameraTransceiver||"sendrecv"!==this._localCameraTransceiver.direction)}trackIsVideoInput(track){return!!this._localCameraTransceiver&&(track===this._localCameraTransceiver.sender.track||track===this._localCameraTransceiver.receiver.track)}setupLocalTransceivers(){this.useTransceivers()&&(this.defaultMediaStream||"undefined"==typeof MediaStream||(this.defaultMediaStream=new MediaStream),this._localAudioTransceiver||(this._localAudioTransceiver=this.peer.addTransceiver("audio",{direction:"inactive",streams:[this.defaultMediaStream]})),this._localCameraTransceiver||(this._localCameraTransceiver=this.peer.addTransceiver("video",{direction:"inactive",streams:[this.defaultMediaStream]})))}replaceAudioTrack(track){return __awaiter(this,void 0,void 0,(function*(){return this._localAudioTransceiver&&"sendrecv"===this._localAudioTransceiver.direction?(yield this._localAudioTransceiver.sender.replaceTrack(track),!0):(this.logger.info("audio transceiver direction is not set up or not activated"),!1)}))}setAudioInput(track){return __awaiter(this,void 0,void 0,(function*(){yield this.setTransceiverInput(this._localAudioTransceiver,track)}))}setVideoInput(track){return __awaiter(this,void 0,void 0,(function*(){yield this.setTransceiverInput(this._localCameraTransceiver,track)}))}updateVideoTransceivers(videoStreamIndex,videosToReceive){if(!this.useTransceivers())return videosToReceive.array();const transceivers=this.peer.getTransceivers();return this.videoSubscriptions=[0],videosToReceive=videosToReceive.clone(),this.updateTransceivers(transceivers,videoStreamIndex,videosToReceive),this.logger.debug((()=>this.debugDumpTransceivers())),this.videoSubscriptions}updateTransceivers(transceivers,videoStreamIndex,videosToReceive){const videosRemaining=videosToReceive.array();0===transceivers.length||transceivers[0].stop?0!==transceivers.length&&this.updateTransceiverWithStop(transceivers,videoStreamIndex,videosRemaining):(this.logger.info("Updating transceivers without `stop` function"),this.updateTransceiverWithoutStop(transceivers,videoStreamIndex,videosRemaining));for(const index of videosRemaining){const transceiver=this.peer.addTransceiver("video",{direction:"recvonly",streams:[new MediaStream]});this.streamIdToTransceiver.set(index,transceiver),this.videoSubscriptions.push(index),this.logger.info(`adding transceiver mid: ${transceiver.mid} subscription: ${index} direction: recvonly`)}}updateTransceiverWithStop(transceivers,videoStreamIndex,videosRemaining){let n=1;this.videoSubscriptions=[0];for(const transceiver of transceivers){if(transceiver===this._localCameraTransceiver||!this.transceiverIsVideo(transceiver)||!transceiver.mid)continue;let reusingTranceiver=!1;const streamId=videoStreamIndex.streamIdForTrack("v_"+transceiver.mid);if("inactive"!==transceiver.direction&&void 0!==streamId)for(const[index,recvStreamId]of videosRemaining.entries())if(videoStreamIndex.StreamIdsInSameGroup(streamId,recvStreamId)){transceiver.direction="recvonly",this.videoSubscriptions[n]=recvStreamId,reusingTranceiver=!0,this.streamIdToTransceiver.delete(streamId),this.streamIdToTransceiver.set(recvStreamId,transceiver),videosRemaining.splice(index,1);break}if(!reusingTranceiver){this.videoSubscriptions[n]=0,this.logger.info(`Stopping MID: ${transceiver.mid}, direction: ${transceiver.direction}, current direction: ${transceiver.currentDirection}`),transceiver.stop();for(const[streamId,previousTransceiver]of this.streamIdToTransceiver.entries())transceiver.mid===previousTransceiver.mid&&this.streamIdToTransceiver.delete(streamId)}n+=1}}updateTransceiverWithoutStop(transceivers,videoStreamIndex,videosRemaining){let n=1;for(const transceiver of transceivers)if(transceiver!==this._localCameraTransceiver&&this.transceiverIsVideo(transceiver)){if(this.videoSubscriptions[n]=0,"inactive"!==transceiver.direction){const streamId=videoStreamIndex.streamIdForTrack("v_"+transceiver.mid);if(void 0!==streamId)for(const[index,recvStreamId]of videosRemaining.entries())if(videoStreamIndex.StreamIdsInSameGroup(streamId,recvStreamId)){transceiver.direction="recvonly",this.videoSubscriptions[n]=recvStreamId,this.streamIdToTransceiver.delete(streamId),this.streamIdToTransceiver.set(recvStreamId,transceiver),videosRemaining.splice(index,1);break}}n+=1}n=1;for(const transceiver of transceivers)if(transceiver!==this._localCameraTransceiver&&this.transceiverIsVideo(transceiver)){if("inactive"===transceiver.direction&&videosRemaining.length>0){transceiver.direction="recvonly";const streamId=videosRemaining.shift();this.videoSubscriptions[n]=streamId,this.streamIdToTransceiver.set(streamId,transceiver)}else if(0===this.videoSubscriptions[n]){transceiver.direction="inactive";for(const[streamId,previousTransceiver]of this.streamIdToTransceiver.entries())transceiver===previousTransceiver&&this.streamIdToTransceiver.delete(streamId)}n+=1}}getMidForStreamId(streamId){var _a;return null===(_a=this.streamIdToTransceiver.get(streamId))||void 0===_a?void 0:_a.mid}setStreamIdForMid(mid,newStreamId){for(const[streamId,transceiver]of this.streamIdToTransceiver.entries())if(transceiver.mid===mid)return this.streamIdToTransceiver.delete(streamId),void this.streamIdToTransceiver.set(newStreamId,transceiver)}transceiverIsVideo(transceiver){return transceiver.receiver&&transceiver.receiver.track&&"video"===transceiver.receiver.track.kind||transceiver.sender&&transceiver.sender.track&&"video"===transceiver.sender.track.kind}debugDumpTransceivers(){let msg="",n=0;for(const transceiver of this.peer.getTransceivers())this.transceiverIsVideo(transceiver)&&(msg+=`transceiver index=${n} mid=${transceiver.mid} subscription=${this.videoSubscriptions[n]} direction=${transceiver.direction}\n`,n+=1);return msg}setTransceiverInput(transceiver,track){return __awaiter(this,void 0,void 0,(function*(){transceiver&&(transceiver.direction=track?"sendrecv":"inactive",yield transceiver.sender.replaceTrack(track))}))}}},"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const SimulcastTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js");class SimulcastContentShareTransceiverController extends SimulcastTransceiverController_1.default{constructor(logger,browserBehavior){super(logger,browserBehavior);let scale=2;this.videoQualityControlParameterMap=new Map;for(let i=0;i{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const DefaultTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js");class VideoOnlyTransceiverController extends DefaultTransceiverController_1.default{constructor(logger,browserBehavior){super(logger,browserBehavior)}setupLocalTransceivers(){this.useTransceivers()&&(this.defaultMediaStream||"undefined"==typeof MediaStream||(this.defaultMediaStream=new MediaStream),this._localCameraTransceiver||(this._localCameraTransceiver=this.peer.addTransceiver("video",{direction:"inactive",streams:[this.defaultMediaStream]})))}}exports.default=VideoOnlyTransceiverController},"./node_modules/amazon-chime-sdk-js/build/transcript/DefaultTranscriptionController.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TRANSCRIPTION_DATA_MESSAGE_TOPIC=void 0;const TranscriptEvent_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEvent.js");exports.TRANSCRIPTION_DATA_MESSAGE_TOPIC="aws:chime:transcription";exports.default=class DefaultTranscriptionController{constructor(realtimeController){this.realtimeController=realtimeController,this.transcriptEventCallbacks=new Set}subscribeToTranscriptEvent(callback){0===this.transcriptEventCallbacks.size&&this.realtimeController.realtimeSubscribeToReceiveDataMessage(exports.TRANSCRIPTION_DATA_MESSAGE_TOPIC,(dataMessage=>{for(const transcriptEvent of TranscriptEvent_1.TranscriptEventConverter.from(dataMessage))for(const transcriptEventCallback of this.transcriptEventCallbacks)transcriptEventCallback(transcriptEvent)})),this.transcriptEventCallbacks.add(callback)}unsubscribeFromTranscriptEvent(callback){this.transcriptEventCallbacks.delete(callback),0===this.transcriptEventCallbacks.size&&this.realtimeController.realtimeUnsubscribeFromReceiveDataMessage(exports.TRANSCRIPTION_DATA_MESSAGE_TOPIC)}}},"./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class Transcript{}},"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptAlternative.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class TranscriptAlternative{}},"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEntity.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class TranscriptEntity{}},"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEvent.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TranscriptEventConverter=void 0;const SignalingProtocol_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),Transcript_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js"),TranscriptionStatus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js"),TranscriptionStatusType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js"),TranscriptItemType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js"),TranscriptionStatusTypes={[SignalingProtocol_1.SdkTranscriptionStatus.Type.STARTED]:TranscriptionStatusType_1.default.STARTED,[SignalingProtocol_1.SdkTranscriptionStatus.Type.INTERRUPTED]:TranscriptionStatusType_1.default.INTERRUPTED,[SignalingProtocol_1.SdkTranscriptionStatus.Type.RESUMED]:TranscriptionStatusType_1.default.RESUMED,[SignalingProtocol_1.SdkTranscriptionStatus.Type.STOPPED]:TranscriptionStatusType_1.default.STOPPED,[SignalingProtocol_1.SdkTranscriptionStatus.Type.FAILED]:TranscriptionStatusType_1.default.FAILED};exports.TranscriptEventConverter=class TranscriptEventConverter{static from(dataMessage){let frame;try{frame=SignalingProtocol_1.SdkTranscriptFrame.decode(dataMessage.data)}catch(e){throw new Error("Cannot decode transcript data message: "+e)}const transcriptEvents=[];for(const sdkTranscriptEvent of frame.events)if(sdkTranscriptEvent.status){const transcriptionStatusType=TranscriptionStatusTypes[sdkTranscriptEvent.status.type];if(!transcriptionStatusType)continue;const transcriptionStatus=new TranscriptionStatus_1.default;transcriptionStatus.type=transcriptionStatusType,transcriptionStatus.eventTimeMs=sdkTranscriptEvent.status.eventTime,transcriptionStatus.transcriptionRegion=sdkTranscriptEvent.status.transcriptionRegion,transcriptionStatus.transcriptionConfiguration=sdkTranscriptEvent.status.transcriptionConfiguration,sdkTranscriptEvent.status.message&&(transcriptionStatus.message=sdkTranscriptEvent.status.message),transcriptEvents.push(transcriptionStatus)}else if(sdkTranscriptEvent.transcript){const transcript=new Transcript_1.default;transcript.results=[];for(const result of sdkTranscriptEvent.transcript.results){const transcriptResult={channelId:result.channelId,isPartial:result.isPartial,resultId:result.resultId,startTimeMs:result.startTime,endTimeMs:result.endTime,alternatives:[]};if(result.languageCode&&(transcriptResult.languageCode=result.languageCode),result.languageIdentification&&result.languageIdentification.length>0){transcriptResult.languageIdentification=[];for(const languageIdentification of result.languageIdentification){const transcriptLanguageWithScore={languageCode:languageIdentification.languageCode,score:languageIdentification.score};transcriptResult.languageIdentification.push(transcriptLanguageWithScore)}}for(const alternative of result.alternatives){const transcriptAlternative={items:[],transcript:alternative.transcript};for(const item of alternative.items){const transcriptItem={content:item.content,attendee:{attendeeId:item.speakerAttendeeId,externalUserId:item.speakerExternalUserId},startTimeMs:item.startTime,endTimeMs:item.endTime,type:null};switch(item.vocabularyFilterMatch&&(transcriptItem.vocabularyFilterMatch=item.vocabularyFilterMatch),item.hasOwnProperty("stable")&&(transcriptItem.stable=item.stable),item.hasOwnProperty("confidence")&&(transcriptItem.confidence=item.confidence),item.type){case SignalingProtocol_1.SdkTranscriptItem.Type.PRONUNCIATION:transcriptItem.type=TranscriptItemType_1.default.PRONUNCIATION;break;case SignalingProtocol_1.SdkTranscriptItem.Type.PUNCTUATION:transcriptItem.type=TranscriptItemType_1.default.PUNCTUATION}transcriptAlternative.items.push(transcriptItem)}for(const entity of alternative.entities){transcriptAlternative.entities||(transcriptAlternative.entities=[]);const transcriptEntity={category:entity.category,confidence:entity.confidence,content:entity.content,startTimeMs:entity.startTime,endTimeMs:entity.endTime};entity.type&&(transcriptEntity.type=entity.type),transcriptAlternative.entities.push(transcriptEntity)}transcriptResult.alternatives.push(transcriptAlternative)}transcript.results.push(transcriptResult)}transcriptEvents.push(transcript)}return transcriptEvents}}},"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItem.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class TranscriptItem{}},"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js":(__unused_webpack_module,exports)=>{"use strict";var TranscriptItemType;Object.defineProperty(exports,"__esModule",{value:!0}),function(TranscriptItemType){TranscriptItemType.PRONUNCIATION="pronunciation",TranscriptItemType.PUNCTUATION="punctuation"}(TranscriptItemType||(TranscriptItemType={})),exports.default=TranscriptItemType},"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptLanguageWithScore.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class TranscriptLanguageWithScore{}},"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptResult.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class TranscriptResult{}},"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class TranscriptionStatus{}},"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js":(__unused_webpack_module,exports)=>{"use strict";var TranscriptionStatusType;Object.defineProperty(exports,"__esModule",{value:!0}),function(TranscriptionStatusType){TranscriptionStatusType.STARTED="started",TranscriptionStatusType.INTERRUPTED="interrupted",TranscriptionStatusType.RESUMED="resumed",TranscriptionStatusType.STOPPED="stopped",TranscriptionStatusType.FAILED="failed"}(TranscriptionStatusType||(TranscriptionStatusType={})),exports.default=TranscriptionStatusType},"./node_modules/amazon-chime-sdk-js/build/useragentparser/DefaultUserAgentParser.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ua_parser_js_1=__webpack_require__("./node_modules/ua-parser-js/src/ua-parser.js"),Versioning_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js");class DefaultUserAgentParser{constructor(logger){var _a,_b,_c,_d,_e,_f,_g;try{this.parserResult=navigator&&navigator.userAgent?new ua_parser_js_1.UAParser(navigator.userAgent).getResult():void 0}catch(error){logger.error(error.message)}this.browserMajorVersion=(null===(_c=null===(_b=null===(_a=this.parserResult)||void 0===_a?void 0:_a.browser)||void 0===_b?void 0:_b.version)||void 0===_c?void 0:_c.split(".")[0])||DefaultUserAgentParser.UNAVAILABLE,this.browserName=(null===(_d=this.parserResult)||void 0===_d?void 0:_d.browser.name)||DefaultUserAgentParser.UNAVAILABLE,this.browserVersion=(null===(_e=this.parserResult)||void 0===_e?void 0:_e.browser.version)||DefaultUserAgentParser.UNAVAILABLE,this.deviceName=[(null===(_f=this.parserResult)||void 0===_f?void 0:_f.device.vendor)||"",(null===(_g=this.parserResult)||void 0===_g?void 0:_g.device.model)||""].join(" ").trim()||DefaultUserAgentParser.UNAVAILABLE}getParserResult(){var _a,_b;return{browserMajorVersion:this.browserMajorVersion,browserName:this.browserName,browserVersion:this.browserVersion,deviceName:this.deviceName,osName:(null===(_a=this.parserResult)||void 0===_a?void 0:_a.os.name)||DefaultUserAgentParser.UNAVAILABLE,osVersion:(null===(_b=this.parserResult)||void 0===_b?void 0:_b.os.version)||DefaultUserAgentParser.UNAVAILABLE,sdkVersion:Versioning_1.default.sdkVersion,sdkName:Versioning_1.default.sdkName}}}exports.default=DefaultUserAgentParser,DefaultUserAgentParser.UNAVAILABLE="Unavailable"},"./node_modules/amazon-chime-sdk-js/build/utils/PromiseQueue.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class PromiseQueue{constructor(){this.queue=Promise.resolve()}add(func){return new Promise(((resolve,reject)=>{this.queue=this.queue.then(func).then(resolve).catch(reject)}))}}},"./node_modules/amazon-chime-sdk-js/build/utils/Types.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.None=exports.Some=exports.Maybe=void 0;class Maybe{static of(value){return null==value?None.of():Some.of(value)}}exports.Maybe=Maybe;class Some{constructor(value){this.value=value,this.isSome=!0,this.isNone=!1}map(f){return Maybe.of(f(this.value))}flatMap(f){return f(this.value)}get(){return this.value}getOrElse(_value){return this.value}defaulting(value){return Maybe.of(this.getOrElse(value))}static of(value){if(null==value)throw new Error("value is ${value}");return new Some(value)}}exports.Some=Some;class None{constructor(){this.isSome=!1,this.isNone=!0}get(){throw new Error("value is null")}getOrElse(value){return value}map(_f){return new None}flatMap(_f){return new None}defaulting(value){return Maybe.of(this.getOrElse(value))}static of(){return new None}}exports.None=None},"./node_modules/amazon-chime-sdk-js/build/utils/Utils.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getFormattedOffset=exports.getDefaultAssetSpec=exports.toLowerCasePropertyNames=exports.isIFramed=exports.wait=void 0;const Versioning_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js");exports.wait=function wait(waitTimeMs){return new Promise((resolve=>setTimeout(resolve,waitTimeMs)))},exports.isIFramed=function isIFramed(){var _a;try{return"IFRAME"===(null===(_a=window.frameElement)||void 0===_a?void 0:_a.nodeName)||parent!==top}catch(e){return!0}},exports.toLowerCasePropertyNames=function toLowerCasePropertyNames(input){return null===input?null:"object"!=typeof input?input:Array.isArray(input)?input.map(toLowerCasePropertyNames):Object.keys(input).reduce(((result,key)=>{const value=input[key],newValue="object"==typeof value?toLowerCasePropertyNames(value):value;return result[key.toLowerCase()]=newValue,result}),{})},exports.getDefaultAssetSpec=function getDefaultAssetSpec(){const version=Versioning_1.default.sdkVersionSemVer;return{assetGroup:`sdk-${version.major}.${version.minor}`}},exports.getFormattedOffset=function getFormattedOffset(utcOffset){const offset=Math.abs(utcOffset);return`${utcOffset<=0?"+":"-"}${Math.floor(offset/60).toString().padStart(2,"0")}:${Math.floor(offset%60).toString().padStart(2,"0")}`}},"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),version_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/version.js");class Versioning{static get sdkName(){return"amazon-chime-sdk-js"}static get sdkVersion(){return version_1.default.semverString}static get sdkVersionSemVer(){var _a,_b,_c,_d;const v=version_1.default.semverString.match(/^(?[0-9]+)\.(?[0-9]+)((?:\.(?[0-9]+))(?:-(?[a-zA-Z]+(\.[0-9])*))?)?/);return{major:null===(_a=null==v?void 0:v.groups)||void 0===_a?void 0:_a.major,minor:null===(_b=null==v?void 0:v.groups)||void 0===_b?void 0:_b.minor,patch:null===(_c=null==v?void 0:v.groups)||void 0===_c?void 0:_c.patch,preRelease:null===(_d=null==v?void 0:v.groups)||void 0===_d?void 0:_d.preRelease}}static get buildSHA(){return version_1.default.hash.substr(1)}static get sdkUserAgentLowResolution(){const browserBehavior=new DefaultBrowserBehavior_1.default;return`${browserBehavior.name()}-${browserBehavior.majorVersion()}`}static urlWithVersion(url){const urlWithVersion=new URL(url);return urlWithVersion.searchParams.append(Versioning.X_AMZN_VERSION,Versioning.sdkVersion),urlWithVersion.searchParams.append(Versioning.X_AMZN_USER_AGENT,Versioning.sdkUserAgentLowResolution),urlWithVersion.toString()}}exports.default=Versioning,Versioning.X_AMZN_VERSION="X-Amzn-Version",Versioning.X_AMZN_USER_AGENT="X-Amzn-User-Agent"},"./node_modules/amazon-chime-sdk-js/build/versioning/version.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={hash:"bd71fb9",raw:"v3.14.1",semverString:"3.14.1"}},"./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class DefaultVideoCaptureAndEncodeParameter{constructor(cameraWidth,cameraHeight,cameraFrameRate,maxEncodeBitrateKbps,isSimulcast,scaleResolutionDownBy=1){this.cameraWidth=cameraWidth,this.cameraHeight=cameraHeight,this.cameraFrameRate=cameraFrameRate,this.maxEncodeBitrateKbps=maxEncodeBitrateKbps,this.isSimulcast=isSimulcast,this.scaleResolutionDownBy=scaleResolutionDownBy}equal(other){let checkForEqual=other.captureWidth()===this.cameraWidth&&other.captureHeight()===this.cameraHeight&&other.captureFrameRate()===this.cameraFrameRate&&other.encodeBitrates().length===this.encodeBitrates().length&&other.encodeScaleResolutionDownBy().length===this.encodeScaleResolutionDownBy().length&&other.encodeWidths().length===this.encodeWidths().length&&other.encodeHeights().length===this.encodeHeights().length;if(checkForEqual)for(let i=0;i{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const DefaultVideoStreamIdSet_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js");exports.default=class AllHighestVideoBandwidthPolicy{constructor(selfAttendeeId){this.selfAttendeeId=selfAttendeeId,this.reset()}reset(){this.optimalReceiveSet=new DefaultVideoStreamIdSet_1.default,this.subscribedReceiveSet=new DefaultVideoStreamIdSet_1.default,this.videoSources=void 0}updateIndex(videoIndex){this.videoIndex=videoIndex,this.optimalReceiveSet=this.calculateOptimalReceiveSet(videoIndex)}updateMetrics(_clientMetricReport){}wantsResubscribe(){return!this.subscribedReceiveSet.equal(this.optimalReceiveSet)}chooseSubscriptions(){return this.subscribedReceiveSet=this.optimalReceiveSet.clone(),this.subscribedReceiveSet.clone()}chooseRemoteVideoSources(videoSources){this.videoSources=videoSources,this.optimalReceiveSet=this.calculateOptimalReceiveSet(this.videoIndex).clone()}calculateOptimalReceiveSet(videoIndex){const streamSelectionSet=new DefaultVideoStreamIdSet_1.default;if(!this.videoIndex||this.videoIndex.allStreams().empty())return streamSelectionSet;const receiveSet=videoIndex.highestQualityStreamFromEachGroupExcludingSelf(this.selfAttendeeId);if(void 0===this.videoSources)return receiveSet;const remoteInfos=this.videoIndex.remoteStreamDescriptions(),mapOfAttendeeIdToOptimalStreamId=new Map;for(const info of remoteInfos)receiveSet.contain(info.streamId)&&mapOfAttendeeIdToOptimalStreamId.set(info.attendeeId,info.streamId);for(const videoSource of this.videoSources){const attendeeId=videoSource.attendee.attendeeId;mapOfAttendeeIdToOptimalStreamId.has(attendeeId)&&streamSelectionSet.add(mapOfAttendeeIdToOptimalStreamId.get(attendeeId))}return streamSelectionSet}}},"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/NoVideoDownlinkBandwidthPolicy.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const DefaultVideoStreamIdSet_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js");exports.default=class NoVideoDownlinkBandwidthPolicy{reset(){}updateIndex(_videoIndex){}updateMetrics(_clientMetricReport){}wantsResubscribe(){return!1}chooseSubscriptions(){return new DefaultVideoStreamIdSet_1.default}}},"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js":(__unused_webpack_module,exports)=>{"use strict";var TargetDisplaySize;Object.defineProperty(exports,"__esModule",{value:!0}),exports.TargetDisplaySize=void 0,function(TargetDisplaySize){TargetDisplaySize[TargetDisplaySize.Low=0]="Low",TargetDisplaySize[TargetDisplaySize.Medium=1]="Medium",TargetDisplaySize[TargetDisplaySize.High=2]="High"}(TargetDisplaySize=exports.TargetDisplaySize||(exports.TargetDisplaySize={})),exports.default=TargetDisplaySize},"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ContentShareConstants_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js"),VideoPreference_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js"),VideoPreferences_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js"),VideoPriorityBasedPolicy_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js");class VideoAdaptiveProbePolicy extends VideoPriorityBasedPolicy_1.default{constructor(logger){super(logger),this.logger=logger,super.shouldPauseTiles=!1,this.videoPreferences=void 0}reset(){super.reset(),super.shouldPauseTiles=!1,this.videoPreferences=void 0}updateIndex(videoIndex){super.updateIndex(videoIndex);const newPreferences=VideoPreferences_1.VideoPreferences.prepare();let containsContent=!1;const remoteInfos=videoIndex.remoteStreamDescriptions();for(const info of remoteInfos)newPreferences.some((preference=>preference.attendeeId===info.attendeeId))||(info.attendeeId.endsWith(ContentShareConstants_1.default.Modality)?(newPreferences.add(new VideoPreference_1.default(info.attendeeId,1)),containsContent=!0):newPreferences.add(new VideoPreference_1.default(info.attendeeId,2)));containsContent?(this.videoPreferences=newPreferences.build(),this.videoPreferencesUpdated=!0):this.videoPreferences=void 0}chooseRemoteVideoSources(_preferences){this.logger.error("chooseRemoteVideoSources should not be called by VideoAdaptiveProbePolicy")}}exports.default=VideoAdaptiveProbePolicy},"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const TargetDisplaySize_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js");class VideoPreference{constructor(attendeeId,priority,targetSize){this.attendeeId=attendeeId,this.priority=priority,this.targetSize=void 0!==targetSize?targetSize:TargetDisplaySize_1.default.High}partialCompare(other){return this.priority-other.priority}equals(other){return this.attendeeId===other.attendeeId&&this.targetSize===other.targetSize&&this.priority===other.priority}clone(){return new VideoPreference(this.attendeeId,this.priority,this.targetSize)}targetSizeToBitrateKbps(targetSize){switch(targetSize){case TargetDisplaySize_1.default.High:return VideoPreference.HIGH_BITRATE_KBPS;case TargetDisplaySize_1.default.Medium:return VideoPreference.MID_BITRATE_KBPS;case TargetDisplaySize_1.default.Low:return VideoPreference.LOW_BITRATE_KBPS}}}exports.default=VideoPreference,VideoPreference.LOW_BITRATE_KBPS=300,VideoPreference.MID_BITRATE_KBPS=600,VideoPreference.HIGH_BITRATE_KBPS=1200},"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VideoPreferences=exports.MutableVideoPreferences=void 0;class ObjectSet{constructor(items=[]){this.items=items}static default(){return new ObjectSet([])}[Symbol.iterator](){let i=0;const items=this.items;return{next:()=>i!a.equals(item)))}clear(){this.items=[]}isEmpty(){return 0===this.items.length}equals(other){if(other===this)return!0;if(other.items.length!==this.items.length)return!1;for(const item of this.items)if(!other.items.some((a=>a.equals(item))))return!1;return!0}has(item){return this.items.some((a=>a.equals(item)))}some(f){return this.items.some(f)}clone(){return new ObjectSet([...this.items])}sort(){this.items.sort(((a,b)=>a.partialCompare(b)))}modify(){return new SetBuilder(this)}}class SetBuilder{constructor(items=new ObjectSet){this.items=items,this.copied=!1}cow(){this.copied||(this.items=this.items.clone(),this.copied=!0)}add(item){this.items.has(item)||(this.cow(),this.items.add(item))}replaceFirst(newItem,f){this.items.has(newItem)&&!this.items.some(f)||(this.cow(),this.items.replaceFirst(newItem,f))}remove(item){this.items.has(item)&&(this.cow(),this.items.remove(item))}some(f){return this.items.some(f)}clear(){this.items.isEmpty()||(this.cow(),this.items.clear())}build(){return this.copied&&this.items.sort(),this.copied=!1,this.items}}class MutableVideoPreferences{constructor(builder){this.builder=builder}add(pref){this.builder.add(pref)}replaceFirst(newPref,f){this.builder.replaceFirst(newPref,f)}remove(pref){this.builder.remove(pref)}some(f){return this.builder.some(f)}clear(){this.builder.clear()}build(){return new VideoPreferences(this.builder.build())}}exports.MutableVideoPreferences=MutableVideoPreferences;class VideoPreferences{constructor(items){this.items=items}static prepare(){return new MutableVideoPreferences(new SetBuilder)}static default(){return new VideoPreferences(ObjectSet.default())}[Symbol.iterator](){return this.items[Symbol.iterator]()}highestPriority(){var _a;return null===(_a=this.items.first())||void 0===_a?void 0:_a.priority}sorted(){return this.items[Symbol.iterator]()}equals(other){return other===this||this.items.equals(other.items)}modify(){return new MutableVideoPreferences(this.items.modify())}some(f){return this.items.some(f)}isEmpty(){return this.items.isEmpty()}clone(){const videoPreferences=VideoPreferences.prepare();for(const preference of this.items)videoPreferences.add(preference.clone());return videoPreferences.build()}}exports.VideoPreferences=VideoPreferences,exports.default=VideoPreferences},"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ClientMetricReportDirection_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js"),ClientMetricReportMediaType_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js"),ContentShareConstants_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js"),LogLevel_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js"),ServerSideNetworkAdaption_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js"),DefaultVideoStreamIdSet_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js"),TargetDisplaySize_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js"),VideoPreference_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js"),VideoPreferences_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js"),VideoPriorityBasedPolicyConfig_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js");class LinkMediaStats{constructor(){this.bandwidthEstimateKbps=0,this.usedBandwidthKbps=0,this.packetsLost=0,this.nackCount=0,this.rttMs=0}}class VideoPriorityBasedPolicy{constructor(logger,videoPriorityBasedPolicyConfig=VideoPriorityBasedPolicyConfig_1.default.Default){this.logger=logger,this.videoPriorityBasedPolicyConfig=videoPriorityBasedPolicyConfig,this.shouldPauseTiles=!0,this.observerQueue=new Set,this.pausedBwAttendeeIds=new Set,this.reset()}reset(){this.optimalReceiveSet=new DefaultVideoStreamIdSet_1.default,this.optimalReceiveStreams=[],this.optimalNonPausedReceiveStreams=[],this.subscribedReceiveSet=new DefaultVideoStreamIdSet_1.default,this.subscribedReceiveStreams=[],this.videoPreferences=void 0,this.defaultVideoPreferences=void 0,this.shouldPauseTiles=!0,this.pausedStreamIds=new DefaultVideoStreamIdSet_1.default,this.pausedBwAttendeeIds=new Set,this.videoPreferencesUpdated=!1,this.logCount=0,this.startupPeriod=!0,this.usingPrevTargetRate=!1,this.rateProbeState="Not Probing",this.firstEstimateTimestamp=0,this.lastUpgradeRateKbps=0,this.timeBeforeAllowSubscribeMs=VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS,this.lastProbeTimestamp=Date.now(),this.timeBeforeAllowProbeMs=VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS,this.downlinkStats=new LinkMediaStats,this.prevDownlinkStats=new LinkMediaStats,this.probeFailed=!1,this.serverSideNetworkAdaption=this.videoPriorityBasedPolicyConfig.serverSideNetworkAdaption}bindToTileController(tileController){this.tileController=tileController,this.logger.info("tileController bound")}chooseRemoteVideoSources(preferences){var _a;(null===(_a=this.videoPreferences)||void 0===_a?void 0:_a.equals(preferences))||(this.videoPreferences=null==preferences?void 0:preferences.clone(),this.videoPreferencesUpdated=!0,this.logger.info(`bwe: setVideoPreferences bwe: new preferences: ${JSON.stringify(preferences)}`))}updateIndex(videoIndex){this.videoIndex=videoIndex,this.videoPreferences||this.updateDefaultVideoPreferences()}updateDefaultVideoPreferences(){const attendeeIds=new Set;for(const stream of this.videoIndex.remoteStreamDescriptions())attendeeIds.add(stream.attendeeId);const prefs=VideoPreferences_1.VideoPreferences.prepare(),numAttendees=attendeeIds.size;let targetDisplaySize=TargetDisplaySize_1.default.High;numAttendees>8?targetDisplaySize=TargetDisplaySize_1.default.Low:numAttendees>4&&(targetDisplaySize=TargetDisplaySize_1.default.Medium);for(const attendeeId of attendeeIds)prefs.add(new VideoPreference_1.default(attendeeId,1,targetDisplaySize));this.defaultVideoPreferences=prefs.build()}updateMetrics(clientMetricReport){if(!this.videoIndex||this.videoIndex.allStreams().empty())return;this.prevDownlinkStats=this.downlinkStats,this.downlinkStats=new LinkMediaStats;const metricReport=clientMetricReport.getObservableMetrics();this.downlinkStats.bandwidthEstimateKbps=metricReport.availableIncomingBitrate/1e3;for(const ssrcStr in clientMetricReport.streamMetricReports){const ssrc=Number.parseInt(ssrcStr,10),metrics=clientMetricReport.streamMetricReports[ssrc];metrics.direction===ClientMetricReportDirection_1.default.DOWNSTREAM&&metrics.mediaType===ClientMetricReportMediaType_1.default.VIDEO&&(metrics.currentMetrics.hasOwnProperty("nackCount")&&(this.downlinkStats.nackCount+=clientMetricReport.countPerSecond("nackCount",ssrc)),metrics.currentMetrics.hasOwnProperty("packetsLost")&&(this.downlinkStats.packetsLost+=clientMetricReport.countPerSecond("packetsLost",ssrc)),metrics.currentMetrics.hasOwnProperty("bytesReceived")&&(this.downlinkStats.usedBandwidthKbps+=clientMetricReport.bitsPerSecond("bytesReceived",ssrc)/1e3))}}wantsResubscribe(){return this.calculateOptimalReceiveSet(),!this.subscribedReceiveSet.equal(this.optimalReceiveSet)}chooseSubscriptions(){return this.subscribedReceiveSet.equal(this.optimalReceiveSet)||(this.lastSubscribeTimestamp=Date.now()),this.subscribedReceiveSet=this.optimalReceiveSet.clone(),this.subscribedReceiveStreams=this.optimalReceiveStreams.slice(),this.subscribedReceiveSet.clone()}addObserver(observer){this.observerQueue.add(observer)}removeObserver(observer){this.observerQueue.delete(observer)}forEachObserver(observerFunc){for(const observer of this.observerQueue)observerFunc(observer)}setVideoPriorityBasedPolicyConfigs(config){this.videoPriorityBasedPolicyConfig=config}calculateOptimalReceiveStreams(){var _a;const chosenStreams=[],remoteInfos=this.videoIndex.remoteStreamDescriptions();if(0===remoteInfos.length||(null===(_a=this.videoPreferences)||void 0===_a?void 0:_a.isEmpty()))return void(this.optimalReceiveStreams=[]);const lastProbeState=this.rateProbeState;this.cleanBwPausedTiles(remoteInfos),this.handleAppPausedStreams(chosenStreams,remoteInfos);const sameStreamChoices=this.availStreamsSameAsLast(remoteInfos),noMajorChange=!this.startupPeriod&&sameStreamChoices;if(noMajorChange&&Date.now()-this.lastSubscribeTimestampa.maxBitrateKbps===b.maxBitrateKbps?a.streamId-b.streamId:a.maxBitrateKbps-b.maxBitrateKbps));for(const info of remoteInfos)(0===info.avgBitrateKbps||info.avgBitrateKbps>info.maxBitrateKbps)&&(info.attendeeId.endsWith(ContentShareConstants_1.default.Modality)&&info.maxBitrateKbps<100?info.maxBitrateKbps=info.avgBitrateKbps:info.avgBitrateKbps=info.maxBitrateKbps);const rates={targetDownlinkBitrate:0,chosenTotalBitrate:0,deltaToNextUpgrade:0};rates.targetDownlinkBitrate=this.determineTargetRate();const numberOfParticipants=this.subscribedReceiveSet.size(),currentEstimated=this.downlinkStats.bandwidthEstimateKbps,dontAllowSubscribe=!this.videoPriorityBasedPolicyConfig.allowSubscribe(numberOfParticipants,currentEstimated);if(this.probeFailed&&(this.probeFailed=!1,this.timeBeforeAllowSubscribeMs=VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS,noMajorChange&&dontAllowSubscribe))return;const upgradeStream=this.priorityPolicy(rates,remoteInfos,chosenStreams);let subscriptionChoice=0;if(this.serverSideNetworkAdaption!==ServerSideNetworkAdaption_1.default.None&&this.serverSideNetworkAdaption!==ServerSideNetworkAdaption_1.default.Default||this.startupPeriod||!sameStreamChoices?(this.setProbeState("Not Probing"),this.lastUpgradeRateKbps=0):"Probing"===this.rateProbeState?subscriptionChoice=this.handleProbe(chosenStreams,rates.targetDownlinkBitrate):0!==rates.deltaToNextUpgrade&&(subscriptionChoice=this.maybeOverrideOrProbe(chosenStreams,rates,upgradeStream)),this.prevRemoteInfos=remoteInfos,this.videoPreferencesUpdated=!1,1===subscriptionChoice)return this.logger.info(`bwe: keepSameSubscriptions stats:${JSON.stringify(this.downlinkStats)}`),void(this.prevTargetRateKbps=rates.targetDownlinkBitrate);if(2===subscriptionChoice){const subscribedRate=this.calculateSubscribeRate(this.preProbeNonPausedReceiveStreams);return this.optimalReceiveStreams=this.preProbeReceiveStreams.slice(),this.processBwPausedStreams(remoteInfos,this.preProbeNonPausedReceiveStreams),void this.logger.info("bwe: Use Pre-Probe subscription subscribedRate:"+subscribedRate)}this.optimalNonPausedReceiveStreams=chosenStreams.slice();const lastNumberPaused=this.pausedBwAttendeeIds.size;this.processBwPausedStreams(remoteInfos,chosenStreams),this.logger.getLogLevel()<=LogLevel_1.LogLevel.INFO&&(this.logCount%15==0||this.rateProbeState!==lastProbeState||this.optimalReceiveStreams.length!==chosenStreams.length||lastNumberPaused!==this.pausedBwAttendeeIds.size)&&(this.logger.info(this.policyStateLogStr(remoteInfos,rates.targetDownlinkBitrate)),this.logCount=0),this.logCount++,this.prevTargetRateKbps=rates.targetDownlinkBitrate,this.optimalReceiveStreams=chosenStreams.slice()}calculateOptimalReceiveSet(){const streamSelectionSet=new DefaultVideoStreamIdSet_1.default;this.calculateOptimalReceiveStreams();for(const stream of this.optimalReceiveStreams)streamSelectionSet.add(stream.streamId);if(!this.optimalReceiveSet.equal(streamSelectionSet)){const subscribedRate=this.calculateSubscribeRate(this.optimalReceiveStreams);this.logger.info(`bwe: new streamSelection: ${JSON.stringify(streamSelectionSet)} subscribedRate:${subscribedRate}`)}this.optimalReceiveSet=streamSelectionSet}determineTargetRate(){let targetBitrate=0;const now=Date.now();return 0!==this.downlinkStats.bandwidthEstimateKbps?(0===this.firstEstimateTimestamp&&(this.firstEstimateTimestamp=now),this.startupPeriod&&(this.downlinkStats.bandwidthEstimateKbps>VideoPriorityBasedPolicy.DEFAULT_BANDWIDTH_KBPS||this.downlinkStats.packetsLost>0||now-this.firstEstimateTimestamp>VideoPriorityBasedPolicy.STARTUP_PERIOD_MS&&this.downlinkStats.bandwidthEstimateKbps<=this.prevDownlinkStats.bandwidthEstimateKbps)&&(this.startupPeriod=!1,this.prevTargetRateKbps=this.downlinkStats.bandwidthEstimateKbps),this.startupPeriod?targetBitrate=VideoPriorityBasedPolicy.DEFAULT_BANDWIDTH_KBPS:"Probing"===this.rateProbeState&&this.downlinkStats.usedBandwidthKbps>this.downlinkStats.bandwidthEstimateKbps&&this.downlinkStats.packetsLost"bwe: ValidateRate: Using Previous rate "+this.prevTargetRateKbps)),this.usingPrevTargetRate=!0,targetBitrate=this.prevTargetRateKbps):this.usingPrevTargetRate=!1,targetBitrate}setProbeState(newState){if(this.rateProbeState===newState)return!1;const now=Date.now();switch(newState){case"Not Probing":this.probePendingStartTimestamp=0;break;case"Probe Pending":if(!(0===this.lastProbeTimestamp||now-this.lastProbeTimestamp>VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS))return!1;this.probePendingStartTimestamp=now;break;case"Probing":if(!(now-this.probePendingStartTimestamp>this.timeBeforeAllowProbeMs))return!1;this.lastProbeTimestamp=now,this.preProbeReceiveStreams=this.subscribedReceiveStreams.slice(),this.preProbeNonPausedReceiveStreams=this.optimalNonPausedReceiveStreams,this.timeBeforeAllowProbeMs=Math.min(2*this.timeBeforeAllowProbeMs,VideoPriorityBasedPolicy.MAX_HOLD_BEFORE_PROBE_MS)}return this.logger.info("bwe: setProbeState to "+newState+" from "+this.rateProbeState),this.rateProbeState=newState,!0}upgradeToStream(chosenStreams,upgradeStream){for(let i=0;iVideoPriorityBasedPolicy.MAX_ALLOWED_PROBE_TIME_MS)return this.logger.info("bwe: Canceling probe due to timeout"),this.setProbeState("Not Probing"),0;if(this.downlinkStats.packetsLost>0&&(this.logger.info(`bwe: Probe encountering packets lost:${this.downlinkStats.packetsLost}`),this.downlinkStats.packetsLost>VideoPriorityBasedPolicy.SPURIOUS_PACKET_LOST_THRESHOLD))return this.setProbeState("Not Probing"),this.logger.info(`bwe: Canceling probe due to packets lost:${this.downlinkStats.packetsLost}`),this.probeFailed=!0,this.timeBeforeAllowSubscribeMs=3*Math.max(VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS,this.timeBeforeAllowSubscribeMs),2;const subscribedRate=this.calculateSubscribeRate(this.optimalReceiveStreams);return this.chosenStreamsSameAsLast(chosenStreams)||targetDownlinkBitrate>subscribedRate?(this.logger.info("bwe: Probe successful"),this.setProbeState("Not Probing"),this.timeBeforeAllowProbeMs=VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS,0):1}maybeOverrideOrProbe(chosenStreams,rates,upgradeStream){const sameSubscriptions=this.chosenStreamsSameAsLast(chosenStreams);let useLastSubscriptions=0;const triggerPercent=rates.targetDownlinkBitrate>VideoPriorityBasedPolicy.LOW_BITRATE_THRESHOLD_KBPS?VideoPriorityBasedPolicy.TARGET_RATE_CHANGE_TRIGGER_PERCENT:2*VideoPriorityBasedPolicy.TARGET_RATE_CHANGE_TRIGGER_PERCENT,minTargetBitrateDelta=rates.targetDownlinkBitrate*triggerPercent/100;if(this.targetRateBaselineForDeltaCheckKbps=void 0!==this.targetRateBaselineForDeltaCheckKbps?this.targetRateBaselineForDeltaCheckKbps:this.prevTargetRateKbps,!sameSubscriptions&&Math.abs(rates.targetDownlinkBitrate-this.targetRateBaselineForDeltaCheckKbps)this.prevDownlinkStats.packetsLost)return this.setProbeState("Not Probing"),this.lastUpgradeRateKbps=0,useLastSubscriptions;if(sameSubscriptions||1===useLastSubscriptions)switch(this.rateProbeState){case"Not Probing":this.setProbeState("Probe Pending");break;case"Probe Pending":this.setProbeState("Probing")&&(this.upgradeToStream(chosenStreams,upgradeStream),useLastSubscriptions=0)}else this.setProbeState("Not Probing");return useLastSubscriptions}calculateSubscribeRate(streams){let subscribeRate=0;for(const stream of streams)this.pausedStreamIds.contain(stream.streamId)||this.pausedBwAttendeeIds.has(stream.attendeeId)||(subscribeRate+=stream.maxBitrateKbps);return subscribeRate}handleAppPausedStreams(chosenStreams,remoteInfos){if(!this.tileController)return void this.logger.warn("tileController not found!");this.pausedStreamIds=new DefaultVideoStreamIdSet_1.default;const remoteTiles=this.tileController.getAllRemoteVideoTiles();for(const tile of remoteTiles){const state=tile.state();if(state.paused&&!this.pausedBwAttendeeIds.has(state.boundAttendeeId)){let j=remoteInfos.length;for(;j--;)remoteInfos[j].attendeeId===state.boundAttendeeId&&(this.logger.info("bwe: removed paused attendee "+state.boundAttendeeId+" streamId: "+remoteInfos[j].streamId),this.pausedStreamIds.add(remoteInfos[j].streamId),this.subscribedReceiveSet.contain(remoteInfos[j].streamId)&&chosenStreams.push(remoteInfos[j]),remoteInfos.splice(j,1))}}}processBwPausedStreams(remoteInfos,chosenStreams){if(!this.tileController)return void this.logger.warn("tileController not found!");const preferences=this.getCurrentVideoPreferences();if(preferences&&this.shouldPauseTiles){const videoTiles=this.tileController.getAllVideoTiles();for(const preference of preferences){const videoTile=this.getVideoTileForAttendeeId(preference.attendeeId,videoTiles),paused=(null==videoTile?void 0:videoTile.state().paused)||!1;if(chosenStreams.some((stream=>stream.attendeeId===preference.attendeeId)))paused&&this.pausedBwAttendeeIds.has(preference.attendeeId)&&(this.logger.info(`bwe: unpausing attendee ${preference.attendeeId} due to bandwidth`),this.forEachObserver((observer=>{observer.tileWillBeUnpausedByDownlinkPolicy(videoTile.id())})),this.tileController.unpauseVideoTile(videoTile.id()),this.pausedBwAttendeeIds.delete(preference.attendeeId));else{const streamExists=remoteInfos.some((stream=>stream.attendeeId===preference.attendeeId));if(videoTile&&streamExists){const info=this.optimalReceiveStreams.find((stream=>stream.attendeeId===preference.attendeeId));void 0!==info&&(paused||(this.logger.info(`bwe: pausing streamId ${info.streamId} attendee ${preference.attendeeId} due to bandwidth`),this.forEachObserver((observer=>{observer.tileWillBePausedByDownlinkPolicy(videoTile.id())})),this.tileController.pauseVideoTile(videoTile.id())),chosenStreams.push(info)),this.pausedBwAttendeeIds.add(preference.attendeeId)}else if(streamExists){const newTile=this.tileController.addVideoTile();newTile.bindVideoStream(preference.attendeeId,!1,null,0,0,0,null),this.forEachObserver((observer=>{observer.tileWillBePausedByDownlinkPolicy(newTile.id())})),newTile.pause(),this.logger.info(`bwe: Created video tile ${newTile.id()} for bw paused attendee ${preference.attendeeId}`),this.pausedBwAttendeeIds.add(preference.attendeeId)}}}}}cleanBwPausedTiles(remoteInfos){if(!this.tileController)return void this.logger.warn("tileController not found!");const tiles=this.tileController.getAllRemoteVideoTiles(),preferences=this.getCurrentVideoPreferences();for(const tile of tiles){const state=tile.state();state.boundVideoStream||(remoteInfos.some((stream=>stream.attendeeId===state.boundAttendeeId))?void 0===preferences||preferences.some((pref=>pref.attendeeId===state.boundAttendeeId))||this.tileController.removeVideoTile(state.tileId):(this.tileController.removeVideoTile(state.tileId),this.logger.info(`bwe: Removed video tile ${state.tileId} for bw paused attendee ${state.boundAttendeeId}`)))}}priorityPolicy(rates,remoteInfos,chosenStreams){let upgradeStream;const videoPreferences=this.getCurrentVideoPreferences(),highestPriority=videoPreferences.highestPriority();let nextPriority,priority=highestPriority;for(;-1!==priority;){nextPriority=-1;for(const preference of videoPreferences)if(preference.priority===priority)for(const info of remoteInfos)info.attendeeId===preference.attendeeId&&(chosenStreams.some((stream=>stream.groupId===info.groupId))||(rates.chosenTotalBitrate+info.avgBitrateKbps<=rates.targetDownlinkBitrate?(chosenStreams.push(info),rates.chosenTotalBitrate+=info.avgBitrateKbps):0===rates.deltaToNextUpgrade&&(rates.deltaToNextUpgrade=info.avgBitrateKbps,upgradeStream=info)));else if(preference.priority>priority){nextPriority=preference.priority;break}for(const preference of videoPreferences)if(preference.priority===priority){for(const info of remoteInfos)if(info.attendeeId===preference.attendeeId){const index=chosenStreams.findIndex((stream=>stream.groupId===info.groupId&&stream.maxBitrateKbpspriority)break;if(priority===highestPriority&&0!==rates.deltaToNextUpgrade)break;priority=nextPriority}return upgradeStream}getVideoTileForAttendeeId(attendeeId,videoTiles){for(const tile of videoTiles){if(tile.state().boundAttendeeId===attendeeId)return tile}return null}canUpgrade(bitrateKbp,targetResolution,targetBitrateKbp,isContent){let canUpgrade=!1;return isContent?(targetResolution===TargetDisplaySize_1.default.High||targetResolution===TargetDisplaySize_1.default.Medium&&bitrateKbp<=targetBitrateKbp)&&(canUpgrade=!0):bitrateKbp<=targetBitrateKbp&&(canUpgrade=!0),canUpgrade?(this.logger.info(`bwe: canUpgrade: bitrateKbp: ${bitrateKbp} targetBitrateKbp: ${targetBitrateKbp}`),!0):(this.logger.info(`bwe: cannot Upgrade: bitrateKbp: ${bitrateKbp} targetBitrateKbp: ${targetBitrateKbp}`),!1)}hasSimulcastStreams(remoteInfos,attendeeId,groupId){let streamCount=0;for(const info of remoteInfos)info.attendeeId===attendeeId&&info.groupId===groupId&&streamCount++;return this.logger.info(`bwe: attendeeId: ${attendeeId} groupId: ${groupId} hasSimulcastStreams: streamCount: ${streamCount}`),streamCount>1}availStreamsSameAsLast(remoteInfos){if(void 0===this.prevRemoteInfos||remoteInfos.length!==this.prevRemoteInfos.length||!0===this.videoPreferencesUpdated)return!1;for(const info of remoteInfos){if(void 0===this.prevRemoteInfos.find((prevInfo=>prevInfo.groupId===info.groupId&&prevInfo.streamId===info.streamId&&prevInfo.maxBitrateKbps===info.maxBitrateKbps)))return!1}return!0}chosenStreamsSameAsLast(chosenStreams){if(this.optimalNonPausedReceiveStreams.length!==chosenStreams.length)return!1;for(const lastStream of this.optimalNonPausedReceiveStreams)if(!chosenStreams.some((stream=>stream.streamId===lastStream.streamId)))return!1;return!0}policyStateLogStr(remoteInfos,targetDownlinkBitrate){const optimalReceiveSet={targetBitrate:targetDownlinkBitrate,subscribedRate:this.calculateSubscribeRate(this.optimalReceiveStreams),probeState:this.rateProbeState,startupPeriod:this.startupPeriod};let remoteInfoStr="remoteInfos: [";for(const info of remoteInfos)remoteInfoStr+=`{grpId:${info.groupId} strId:${info.streamId} maxBr:${info.maxBitrateKbps} avgBr:${info.avgBitrateKbps}}, `;remoteInfoStr+="]";let logString=`bwe: optimalReceiveSet ${JSON.stringify(optimalReceiveSet)}\nbwe: prev ${JSON.stringify(this.prevDownlinkStats)}\nbwe: now ${JSON.stringify(this.downlinkStats)}\nbwe: ${remoteInfoStr}\n`;return(this.pausedStreamIds.size()>0||this.pausedBwAttendeeIds.size>0)&&(logString+=`bwe: paused: app stream ids ${JSON.stringify(this.pausedStreamIds)} bw attendees { ${Array.from(this.pausedBwAttendeeIds).join(" ")} }\n`),this.videoPreferences?logString+=`bwe: preferences: ${JSON.stringify(this.videoPreferences)}`:logString+=`bwe: default preferences: ${JSON.stringify(this.defaultVideoPreferences)}`,logString}getCurrentVideoPreferences(){return this.videoPreferences||this.defaultVideoPreferences}getServerSideNetworkAdaption(){return this.serverSideNetworkAdaption}setServerSideNetworkAdaption(adaption){this.serverSideNetworkAdaption=adaption,this.setProbeState("Not Probing")}supportedServerSideNetworkAdaptions(){return[ServerSideNetworkAdaption_1.default.None,ServerSideNetworkAdaption_1.default.BandwidthProbing]}getVideoPreferences(){let preferences=this.getCurrentVideoPreferences();if(!preferences){preferences=VideoPreferences_1.VideoPreferences.prepare().build()}return preferences}}exports.default=VideoPriorityBasedPolicy,VideoPriorityBasedPolicy.DEFAULT_BANDWIDTH_KBPS=2800,VideoPriorityBasedPolicy.STARTUP_PERIOD_MS=6e3,VideoPriorityBasedPolicy.LARGE_RATE_CHANGE_TRIGGER_PERCENT=20,VideoPriorityBasedPolicy.TARGET_RATE_CHANGE_TRIGGER_PERCENT=15,VideoPriorityBasedPolicy.LOW_BITRATE_THRESHOLD_KBPS=300,VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS=5e3,VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS=2e3,VideoPriorityBasedPolicy.MAX_HOLD_BEFORE_PROBE_MS=3e4,VideoPriorityBasedPolicy.MAX_ALLOWED_PROBE_TIME_MS=6e4,VideoPriorityBasedPolicy.SPURIOUS_PACKET_LOST_THRESHOLD=2,VideoPriorityBasedPolicy.USED_BANDWIDTH_OVERRIDE_BUFFER_KBPS=100},"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ServerSideNetworkAdaption_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js");class VideoPriorityBasedPolicyConfig{constructor(networkIssueResponseDelayFactor=0,networkIssueRecoveryDelayFactor=0){this.networkIssueResponseDelayFactor=networkIssueResponseDelayFactor,this.networkIssueRecoveryDelayFactor=networkIssueRecoveryDelayFactor,this.currentNetworkEvent=0,this.bandwidthDecreaseTimestamp=0,this.referenceBitrate=0,this.serverSideNetworkAdaption=ServerSideNetworkAdaption_1.default.Default,networkIssueResponseDelayFactor<0?networkIssueResponseDelayFactor=0:networkIssueResponseDelayFactor>1&&(networkIssueResponseDelayFactor=1),this.networkIssueResponseDelayFactor=networkIssueResponseDelayFactor,networkIssueRecoveryDelayFactor<0?networkIssueRecoveryDelayFactor=0:networkIssueRecoveryDelayFactor>1&&(networkIssueRecoveryDelayFactor=1),this.networkIssueRecoveryDelayFactor=networkIssueRecoveryDelayFactor}allowSubscribe(numberOfParticipants,currentEstimated){let timeBeforeAllowSubscribeMs=0;const previousNetworkEvent=this.currentNetworkEvent;if(currentEstimated>this.referenceBitrate)return this.currentNetworkEvent=2,this.referenceBitrate=currentEstimated,!0;if(currentEstimatedtimeBeforeAllowSubscribeMs)return this.referenceBitrate=currentEstimated,!0;return!1}return this.currentNetworkEvent=0,!1}getSubscribeDelay(event,numberOfParticipants){let subscribeDelay=VideoPriorityBasedPolicyConfig.MINIMUM_DELAY_MS;const range=VideoPriorityBasedPolicyConfig.MAXIMUM_DELAY_MS-VideoPriorityBasedPolicyConfig.MINIMUM_DELAY_MS,responseFactor=this.networkIssueResponseDelayFactor;if(1===event)subscribeDelay+=range*responseFactor*(1+numberOfParticipants/10),subscribeDelay=Math.min(VideoPriorityBasedPolicyConfig.MAXIMUM_DELAY_MS,subscribeDelay);return subscribeDelay}}exports.default=VideoPriorityBasedPolicyConfig,VideoPriorityBasedPolicyConfig.MINIMUM_DELAY_MS=2e3,VideoPriorityBasedPolicyConfig.MAXIMUM_DELAY_MS=8e3,VideoPriorityBasedPolicyConfig.Default=new VideoPriorityBasedPolicyConfig(0,0),VideoPriorityBasedPolicyConfig.UnstableNetworkPreset=new VideoPriorityBasedPolicyConfig(0,1),VideoPriorityBasedPolicyConfig.StableNetworkPreset=new VideoPriorityBasedPolicyConfig(1,0)},"./node_modules/amazon-chime-sdk-js/build/videoelementfactory/NoOpVideoElementFactory.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class NoOpVideoElementFactory{create(){const element={clientWidth:400,clientHeight:300,width:400,height:300,videoWidth:400,videoHeight:300,style:{transform:""},hasAttribute:()=>!1,removeAttribute:()=>{},setAttribute:()=>{},srcObject:!1,paused:!0,pause:()=>{element.paused=!0},play:()=>(element.paused=!1,Promise.resolve())};return element}}},"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js":function(__unused_webpack_module,exports){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class CanvasVideoFrameBuffer{constructor(canvas){this.canvas=canvas,this.destroyed=!1}destroy(){this.canvas=null,this.destroyed=!0}asCanvasImageSource(){return __awaiter(this,void 0,void 0,(function*(){return this.destroyed?Promise.reject("canvas buffer is destroyed"):Promise.resolve(this.canvas)}))}asCanvasElement(){return this.canvas}}},"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const CanvasVideoFrameBuffer_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js");exports.default=class DefaultVideoFrameProcessorPipeline{constructor(logger,stages){this.logger=logger,this.stages=stages,this.fr=15,this.outputMediaStream=new MediaStream,this.videoInput=document.createElement("video"),this.canvasOutput=document.createElement("canvas"),this.outputCtx=this.canvasOutput.getContext("2d"),this.canvasInput=document.createElement("canvas"),this.inputCtx=this.canvasInput.getContext("2d"),this.inputVideoStream=null,this.sourceBuffers=[],this.destBuffers=[],this.observers=new Set,this.hasStarted=!1,this.process=_event=>__awaiter(this,void 0,void 0,(function*(){if(!this.inputVideoStream)return;const processVideoStart=performance.now();this.videoInput.videoWidth&&(this.canvasInput.width!==this.videoInput.videoWidth&&(this.canvasInput.width=this.videoInput.videoWidth,this.canvasInput.height=this.videoInput.videoHeight,this.sourceBuffers[0].height=this.canvasInput.height,this.sourceBuffers[0].width=this.canvasInput.width,this.sourceBuffers[0].framerate=this.framerate),this.inputCtx.drawImage(this.videoInput,0,0));let imageSource,buffers=[];buffers.push(this.sourceBuffers[0]);try{for(const proc of this.processors)buffers=yield proc.process(buffers)}catch(_error){return void this.forEachObserver((obs=>{obs.processingDidFailToStart&&obs.processingDidFailToStart()}))}this.destBuffers=buffers;try{imageSource=yield this.destBuffers[0].asCanvasImageSource()}catch(error){return void(this.inputVideoStream&&(this.logger.info("buffers are destroyed and pipeline could not start"),this.forEachObserver((obs=>{obs.processingDidFailToStart&&obs.processingDidFailToStart()}))))}const frameWidth=imageSource.width,frameHeight=imageSource.height;0!==frameWidth&&0!==frameHeight&&(this.canvasOutput.width!==frameWidth&&this.canvasOutput.height!==frameHeight&&(this.canvasOutput.width=frameWidth,this.canvasOutput.height=frameHeight),this.outputCtx.drawImage(imageSource,0,0,frameWidth,frameHeight,0,0,frameWidth,frameHeight),this.hasStarted||(this.hasStarted=!0,this.forEachObserver((observer=>{observer.processingDidStart&&observer.processingDidStart()}))));const processVideoLatency=performance.now()-processVideoStart,leave=2e3/this.framerate-processVideoLatency,nextFrameDelay=Math.max(0,1e3/this.framerate-processVideoLatency);leave<=0&&this.forEachObserver((obs=>{obs.processingLatencyTooHigh&&obs.processingLatencyTooHigh(processVideoLatency)})),this.lastTimeOut=setTimeout(this.process,nextFrameDelay)}))}destroy(){if(this.stop(),this.stages)for(const stage of this.stages)stage.destroy()}get framerate(){return this.fr}set framerate(value){this.fr=value<0?15:value}stop(){if(this.videoInput.removeEventListener("loadedmetadata",this.process),this.videoInput.srcObject=null,this.destroyInputMediaStreamAndBuffers(),this.outputMediaStream)for(const track of this.outputMediaStream.getVideoTracks())track.stop();this.lastTimeOut&&(clearTimeout(this.lastTimeOut),this.lastTimeOut=void 0),this.hasStarted&&(this.hasStarted=!1,this.forEachObserver((observer=>{observer.processingDidStop&&observer.processingDidStop()})))}addObserver(observer){this.observers.add(observer)}removeObserver(observer){this.observers.delete(observer)}getInputMediaStream(){return __awaiter(this,void 0,void 0,(function*(){return this.inputVideoStream}))}getActiveOutputMediaStream(){return this.isOutputMediaStreamActive()||(this.outputMediaStream=this.canvasOutput.captureStream(this.framerate),this.cloneInputAudioTracksToOutput()),this.outputMediaStream}setInputMediaStream(inputMediaStream){return __awaiter(this,void 0,void 0,(function*(){if(!inputMediaStream)return void this.stop();if(0===inputMediaStream.getVideoTracks().length)return void this.logger.error("No video tracks in input media stream, ignoring");this.inputVideoStream=inputMediaStream;const settings=this.inputVideoStream.getVideoTracks()[0].getSettings();this.logger.info(`processing pipeline input stream settings ${JSON.stringify(settings)}`),this.canvasOutput.width=settings.width,this.canvasOutput.height=settings.height,this.videoInput.addEventListener("loadedmetadata",this.process),this.videoInput.srcObject=this.inputVideoStream,this.videoInput.setAttribute("playsinline","true");const canvasBuffer=new CanvasVideoFrameBuffer_1.default(this.canvasInput);this.sourceBuffers.push(canvasBuffer),this.videoInput.load();try{yield this.videoInput.play()}catch(_a){this.logger.warn("Video element play() overrided by another load().")}this.cloneInputAudioTracksToOutput()}))}cloneInputAudioTracksToOutput(){if(this.isOutputMediaStreamActive()&&null!==this.inputVideoStream){for(const audioTrack of this.outputMediaStream.getAudioTracks())this.logger.info(`Removing audio track ${audioTrack.id} from output stream`),this.outputMediaStream.removeTrack(audioTrack);for(const audioTrack of this.inputVideoStream.getAudioTracks())this.logger.info(`Adding audio track ${audioTrack.id} to output stream`),this.outputMediaStream.addTrack(audioTrack)}else this.logger.info("Not cloning input audio tracks to output, do not have media streams ready")}isOutputMediaStreamActive(){return this.outputMediaStream&&this.outputMediaStream.active}set processors(stages){this.stages=stages}get processors(){return this.stages}forEachObserver(observerFunc){for(const observer of this.observers)setTimeout((()=>{observerFunc(observer)}),0)}destroyInputMediaStreamAndBuffers(){if(this.inputVideoStream)for(const track of this.inputVideoStream.getTracks())track.stop();this.inputVideoStream=null;for(const buffer of this.sourceBuffers)buffer.destroy();this.sourceBuffers=[]}}},"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),DefaultVideoFrameProcessorPipeline_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js");class DefaultVideoTransformDevice{constructor(logger,device,processors,browserBehavior=new DefaultBrowserBehavior_1.default){this.logger=logger,this.device=device,this.processors=processors,this.browserBehavior=browserBehavior,this.observers=new Set,this.pipe=new DefaultVideoFrameProcessorPipeline_1.default(this.logger,this.processors),this.pipe.addObserver(this)}get outputMediaStream(){return this.pipe.outputMediaStream}passEventControllerToProcessors(eventController){if(this.pipe.processors)for(const processor of this.pipe.processors)"function"==typeof processor.setEventController&&processor.setEventController(eventController)}chooseNewInnerDevice(newDevice){const newTransformDevice=new DefaultVideoTransformDevice(this.logger,newDevice,this.processors,this.browserBehavior);return newTransformDevice.pipe=this.pipe,newTransformDevice}getInnerDevice(){return this.device}intrinsicDevice(){return __awaiter(this,void 0,void 0,(function*(){return this.device}))}transformStream(mediaStream){return __awaiter(this,void 0,void 0,(function*(){return yield this.pipe.setInputMediaStream(mediaStream),this.inputMediaStream=mediaStream,this.pipe.getActiveOutputMediaStream()}))}onOutputStreamDisconnect(){this.logger.info("DefaultVideoTransformDevice: detach stopping input media stream");const deviceIsMediaStream=this.device&&this.device.id;if(this.pipe.stop(),!deviceIsMediaStream&&this.inputMediaStream)for(const track of this.inputMediaStream.getVideoTracks())track.stop()}stop(){return __awaiter(this,void 0,void 0,(function*(){if(this.inputMediaStream)for(const track of this.inputMediaStream.getVideoTracks())track.stop();this.pipe.destroy(),this.inputMediaStream=null}))}addObserver(observer){this.observers.add(observer)}removeObserver(observer){this.observers.delete(observer)}processingDidStart(){this.logger.info("video transform device processing started"),this.forEachObserver((observer=>{observer.processingDidStart&&observer.processingDidStart()}))}processingLatencyTooHigh(latencyMs){this.forEachObserver((observer=>{observer.processingLatencyTooHigh&&observer.processingLatencyTooHigh(latencyMs)}))}processingDidFailToStart(){this.logger.info("video transform device processing failed to start"),this.forEachObserver((observer=>{observer.processingDidFailToStart&&observer.processingDidFailToStart()}))}processingDidStop(){this.logger.info("video transform device processing stopped"),this.forEachObserver((observer=>{observer.processingDidStop&&observer.processingDidStop()}))}forEachObserver(observerFunc){for(const observer of this.observers)setTimeout((()=>{observerFunc(observer)}),0)}}exports.default=DefaultVideoTransformDevice},"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js":function(__unused_webpack_module,exports){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class NoOpVideoFrameProcessor{process(buffers){return __awaiter(this,void 0,void 0,(function*(){return buffers}))}destroy(){return __awaiter(this,void 0,void 0,(function*(){}))}}},"./node_modules/amazon-chime-sdk-js/build/videofx/DeferredPromise.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DeferredPromise=void 0;exports.DeferredPromise=class DeferredPromise{constructor(){this.promise=new Promise(((resolve,reject)=>{this.resolve=resolve,this.reject=reject}))}getPromise(){return this.promise}resolvePromise(resolveParameter){this.resolve(resolveParameter)}resolveAndReplacePromise(resolveParameter){this.resolve(resolveParameter),this.promise=new Promise(((resolve,reject)=>{this.resolve=resolve,this.reject=reject}))}rejectPromise(rejectError){this.reject(rejectError)}rejectAndReplacePromise(rejectError){this.reject(rejectError),this.promise=new Promise(((resolve,reject)=>{this.resolve=resolve,this.reject=reject}))}}},"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxCanvasOpsManager.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VideoFxCanvasOpsManager=void 0;const VideoFxConstants_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js");exports.VideoFxCanvasOpsManager=class VideoFxCanvasOpsManager{constructor(streamParameters,outputCanvas){this.streamParameters=streamParameters,this.outputCanvas=outputCanvas,this.configureCanvasPipeline()}getInferenceInputData(inputCanvas){this.inferenceCtx.save(),this.inferenceCtx.scale(this.horizontalResizeScalar,this.verticalResizeScalar),this.inferenceCtx.drawImage(inputCanvas,0,0),this.inferenceCtx.restore();return this.inferenceCtx.getImageData(0,0,VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS,VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS)}configureForStreamParameters(streamParameters){return __awaiter(this,void 0,void 0,(function*(){if(this.streamParameters=streamParameters,this.outputCanvas.width=this.streamParameters.width,this.outputCanvas.height=this.streamParameters.height,this.backgroundReplacementCanvas){const resizedCanvas=document.createElement("canvas");resizedCanvas.width=this.streamParameters.width,resizedCanvas.height=this.streamParameters.height,resizedCanvas.getContext("2d").drawImage(this.backgroundReplacementCanvas,0,0,this.streamParameters.width,this.streamParameters.height),this.backgroundReplacementCanvas=resizedCanvas}this.configureCanvasPipeline()}))}configureCanvasPipeline(){this.inferenceCanvas=document.createElement("canvas"),this.inferenceCtx=this.inferenceCanvas.getContext("2d",{willReadFrequently:!0}),this.inferenceCanvas.width=VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS,this.inferenceCanvas.height=VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS,this.horizontalResizeScalar=VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS/this.streamParameters.width,this.verticalResizeScalar=VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS/this.streamParameters.height}getBackgroundReplacementCanvas(){return this.backgroundReplacementCanvas}loadReplacementBackground(effectConfig){return __awaiter(this,void 0,void 0,(function*(){const imageURL=effectConfig.backgroundReplacement.backgroundImageURL,defaultColor=effectConfig.backgroundReplacement.defaultColor;if(imageURL)try{const backgroundImage=yield this.loadImage(imageURL);this.backgroundReplacementImage=backgroundImage,this.resizeAndSetReplacementImage(this.backgroundReplacementImage)}catch(error){throw this.logger.error(error),new Error("Failed to set the replacement image.")}else this.resizeAndSetReplacementColor(defaultColor)}))}resizeAndSetReplacementImage(backgroundImage){const resizedCanvas=document.createElement("canvas"),resizedCtx=resizedCanvas.getContext("2d");resizedCanvas.width=this.streamParameters.width,resizedCanvas.height=this.streamParameters.height,resizedCtx.drawImage(backgroundImage,0,0,this.streamParameters.width,this.streamParameters.height),this.backgroundReplacementCanvas=resizedCanvas}resizeAndSetReplacementColor(defaultColor){const resizedCanvas=document.createElement("canvas"),resizedCtx=resizedCanvas.getContext("2d");resizedCanvas.width=this.streamParameters.width,resizedCanvas.height=this.streamParameters.height,resizedCtx.fillStyle=defaultColor,resizedCtx.fillRect(0,0,this.streamParameters.width,this.streamParameters.height),this.backgroundReplacementCanvas=resizedCanvas}loadImage(backgroundImageURL){return __awaiter(this,void 0,void 0,(function*(){const image=yield fetch(backgroundImageURL).catch((error=>{throw this.logger.error(error.toString()),new Error("Failed to fetch image.")})),imageBlob=yield image.blob(),img=new Image;return img.src=URL.createObjectURL(imageBlob),new Promise(((resolve,reject)=>{img.onload=()=>{resolve(img)},img.onerror=error=>{reject(error)}}))}))}}},"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FXLIB_PATH=exports.WORKER_PATH=exports.CDN_BASE_PATH=exports.RESOURCE_CONSTRAINTS=exports.SEGMENTATION_MODEL=exports.DEFAULT_STREAM_PARAMETERS=exports.WORKER_MSG=void 0,exports.WORKER_MSG={BUILD_ENGINE_REQUEST:"BuildEngineRequest",BUILD_ENGINE_RESPONSE:"BuildEngineResponse",PERFORM_SEGMENTATION_REQUEST:"PerformSegmentationRequest",PERFORM_SEGMENTATION_RESPONSE:"PerformSegmentationResponse",PERFORM_SEGMENTATION_SAB_REQUEST:"PerformSegmentationSABRequest",PERFORM_SEGMENTATION_SAB_RESPONSE:"PerformSegmentationSABResponse",DESTROY_ASSETS_REQUEST:"DestroyAssetsRequest",DESTROY_ASSETS_RESPONSE:"DestroyAssetsResponse",CLOSE_WORKER_REQUEST:"CloseWorkerRequest"},exports.DEFAULT_STREAM_PARAMETERS={FRAMES_PER_SECOND:15,WIDTH_IN_PIXEL:960,HEIGHT_IN_PIXEL:540,CHANNEL_COUNT:4},exports.SEGMENTATION_MODEL={LOAD_SUCCESS:2,WIDTH_IN_PIXELS:176,HEIGHT_IN_PIXELS:160},exports.RESOURCE_CONSTRAINTS={DEFAULT_PROCESSING_BUDGET_PER_FRAME:50,SEGMENTATION_DEFAULT_FRAMES_PER_SEGMENTATION:1,SEGMENTATION_SAMPLING_PERIOD_FRAME_COUNT:500,BLUR_DEFAULT_CYCLE_PERCENTAGE:10,BLUR_SAMPLING_PERIOD_FRAME_COUNT:1e3,MIN_PROCESSING_BUDGET:0,MAX_PROCESSING_BUDGET:100},exports.CDN_BASE_PATH="https://static.sdkassets.chime.aws";exports.WORKER_PATH="/ml_media_fx/otherassets/worker.js",exports.FXLIB_PATH="/ml_media_fx/otherassets/fxlib.js"},"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxProcessor.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const fetch_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js"),loader_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js"),support_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js"),DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),NoOpLogger_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js"),Utils_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Utils.js"),Versioning_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js"),CanvasVideoFrameBuffer_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js"),DeferredPromise_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videofx/DeferredPromise.js"),VideoFxCanvasOpsManager_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxCanvasOpsManager.js"),VideoFxConstants_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js"),VideoFxSegmentationRateManager_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxSegmentationRateManager.js");class VideoFxProcessor{constructor(logger,processingBudgetPerFrame=VideoFxConstants_1.RESOURCE_CONSTRAINTS.DEFAULT_PROCESSING_BUDGET_PER_FRAME,eventController){this.logger=logger,this.outputCanvas=document.createElement("canvas"),this.canvasVideoFrameBuffer=new CanvasVideoFrameBuffer_1.default(this.outputCanvas);try{this.validateProcessingBudgetPerFrame(processingBudgetPerFrame)}catch(error){throw this.logger.error(error),new Error(`Cannot instantiate VideoFxProcessor due to invalid processingBudgetPerFrame of ${processingBudgetPerFrame}`)}eventController&&(this.eventController=eventController),this.effectConfig={backgroundBlur:{isEnabled:!1,strength:"low"},backgroundReplacement:{isEnabled:!1,backgroundImageURL:null,defaultColor:"black"}},this.segmentationRequestPromise=new DeferredPromise_1.DeferredPromise,this.segmentationRateManager=new VideoFxSegmentationRateManager_1.VideoFxSegmentationRateManager(this.logger,processingBudgetPerFrame),this.streamParameters={framerate:VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.FRAMES_PER_SECOND,width:VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.WIDTH_IN_PIXEL,height:VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.HEIGHT_IN_PIXEL,channels:VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.CHANNEL_COUNT},VideoFxProcessor.isSharedArrayBufferSupported&&(this.sharedImageBuffer=new SharedArrayBuffer(VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS*VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS*this.streamParameters.channels),this.sharedImageData=new Uint8ClampedArray(this.sharedImageBuffer)),this.logger.info(`VideoFx supports Shared Array Buffer: ${VideoFxProcessor.isSharedArrayBufferSupported}`),this.canvasOpsManager=new VideoFxCanvasOpsManager_1.VideoFxCanvasOpsManager(this.streamParameters,this.outputCanvas),this.outputCanvas.width=this.streamParameters.width,this.outputCanvas.height=this.streamParameters.height,this.segmentationMask=new ImageData(this.streamParameters.width,this.streamParameters.height),this.logger.info(`VideoFxProcessor instantiated with a processingBudgetPerFrame of ${processingBudgetPerFrame}`)}process(buffers){return __awaiter(this,void 0,void 0,(function*(){return buffers}))}fxProcess(buffers){return __awaiter(this,void 0,void 0,(function*(){const inputCanvas=buffers[0].asCanvasElement();this.didStreamParametersChange(inputCanvas)&&(yield this.adjustProcessorForNewStreamParameters(inputCanvas));try{yield this.manageSegmentationMask(inputCanvas)}catch(error){throw this.logger.error(error),new Error("Video stream could not be processed")}return yield this.renderer.render(inputCanvas,this.segmentationMask),buffers[0]=this.canvasVideoFrameBuffer,buffers}))}noOpProcess(buffers){return __awaiter(this,void 0,void 0,(function*(){return buffers}))}didStreamParametersChange(stream){return stream.width!==this.streamParameters.width||stream.height!==this.streamParameters.height}adjustProcessorForNewStreamParameters(stream){return __awaiter(this,void 0,void 0,(function*(){this.streamParameters.width=stream.width,this.streamParameters.height=stream.height,yield this.canvasOpsManager.configureForStreamParameters(this.streamParameters),yield this.renderer.configure(this.streamParameters.width,this.streamParameters.height,this.effectConfig)}))}destroy(){return __awaiter(this,void 0,void 0,(function*(){this.canvasVideoFrameBuffer.destroy(),this.fxLibScript&&this.fxLibScript.parentNode&&this.fxLibScript.parentNode.removeChild(this.fxLibScript),this.engineWorker&&(this.destroyedAssetsPromise=new DeferredPromise_1.DeferredPromise,this.engineWorker.postMessage({msg:VideoFxConstants_1.WORKER_MSG.DESTROY_ASSETS_REQUEST}),yield this.destroyedAssetsPromise.getPromise(),this.engineWorker.postMessage({msg:VideoFxConstants_1.WORKER_MSG.CLOSE_WORKER_REQUEST})),this.logger.info("VideoFxProcessor destroyed.")}))}manageSegmentationMask(inputCanvas){return __awaiter(this,void 0,void 0,(function*(){try{if(this.segmentationRateManager.submitFrame(),this.segmentationRateManager.shouldApplySegmentation()){this.segmentationRateManager.startSegmentation();const inferenceInputImageData=this.canvasOpsManager.getInferenceInputData(inputCanvas);this.segmentationMask=yield this.generateSegmentationMask(inferenceInputImageData),this.segmentationRateManager.completeSegmentation()}}catch(error){throw this.logger.error(error.toString()),new Error("Can not properly manage the returned segmentation mask")}}))}generateSegmentationMask(inferenceImageData){return __awaiter(this,void 0,void 0,(function*(){VideoFxProcessor.isSharedArrayBufferSupported?(this.sharedImageData.set(inferenceImageData.data),this.engineWorker.postMessage({msg:VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_SAB_REQUEST,payload:this.sharedImageBuffer})):this.engineWorker.postMessage({msg:VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_REQUEST,payload:inferenceImageData},[inferenceImageData.data.buffer]);try{return yield this.segmentationRequestPromise.getPromise()}catch(error){throw this.logger.error(error.toString()),new Error("Segmentation mask could not be generated")}}))}cloneConfigFrom(effectConfig){return{backgroundBlur:{isEnabled:effectConfig.backgroundBlur.isEnabled,strength:effectConfig.backgroundBlur.strength},backgroundReplacement:{isEnabled:effectConfig.backgroundReplacement.isEnabled,backgroundImageURL:effectConfig.backgroundReplacement.backgroundImageURL,defaultColor:effectConfig.backgroundReplacement.defaultColor}}}setEffectConfig(effectConfig){return __awaiter(this,void 0,void 0,(function*(){if(this.sameVideoFxConfig(effectConfig,this.effectConfig))return;const newEffectConfig=this.cloneConfigFrom(effectConfig);try{yield this.validateEffectConfig(newEffectConfig)}catch(error){throw this.logger.error(error.toString()),new Error("Provided effect config is invalid, not updating VideoFxProcessor")}newEffectConfig.backgroundReplacement.isEnabled&&(yield this.canvasOpsManager.loadReplacementBackground(newEffectConfig),yield this.renderer.setBackgroundReplacementCanvas(this.canvasOpsManager.getBackgroundReplacementCanvas())),yield this.renderer.configure(this.streamParameters.width,this.streamParameters.height,newEffectConfig),this.effectConfig=newEffectConfig,this.effectConfig.backgroundBlur.isEnabled||this.effectConfig.backgroundReplacement.isEnabled?this.process=this.fxProcess:this.process=this.noOpProcess,this.logger.info(`VideoFxProcessor effect configuration updated to: ${JSON.stringify(this.effectConfig)}`),this.eventController&&this.publishVideoFxConfigEvent()}))}validateEffectConfig(config){return __awaiter(this,void 0,void 0,(function*(){if(config.backgroundBlur.isEnabled&&config.backgroundReplacement.isEnabled)throw new Error("Invalid VideoFx configuration: Background Blur and Background Replacement can not both be enabled");config.backgroundReplacement.isEnabled&&(yield this.validateReplacementConfig(config))}))}validateReplacementConfig(config){return __awaiter(this,void 0,void 0,(function*(){if(config.backgroundReplacement.backgroundImageURL&&config.backgroundReplacement.defaultColor)throw new Error("Invalid VideoFx configuration: Background Replacement can not have both an image URL and default color");if(!config.backgroundReplacement.backgroundImageURL&&!config.backgroundReplacement.defaultColor)throw new Error("Invalid VideoFx configuration: Background Replacement image URL and default can not both be null/undefined");try{config.backgroundReplacement.backgroundImageURL&&(yield this.canvasOpsManager.loadImage(config.backgroundReplacement.backgroundImageURL))}catch(error){throw this.logger.error(error.toString()),new Error("Invalid VideoFx configuration: backgroundImageURL failed to load")}const defaultColor=config.backgroundReplacement.defaultColor;if(defaultColor&&"black"!==defaultColor&&"#000000"!==defaultColor&&"#000"!==defaultColor){if(defaultColor.includes("#")){if(!new RegExp(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/).test(defaultColor))throw new Error(`Invalid hexadecimal color code for default replacement background: ${defaultColor}`)}const testColorCtx=document.createElement("canvas").getContext("2d"),prevFillStyle=testColorCtx.fillStyle;if(testColorCtx.fillStyle=defaultColor,testColorCtx.fillStyle===prevFillStyle)throw new Error(`Invalid color for default replacement background: ${defaultColor}`)}}))}validateProcessingBudgetPerFrame(processingBudgetPerFrame){if(processingBudgetPerFrameVideoFxConstants_1.RESOURCE_CONSTRAINTS.MAX_PROCESSING_BUDGET)throw new Error(`Invalid resource constraint: cycle percentage must be within range of ${VideoFxConstants_1.RESOURCE_CONSTRAINTS.MIN_PROCESSING_BUDGET} and ${VideoFxConstants_1.RESOURCE_CONSTRAINTS.MAX_PROCESSING_BUDGET}`)}loadAssets(){return __awaiter(this,void 0,void 0,(function*(){this.logger.info("Loading required assets for the VideoFxProcessor");try{const videoFxAssetParams=this.getVideoFxAssetParams();yield this.loadEngineWorker(videoFxAssetParams),yield this.buildEngine(videoFxAssetParams),yield this.loadFxLib(videoFxAssetParams),this.renderer=constructRenderer(VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS,VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS,this.effectConfig,this.outputCanvas)}catch(error){throw this.logger.error(error.toString()),new Error("Failed to load necessary assets for the VideoFxProcessor")}this.logger.info("Finished loading of essential VideoFxProcessor assets.")}))}getVideoFxAssetParams(){const defaultAssetSpec=Utils_1.getDefaultAssetSpec();return{assetGroup:defaultAssetSpec.assetGroup,revisionID:defaultAssetSpec.revisionID,sdk:encodeURIComponent(Versioning_1.default.sdkVersion),ua:encodeURIComponent(Versioning_1.default.sdkUserAgentLowResolution)}}getPathFromVideoFxAssetParams(basePath,videoFxAssetParams){const path=new URL(basePath);for(const[key,value]of Object.entries(videoFxAssetParams))if(void 0!==value){const uriEncodedKey=encodeURIComponent(key),uriEncodedValue=encodeURIComponent(value);path.searchParams.set(uriEncodedKey,uriEncodedValue)}return path.toString()}loadEngineWorker(videoFxAssetParams){return __awaiter(this,void 0,void 0,(function*(){try{const engineWorkerPath=this.getPathFromVideoFxAssetParams(VideoFxConstants_1.CDN_BASE_PATH+VideoFxConstants_1.WORKER_PATH,videoFxAssetParams);this.engineWorker=yield loader_1.loadWorker(engineWorkerPath,"VideoFxEngineWorker",{},null),this.logger.info("Successfully loaded the VideoFxProcessor's engine worker"),this.engineWorker.addEventListener("message",(event=>this.engineWorkerReceiver(event)))}catch(error){throw this.logger.error(error.toString()),new Error("Failed to load the VideoFxProcessor's engine worker")}}))}buildEngine(videoFxAssetParams){return __awaiter(this,void 0,void 0,(function*(){this.buildEnginePromise=new DeferredPromise_1.DeferredPromise,this.engineWorker.postMessage({msg:VideoFxConstants_1.WORKER_MSG.BUILD_ENGINE_REQUEST,payload:{cdnBasePath:VideoFxConstants_1.CDN_BASE_PATH,sdkVersioningParams:videoFxAssetParams}});try{yield this.buildEnginePromise.getPromise()}catch(error){throw this.logger.error(error.toString()),new Error("Failed to instantiate the VideoFxEngine")}}))}loadFxLib(videoFxAssetParams){return __awaiter(this,void 0,void 0,(function*(){const fxLibPath=this.getPathFromVideoFxAssetParams(VideoFxConstants_1.CDN_BASE_PATH+VideoFxConstants_1.FXLIB_PATH,videoFxAssetParams),WORKER_FETCH_OPTIONS={method:"GET",mode:"cors",credentials:"omit",redirect:"follow",referrerPolicy:"no-referrer"};try{const res=yield fetch_1.fetchWithBehavior(fxLibPath,WORKER_FETCH_OPTIONS,{});if(!res.ok)throw new Error("Fetch failed.");const blobURL=window.URL.createObjectURL(yield res.blob());yield new Promise(((resolve,reject)=>{this.fxLibScript=document.createElement("script"),this.fxLibScript.setAttribute("src",blobURL),this.fxLibScript.setAttribute("type","module"),this.fxLibScript.setAttribute("async","false"),this.fxLibScript.addEventListener("load",resolve),this.fxLibScript.addEventListener("error",reject),document.body.appendChild(this.fxLibScript)}))}catch(error){throw this.logger.error(error.toString()),new Error("Failed to load the fxlib")}}))}getEffectConfig(){return this.cloneConfigFrom(this.effectConfig)}engineWorkerReceiver(event){const msg=event.data;switch(msg.msg){case VideoFxConstants_1.WORKER_MSG.BUILD_ENGINE_RESPONSE:this.settleEngineBuildPromise(msg.payload);break;case VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_RESPONSE:this.settleSegmentationPromise(msg.payload.output);break;case VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_SAB_RESPONSE:this.settleSegmentationPromiseSAB();break;case VideoFxConstants_1.WORKER_MSG.DESTROY_ASSETS_RESPONSE:this.destroyedAssetsPromise.resolvePromise();break;default:this.logger.info(`VideoFx worker received unknown event msg: ${JSON.stringify(msg)}`)}}settleEngineBuildPromise(buildStatus){buildStatus!==VideoFxConstants_1.SEGMENTATION_MODEL.LOAD_SUCCESS?this.buildEnginePromise.rejectPromise(new Error("Failed to build VideoFxProcessor's engine")):(this.logger.info("Successfully built the VideoFxEngine"),this.buildEnginePromise.resolvePromise())}settleSegmentationPromise(segmentationMask){segmentationMask?this.segmentationRequestPromise.resolveAndReplacePromise(segmentationMask):this.segmentationRequestPromise.rejectAndReplacePromise(new Error("Failed to perform a segmentation on the input image"))}settleSegmentationPromiseSAB(){try{const transformedImageData=new ImageData(new Uint8ClampedArray(this.sharedImageData),VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS,VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS);this.segmentationRequestPromise.resolveAndReplacePromise(transformedImageData)}catch(_a){this.segmentationRequestPromise.rejectAndReplacePromise(new Error("Failed to perform a segmentation with a shared array buffer on the input image"))}}setToNoOpProcess(){this.process=this.noOpProcess}static isSupported(logger=new NoOpLogger_1.default,attemptAssetLoad=!0){return __awaiter(this,void 0,void 0,(function*(){let allCheckedPassed=!0;const checkEnv=(badPromiseCondition,message)=>{badPromiseCondition&&(logger.info(message),allCheckedPassed=!1)};checkEnv("undefined"==typeof globalThis,"Browser does not have globalThis."),checkEnv(!support_1.supportsWorker(globalThis,logger),"Browser does not support web workers."),checkEnv(!support_1.supportsWASM(globalThis,logger),"Browser does not support wasm."),checkEnv(!document.createElement("canvas").getContext("webgl2"),"Browser does not support webgl.");checkEnv(!(new DefaultBrowserBehavior_1.default).isVideoFxSupportedBrowser(),"Browser is unsupported for VideoFxProcessor");return Promise.resolve(!!allCheckedPassed&&(yield(()=>__awaiter(this,void 0,void 0,(function*(){if(attemptAssetLoad)try{const testFxProcessor=new VideoFxProcessor(logger);yield testFxProcessor.loadAssets(),yield testFxProcessor.destroy()}catch(_a){return logger.info("Browser environment is unable to access the required external assets."),Promise.resolve(!1)}return Promise.resolve(!0)})))()))}))}static create(logger,effectConfig,processingBudgetPerFrame=VideoFxConstants_1.RESOURCE_CONSTRAINTS.DEFAULT_PROCESSING_BUDGET_PER_FRAME){return __awaiter(this,void 0,void 0,(function*(){const videoFxProcessor=new VideoFxProcessor(logger,processingBudgetPerFrame);try{return yield videoFxProcessor.loadAssets(),yield videoFxProcessor.setEffectConfig(effectConfig),videoFxProcessor}catch(error){throw logger.error(error.toString()),videoFxProcessor.setToNoOpProcess(),new Error("VideoFxProcessor built with support for only NoOp processing")}}))}setEventController(eventController){this.eventController?this.eventController=eventController:(this.eventController=eventController,this.publishVideoFxConfigEvent())}publishVideoFxConfigEvent(){const mediaFXEventAttibutes={backgroundBlurEnabled:this.effectConfig.backgroundBlur.isEnabled.toString(),backgroundBlurStrength:this.effectConfig.backgroundBlur.strength,backgroundReplacementEnabled:this.effectConfig.backgroundReplacement.isEnabled.toString(),backgroundFilterVersion:2};this.eventController.publishEvent("backgroundFilterConfigSelected",mediaFXEventAttibutes)}sameVideoFxConfig(firstConfig,secondConfig){return firstConfig.backgroundBlur.isEnabled===secondConfig.backgroundBlur.isEnabled&&firstConfig.backgroundBlur.strength===secondConfig.backgroundBlur.strength&&firstConfig.backgroundReplacement.backgroundImageURL===secondConfig.backgroundReplacement.backgroundImageURL&&firstConfig.backgroundReplacement.defaultColor===secondConfig.backgroundReplacement.defaultColor&&firstConfig.backgroundReplacement.isEnabled===secondConfig.backgroundReplacement.isEnabled}}exports.default=VideoFxProcessor,VideoFxProcessor.isSharedArrayBufferSupported="undefined"!=typeof SharedArrayBuffer},"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxSegmentationRateManager.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VideoFxSegmentationRateManager=void 0;const VideoFxConstants_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js");exports.VideoFxSegmentationRateManager=class VideoFxSegmentationRateManager{constructor(logger,targetSegmentationCycleTime){this.logger=logger,this.targetSegmentationCyclePercentage=targetSegmentationCycleTime/100,this.frameCountOverSamplingPeriod=0,this.totalSegmentationDurationOverSamplingPeriod=0,this.samplingPeriodStartTime=performance.now(),this.framesPerSegmentation=VideoFxConstants_1.RESOURCE_CONSTRAINTS.SEGMENTATION_DEFAULT_FRAMES_PER_SEGMENTATION}submitFrame(){this.frameCountOverSamplingPeriod++}shouldApplySegmentation(){return this.frameCountOverSamplingPeriod%this.framesPerSegmentation==0}startSegmentation(){this.frameSegmentationStartTime=performance.now()}completeSegmentation(){this.totalSegmentationDurationOverSamplingPeriod+=performance.now()-this.frameSegmentationStartTime,this.frameCountOverSamplingPeriod>=VideoFxConstants_1.RESOURCE_CONSTRAINTS.SEGMENTATION_SAMPLING_PERIOD_FRAME_COUNT&&this.adjustFramesPerSegmentation(this.totalSegmentationDurationOverSamplingPeriod/(performance.now()-this.samplingPeriodStartTime))}adjustFramesPerSegmentation(currentSegmentationCycleTime){currentSegmentationCycleTime>this.targetSegmentationCyclePercentage?(this.framesPerSegmentation++,this.logger.info(`Segmentation cycle percentage above the configured maximal value. Decreasing segmentation rate to 1 segmentation per ${this.framesPerSegmentation} frames`)):this.framesPerSegmentation>1&¤tSegmentationCycleTime{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class VideoSource{}},"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class DefaultVideoStreamIdSet{constructor(ids){this.ids=new Set(ids)}add(streamId){this.ids.add(streamId)}array(){return Array.from(this.ids.values()).sort(((a,b)=>a-b))}contain(streamId){return this.ids.has(streamId)}forEach(callbackFn){this.ids.forEach(callbackFn)}empty(){return 0===this.ids.size}size(){return this.ids.size}equal(other){if(!other)return 0===this.ids.size;const x=this.array(),y=other.array();if(x.length!==y.length)return!1;for(let i=0;i{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),DefaultVideoStreamIdSet_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js"),VideoStreamDescription_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js");exports.default=class DefaultVideoStreamIndex{constructor(logger){this.logger=logger,this.currentIndex=null,this.indexForSubscribe=null,this.currentSubscribeAck=null,this.subscribeTrackToStreamMap=null,this.subscribeStreamToAttendeeMap=null,this.subscribeStreamToExternalUserIdMap=null,this.subscribeSsrcToStreamMap=null,this.streamToAttendeeMap=null,this.streamToExternalUserIdMap=null,this.videoStreamDescription=new VideoStreamDescription_1.default,this.videoStreamDescription.trackLabel="AmazonChimeExpressVideo",this.videoStreamDescription.streamId=2,this.videoStreamDescription.groupId=2}localStreamDescriptions(){return[this.videoStreamDescription.clone()]}convertBpsToKbps(avgBitrateBps){return avgBitrateBps>0&&avgBitrateBps<1e3?1:Math.trunc(avgBitrateBps/1e3)}remoteStreamDescriptions(){if(!this.currentIndex||!this.currentIndex.sources)return[];const streamInfos=[];return this.currentIndex.sources.forEach((source=>{const description=new VideoStreamDescription_1.default;description.attendeeId=source.attendeeId,description.groupId=source.groupId,description.streamId=source.streamId,description.maxBitrateKbps=source.maxBitrateKbps,description.avgBitrateKbps=this.convertBpsToKbps(source.avgBitrateBps),streamInfos.push(description)})),streamInfos}integrateUplinkPolicyDecision(param){if(param&¶m.length){const encodingParam=param[0];this.videoStreamDescription.maxBitrateKbps=encodingParam.maxBitrate/1e3,this.videoStreamDescription.maxFrameRate=encodingParam.maxFramerate}}integrateIndexFrame(indexFrame){this.currentIndex=indexFrame;const attendeeIdToMainGroupIdMap=new Map;let attendeeWithMultipleGroupIdsExists=!1;for(const source of indexFrame.sources){if(!attendeeIdToMainGroupIdMap.has(source.attendeeId)){attendeeIdToMainGroupIdMap.set(source.attendeeId,source.groupId);continue}const currentGroupId=attendeeIdToMainGroupIdMap.get(source.attendeeId);currentGroupIdattendeeIdToMainGroupIdMap.get(source.attendeeId)===source.groupId))),this.streamToAttendeeMap=null,this.streamToExternalUserIdMap=null}subscribeFrameSent(){this.indexForSubscribe=this.currentIndex}integrateSubscribeAckFrame(subscribeAck){this.currentSubscribeAck=subscribeAck,this.subscribeTrackToStreamMap=this.buildTrackToStreamMap(this.currentSubscribeAck),this.subscribeSsrcToStreamMap=this.buildSSRCToStreamMap(this.currentSubscribeAck),this.subscribeStreamToAttendeeMap=this.buildStreamToAttendeeMap(this.indexForSubscribe),this.subscribeStreamToExternalUserIdMap=this.buildStreamExternalUserIdMap(this.indexForSubscribe)}integrateBitratesFrame(bitrates){if(this.currentIndex)for(const bitrate of bitrates.bitrates){const source=this.currentIndex.sources.find((source=>source.streamId===bitrate.sourceStreamId));void 0!==source&&(source.avgBitrateBps=bitrate.avgBitrateBps)}}allStreams(){const set=new DefaultVideoStreamIdSet_1.default;if(this.currentIndex)for(const source of this.currentIndex.sources)set.add(source.streamId);return set}allVideoSendingSourcesExcludingSelf(selfAttendeeId){const videoSources=[],attendeeSet=new Set;if(this.currentIndex&&this.currentIndex.sources&&this.currentIndex.sources.length)for(const stream of this.currentIndex.sources){const{attendeeId,externalUserId,mediaType}=stream;attendeeId!==selfAttendeeId&&mediaType===SignalingProtocol_js_1.SdkStreamMediaType.VIDEO&&(attendeeSet.has(attendeeId)||(videoSources.push({attendee:{attendeeId,externalUserId}}),attendeeSet.add(attendeeId)))}return videoSources}streamSelectionUnderBandwidthConstraint(selfAttendeeId,largeTileAttendeeIds,smallTileAttendeeIds,bandwidthKbps){const newAttendees=new Set;if(this.currentIndex)for(const stream of this.currentIndex.sources)stream.attendeeId!==selfAttendeeId&&stream.mediaType===SignalingProtocol_js_1.SdkStreamMediaType.VIDEO&&(largeTileAttendeeIds.has(stream.attendeeId)||smallTileAttendeeIds.has(stream.attendeeId)||newAttendees.add(stream.attendeeId));const attendeeToStreamDescriptorMap=this.buildAttendeeToSortedStreamDescriptorMapExcludingSelf(selfAttendeeId),selectionMap=new Map;let usage=0;attendeeToStreamDescriptorMap.forEach(((streams,attendeeId)=>{selectionMap.set(attendeeId,streams[0]),usage+=streams[0].maxBitrateKbps})),usage=this.trySelectHighBitrateForAttendees(attendeeToStreamDescriptorMap,largeTileAttendeeIds,usage,bandwidthKbps,selectionMap),this.trySelectHighBitrateForAttendees(attendeeToStreamDescriptorMap,newAttendees,usage,bandwidthKbps,selectionMap);const streamSelectionSet=new DefaultVideoStreamIdSet_1.default;for(const source of selectionMap.values())streamSelectionSet.add(source.streamId);return streamSelectionSet}highestQualityStreamFromEachGroupExcludingSelf(selfAttendeeId){const set=new DefaultVideoStreamIdSet_1.default;if(this.currentIndex){const maxes=new Map;for(const source of this.currentIndex.sources)source.attendeeId!==selfAttendeeId&&source.mediaType===SignalingProtocol_js_1.SdkStreamMediaType.VIDEO&&(!maxes.has(source.groupId)||source.maxBitrateKbps>maxes.get(source.groupId).maxBitrateKbps)&&maxes.set(source.groupId,source);for(const source of maxes.values())set.add(source.streamId)}return set}numberOfVideoPublishingParticipantsExcludingSelf(selfAttendeeId){return this.highestQualityStreamFromEachGroupExcludingSelf(selfAttendeeId).array().length}numberOfParticipants(){return this.currentIndex.numParticipants?this.currentIndex.numParticipants:-1}attendeeIdForTrack(trackId){const streamId=this.streamIdForTrack(trackId);if(void 0===streamId||!this.subscribeStreamToAttendeeMap)return this.logger.warn(`no attendee found for track ${trackId}`),"";const attendeeId=this.subscribeStreamToAttendeeMap.get(streamId);return attendeeId||(this.logger.info(`track ${trackId} (stream ${streamId}) does not correspond to a known attendee`),"")}externalUserIdForTrack(trackId){const streamId=this.streamIdForTrack(trackId);if(void 0===streamId||!this.subscribeStreamToExternalUserIdMap)return this.logger.warn(`no external user id found for track ${trackId}`),"";const externalUserId=this.subscribeStreamToExternalUserIdMap.get(streamId);return externalUserId||(this.logger.info(`track ${trackId} (stream ${streamId}) does not correspond to a known externalUserId`),"")}attendeeIdForStreamId(streamId){if(!this.streamToAttendeeMap){if(!this.currentIndex)return"";this.streamToAttendeeMap=this.buildStreamToAttendeeMap(this.currentIndex)}const attendeeId=this.streamToAttendeeMap.get(streamId);return attendeeId||(this.logger.info(`stream ${streamId}) does not correspond to a known attendee`),"")}groupIdForStreamId(streamId){if(this.currentIndex&&this.currentIndex.sources){for(const source of this.currentIndex.sources)if(source.streamId===streamId)return source.groupId;if(this.indexForSubscribe)for(const source of this.indexForSubscribe.sources)if(source.streamId===streamId)return source.groupId}}StreamIdsInSameGroup(streamId1,streamId2){return this.groupIdForStreamId(streamId1)===this.groupIdForStreamId(streamId2)}streamIdForTrack(trackId){if(this.subscribeTrackToStreamMap)return this.subscribeTrackToStreamMap.get(trackId)}streamIdForSSRC(ssrcId){if(this.subscribeSsrcToStreamMap)return this.subscribeSsrcToStreamMap.get(ssrcId)}overrideStreamIdMappings(previous,current){if(this.subscribeTrackToStreamMap)for(const[track,streamId]of this.subscribeTrackToStreamMap.entries())if(previous===streamId){this.subscribeTrackToStreamMap.set(track,current);break}if(this.subscribeSsrcToStreamMap)for(const[ssrc,streamId]of this.subscribeSsrcToStreamMap.entries())if(previous===streamId){this.subscribeSsrcToStreamMap.set(ssrc,current);break}}streamsPausedAtSource(){const paused=new DefaultVideoStreamIdSet_1.default;if(this.currentIndex)for(const streamId of this.currentIndex.pausedAtSourceIds)paused.add(streamId);return paused}buildTrackToStreamMap(subscribeAck){const map=new Map;this.logger.debug((()=>`trackMap ${JSON.stringify(subscribeAck.tracks)}`));for(const trackMapping of subscribeAck.tracks)trackMapping.trackLabel.length>0&&trackMapping.streamId>0&&map.set(trackMapping.trackLabel,trackMapping.streamId);return map}buildSSRCToStreamMap(subscribeAck){const map=new Map;this.logger.debug((()=>`ssrcMap ${JSON.stringify(subscribeAck.tracks)}`));for(const trackMapping of subscribeAck.tracks)trackMapping.trackLabel.length>0&&trackMapping.streamId>0&&map.set(trackMapping.ssrc,trackMapping.streamId);return map}buildStreamToAttendeeMap(indexFrame){const map=new Map;if(indexFrame)for(const source of indexFrame.sources)map.set(source.streamId,source.attendeeId);return map}buildStreamExternalUserIdMap(indexFrame){const map=new Map;if(indexFrame)for(const source of indexFrame.sources)source.externalUserId&&map.set(source.streamId,source.externalUserId);return map}trySelectHighBitrateForAttendees(attendeeToStreamDescriptorMap,highAttendees,currentUsage,bandwidthKbps,currentSelectionRef){for(const attendeeId of highAttendees){if(currentUsage>=bandwidthKbps)break;if(attendeeToStreamDescriptorMap.has(attendeeId)){const streams=attendeeToStreamDescriptorMap.get(attendeeId);for(const l of streams.reverse())if(currentUsage-currentSelectionRef.get(attendeeId).maxBitrateKbps+l.maxBitrateKbps{streams.sort(((stream1,stream2)=>stream1.maxBitrateKbps>stream2.maxBitrateKbps?1:stream1.maxBitrateKbps{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js"),DefaultVideoStreamIndex_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js"),VideoStreamDescription_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js");class SimulcastVideoStreamIndex extends DefaultVideoStreamIndex_1.default{constructor(logger){super(logger),this.streamIdToBitrateKbpsMap=new Map,this._localStreamInfos=[],this._lastBitRateMsgTime=Date.now()}localStreamDescriptions(){const clonedDescriptions=[];return this._localStreamInfos.forEach((desc=>{clonedDescriptions.push(desc.clone())})),clonedDescriptions}integrateUplinkPolicyDecision(encodingParams){let hasStreamsToReuse=!0,localStreamIndex=0;for(let i=0;i0&&(this._localStreamInfos[localStreamIndex].timeEnabled=Date.now()),this._localStreamInfos[localStreamIndex].maxBitrateKbps=targetMaxBitrateKbps,this._localStreamInfos[localStreamIndex].maxFrameRate=targetMaxFrameRate,this._localStreamInfos[localStreamIndex].disabledByUplinkPolicy=0===targetMaxBitrateKbps,!0===this._localStreamInfos[localStreamIndex].disabledByUplinkPolicy&&(this._localStreamInfos[localStreamIndex].disabledByWebRTC=!1),localStreamIndex++;else{hasStreamsToReuse=!1;const newInfo=new VideoStreamDescription_1.default;newInfo.maxBitrateKbps=targetMaxBitrateKbps,newInfo.maxFrameRate=targetMaxFrameRate,newInfo.disabledByUplinkPolicy=0===targetMaxBitrateKbps,0!==targetMaxBitrateKbps&&(newInfo.timeEnabled=Date.now()),this._localStreamInfos.push(newInfo),localStreamIndex++}}hasStreamsToReuse&&this._localStreamInfos.splice(localStreamIndex)}integrateBitratesFrame(bitrateFrame){super.integrateBitratesFrame(bitrateFrame);const stillSending=new Set,existingSet=new Set(this.streamIdToBitrateKbpsMap.keys());for(const bitrateMsg of bitrateFrame.bitrates)stillSending.add(bitrateMsg.sourceStreamId),this.streamIdToBitrateKbpsMap.set(bitrateMsg.sourceStreamId,this.convertBpsToKbps(bitrateMsg.avgBitrateBps));for(const id of existingSet)if(!stillSending.has(id)){this.streamIdToBitrateKbpsMap.get(id)===SimulcastVideoStreamIndex.UNSEEN_STREAM_BITRATE?this.streamIdToBitrateKbpsMap.set(id,SimulcastVideoStreamIndex.RECENTLY_INACTIVE_STREAM_BITRATE):this.streamIdToBitrateKbpsMap.set(id,SimulcastVideoStreamIndex.NOT_SENDING_STREAM_BITRATE)}for(let i=0;iSimulcastVideoStreamIndex.BitratesMsgFrequencyMs&&(this._localStreamInfos[i].disabledByWebRTC=!0)}else this._lastBitRateMsgTime-this._localStreamInfos[i].timeEnabled>SimulcastVideoStreamIndex.BitratesMsgFrequencyMs&&(this._localStreamInfos[i].disabledByWebRTC=!0)}this._lastBitRateMsgTime=Date.now(),this.logLocalStreamDescriptions()}logLocalStreamDescriptions(){let msg="";for(const desc of this._localStreamInfos)msg+=`streamId=${desc.streamId} maxBitrate=${desc.maxBitrateKbps} disabledByWebRTC=${desc.disabledByWebRTC} disabledByUplink=${desc.disabledByUplinkPolicy}\n`;this.logger.debug((()=>msg))}integrateIndexFrame(indexFrame){super.integrateIndexFrame(indexFrame);const newIndexStreamIdSet=new Set,existingSet=new Set(this.streamIdToBitrateKbpsMap.keys());for(const stream of this.currentIndex.sources)stream.mediaType===SignalingProtocol_js_1.SdkStreamMediaType.VIDEO&&(newIndexStreamIdSet.add(stream.streamId),this.streamIdToBitrateKbpsMap.has(stream.streamId)||this.streamIdToBitrateKbpsMap.set(stream.streamId,SimulcastVideoStreamIndex.UNSEEN_STREAM_BITRATE));for(const id of existingSet)newIndexStreamIdSet.has(id)||this.streamIdToBitrateKbpsMap.delete(id)}integrateSubscribeAckFrame(subscribeAck){if(super.integrateSubscribeAckFrame(subscribeAck),!subscribeAck.allocations||void 0===subscribeAck.allocations)return;let localStreamStartIndex=0;for(const allocation of subscribeAck.allocations){if(this._localStreamInfos.length{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SignalingProtocol_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js");class VideoStreamDescription{constructor(attendeeId,groupId,streamId,maxBitrateKbps,avgBitrateKbps){this.attendeeId="",this.groupId=0,this.streamId=0,this.ssrc=0,this.trackLabel="",this.maxBitrateKbps=0,this.avgBitrateKbps=0,this.maxFrameRate=0,this.timeEnabled=0,this.disabledByWebRTC=!1,this.disabledByUplinkPolicy=!1,this.attendeeId=attendeeId,this.groupId=groupId,this.streamId=streamId,this.maxBitrateKbps=maxBitrateKbps,this.avgBitrateKbps=avgBitrateKbps}clone(){const newInfo=new VideoStreamDescription;return newInfo.attendeeId=this.attendeeId,newInfo.groupId=this.groupId,newInfo.streamId=this.streamId,newInfo.ssrc=this.ssrc,newInfo.trackLabel=this.trackLabel,newInfo.maxBitrateKbps=this.maxBitrateKbps,newInfo.avgBitrateKbps=this.avgBitrateKbps,newInfo.maxFrameRate=this.maxFrameRate,newInfo.timeEnabled=this.timeEnabled,newInfo.disabledByWebRTC=this.disabledByWebRTC,newInfo.disabledByUplinkPolicy=this.disabledByUplinkPolicy,newInfo}toStreamDescriptor(){const descriptor=SignalingProtocol_js_1.SdkStreamDescriptor.create();return descriptor.mediaType=SignalingProtocol_js_1.SdkStreamMediaType.VIDEO,descriptor.trackLabel=this.trackLabel,descriptor.attendeeId=this.attendeeId,descriptor.streamId=this.streamId,descriptor.groupId=this.groupId,descriptor.framerate=this.maxFrameRate,descriptor.maxBitrateKbps=this.disabledByUplinkPolicy||this.disabledByWebRTC?0:this.maxBitrateKbps,descriptor.avgBitrateBps=this.avgBitrateKbps,descriptor}}exports.default=VideoStreamDescription},"./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js"),DefaultModality_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js"),VideoTileState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js");class DefaultVideoTile{constructor(tileId,localTile,tileController,devicePixelRatioMonitor){this.tileController=tileController,this.devicePixelRatioMonitor=devicePixelRatioMonitor,this.tileState=new VideoTileState_1.default,this.tileState.tileId=tileId,this.tileState.localTile=localTile,this.devicePixelRatioMonitor.registerObserver(this)}static connectVideoStreamToVideoElement(videoStream,videoElement,localTile){const transform=localTile&&"environment"!==videoStream.getVideoTracks()[0].getSettings().facingMode?"rotateY(180deg)":"";if(DefaultVideoTile.setVideoElementFlag(videoElement,"disablePictureInPicture",localTile),DefaultVideoTile.setVideoElementFlag(videoElement,"disableRemotePlayback",localTile),videoElement.style.transform!==transform&&(videoElement.style.transform=transform),videoElement.hasAttribute("controls")&&videoElement.removeAttribute("controls"),videoElement.hasAttribute("autoplay")||videoElement.setAttribute("autoplay","true"),videoElement.hasAttribute("playsinline")||videoElement.setAttribute("playsinline","true"),videoElement.hasAttribute("muted")||(videoElement.setAttribute("muted","true"),videoElement.muted=!0),videoElement.srcObject!==videoStream&&(videoElement.srcObject=videoStream,(new DefaultBrowserBehavior_1.default).requiresVideoPlayWorkaround()&&videoElement.paused)){const promise=videoElement.play();void 0!==promise&&promise.catch((error=>{console.warn("Error playing video in Safari",error)})).then((()=>{console.debug("Video played successfully in Safari")}))}}static disconnectVideoStreamFromVideoElement(videoElement,dueToPause,keepLastFrameWhenPaused=!1){if(videoElement)if(dueToPause)keepLastFrameWhenPaused||(videoElement.srcObject=null,videoElement.style.transform="");else{if(!videoElement.srcObject)return;videoElement.pause(),videoElement.style.transform="",DefaultVideoTile.setVideoElementFlag(videoElement,"disablePictureInPicture",!1),DefaultVideoTile.setVideoElementFlag(videoElement,"disableRemotePlayback",!1),videoElement.srcObject=null}}destroy(){this.devicePixelRatioMonitor.removeObserver(this),this.tileState.boundVideoElement&&this.tileState.boundVideoElement.srcObject===this.tileState.boundVideoStream&&DefaultVideoTile.disconnectVideoStreamFromVideoElement(this.tileState.boundVideoElement,!1),this.tileState=new VideoTileState_1.default}devicePixelRatioChanged(newDevicePixelRatio){this.tileState.devicePixelRatio=newDevicePixelRatio,this.sendTileStateUpdate()}id(){return this.tileState.tileId}state(){return this.tileState.clone()}stateRef(){return this.tileState}bindVideoStream(attendeeId,localTile,mediaStream,contentWidth,contentHeight,streamId,externalUserId){let tileUpdated=!1;this.tileState.boundAttendeeId!==attendeeId&&(this.tileState.boundAttendeeId=attendeeId,new DefaultModality_1.default(attendeeId).hasModality(DefaultModality_1.default.MODALITY_CONTENT)&&(this.tileState.isContent=!0),tileUpdated=!0),this.tileState.boundExternalUserId!==externalUserId&&(this.tileState.boundExternalUserId=externalUserId,tileUpdated=!0),this.tileState.localTile!==localTile&&(this.tileState.localTile=localTile,tileUpdated=!0),this.tileState.boundVideoStream!==mediaStream&&(this.tileState.boundVideoStream=mediaStream,tileUpdated=!0),this.tileState.videoStreamContentWidth!==contentWidth&&(this.tileState.videoStreamContentWidth=contentWidth,tileUpdated=!0),this.tileState.videoStreamContentHeight!==contentHeight&&(this.tileState.videoStreamContentHeight=contentHeight,tileUpdated=!0),this.tileState.streamId!==streamId&&(this.tileState.streamId=streamId,tileUpdated=!0),tileUpdated&&this.sendTileStateUpdate()}bindVideoElement(videoElement){let tileUpdated=!1;this.tileState.boundVideoElement!==videoElement&&(this.tileState.boundVideoElement=videoElement,tileUpdated=!0),null!==this.tileState.boundVideoElement?(this.tileState.videoElementCSSWidthPixels!==videoElement.clientWidth&&(this.tileState.videoElementCSSWidthPixels=videoElement.clientWidth,tileUpdated=!0),this.tileState.videoElementCSSHeightPixels!==videoElement.clientHeight&&(this.tileState.videoElementCSSHeightPixels=videoElement.clientHeight,tileUpdated=!0)):(this.tileState.videoElementCSSWidthPixels=null,this.tileState.videoElementCSSHeightPixels=null),tileUpdated&&this.sendTileStateUpdate()}pause(){this.tileState.paused||(this.tileState.paused=!0,this.sendTileStateUpdate())}unpause(){this.tileState.paused&&(this.tileState.paused=!1,this.sendTileStateUpdate())}markPoorConnection(){return!this.tileState.poorConnection&&(this.tileState.poorConnection=!0,this.sendTileStateUpdate(),!0)}unmarkPoorConnection(){return!!this.tileState.poorConnection&&(this.tileState.poorConnection=!1,this.sendTileStateUpdate(),!0)}capture(){if(!this.tileState.active)return null;const canvas=document.createElement("canvas"),video=this.tileState.boundVideoElement;canvas.width=video.videoWidth||video.width,canvas.height=video.videoHeight||video.height;const ctx=canvas.getContext("2d");return ctx.drawImage(video,0,0,canvas.width,canvas.height),ctx.getImageData(0,0,canvas.width,canvas.height)}setStreamId(id){this.tileState.streamId=id,this.tileController.sendTileStateUpdate(this.state())}sendTileStateUpdate(){this.updateActiveState(),this.updateVideoStreamOnVideoElement(),this.updateVideoElementPhysicalPixels(),this.tileController.sendTileStateUpdate(this.state())}updateActiveState(){this.tileState.active=!(this.tileState.paused||this.tileState.poorConnection||!this.tileState.boundAttendeeId||!this.tileState.boundVideoElement||!this.tileState.boundVideoStream)}updateVideoElementPhysicalPixels(){"number"==typeof this.tileState.videoElementCSSWidthPixels&&"number"==typeof this.tileState.videoElementCSSHeightPixels?(this.tileState.videoElementPhysicalWidthPixels=this.tileState.devicePixelRatio*this.tileState.videoElementCSSWidthPixels,this.tileState.videoElementPhysicalHeightPixels=this.tileState.devicePixelRatio*this.tileState.videoElementCSSHeightPixels):(this.tileState.videoElementPhysicalWidthPixels=null,this.tileState.videoElementPhysicalHeightPixels=null)}updateVideoStreamOnVideoElement(){this.tileState.active?DefaultVideoTile.connectVideoStreamToVideoElement(this.tileState.boundVideoStream,this.tileState.boundVideoElement,this.tileState.localTile):DefaultVideoTile.disconnectVideoStreamFromVideoElement(this.tileState.boundVideoElement,this.tileState.paused,this.tileController.keepLastFrameWhenPaused)}static setVideoElementFlag(videoElement,flag,value){flag in videoElement&&(videoElement[flag]=value)}}exports.default=DefaultVideoTile},"./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class VideoTileState{constructor(){this.tileId=null,this.localTile=!1,this.localTileStarted=!1,this.isContent=!1,this.active=!1,this.paused=!1,this.poorConnection=!1,this.boundAttendeeId=null,this.boundExternalUserId=null,this.boundVideoStream=null,this.boundVideoElement=null,this.nameplate=null,this.videoStreamContentWidth=null,this.videoStreamContentHeight=null,this.videoElementCSSWidthPixels=null,this.videoElementCSSHeightPixels=null,this.devicePixelRatio=0,this.videoElementPhysicalWidthPixels=null,this.videoElementPhysicalHeightPixels=null,this.streamId=null}clone(){const cloned=new VideoTileState;return cloned.tileId=this.tileId,cloned.localTile=this.localTile,cloned.isContent=this.isContent,cloned.active=this.active,cloned.paused=this.paused,cloned.poorConnection=this.poorConnection,cloned.boundAttendeeId=this.boundAttendeeId,cloned.boundExternalUserId=this.boundExternalUserId,cloned.boundVideoStream=this.boundVideoStream,cloned.boundVideoElement=this.boundVideoElement,cloned.nameplate=this.nameplate,cloned.videoStreamContentWidth=this.videoStreamContentWidth,cloned.videoStreamContentHeight=this.videoStreamContentHeight,cloned.videoElementCSSWidthPixels=this.videoElementCSSWidthPixels,cloned.videoElementCSSHeightPixels=this.videoElementCSSHeightPixels,cloned.devicePixelRatio=this.devicePixelRatio,cloned.videoElementPhysicalWidthPixels=this.videoElementPhysicalWidthPixels,cloned.videoElementPhysicalHeightPixels=this.videoElementPhysicalHeightPixels,cloned.streamId=this.streamId,cloned}}exports.default=VideoTileState},"./node_modules/amazon-chime-sdk-js/build/videotilecontroller/DefaultVideoTileController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultDevicePixelRatioMonitor_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js"),DevicePixelRatioWindowSource_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.js"),Types_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Types.js"),DefaultVideoTile_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js");exports.default=class DefaultVideoTileController{constructor(tileFactory,audioVideoController,logger){this.tileFactory=tileFactory,this.audioVideoController=audioVideoController,this.logger=logger,this.tileMap=new Map,this.nextTileId=1,this.currentLocalTile=null,this.currentPausedTilesByIds=new Set,this.keepLastFrameWhenPaused=!1,this.keepLastFrameWhenPaused=audioVideoController.configuration.keepLastFrameWhenPaused}createDevicePixelRatioMonitorIfNeeded(){this.devicePixelRatioMonitor||(this.devicePixelRatioMonitor=new DefaultDevicePixelRatioMonitor_1.default(new DevicePixelRatioWindowSource_1.default,this.logger))}discardDevicePixelRatioMonitorIfNotNeeded(){return __awaiter(this,void 0,void 0,(function*(){if(this.tileMap.size||!this.devicePixelRatioMonitor)return;const monitor=this.devicePixelRatioMonitor;return this.devicePixelRatioMonitor=void 0,monitor.destroy()}))}bindVideoElement(tileId,videoElement){const tile=this.getVideoTile(tileId);null!==tile?tile.bindVideoElement(videoElement):this.logger.warn(`Ignoring video element binding for unknown tile id ${tileId}`)}unbindVideoElement(tileId,cleanUpVideoElement=!0){const tile=this.getVideoTile(tileId);if(null===tile)return void this.logger.warn(`Ignoring video element unbinding for unknown tile id ${tileId}`);this.logger.info("Unbinding the video element");const videoElement=tile.stateRef().boundVideoElement;tile.bindVideoElement(null),cleanUpVideoElement&&(this.logger.info("Cleaning up the video element"),DefaultVideoTile_1.default.disconnectVideoStreamFromVideoElement(videoElement,!1))}startLocalVideoTile(){const tile=this.findOrCreateLocalVideoTile();return this.currentLocalTile.stateRef().localTileStarted=!0,this.audioVideoController.update({needsRenegotiation:!0}),tile.id()}stopLocalVideoTile(){this.currentLocalTile&&(this.currentLocalTile.stateRef().localTileStarted=!1,this.currentLocalTile.bindVideoStream(this.audioVideoController.configuration.credentials.attendeeId,!0,null,null,null,null,this.audioVideoController.configuration.credentials.externalUserId),this.audioVideoController.update({needsRenegotiation:!0}))}hasStartedLocalVideoTile(){return!(!this.currentLocalTile||!this.currentLocalTile.stateRef().localTileStarted)}removeLocalVideoTile(){this.currentLocalTile&&this.removeVideoTile(this.currentLocalTile.id())}getLocalVideoTile(){return this.currentLocalTile}pauseVideoTile(tileId){const tile=this.getVideoTile(tileId);tile&&(this.currentPausedTilesByIds.has(tileId)||(this.audioVideoController.pauseReceivingStream(tile.stateRef().streamId),this.currentPausedTilesByIds.add(tileId)),tile.pause())}unpauseVideoTile(tileId){const tile=this.getVideoTile(tileId);tile&&(this.currentPausedTilesByIds.has(tileId)&&(this.audioVideoController.resumeReceivingStream(tile.stateRef().streamId),this.currentPausedTilesByIds.delete(tileId)),tile.unpause())}getVideoTile(tileId){return this.tileMap.has(tileId)?this.tileMap.get(tileId):null}getVideoTileArea(tile){const state=tile.state();let tileHeight=0,tileWidth=0;return state.boundVideoElement&&(tileHeight=state.boundVideoElement.clientHeight*state.devicePixelRatio,tileWidth=state.boundVideoElement.clientWidth*state.devicePixelRatio),tileHeight*tileWidth}getAllRemoteVideoTiles(){const result=new Array;return this.tileMap.forEach(((tile,tileId)=>{this.currentLocalTile&&tileId===this.currentLocalTile.id()||result.push(tile)})),result}getAllVideoTiles(){return Array.from(this.tileMap.values())}addVideoTile(localTile=!1){const tileId=this.nextTileId;this.nextTileId+=1,this.createDevicePixelRatioMonitorIfNeeded();const tile=this.tileFactory.makeTile(tileId,localTile,this,this.devicePixelRatioMonitor);return this.tileMap.set(tileId,tile),tile}removeVideoTile(tileId){if(!this.tileMap.has(tileId))return;const tile=this.tileMap.get(tileId);this.currentLocalTile===tile&&(this.currentLocalTile=null),tile.destroy(),this.tileMap.delete(tileId),this.audioVideoController.forEachObserver((observer=>{Types_1.Maybe.of(observer.videoTileWasRemoved).map((f=>f.bind(observer)(tileId)))})),this.discardDevicePixelRatioMonitorIfNotNeeded()}removeVideoTilesByAttendeeId(attendeeId){const tilesRemoved=[];for(const tile of this.getAllVideoTiles()){const state=tile.state();state.boundAttendeeId===attendeeId&&(this.removeVideoTile(state.tileId),tilesRemoved.push(state.tileId))}return tilesRemoved}removeAllVideoTiles(){const tileIds=Array.from(this.tileMap.keys());for(const tileId of tileIds)this.removeVideoTile(tileId)}sendTileStateUpdate(tileState){this.audioVideoController.forEachObserver((observer=>{Types_1.Maybe.of(observer.videoTileDidUpdate).map((f=>f.bind(observer)(tileState)))}))}haveVideoTilesWithStreams(){for(const tile of this.getAllVideoTiles())if(tile.state().boundVideoStream)return!0;return!1}haveVideoTileForAttendeeId(attendeeId){return!!this.getVideoTileForAttendeeId(attendeeId)}getVideoTileForAttendeeId(attendeeId){for(const tile of this.getAllVideoTiles()){if(tile.state().boundAttendeeId===attendeeId)return tile}}captureVideoTile(tileId){const tile=this.getVideoTile(tileId);return tile?tile.capture():null}findOrCreateLocalVideoTile(){return this.currentLocalTile||(this.currentLocalTile=this.addVideoTile(!0),this.currentLocalTile.bindVideoStream(this.audioVideoController.configuration.credentials.attendeeId,!0,null,null,null,null,this.audioVideoController.configuration.credentials.externalUserId)),this.currentLocalTile}}},"./node_modules/amazon-chime-sdk-js/build/videotilefactory/DefaultVideoTileFactory.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const DefaultVideoTile_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js");exports.default=class DefaultVideoTileFactory{makeTile(tileId,localTile,tileController,devicePixelRatioMonitor){return new DefaultVideoTile_1.default(tileId,localTile,tileController,devicePixelRatioMonitor)}}},"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class BitrateParameters{}},"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SimulcastLayers_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js"),SimulcastTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js"),Types_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Types.js"),DefaultVideoCaptureAndEncodeParameter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js"),BitrateParameters_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js");class DefaultSimulcastUplinkPolicy{constructor(selfAttendeeId,logger){this.selfAttendeeId=selfAttendeeId,this.logger=logger,this.numSenders=0,this.shouldDisableSimulcast=!1,this.newQualityMap=new Map,this.currentQualityMap=new Map,this.newActiveStreams=1,this.currentActiveStreams=1,this.lastUplinkBandwidthKbps=DefaultSimulcastUplinkPolicy.defaultUplinkBandwidthKbps,this.startTimeMs=0,this.lastUpdatedMs=Date.now(),this.videoIndex=null,this.currLocalDescriptions=[],this.nextLocalDescriptions=[],this.observerQueue=new Set,this.optimalParameters=new DefaultVideoCaptureAndEncodeParameter_1.default(0,0,0,0,!0),this.parametersInEffect=new DefaultVideoCaptureAndEncodeParameter_1.default(0,0,0,0,!0),this.lastUplinkBandwidthKbps=DefaultSimulcastUplinkPolicy.defaultUplinkBandwidthKbps,this.currentQualityMap=this.fillEncodingParamWithBitrates([300,0,1200]),this.newQualityMap=this.fillEncodingParamWithBitrates([300,0,1200])}updateConnectionMetric({uplinkKbps=0}){if(isNaN(uplinkKbps))return;0===this.startTimeMs&&(this.startTimeMs=Date.now()),Date.now()-this.startTimeMs`simulcast: uplink policy update metrics ${this.lastUplinkBandwidthKbps}`));let holdTime=DefaultSimulcastUplinkPolicy.holdDownDurationMs;3===this.currentActiveStreams?holdTime=2*DefaultSimulcastUplinkPolicy.holdDownDurationMs:(2===this.currentActiveStreams&&uplinkKbps<=DefaultSimulcastUplinkPolicy.kMidDisabledRate||1===this.currentActiveStreams&&uplinkKbps<=DefaultSimulcastUplinkPolicy.kHiDisabledRate)&&(holdTime=DefaultSimulcastUplinkPolicy.holdDownDurationMs/2),Date.now()=hysteresisIncrease||this.lastUplinkBandwidthKbps<=hysteresisDecrease){this.shouldDisableSimulcast?(this.newActiveStreams=0,newBitrates[0].maxBitrateKbps=0,newBitrates[1].maxBitrateKbps=1200,newBitrates[2].maxBitrateKbps=0):this.numSenders<=4&&this.lastUplinkBandwidthKbps>=DefaultSimulcastUplinkPolicy.kHiDisabledRate?(this.newActiveStreams=1,newBitrates[0].maxBitrateKbps=300,newBitrates[1].maxBitrateKbps=0,newBitrates[2].maxBitrateKbps=1200):this.lastUplinkBandwidthKbps>=DefaultSimulcastUplinkPolicy.kMidDisabledRate?(this.newActiveStreams=2,newBitrates[0].maxBitrateKbps=this.lastUplinkBandwidthKbps>=350?200:150,newBitrates[1].maxBitrateKbps=this.numSenders<=6?600:350,newBitrates[2].maxBitrateKbps=0):(this.newActiveStreams=3,newBitrates[0].maxBitrateKbps=300,newBitrates[1].maxBitrateKbps=0,newBitrates[2].maxBitrateKbps=0);const bitrates=newBitrates.map(((v,_i,_a)=>v.maxBitrateKbps));this.newQualityMap=this.fillEncodingParamWithBitrates(bitrates),this.encodingParametersEqual()||this.logger.info(`simulcast: policy:calculateEncodingParameters bw:${this.lastUplinkBandwidthKbps} numSources:${this.numSenders} shouldDisableSimulcast:${this.shouldDisableSimulcast} newQualityMap: ${this.getQualityMapString(this.newQualityMap)}`)}return this.newQualityMap}chooseMediaTrackConstraints(){return{width:{ideal:1280},height:{ideal:768},frameRate:{ideal:15}}}chooseEncodingParameters(){return this.currentQualityMap=this.newQualityMap,this.currentActiveStreams=this.newActiveStreams,this.activeStreamsToPublish!==this.newActiveStreams&&(this.activeStreamsToPublish=this.newActiveStreams,this.publishEncodingSimulcastLayer()),this.currentQualityMap}updateIndex(videoIndex){const numSenders=videoIndex.numberOfVideoPublishingParticipantsExcludingSelf(this.selfAttendeeId)+1,numSendersChanged=numSenders!==this.numSenders,numParticipants=videoIndex.numberOfParticipants(),newShouldDisableSimulcast=numParticipants>=0&&numParticipants<=2,shouldDisableSimulcastChanged=this.shouldDisableSimulcast!==newShouldDisableSimulcast;this.numSenders=numSenders,this.shouldDisableSimulcast=newShouldDisableSimulcast,this.optimalParameters=new DefaultVideoCaptureAndEncodeParameter_1.default(this.captureWidth(),this.captureHeight(),this.captureFrameRate(),this.maxBandwidthKbps(),!1),this.videoIndex=videoIndex,this.newQualityMap=this.calculateEncodingParameters(numSendersChanged||shouldDisableSimulcastChanged)}wantsResubscribe(){let constraintDiff=!this.encodingParametersEqual();this.nextLocalDescriptions=this.videoIndex.localStreamDescriptions();for(let i=0;ival.streamId===streamId));-1!==prevIndex&&this.nextLocalDescriptions[i].disabledByWebRTC!==this.currLocalDescriptions[prevIndex].disabledByWebRTC&&(constraintDiff=!0)}}return constraintDiff&&(this.lastUpdatedMs=Date.now()),this.currLocalDescriptions=this.nextLocalDescriptions,constraintDiff}compareEncodingParameter(encoding1,encoding2){return JSON.stringify(encoding1)===JSON.stringify(encoding2)}encodingParametersEqual(){let different=!1;for(const ridName of SimulcastTransceiverController_1.default.NAME_ARR_ASCENDING)if(different=different||!this.compareEncodingParameter(this.newQualityMap.get(ridName),this.currentQualityMap.get(ridName)),different)break;return!different}chooseCaptureAndEncodeParameters(){return this.parametersInEffect=this.optimalParameters.clone(),this.parametersInEffect.clone()}captureWidth(){return 1280}captureHeight(){return 768}captureFrameRate(){return 15}maxBandwidthKbps(){return 1400}setIdealMaxBandwidthKbps(_idealMaxBandwidthKbps){}setHasBandwidthPriority(_hasBandwidthPriority){}fillEncodingParamWithBitrates(bitratesKbps){const newMap=new Map,nameArr=SimulcastTransceiverController_1.default.NAME_ARR_ASCENDING,bitrateArr=bitratesKbps;let scale=this.shouldDisableSimulcast?1:4;for(let i=0;i0,scaleResolutionDownBy:Math.max(scale,1),maxBitrate:1e3*bitrateArr[i]}),scale/=2}return newMap}getQualityMapString(params){let qualityString="";const localDescriptions=this.videoIndex.localStreamDescriptions();return 3===localDescriptions.length&¶ms.forEach((value=>{let disabledByWebRTC=!1;disabledByWebRTC="low"===value.rid?localDescriptions[0].disabledByWebRTC:"mid"===value.rid?localDescriptions[1].disabledByWebRTC:localDescriptions[2].disabledByWebRTC,qualityString+=`{ rid: ${value.rid} active:${value.active} disabledByWebRTC: ${disabledByWebRTC} maxBitrate:${value.maxBitrate}}`})),qualityString}getEncodingSimulcastLayer(activeStreams){switch(activeStreams){case 0:return SimulcastLayers_1.default.High;case 1:return SimulcastLayers_1.default.LowAndHigh;case 2:return SimulcastLayers_1.default.LowAndMedium;case 3:return SimulcastLayers_1.default.Low}}publishEncodingSimulcastLayer(){const simulcastLayers=this.getEncodingSimulcastLayer(this.activeStreamsToPublish);this.forEachObserver((observer=>{Types_1.Maybe.of(observer.encodingSimulcastLayersDidChange).map((f=>f.bind(observer)(simulcastLayers)))}))}addObserver(observer){this.logger.info("adding simulcast uplink observer"),this.observerQueue.add(observer)}removeObserver(observer){this.logger.info("removing simulcast uplink observer"),this.observerQueue.delete(observer)}forEachObserver(observerFunc){for(const observer of this.observerQueue)observerFunc(observer)}}exports.default=DefaultSimulcastUplinkPolicy,DefaultSimulcastUplinkPolicy.defaultUplinkBandwidthKbps=1200,DefaultSimulcastUplinkPolicy.startupDurationMs=6e3,DefaultSimulcastUplinkPolicy.holdDownDurationMs=4e3,DefaultSimulcastUplinkPolicy.defaultMaxFrameRate=15,DefaultSimulcastUplinkPolicy.kHiDisabledRate=700,DefaultSimulcastUplinkPolicy.kMidDisabledRate=240},"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SimulcastContentShareTransceiverController_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js");exports.default=class DefaultSimulcastUplinkPolicyForContentShare{constructor(logger,encodingParams){this.logger=logger,this.encodingParams=encodingParams,this.videoIndex=null,this.currLocalDescriptions=[],this.nextLocalDescriptions=[]}updateConnectionMetric(_metrics){}chooseMediaTrackConstraints(){}chooseEncodingParameters(){var _a,_b,_c,_d,_e,_f,_g,_h,_j,_k,_l,_m;const newMap=new Map,nameArr=SimulcastContentShareTransceiverController_1.default.NAME_ARR_ASCENDING;return newMap.set(nameArr[0],{rid:nameArr[0],active:!0,scaleResolutionDownBy:(null===(_b=null===(_a=this.encodingParams)||void 0===_a?void 0:_a.low)||void 0===_b?void 0:_b.scaleResolutionDownBy)||2,maxBitrate:1e3*((null===(_d=null===(_c=this.encodingParams)||void 0===_c?void 0:_c.low)||void 0===_d?void 0:_d.maxBitrateKbps)||300),maxFramerate:(null===(_f=null===(_e=this.encodingParams)||void 0===_e?void 0:_e.low)||void 0===_f?void 0:_f.maxFramerate)||5}),newMap.set(nameArr[1],{rid:nameArr[1],active:!0,scaleResolutionDownBy:(null===(_h=null===(_g=this.encodingParams)||void 0===_g?void 0:_g.high)||void 0===_h?void 0:_h.scaleResolutionDownBy)||1,maxBitrate:1e3*((null===(_k=null===(_j=this.encodingParams)||void 0===_j?void 0:_j.high)||void 0===_k?void 0:_k.maxBitrateKbps)||1200),maxFramerate:null===(_m=null===(_l=this.encodingParams)||void 0===_l?void 0:_l.high)||void 0===_m?void 0:_m.maxFramerate}),this.getQualityMapString(newMap),newMap}updateIndex(videoIndex){this.videoIndex=videoIndex}wantsResubscribe(){var _a,_b;let constraintDiff=!1;this.nextLocalDescriptions=null===(_a=this.videoIndex)||void 0===_a?void 0:_a.localStreamDescriptions();for(let i=0;i<(null===(_b=this.nextLocalDescriptions)||void 0===_b?void 0:_b.length);i++){const streamId=this.nextLocalDescriptions[i].streamId;if(0!==streamId&&streamId){const prevIndex=this.currLocalDescriptions.findIndex((val=>val.streamId===streamId));-1!==prevIndex&&this.nextLocalDescriptions[i].disabledByWebRTC!==this.currLocalDescriptions[prevIndex].disabledByWebRTC&&(constraintDiff=!0)}}return this.currLocalDescriptions=this.nextLocalDescriptions,constraintDiff}chooseCaptureAndEncodeParameters(){}maxBandwidthKbps(){return 1200}setIdealMaxBandwidthKbps(_idealMaxBandwidthKbps){}setHasBandwidthPriority(_hasBandwidthPriority){}getQualityMapString(params){var _a;let qualityString="";const localDescriptions=null===(_a=this.videoIndex)||void 0===_a?void 0:_a.localStreamDescriptions();(null==localDescriptions?void 0:localDescriptions.length)>0&&(params.forEach((value=>{let disabledByWebRTC=!1;disabledByWebRTC="low"===value.rid?localDescriptions[0].disabledByWebRTC:localDescriptions[1].disabledByWebRTC,qualityString+=`{ rid: ${value.rid} active:${value.active} disabledByWebRTC: ${disabledByWebRTC} maxBitrate:${value.maxBitrate} scaleResolutionDownBy:${value.scaleResolutionDownBy} maxFrameRate:${value.maxFramerate}`})),this.logger.info(`simulcast: content policy:chooseEncodingParameters newQualityMap: ${qualityString}`))}addObserver(_observer){}removeObserver(_observer){}forEachObserver(_observerFunc){}}},"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultVideoCaptureAndEncodeParameter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js");class NScaleVideoUplinkBandwidthPolicy{constructor(selfAttendeeId,scaleResolution=!0,logger=void 0,browserBehavior=void 0){this.selfAttendeeId=selfAttendeeId,this.scaleResolution=scaleResolution,this.logger=logger,this.browserBehavior=browserBehavior,this.numberOfPublishedVideoSources=0,this.idealMaxBandwidthKbps=1400,this.hasBandwidthPriority=!1,this.encodingParamMap=new Map,this.reset()}reset(){this.numberOfPublishedVideoSources=0,this.optimalParameters=new DefaultVideoCaptureAndEncodeParameter_1.default(0,0,0,0,!1),this.parametersInEffect=new DefaultVideoCaptureAndEncodeParameter_1.default(0,0,0,0,!1),this.encodingParamMap.set(NScaleVideoUplinkBandwidthPolicy.encodingMapKey,{maxBitrate:0})}updateConnectionMetric(_metrics){}chooseMediaTrackConstraints(){return{}}chooseEncodingParameters(){return new Map}updateIndex(videoIndex){var _a;let hasLocalVideo=!0,scale=1;this.transceiverController&&(hasLocalVideo=this.transceiverController.hasVideoInput());const numberOfPublishedVideoSources=videoIndex.numberOfVideoPublishingParticipantsExcludingSelf(this.selfAttendeeId)+(hasLocalVideo?1:0);if(this.numberOfPublishedVideoSources!==numberOfPublishedVideoSources){if(this.numberOfPublishedVideoSources=numberOfPublishedVideoSources,this.transceiverController){const settings=this.getStreamCaptureSetting();if(settings){scale=this.calculateEncodingParameters(settings).scaleResolutionDownBy}}this.optimalParameters=new DefaultVideoCaptureAndEncodeParameter_1.default(this.captureWidth(),this.captureHeight(),this.captureFrameRate(),this.maxBandwidthKbps(),!1,scale)}else null===(_a=this.logger)||void 0===_a||_a.debug("Skipping update index; Number of participants has not changed")}wantsResubscribe(){return!this.parametersInEffect.equal(this.optimalParameters)}chooseCaptureAndEncodeParameters(){return this.parametersInEffect=this.optimalParameters.clone(),this.parametersInEffect.clone()}captureWidth(){let width=640;return this.getNumberOfPublishedVideoSources()>4&&(width=320),width}captureHeight(){let height=384;return this.getNumberOfPublishedVideoSources()>4&&(height=192),height}captureFrameRate(){return 15}maxBandwidthKbps(){if(this.hasBandwidthPriority)return Math.trunc(this.idealMaxBandwidthKbps);let rate=0;return rate=this.getNumberOfPublishedVideoSources()<=2?this.idealMaxBandwidthKbps:this.getNumberOfPublishedVideoSources()<=4?2*this.idealMaxBandwidthKbps/3:(544/11+14880/(11*this.getNumberOfPublishedVideoSources()))/600*this.idealMaxBandwidthKbps,Math.trunc(rate)}setIdealMaxBandwidthKbps(idealMaxBandwidthKbps){this.idealMaxBandwidthKbps=idealMaxBandwidthKbps}setHasBandwidthPriority(hasBandwidthPriority){this.hasBandwidthPriority=hasBandwidthPriority}setTransceiverController(transceiverController){this.transceiverController=transceiverController}updateTransceiverController(){return __awaiter(this,void 0,void 0,(function*(){const settings=this.getStreamCaptureSetting();if(!settings)return;const encodingParams=this.calculateEncodingParameters(settings);this.shouldUpdateEndcodingParameters(encodingParams)&&(this.encodingParamMap.set(NScaleVideoUplinkBandwidthPolicy.encodingMapKey,encodingParams),this.transceiverController.setEncodingParameters(this.encodingParamMap))}))}shouldUpdateEndcodingParameters(encoding){var _a,_b;const transceiverEncoding=null===(_b=null===(_a=this.transceiverController.localVideoTransceiver().sender.getParameters())||void 0===_a?void 0:_a.encodings)||void 0===_b?void 0:_b[0];return encoding.maxBitrate!==(null==transceiverEncoding?void 0:transceiverEncoding.maxBitrate)||encoding.scaleResolutionDownBy!==(null==transceiverEncoding?void 0:transceiverEncoding.scaleResolutionDownBy)}calculateEncodingParameters(setting){var _a,_b;const maxBitrate=1e3*this.maxBandwidthKbps();let scale=1;if(void 0!==setting.height&&void 0!==setting.width&&this.scaleResolution&&!this.hasBandwidthPriority&&this.getNumberOfPublishedVideoSources()>2){let targetHeight=NScaleVideoUplinkBandwidthPolicy.targetHeightArray[Math.min(this.getNumberOfPublishedVideoSources(),NScaleVideoUplinkBandwidthPolicy.targetHeightArray.length-1)];480===targetHeight&&(null===(_a=this.browserBehavior)||void 0===_a?void 0:_a.disable480pResolutionScaleDown())&&(targetHeight=360),scale=Math.max(Math.min(setting.height,setting.width)/targetHeight,1),null===(_b=this.logger)||void 0===_b||_b.info(`Resolution scale factor is ${scale} for capture resolution ${setting.width}x${setting.height}. New dimension is ${setting.width/scale}x${setting.height/scale}`)}return{scaleResolutionDownBy:scale,maxBitrate}}getStreamCaptureSetting(){var _a,_b,_c,_d;return null===(_d=null===(_c=null===(_b=null===(_a=this.transceiverController)||void 0===_a?void 0:_a.localVideoTransceiver())||void 0===_b?void 0:_b.sender)||void 0===_c?void 0:_c.track)||void 0===_d?void 0:_d.getSettings()}getNumberOfPublishedVideoSources(){var _a;return null!==(_a=this.numberOfPublishedVideoSources)&&void 0!==_a?_a:0}}exports.default=NScaleVideoUplinkBandwidthPolicy,NScaleVideoUplinkBandwidthPolicy.encodingMapKey="video",NScaleVideoUplinkBandwidthPolicy.targetHeightArray=[0,0,0,540,540,480,480,480,480,360,360,360,360,270,270,270,270,180,180,180,180,180,180,180,180,180]},"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NoVideoUplinkBandwidthPolicy.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const DefaultVideoCaptureAndEncodeParameter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js");exports.default=class NoVideoUplinkBandwidthPolicy{constructor(){}updateConnectionMetric(_metrics){}chooseMediaTrackConstraints(){return{}}chooseEncodingParameters(){return new Map}updateIndex(_videoIndex){}wantsResubscribe(){return!1}chooseCaptureAndEncodeParameters(){return new DefaultVideoCaptureAndEncodeParameter_1.default(0,0,0,0,!1)}maxBandwidthKbps(){return 0}setIdealMaxBandwidthKbps(_idealMaxBandwidthKbps){}setHasBandwidthPriority(_hasBandwidthPriority){}}},"./node_modules/amazon-chime-sdk-js/build/voicefocus/LoggerAdapter.js":(__unused_webpack_module,exports)=>{"use strict";function stringify(args){return args.map((v=>"object"==typeof v?JSON.stringify(v):`${v}`)).join(" ")}Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class LoggerAdapter{constructor(base){this.base=base}debug(...args){this.base.debug(stringify(args))}info(...args){this.base.info(stringify(args))}warn(...args){this.base.warn(stringify(args))}error(...args){this.base.error(stringify(args))}}},"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusDeviceTransformer.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VoiceFocusDeviceTransformer=void 0;const voicefocus_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/voicefocus.js"),Utils_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/utils/Utils.js"),Versioning_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js"),LoggerAdapter_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/voicefocus/LoggerAdapter.js"),VoiceFocusTransformDevice_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js"),VoiceFocusTransformDeviceDelegate_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDeviceDelegate.js");class VoiceFocusDeviceTransformer{constructor(spec,{preload=!0,logger,fetchBehavior=VoiceFocusDeviceTransformer.defaultFetchBehavior()},config){this.spec=spec,this.supported=!0,this.logger=logger,this.vfLogger=logger?new LoggerAdapter_1.default(logger):void 0,this.preload=preload,this.fetchBehavior=fetchBehavior,this.spec=VoiceFocusDeviceTransformer.augmentSpec(this.spec),config&&(this.configuration=Promise.resolve(config))}static isSupported(spec,options){var _a,_b;const opts={fetchBehavior:VoiceFocusDeviceTransformer.defaultFetchBehavior(),logger:(null==options?void 0:options.logger)?new LoggerAdapter_1.default(options.logger):void 0};if(Utils_1.isIFramed()){if(!1===(null==options?void 0:options.allowIFrame))return null===(_a=null==options?void 0:options.logger)||void 0===_a||_a.error("Amazon Voice Focus support check inside iframe: not supported."),Promise.resolve(!1);null===(_b=null==options?void 0:options.logger)||void 0===_b||_b.warn("Amazon Voice Focus support check inside iframe: not recommended.")}return voicefocus_1.VoiceFocus.isSupported(VoiceFocusDeviceTransformer.augmentSpec(spec),opts)}static create(spec={},options={},config,createMeetingResponse,createAttendeeResponse){var _a,_b,_c;return __awaiter(this,void 0,void 0,(function*(){createMeetingResponse&&createMeetingResponse.Meeting.Meeting&&(createMeetingResponse=createMeetingResponse.Meeting);const meetingFeaturesAllowsES="AVAILABLE"===(null===(_c=null===(_b=null===(_a=null==createMeetingResponse?void 0:createMeetingResponse.Meeting)||void 0===_a?void 0:_a.MeetingFeatures)||void 0===_b?void 0:_b.Audio)||void 0===_c?void 0:_c.EchoReduction),forbiddenConfig=config&&!0===config.supported&&"ns_es"===config.model.name&&!meetingFeaturesAllowsES,forbiddenSpec="ns_es"===spec.name&&!meetingFeaturesAllowsES;if(forbiddenConfig||forbiddenSpec)throw new Error("Echo Reduction requested but not enabled.");const transformer=new VoiceFocusDeviceTransformer(spec,options,config);return yield transformer.init(),transformer}))}static configure(spec={},options={}){return __awaiter(this,void 0,void 0,(function*(){return new VoiceFocusDeviceTransformer(spec,options,void 0).configure(!0)}))}getConfiguration(){return this.configuration}isSupported(){return this.supported}createTransformDevice(device,nodeOptions){return __awaiter(this,void 0,void 0,(function*(){if(this.supported)try{const preload=!0,[vf,delegate]=yield this.allocateVoiceFocus(preload),options=Object.assign(Object.assign({},nodeOptions),{es:"ns_es"===this.spec.name});return new VoiceFocusTransformDevice_1.default(device,vf,delegate,options)}catch(e){return}}))}static destroyVoiceFocus(transformer){var _a;return __awaiter(this,void 0,void 0,(function*(){null===(_a=null==transformer?void 0:transformer.vf)||void 0===_a||_a.destroy()}))}static augmentSpec(spec){return spec&&(spec.assetGroup||spec.revisionID)?spec:Object.assign(Object.assign({},spec),{assetGroup:VoiceFocusDeviceTransformer.currentSDKAssetGroup()})}configure(preResolve=!1){return __awaiter(this,void 0,void 0,(function*(){const options={fetchBehavior:this.fetchBehavior,preResolve,logger:this.vfLogger};return voicefocus_1.VoiceFocus.configure(this.spec,options)}))}init(){var _a;return __awaiter(this,void 0,void 0,(function*(){this.configuration||(this.configuration=this.configure());const config=yield this.configuration;if(config.supported){this.pendingVoiceFocus=this.createVoiceFocus(config,this.preload);try{yield this.pendingVoiceFocus}catch(e){null===(_a=this.logger)||void 0===_a||_a.error(`Unable to initialize Amazon Voice Focus: ${e}`),this.supported=!1}}else this.supported=!1}))}createVoiceFocus(config,preload){return __awaiter(this,void 0,void 0,(function*(){const delegate=new VoiceFocusTransformDeviceDelegate_1.default;return this.vf=yield voicefocus_1.VoiceFocus.init(config,{delegate,preload,logger:this.vfLogger}),[this.vf,delegate]}))}allocateVoiceFocus(preload){return __awaiter(this,void 0,void 0,(function*(){if(!this.supported)throw new Error("Not supported.");if(this.pendingVoiceFocus){const vf=this.pendingVoiceFocus;return this.pendingVoiceFocus=void 0,vf}return this.createVoiceFocus(yield this.configuration,preload)}))}static majorVersion(){return Versioning_1.default.sdkVersion.match(/^[1-9][0-9]*\.(?:0|[1-9][0-9]*)/)[0]}static majorMinorVersion(){return Versioning_1.default.sdkVersion.match(/^[1-9][0-9]*\.(?:0|(?:[1-9][0-9]*))\.(?:0|[1-9][0-9]*)/)[0]}static currentSDKAssetGroup(){const v=this.majorVersion();return v?`sdk-${v}`:"stable-v1"}static defaultFetchBehavior(){const version=VoiceFocusDeviceTransformer.majorMinorVersion()||"unknown",ua=Versioning_1.default.sdkUserAgentLowResolution;return{escapedQueryString:`sdk=${encodeURIComponent(version)}&ua=${encodeURIComponent(ua)}`}}}exports.VoiceFocusDeviceTransformer=VoiceFocusDeviceTransformer,exports.default=VoiceFocusDeviceTransformer},"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const DefaultBrowserBehavior_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js");class VoiceFocusTransformDevice{constructor(device,voiceFocus,delegate,nodeOptions,failed=!1,node=void 0,browserBehavior=new DefaultBrowserBehavior_1.default,farEndStreamToAudioSourceNode=new Map,mixDestNode=void 0,mixSourceNode=void 0){this.device=device,this.voiceFocus=voiceFocus,this.delegate=delegate,this.nodeOptions=nodeOptions,this.failed=failed,this.node=node,this.browserBehavior=browserBehavior,this.farEndStreamToAudioSourceNode=farEndStreamToAudioSourceNode,this.mixDestNode=mixDestNode,this.mixSourceNode=mixSourceNode}getInnerDevice(){return this.device}mute(muted){return __awaiter(this,void 0,void 0,(function*(){this.node&&(muted?yield this.node.disable():yield this.node.enable())}))}stop(){return __awaiter(this,void 0,void 0,(function*(){this.node&&(this.node.disconnect(),yield this.node.stop())}))}chooseNewInnerDevice(inner){return __awaiter(this,void 0,void 0,(function*(){return this.device!==inner||function isDefaultDevice(device){if("default"===device)return!0;if(!device||"object"!=typeof device)return!1;if("deviceId"in device&&"default"===device.deviceId)return!0;if("id"in device&&"default"===device.id)return!0;return!1}(inner)?new VoiceFocusTransformDevice(inner,this.voiceFocus,this.delegate,this.nodeOptions,this.failed,this.node,this.browserBehavior,this.farEndStreamToAudioSourceNode,this.mixDestNode,this.mixSourceNode):this}))}intrinsicDevice(){return __awaiter(this,void 0,void 0,(function*(){if(this.failed)return this.device;const isUsingES=this.nodeOptions.es,trackConstraints={echoCancellation:!isUsingES,googEchoCancellation:!isUsingES,googEchoCancellation2:!isUsingES,noiseSuppression:!1,googNoiseSuppression:!1,googHighpassFilter:!1,googNoiseSuppression2:!1};let useBuiltInAGC;return useBuiltInAGC=!this.nodeOptions||void 0===this.nodeOptions.agc||this.nodeOptions.agc.useBuiltInAGC,trackConstraints.autoGainControl=useBuiltInAGC,trackConstraints.googAutoGainControl=useBuiltInAGC,trackConstraints.googAutoGainControl2=useBuiltInAGC,this.device?"string"==typeof this.device?(this.browserBehavior.requiresNoExactMediaStreamConstraints()?trackConstraints.deviceId=this.device:trackConstraints.deviceId={exact:this.device},trackConstraints):this.device.id?this.device:Object.assign(Object.assign({},this.device),trackConstraints):trackConstraints}))}createAudioNode(context){var _a,_b;return __awaiter(this,void 0,void 0,(function*(){if((null===(_a=this.node)||void 0===_a?void 0:_a.context)===context)return{start:this.node,end:this.node};const options=Object.assign({enabled:!0,agc:{useVoiceFocusAGC:!1}},this.nodeOptions);try{if(null===(_b=this.node)||void 0===_b||_b.disconnect(),this.node=yield this.voiceFocus.createNode(context,options),this.nodeOptions.es){this.mixDestNode=new MediaStreamAudioDestinationNode(context,{channelCount:1,channelCountMode:"explicit"});for(const stream of this.farEndStreamToAudioSourceNode.keys())this.assignFarEndStreamToAudioSourceNode(stream);this.createMixSourceNode()}const start=this.node;return{start,end:this.node}}catch(e){throw this.failed=!0,this.delegate.onFallback(this,e),e}}))}observeMeetingAudio(audioVideo){return __awaiter(this,void 0,void 0,(function*(){if(!this.nodeOptions.es)return;audioVideo.addAudioMixObserver(this);const stream=yield audioVideo.getCurrentMeetingAudioStream();stream&&this.addFarEndStream(stream)}))}unObserveMeetingAudio(audioVideo){return __awaiter(this,void 0,void 0,(function*(){if(!this.nodeOptions.es)return;audioVideo.removeAudioMixObserver(this);const stream=yield audioVideo.getCurrentMeetingAudioStream();stream&&this.removeFarendStream(stream)}))}addObserver(observer){this.delegate.addObserver(observer)}removeObserver(observer){this.delegate.removeObserver(observer)}addFarEndStream(activeStream){return __awaiter(this,void 0,void 0,(function*(){this.nodeOptions.es&&activeStream&&!this.farEndStreamToAudioSourceNode.has(activeStream)&&(this.node?this.assignFarEndStreamToAudioSourceNode(activeStream):this.farEndStreamToAudioSourceNode.set(activeStream,null))}))}removeFarendStream(inactiveStream){var _a;return __awaiter(this,void 0,void 0,(function*(){null===(_a=this.farEndStreamToAudioSourceNode.get(inactiveStream))||void 0===_a||_a.disconnect(),this.farEndStreamToAudioSourceNode.delete(inactiveStream)}))}meetingAudioStreamBecameActive(activeStream){return __awaiter(this,void 0,void 0,(function*(){this.addFarEndStream(activeStream)}))}meetingAudioStreamBecameInactive(inactiveStream){return __awaiter(this,void 0,void 0,(function*(){this.removeFarendStream(inactiveStream)}))}assignFarEndStreamToAudioSourceNode(streamToAdd){const streamNodeToAdd=this.node.context.createMediaStreamSource(streamToAdd);streamNodeToAdd.channelCount=1,streamNodeToAdd.channelCountMode="explicit",this.farEndStreamToAudioSourceNode.set(streamToAdd,streamNodeToAdd),streamNodeToAdd.connect(this.mixDestNode,0)}createMixSourceNode(){this.mixSourceNode=this.node.context.createMediaStreamSource(this.mixDestNode.stream),this.mixSourceNode.channelCount=1,this.mixSourceNode.channelCountMode="explicit",this.mixSourceNode.connect(this.node,0,1)}}exports.default=VoiceFocusTransformDevice},"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDeviceDelegate.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=class VoiceFocusTransformDeviceDelegate{constructor(){this.observers=new Set}addObserver(observer){this.observers.add(observer)}removeObserver(observer){this.observers.delete(observer)}onFallback(device,e){var _a;for(const observer of this.observers)null===(_a=observer.voiceFocusFellBackToInnerStream)||void 0===_a||_a.call(observer,device,e)}onCPUWarning(){var _a;for(const observer of this.observers)null===(_a=observer.voiceFocusInsufficientResources)||void 0===_a||_a.call(observer)}}},"./node_modules/amazon-chime-sdk-js/build/volumeindicatoradapter/DefaultVolumeIndicatorAdapter.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class DefaultVolumeIndicatorAdapter{constructor(logger,realtimeController,minVolumeDecibels,maxVolumeDecibels,selfAttendeeId){this.logger=logger,this.realtimeController=realtimeController,this.minVolumeDecibels=minVolumeDecibels,this.maxVolumeDecibels=maxVolumeDecibels,this.selfAttendeeId=selfAttendeeId,this.streamIdToAttendeeId={},this.streamIdToExternalUserId={},this.warnedAboutMissingStreamIdMapping={},this.attendeeIdToStreamId={},this.sessionReconnected=!1}onReconnect(){this.sessionReconnected=!0}sendRealtimeUpdatesForAudioStreamIdInfo(info){let streamIndex=0;for(const stream of info.streams){const hasAttendeeId=!!stream.attendeeId,hasExternalUserId=!!stream.externalUserId,hasMuted=stream.hasOwnProperty("muted"),hasDropped=!!stream.dropped;if(hasAttendeeId){this.attendeeIdToStreamId[stream.attendeeId]&&this.attendeeIdToStreamId[stream.attendeeId]stream.audioStreamId&&this.streamIdToAttendeeId[otherStreamIdNumber]===attendeeId){attendeeHasNewStreamId=!0;break}}attendeeHasNewStreamId||this.realtimeController.realtimeSetAttendeeIdPresence(attendeeId,!1,externalUserId,hasDropped,{attendeeIndex:streamIndex++,attendeesInFrame:info.streams.length})}}}this.sessionReconnected&&(this.cleanUpState(info),this.sessionReconnected=!1)}cleanUpState(info){const localAttendeeIds=Object.values(this.streamIdToAttendeeId),remoteAttendeeIds=info.streams.map((stream=>stream.attendeeId)),deletedAttendeeIds=localAttendeeIds.filter((id=>!remoteAttendeeIds.includes(id)));for(const[index,deletedAttendeeId]of deletedAttendeeIds.entries()){const streamId=this.attendeeIdToStreamId[deletedAttendeeId],externalUserId=this.streamIdToExternalUserId[streamId];delete this.streamIdToAttendeeId[streamId],delete this.streamIdToExternalUserId[streamId],delete this.warnedAboutMissingStreamIdMapping[streamId],delete this.attendeeIdToStreamId[deletedAttendeeId],deletedAttendeeId!==this.selfAttendeeId?this.realtimeController.realtimeSetAttendeeIdPresence(deletedAttendeeId,!1,externalUserId,!1,{attendeeIndex:index,attendeesInFrame:deletedAttendeeId.length}):this.logger.warn("the volume indicator adapter cleans up the current attendee (presence = false) after reconnection")}}sendRealtimeUpdatesForAudioMetadata(metadata){let volumes=null,signalStrengths=null;for(const state of metadata.attendeeStates){const attendeeId=this.attendeeIdForStreamId(state.audioStreamId);state.hasOwnProperty("volume")&&(null===volumes&&(volumes={}),null!==attendeeId&&(volumes[attendeeId]=this.normalizedVolume(state))),state.hasOwnProperty("signalStrength")&&(null===signalStrengths&&(signalStrengths={}),null!==attendeeId&&(signalStrengths[attendeeId]=this.normalizedSignalStrength(state)))}this.applyRealtimeUpdatesForAudioMetadata(volumes,signalStrengths)}normalizedVolume(state){const normalized=1-(-state.volume-this.maxVolumeDecibels)/(this.minVolumeDecibels-this.maxVolumeDecibels);return Math.min(Math.max(normalized,0),1)}normalizedSignalStrength(state){const normalized=state.signalStrength/DefaultVolumeIndicatorAdapter.MAX_SIGNAL_STRENGTH_LEVELS;return Math.min(Math.max(normalized,0),1)}applyRealtimeUpdatesForAudioMetadata(volumes,signalStrengths){for(const streamId in this.streamIdToAttendeeId){const attendeeId=this.streamIdToAttendeeId[streamId],externalUserId=this.streamIdToExternalUserId[streamId];let volumeUpdate=null,signalStrengthUpdate=null;null!==volumes&&(volumeUpdate=volumes.hasOwnProperty(attendeeId)?volumes[attendeeId]:DefaultVolumeIndicatorAdapter.IMPLICIT_VOLUME),null!==signalStrengths&&(signalStrengthUpdate=signalStrengths.hasOwnProperty(attendeeId)?signalStrengths[attendeeId]:DefaultVolumeIndicatorAdapter.IMPLICIT_SIGNAL_STRENGTH),null===volumeUpdate&&null===signalStrengthUpdate||this.realtimeController.realtimeUpdateVolumeIndicator(attendeeId,volumeUpdate,null,signalStrengthUpdate,externalUserId)}}attendeeIdForStreamId(streamId){if(0===streamId)return null;const attendeeId=this.streamIdToAttendeeId[streamId];return attendeeId||(this.warnedAboutMissingStreamIdMapping[streamId]||(this.warnedAboutMissingStreamIdMapping[streamId]=!0,this.logger.warn(`volume indicator stream id ${streamId} seen before being defined`)),null)}}exports.default=DefaultVolumeIndicatorAdapter,DefaultVolumeIndicatorAdapter.MAX_SIGNAL_STRENGTH_LEVELS=2,DefaultVolumeIndicatorAdapter.IMPLICIT_VOLUME=0,DefaultVolumeIndicatorAdapter.IMPLICIT_SIGNAL_STRENGTH=1},"./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const Versioning_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js"),WebSocketReadyState_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js");exports.default=class DefaultWebSocketAdapter{constructor(logger){this.logger=logger}create(url,protocols,isSignedUrl){this.connection=new WebSocket(isSignedUrl?url:Versioning_1.default.urlWithVersion(url),protocols),this.connection.binaryType="arraybuffer"}send(message){if(!this.connection)return this.logger.error("WebSocket not yet created or already destroyed."),!1;try{return message instanceof Uint8Array?this.connection.send(message.buffer):this.connection.send(message),!0}catch(err){return this.logger.debug((()=>`send error: ${err.message}, websocket state=${WebSocketReadyState_1.default[this.readyState()]}`)),!1}}close(code,reason){var _a;null===(_a=this.connection)||void 0===_a||_a.close(code,reason)}destroy(){this.connection=void 0}addEventListener(handler,eventListener){this.connection?this.connection.addEventListener(handler,eventListener):this.logger.warn("Cannot add event listener with no WebSocket connection.")}removeEventListener(handler,eventListener){var _a;null===(_a=this.connection)||void 0===_a||_a.removeEventListener(handler,eventListener)}readyState(){if(!this.connection)return WebSocketReadyState_1.default.None;switch(this.connection.readyState){case WebSocket.CONNECTING:return WebSocketReadyState_1.default.Connecting;case WebSocket.OPEN:return WebSocketReadyState_1.default.Open;case WebSocket.CLOSING:return WebSocketReadyState_1.default.Closing;case WebSocket.CLOSED:return WebSocketReadyState_1.default.Closed}}}},"./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js":(__unused_webpack_module,exports)=>{"use strict";var WebSocketReadyState;Object.defineProperty(exports,"__esModule",{value:!0}),exports.WebSocketReadyState=void 0,function(WebSocketReadyState){WebSocketReadyState[WebSocketReadyState.None=0]="None",WebSocketReadyState[WebSocketReadyState.Connecting=1]="Connecting",WebSocketReadyState[WebSocketReadyState.Open=2]="Open",WebSocketReadyState[WebSocketReadyState.Closing=3]="Closing",WebSocketReadyState[WebSocketReadyState.Closed=4]="Closed"}(WebSocketReadyState=exports.WebSocketReadyState||(exports.WebSocketReadyState={})),exports.default=WebSocketReadyState},"./node_modules/amazon-chime-sdk-js/libs/voicefocus/decider.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0}),exports.decideModel=exports.measureAndDecideExecutionApproach=void 0;const loader_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js"),support_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js"),PERFORMANCE_THRESHOLDS={wasm:{noSupport:.07,inline:{c100:1,c50:.36,c20:.16,c10:.07},worker:{c100:.5,c50:.18,c20:.08,c10:.06}},simd:{noSupport:.1,inline:{c100:1,c50:.43,c20:.3,c10:.2},worker:{c100:.5,c50:.21,c20:.15,c10:.1}}};class Estimator{constructor(fetchConfig,logger){this.fetchConfig=fetchConfig,this.logger=logger;const workerURL=`${fetchConfig.paths.workers}estimator-v1.js`;this.fetchBehavior={headers:fetchConfig.headers,escapedQueryString:fetchConfig.escapedQueryString},this.worker=loader_js_1.loadWorker(workerURL,"VoiceFocusEstimator",this.fetchBehavior,logger)}roundtrip(toSend,receive,expectedKey){return new Promise(((resolve,reject)=>{this.worker.then((worker=>{let listener;listener=event=>{const{message,key}=event.data;message===receive&&key===expectedKey&&(worker.removeEventListener("message",listener),resolve(event.data))},worker.addEventListener("message",listener),worker.postMessage(toSend)})).catch((e=>{var _a;null===(_a=this.logger)||void 0===_a||_a.error("Failed to load worker.",e),reject(e)}))}))}supportsSIMD(url){const path=url||`${this.fetchConfig.paths.wasm}simd-v1.wasm`,toSend={message:"supports-simd",fetchBehavior:this.fetchBehavior,path,key:"simd"};return this.roundtrip(toSend,"simd-support","simd").then((data=>data.supports))}measure(simd,budget){const benchWASM=`${this.fetchConfig.paths.wasm}bench-v1.wasm`,benchSIMD=`${this.fetchConfig.paths.wasm}bench-v1_simd.wasm`,path=simd?benchSIMD:benchWASM,key=`bench:${simd}`,toSend={message:"measure",fetchBehavior:this.fetchBehavior,budget,path,key};return this.roundtrip(toSend,"measurement",key).then((data=>{if(data.measurement)return data.measurement;throw new Error("Failed to measure.")}))}stop(){this.worker.then((worker=>{var _a;null===(_a=this.logger)||void 0===_a||_a.debug("Stopping estimator worker."),worker.terminate()})).catch((e=>{}))}}const featureCheck=(forceSIMD,fetchConfig,logger,estimator)=>__awaiter(void 0,void 0,void 0,(function*(){const supports={supportsSIMD:forceSIMD,supportsSAB:support_js_1.supportsSharedArrayBuffer(globalThis,window,logger),duration:-1};if(forceSIMD)return null==logger||logger.info("Supports SIMD: true (force)"),supports;const cleanup=!estimator,e=estimator||new Estimator(fetchConfig,logger);try{const useSIMD=!support_js_1.isOldChrome(window,logger)&&(yield e.supportsSIMD());return null==logger||logger.info(`Supports SIMD: ${useSIMD} (force: ${forceSIMD})`),supports.supportsSIMD=useSIMD,supports}finally{cleanup&&e.stop()}}));exports.measureAndDecideExecutionApproach=(spec,fetchConfig,logger,thresholds=PERFORMANCE_THRESHOLDS)=>__awaiter(void 0,void 0,void 0,(function*(){let executionPreference=spec.executionPreference;const{usagePreference,variantPreference,namePreference,simdPreference,estimatorBudget,executionQuantaPreference}=spec;"interactivity"===usagePreference&&"inline"!==executionPreference&&(null==logger||logger.debug(`Overriding execution preference ${executionPreference} to reflect interactivity preference.`),executionPreference="inline");const forceSIMD="force"===simdPreference,knownModel="auto"!==variantPreference,knownExecution="auto"!==executionPreference;let supports;try{supports=knownModel&&knownExecution?yield featureCheck(forceSIMD,fetchConfig,logger):yield((forceSIMD,fetchConfig,estimatorBudget,logger)=>__awaiter(void 0,void 0,void 0,(function*(){const estimator=new Estimator(fetchConfig,logger);try{const supports=yield featureCheck(forceSIMD,fetchConfig,logger,estimator);if(supports.supportsSIMD)try{return supports.duration=yield estimator.measure(!0,estimatorBudget),null==logger||logger.info("SIMD timing:",supports.duration),supports}catch(e){null==logger||logger.warn("Failed SIMD estimation; falling back to non-SIMD."),supports.supportsSIMD=!1}return supports.duration=yield estimator.measure(!1,estimatorBudget),null==logger||logger.info("No-SIMD timing:",supports.duration),supports}catch(e){throw null==logger||logger.error("Could not feature check.",e),e}finally{estimator.stop()}})))(forceSIMD,fetchConfig,estimatorBudget,logger)}catch(e){throw null==logger||logger.error("Could not load estimator.",e),new Error("Could not load Voice Focus estimator.")}return(({supportsSIMD,supportsSAB,duration,executionPreference="auto",simdPreference,variantPreference="auto",namePreference="default",usagePreference,executionQuantaPreference=3},allThresholds=PERFORMANCE_THRESHOLDS,logger)=>{const useSIMD="force"===simdPreference||"disable"!==simdPreference&&supportsSIMD,checkScores=-1!==duration,baseScore=checkScores?(useSIMD?2.5:2.63)/duration:0,thresholds=useSIMD?allThresholds.simd:allThresholds.wasm,inlineScore=checkScores?((executionQuanta,usagePreference)=>1===executionQuanta?.6:"quality"===usagePreference?.65*executionQuanta:.5*executionQuanta)(executionQuantaPreference,usagePreference)*baseScore:0,workerScore=checkScores?.7*baseScore:0,name=namePreference,unsupported=reason=>({supported:!1,reason});if(checkScores){if(baseScore({supported:!0,useSIMD,processor,executionApproach,variant,executionQuanta:"inline"===executionApproach?executionQuantaPreference:void 0,name}),resolveVariant=(score,variant,lookup)=>"auto"!==variant?!checkScores||score>lookup[variant]?variant:"failed":score>lookup.c100?"c100":score>lookup.c50?"c50":score>lookup.c20?"c20":score>lookup.c10?"c10":"failed",reducePreference=preference=>{switch(preference||"auto"){case"auto":{let inlineOption=reducePreference("inline"),workerOption=reducePreference("worker");return null==logger||logger.debug(`Reducing auto preference: ${JSON.stringify(inlineOption)} vs ${JSON.stringify(workerOption)}`),!1===inlineOption.supported||!1===workerOption.supported?workerOption:inlineOption.variant===workerOption.variant||"c50"===inlineOption.variant?inlineOption:workerOption}case"worker":return support_js_1.supportsSharedArrayBuffer(globalThis,window,logger)?reducePreference("worker-sab"):reducePreference("worker-postMessage");case"inline":{const variant=resolveVariant(inlineScore,variantPreference,thresholds.inline);return"failed"===variant?unsupported(`Performance score ${inlineScore} not sufficient for inline use with variant preference ${variantPreference}.`):succeed("voicefocus-inline-processor","inline",variant)}case"worker-sab":{if(!supportsSAB){const reason="Requested worker-sab but no SharedArrayBuffer support.";return null==logger||logger.warn(reason),{supported:!1,reason}}const variant=resolveVariant(workerScore,variantPreference,thresholds.worker);return"failed"===variant?unsupported(`Performance score ${workerScore} not sufficient for worker use with variant preference ${variantPreference}.`):succeed("voicefocus-worker-sab-processor","worker-sab",variant)}case"worker-postMessage":{const variant=resolveVariant(workerScore,variantPreference,thresholds.worker);if("failed"===variant)return unsupported(`Performance score ${workerScore} not sufficient for worker use.`);if("ns_es"===name){const reason="Requested echo suppression but postMessage executor does not support it.";return null==logger||logger.warn(reason),{supported:!1,reason}}return succeed("voicefocus-worker-postMessage-processor","worker-postMessage",variant)}}};return reducePreference(executionPreference)})(Object.assign(Object.assign({},supports),{simdPreference,executionPreference,variantPreference,namePreference,usagePreference,executionQuantaPreference}),thresholds,logger)}));exports.decideModel=({category,name,variant,simd,url})=>`${category}-${name}-${variant}-v1${simd?"_simd":""}`},"./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js":(__unused_webpack_module,exports)=>{"use strict";function fetchWithBehavior(url,init,fetchBehavior){if(!fetchBehavior)return fetch(url,init);const withQuery=withQueryString(url,fetchBehavior),withHeaders=withRequestHeaders(init,fetchBehavior);return fetch(withQuery,withHeaders)}function withRequestHeaders(init,fetchBehavior){return(null==fetchBehavior?void 0:fetchBehavior.headers)?init?Object.assign(Object.assign({},init),{headers:Object.assign(Object.assign({},init.headers||{}),fetchBehavior.headers)}):{headers:fetchBehavior.headers}:init}function withQueryString(url,fetchBehavior){if(!(null==fetchBehavior?void 0:fetchBehavior.escapedQueryString))return url;const hasQuery=-1!==url.lastIndexOf("?");return`${url}${hasQuery?"&":"?"}${fetchBehavior.escapedQueryString}`}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isValidRevisionID=exports.isValidAssetGroup=exports.resolveURL=exports.addQueryParams=exports.withQueryString=exports.withRequestHeaders=exports.fetchWithBehavior=void 0,exports.fetchWithBehavior=fetchWithBehavior,exports.withRequestHeaders=withRequestHeaders,exports.withQueryString=withQueryString,exports.addQueryParams=function addQueryParams(fetchBehavior,queryParams){const keys=Object.keys(queryParams);if(!keys.length)return fetchBehavior;const params=new URLSearchParams(null==fetchBehavior?void 0:fetchBehavior.escapedQueryString);for(const key of keys)params.append(key,queryParams[key]);return Object.assign(Object.assign({},fetchBehavior),{escapedQueryString:params.toString()})};const HEAD_OPTIONS={method:"HEAD",mode:"cors",credentials:"omit",redirect:"follow",referrerPolicy:"origin"};exports.resolveURL=function resolveURL(url,fetchBehavior){return fetchWithBehavior(url,HEAD_OPTIONS,fetchBehavior).then((response=>response.redirected?response.url:url))},exports.isValidAssetGroup=function isValidAssetGroup(assetGroup){return!!assetGroup&&/^[-.a-zA-Z0-9]+$/.test(assetGroup)},exports.isValidRevisionID=function isValidRevisionID(revisionID){return!!revisionID&&/^[123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ]{22}$/.test(revisionID)}},"./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.loadWorker=void 0;const fetch_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js"),WORKER_FETCH_OPTIONS={method:"GET",mode:"cors",credentials:"omit",redirect:"follow",referrerPolicy:"no-referrer"};exports.loadWorker=(workerURL,name,fetchBehavior,logger)=>{null==logger||logger.debug(`Loading ${name} worker from ${workerURL}.`);let workerURLIsSameOrigin=!1;try{workerURLIsSameOrigin=self.origin===new URL(workerURL).origin}catch(e){null==logger||logger.error("Could not compare origins.",e)}if(workerURLIsSameOrigin){const workerURLWithQuery=fetch_js_1.withQueryString(workerURL,fetchBehavior);return Promise.resolve(new Worker(workerURLWithQuery,{name}))}return fetch_js_1.fetchWithBehavior(workerURL,WORKER_FETCH_OPTIONS,fetchBehavior).then((res=>{if(res.ok)return res.blob().then((blob=>new Worker(window.URL.createObjectURL(blob))));throw new Error("Fetch failed.")}))}},"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0}),exports.isOldChrome=exports.supportsWASMStreaming=exports.supportsSharedArrayBuffer=exports.supportsWASM=exports.supportsAudioWorklet=exports.supportsWorker=exports.supportsVoiceFocusWorker=exports.supportsWASMPostMessage=exports.isSafari=void 0;const loader_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js");exports.isSafari=(global=globalThis)=>{const ua=global.navigator.userAgent,hasSafari=ua.match(/Safari\//),hasChrome=ua.match(/Chrom(?:e|ium)\//);return!(!hasSafari||hasChrome)};exports.supportsWASMPostMessage=(global=globalThis)=>{if(exports.isSafari(global))return!1;if(((global=globalThis)=>!!global.navigator.userAgent.match(/Chrom(?:e|ium)\/([0-9]+)/))(global)){return(chromeVersion(global)||0)<95}return!0};exports.supportsVoiceFocusWorker=(scope=globalThis,fetchConfig,logger)=>__awaiter(void 0,void 0,void 0,(function*(){if(!exports.supportsWorker(scope,logger))return!1;const workerURL=`${fetchConfig.paths.workers}worker-v1.js`;try{const worker=yield loader_js_1.loadWorker(workerURL,"VoiceFocusTestWorker",fetchConfig,logger);try{worker.terminate()}catch(e){null==logger||logger.debug("Failed to terminate worker.",e)}return!0}catch(e){return null==logger||logger.info("Failed to fetch and instantiate test worker",e),!1}}));exports.supportsWorker=(scope=globalThis,logger)=>{try{return!!scope.Worker}catch(e){return null==logger||logger.info("Does not support Worker",e),!1}};exports.supportsAudioWorklet=(scope=globalThis,logger)=>{try{return!!scope.AudioWorklet&&!!scope.AudioWorkletNode}catch(e){return null==logger||logger.info("Does not support Audio Worklet",e),!1}};exports.supportsWASM=(scope=globalThis,logger)=>{try{return!(!scope.WebAssembly||!scope.WebAssembly.compile&&!scope.WebAssembly.compileStreaming)}catch(e){return null==logger||logger.info("Does not support WASM",e),!1}};exports.supportsSharedArrayBuffer=(scope=globalThis,window=globalThis,logger)=>{try{return!(!scope.SharedArrayBuffer||!window.chrome&&!scope.crossOriginIsolated)}catch(e){return null==logger||logger.info("Does not support SharedArrayBuffer."),!1}};exports.supportsWASMStreaming=(scope=globalThis,logger)=>{var _a;try{return!!(null===(_a=scope.WebAssembly)||void 0===_a?void 0:_a.compileStreaming)}catch(e){return null==logger||logger.info("Does not support WASM streaming compilation",e),!1}};const chromeVersion=(global=globalThis)=>{try{if(!global.chrome)return}catch(e){}const versionCheck=global.navigator.userAgent.match(/Chrom(?:e|ium)\/([0-9]+)/);if(versionCheck)return parseInt(versionCheck[1],10)};exports.isOldChrome=(global=globalThis,logger)=>{const version=chromeVersion(global);return!!version&&(version<90&&(null==logger||logger.debug(`Chrome ${version} has incomplete SIMD support.`),!0))}},"./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VoiceFocusAudioWorkletNode=void 0;class VoiceFocusAudioWorkletNode extends("undefined"!=typeof globalThis&&globalThis.AudioWorkletNode||class Sadness{}){}exports.VoiceFocusAudioWorkletNode=VoiceFocusAudioWorkletNode},"./node_modules/amazon-chime-sdk-js/libs/voicefocus/voicefocus.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0}),exports.getAudioInput=exports.createAudioContext=exports.VoiceFocus=void 0;const decider_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/decider.js"),fetch_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js"),loader_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js"),support_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js"),worklet_inline_node_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-inline-node.js"),worklet_worker_sab_node_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-sab-node.js"),worklet_worker_postMessage_node_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-postMessage-node.js"),DEFAULT_AGC_SETTING={useVoiceFocusAGC:!1,useBuiltInAGC:!0},DEFAULT_ASSET_GROUP="stable-v1",DEFAULT_CDN="https://static.sdkassets.chime.aws",DEFAULT_PATHS={processors:`${DEFAULT_CDN}/processors/`,workers:`${DEFAULT_CDN}/workers/`,wasm:`${DEFAULT_CDN}/wasm/`,models:`${DEFAULT_CDN}/wasm/`},DEFAULT_CONTEXT_HINT={latencyHint:0},BASE_AUDIO_CONSTRAINTS={channelCount:1,echoCancellation:!0,googEchoCancellation:!0,noiseSuppression:!1,googNoiseSuppression:!1,googHighpassFilter:!1,googTypingNoiseDetection:!1},DEFAULT_AUDIO_CONSTRAINTS_WITH_BUILTIN_AGC=Object.assign(Object.assign({},BASE_AUDIO_CONSTRAINTS),{autoGainControl:!0,googAutoGainControl:!0,googAutoGainControl2:!0}),DEFAULT_AUDIO_CONSTRAINTS_WITHOUT_BUILTIN_AGC=Object.assign(Object.assign({},BASE_AUDIO_CONSTRAINTS),{autoGainControl:!1,googAutoGainControl:!1,googAutoGainControl2:!1}),PROCESSORS={"voicefocus-worker-sab-processor":{file:"worklet-worker-sab-processor-v1.js",node:worklet_worker_sab_node_js_1.default},"voicefocus-worker-postMessage-processor":{file:"worklet-worker-postMessage-processor-v1.js",node:worklet_worker_postMessage_node_js_1.default},"voicefocus-inline-processor":{file:"worklet-inline-processor-v1.js",node:worklet_inline_node_js_1.default}},validateAssetSpec=(assetGroup,revisionID)=>{if(void 0!==assetGroup&&!fetch_js_1.isValidAssetGroup(assetGroup))throw new Error(`Invalid asset group ${assetGroup}`);if(void 0!==revisionID&&!fetch_js_1.isValidRevisionID(revisionID))throw new Error(`Invalid revision ID ${revisionID}`)},urlForModel=(model,paths)=>`${paths.models}${decider_js_1.decideModel(model)}.wasm`;class VoiceFocus{constructor(worker,processorURL,nodeConstructor,nodeOptions,executionQuanta){this.processorURL=processorURL,this.nodeConstructor=nodeConstructor,this.nodeOptions=nodeOptions,this.executionQuanta=executionQuanta,this.internal={worker,nodeOptions,isDestroyed:!1}}static isSupported(spec,options){const{fetchBehavior,logger}=options||{};if("undefined"==typeof globalThis)return null==logger||logger.debug("Browser does not have globalThis."),Promise.resolve(!1);if(!support_js_1.supportsAudioWorklet(globalThis,logger))return null==logger||logger.debug("Browser does not support Audio Worklet."),Promise.resolve(!1);if(!support_js_1.supportsWASM(globalThis,logger))return null==logger||logger.debug("Browser does not support WASM."),Promise.resolve(!1);support_js_1.supportsWASMStreaming(globalThis,logger)||null==logger||logger.debug("Browser does not support streaming WASM compilation.");const{assetGroup=DEFAULT_ASSET_GROUP,revisionID,paths=DEFAULT_PATHS}=spec||{};validateAssetSpec(assetGroup,revisionID);const assetConfig=revisionID?{revisionID}:{assetGroup},updatedFetchBehavior=fetch_js_1.addQueryParams(fetchBehavior,assetConfig),fetchConfig=Object.assign(Object.assign({},updatedFetchBehavior),{paths});return support_js_1.supportsVoiceFocusWorker(globalThis,fetchConfig,logger)}static mungeExecutionPreference(preference,logger){const isAuto=void 0===preference||"auto"===preference;if(support_js_1.isSafari(globalThis)){if(isAuto||"inline"===preference)return"inline";if(!isAuto)throw new Error(`Unsupported execution preference ${preference}`)}if("worker-sab"===preference&&!support_js_1.supportsSharedArrayBuffer(globalThis,globalThis,logger))throw new Error(`Unsupported execution preference ${preference}`);return preference||"auto"}static configure(spec,options){return __awaiter(this,void 0,void 0,(function*(){const{fetchBehavior,preResolve,logger}=options||{},{category="voicefocus",name="default",variant:variantPreference="auto",assetGroup=DEFAULT_ASSET_GROUP,revisionID,simd="detect",executionPreference="auto",executionQuantaPreference,usagePreference="interactivity",estimatorBudget=100,paths=DEFAULT_PATHS,thresholds}=spec||{};if(null==logger||logger.debug("Configuring Voice Focus with spec",spec),void 0!==category&&"voicefocus"!==category)throw new Error(`Unrecognized category ${category}`);if(void 0!==name&&"default"!==name&&"ns_es"!==name)throw new Error(`Unrecognized feature name ${name}`);if(void 0!==variantPreference&&!["auto","c100","c50","c20","c10"].includes(variantPreference))throw new Error(`Unrecognized feature variant ${variantPreference}`);if(void 0!==executionQuantaPreference&&![1,2,3].includes(executionQuantaPreference))throw new Error(`Unrecognized execution quanta preference ${executionQuantaPreference}`);if(validateAssetSpec(assetGroup,revisionID),void 0!==simd&&!["detect","force","disable"].includes(simd))throw new Error(`Unrecognized SIMD option ${simd}`);if(void 0!==executionPreference&&!["auto","inline","worker","worker-sab","worker-postMessage"].includes(executionPreference))throw new Error(`Unrecognized execution preference ${executionPreference}`);if(void 0!==usagePreference&&!["quality","interactivity"].includes(usagePreference))throw new Error(`Unrecognized usage preference ${usagePreference}`);const executionSpec={executionPreference:this.mungeExecutionPreference(executionPreference,logger),usagePreference,executionQuantaPreference,variantPreference,namePreference:name,simdPreference:simd,estimatorBudget},assetConfig=revisionID?{revisionID}:{assetGroup},updatedFetchBehavior=fetch_js_1.addQueryParams(fetchBehavior,assetConfig),fetchConfig=Object.assign({paths},updatedFetchBehavior),executionDefinition=yield decider_js_1.measureAndDecideExecutionApproach(executionSpec,fetchConfig,logger,thresholds);if(!1===executionDefinition.supported)return{supported:!1,reason:executionDefinition.reason};null==logger||logger.info("Decided execution approach",executionDefinition);const{useSIMD,processor,variant,executionQuanta}=executionDefinition,model={category:category||"voicefocus",name:name||"default",variant,simd:useSIMD};if(preResolve){const startingURL=urlForModel(model,paths);model.url=yield fetch_js_1.resolveURL(startingURL,updatedFetchBehavior)}return{fetchConfig,model,processor,executionQuanta,supported:!0}}))}static init(configuration,{delegate,preload=!0,logger}){return __awaiter(this,void 0,void 0,(function*(){if(!1===configuration.supported)throw new Error("Voice Focus not supported. Reason: "+configuration.reason);const{model,processor,fetchConfig,executionQuanta}=configuration,{simd,name}=model,{paths}=fetchConfig;if("voicefocus-inline-processor"!==processor&&"voicefocus-worker-postMessage-processor"!==processor&&"voicefocus-worker-sab-processor"!==processor)throw new Error(`Unknown processor ${processor}`);const modelURL=model.url||urlForModel(model,paths);null==logger||logger.debug(`Using model URL ${modelURL}.`);const audioBufferURL=`${paths.wasm}audio_buffer-v1${simd?"_simd":""}.wasm`,resamplerURL=`${paths.wasm}resampler-v1${simd?"_simd":""}.wasm`,workerURL=`${paths.workers}worker-v1.js`,{file,node}=PROCESSORS[processor],processorURL=`${paths.processors}${file}`,worker=yield loader_js_1.loadWorker(workerURL,"VoiceFocusWorker",fetchConfig,logger);if(preload){null==logger||logger.debug("Preloading",modelURL);let message=support_js_1.supportsWASMPostMessage(globalThis)?"get-module":"get-module-buffer";worker.postMessage({message,preload:!0,key:"model",fetchBehavior:fetchConfig,path:modelURL})}const factory=new VoiceFocus(worker,processorURL,node,{processor,worker,audioBufferURL,resamplerURL,fetchBehavior:fetchConfig,modelURL,delegate,logger,numberOfInputs:"ns_es"===name?2:1},executionQuanta);return Promise.resolve(factory)}))}createNode(context,options){var _a;if(this.internal.isDestroyed)throw new Error("Unable to create node because VoiceFocus worker has been destroyed.");const{voiceFocusSampleRate=16e3===context.sampleRate?16e3:48e3,enabled=!0,agc=DEFAULT_AGC_SETTING}=options||{},supportFarendStream=null==options?void 0:options.es,processorOptions={voiceFocusSampleRate,enabled,sendBufferCount:10,prefill:6,agc,executionQuanta:this.executionQuanta,supportFarendStream},url=fetch_js_1.withQueryString(this.processorURL,null===(_a=this.nodeOptions)||void 0===_a?void 0:_a.fetchBehavior);return context.audioWorklet.addModule(url).then((()=>new this.nodeConstructor(context,Object.assign(Object.assign({},this.nodeOptions),{processorOptions}))))}applyToStream(stream,context,options){return __awaiter(this,void 0,void 0,(function*(){if(this.internal.isDestroyed)throw new Error("Unable to apply stream because VoiceFocus worker has been destroyed");const source=context.createMediaStreamSource(stream),node=yield this.applyToSourceNode(source,context,options),destination=context.createMediaStreamDestination();return node.connect(destination),{node,source,destination,stream:destination.stream}}))}applyToSourceNode(source,context,options){return __awaiter(this,void 0,void 0,(function*(){const node=yield this.createNode(context,options);return source.connect(node),node}))}destroy(){this.internal.worker&&this.internal.worker.terminate(),this.internal.isDestroyed=!0}}exports.VoiceFocus=VoiceFocus;exports.createAudioContext=(contextHint=DEFAULT_CONTEXT_HINT)=>new(window.AudioContext||window.webkitAudioContext)(contextHint);exports.getAudioInput=(context,inputOptions,voiceFocusOptions)=>__awaiter(void 0,void 0,void 0,(function*(){var _a,_b;const{constraints,spec,delegate,preload=!0,options}=inputOptions,{logger}=voiceFocusOptions,config=yield VoiceFocus.configure(spec,voiceFocusOptions);if(!config.supported)return null===(_a=voiceFocusOptions.logger)||void 0===_a||_a.warn("Voice Focus not supported; returning standard stream."),window.navigator.mediaDevices.getUserMedia(constraints);const factory=yield VoiceFocus.init(config,{delegate,preload,logger}),agc=(null===(_b=inputOptions.options)||void 0===_b?void 0:_b.agc)||DEFAULT_AGC_SETTING,input=yield window.navigator.mediaDevices.getUserMedia(((constraints,agc)=>{let defaultConstraints;if(defaultConstraints=agc.useBuiltInAGC?DEFAULT_AUDIO_CONSTRAINTS_WITH_BUILTIN_AGC:DEFAULT_AUDIO_CONSTRAINTS_WITHOUT_BUILTIN_AGC,!constraints)return{audio:defaultConstraints};if(!constraints.audio)return constraints;if(constraints.video)throw new Error("Not adding Voice Focus to multi-device getUserMedia call.");return Object.assign(Object.assign({},constraints),{audio:!0===constraints.audio?defaultConstraints:Object.assign(Object.assign({},constraints.audio),defaultConstraints)})})(constraints,agc));return factory.applyToStream(input,context,options).then((result=>result.stream))}))},"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-inline-node.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const support_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js"),types_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js");class VoiceFocusInlineNode extends types_js_1.VoiceFocusAudioWorkletNode{constructor(context,options){super(context,options.processor,options),this.cpuWarningCount=0,this.channelCountMode="explicit",this.channelCount=1;const{modelURL,worker,fetchBehavior,logger,delegate}=options;this.logger=logger,this.port.onmessage=this.onProcessorMessage.bind(this),this.delegate=delegate,logger&&logger.debug("VoiceFocusInlineNode:",modelURL),this.worker=worker,this.worker.onmessage=this.onWorkerMessage.bind(this);const message=support_js_1.supportsWASMPostMessage(globalThis)?"get-module":"get-module-buffer";this.worker.postMessage({message,key:"model",fetchBehavior,path:modelURL})}onModuleBufferLoaded(buffer,key){this.port.postMessage({message:"module-buffer",buffer,key})}onModuleLoaded(module,key){this.port.postMessage({message:"module",module,key})}enable(){return __awaiter(this,void 0,void 0,(function*(){this.port.postMessage({message:"enable"})}))}disable(){return __awaiter(this,void 0,void 0,(function*(){this.port.postMessage({message:"disable"})}))}stop(){var _a;return __awaiter(this,void 0,void 0,(function*(){this.port.postMessage({message:"stop"});try{null===(_a=this.worker)||void 0===_a||_a.terminate()}catch(e){console.error("failed to terminate worker:",e)}this.disconnect()}))}onProcessorMessage(event){var _a,_b,_c;const data=event.data;if("cpu"===data.message){this.cpuWarningCount++;const now=Date.now(),before=this.cpuWarningLastTriggered||now,diff=Math.abs(now-before);(!this.cpuWarningLastTriggered||diff>5e3)&&(null===(_a=this.logger)||void 0===_a||_a.warn(`CPU warning (count: ${this.cpuWarningCount}):`,data.message),this.cpuWarningCount=0,this.cpuWarningLastTriggered=now),null===(_b=this.delegate)||void 0===_b||_b.onCPUWarning()}else null===(_c=this.logger)||void 0===_c||_c.debug("Ignoring processor message.")}onWorkerMessage(event){const data=event.data;switch(data.message){case"module-buffer":if(!data.buffer||!data.key)return;this.onModuleBufferLoaded(data.buffer,data.key);break;case"module":if(!data.module||!data.key)return;this.onModuleLoaded(data.module,data.key);break;case"stopped":this.worker&&this.worker.terminate();break;default:return}}}exports.default=VoiceFocusInlineNode},"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-postMessage-node.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const support_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js"),types_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js");class VoiceFocusWorkerPostMessageNode extends types_js_1.VoiceFocusAudioWorkletNode{constructor(context,options){super(context,options.processor,options),this.channelCountMode="explicit",this.channelCount=1;const{modelURL,audioBufferURL,worker,fetchBehavior,delegate}=options;this.delegate=delegate,this.worker=worker,this.worker.onmessage=this.onWorkerMessage.bind(this),this.port.onmessage=this.onProcessorMessage.bind(this);const{enabled,agc,supportFarendStream}=options.processorOptions;this.worker.postMessage({message:"init",approach:"postMessage",frames:16e3===context.sampleRate?160:480,enabled,agc,fetchBehavior,model:modelURL,supportFarendStream});const message=support_js_1.supportsWASMPostMessage(globalThis)?"get-module":"get-module-buffer";this.worker.postMessage({message,key:"buffer",fetchBehavior,path:audioBufferURL})}enable(){return __awaiter(this,void 0,void 0,(function*(){this.worker.postMessage({message:"enable"})}))}disable(){return __awaiter(this,void 0,void 0,(function*(){this.worker.postMessage({message:"disable"})}))}stop(){return __awaiter(this,void 0,void 0,(function*(){try{this.worker.postMessage({message:"stop"})}catch(e){}this.disconnect()}))}onWorkerMessage(event){var _a;const data=event.data;switch(data.message){case"ready":this.port.postMessage({message:"ready",shared:data.shared},data.shared?Object.values(data.shared):[]);break;case"data":if(!data.buffer)return;this.port.postMessage({message:"data",buffer:data.buffer},[data.buffer]);break;case"stopped":this.worker.terminate();break;case"module-buffer":case"module":case"processing":this.port.postMessage(data);break;case"cpu":null===(_a=this.delegate)||void 0===_a||_a.onCPUWarning();break;default:return}}onProcessorMessage(event){var _a;const data=event.data;switch(data.message){case"data":if(!data.buffer)return;this.worker.postMessage({message:"data",buffer:data.buffer},[data.buffer]);break;case"cpu":null===(_a=this.delegate)||void 0===_a||_a.onCPUWarning();break;case"prepare-for-frames":this.worker.postMessage(data);break;default:return}}}exports.default=VoiceFocusWorkerPostMessageNode},"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-sab-node.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0});const support_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js"),types_js_1=__webpack_require__("./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js"),INDICES_ready=0,INDICES_enabled=1,STATES_disabled=0,STATES_enabled=1,STATES_stopped=2;class VoiceFocusWorkerBufferNode extends types_js_1.VoiceFocusAudioWorkletNode{constructor(context,options){super(context,options.processor,options),this.channelCountMode="explicit",this.channelCount=1;const{modelURL,resamplerURL,worker,fetchBehavior,delegate}=options;this.delegate=delegate,this.worker=worker,this.worker.onmessage=this.onWorkerMessage.bind(this),this.port.onmessage=this.onProcessorMessage.bind(this);const{enabled,supportFarendStream}=options.processorOptions;this.worker.postMessage({message:"init",approach:"sab",frames:16e3===context.sampleRate?160:480,enabled,model:modelURL,supportFarendStream});const message=support_js_1.supportsWASMPostMessage(globalThis)?"get-module":"get-module-buffer";this.worker.postMessage({message,key:"resampler",fetchBehavior,path:resamplerURL})}enable(){return __awaiter(this,void 0,void 0,(function*(){this.state?(Atomics.store(this.state,INDICES_enabled,STATES_enabled),Atomics.notify(this.state,INDICES_ready,1)):this.worker.postMessage({message:"enable"})}))}disable(){return __awaiter(this,void 0,void 0,(function*(){this.state?(Atomics.store(this.state,INDICES_enabled,STATES_disabled),Atomics.notify(this.state,INDICES_ready,1)):this.worker.postMessage({message:"disable"})}))}stop(){return __awaiter(this,void 0,void 0,(function*(){if(this.state)Atomics.store(this.state,INDICES_enabled,STATES_stopped),Atomics.notify(this.state,INDICES_ready,1);else try{this.worker.postMessage({message:"stop"})}catch(e){}this.disconnect()}))}onWorkerMessage(event){var _a;const data=event.data;switch(data.message){case"ready":if(!data.shared)throw new Error("No shared state.");this.state=new Int32Array(data.shared.state),this.port.postMessage(data);break;case"stopped":this.worker.terminate();break;case"module-buffer":case"module":case"processing":this.port.postMessage(data);break;case"cpu":null===(_a=this.delegate)||void 0===_a||_a.onCPUWarning();break;default:return}}onProcessorMessage(event){var _a;const data=event.data;switch(data.message){case"cpu":null===(_a=this.delegate)||void 0===_a||_a.onCPUWarning();break;case"prepare-for-frames":this.worker.postMessage(data)}}}exports.default=VoiceFocusWorkerBufferNode},"./node_modules/bowser/es5.js":function(module){module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=90)}({17:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=r(18),i=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||""},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,r,n){void 0===n&&(n=!1);var i=e.getVersionPrecision(t),s=e.getVersionPrecision(r),a=Math.max(i,s),o=0,u=e.map([t,r],(function(t){var r=a-e.getVersionPrecision(t),n=t+new Array(r+1).join(".0");return e.map(n.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(n&&(o=a-Math.min(i,s)),a-=1;a>=o;){if(u[0][a]>u[1][a])return 1;if(u[0][a]===u[1][a]){if(a===o)return 0;a-=1}else if(u[0][a]1?i-1:0),a=1;a0){var a=Object.keys(r),u=o.default.find(a,(function(e){return t.isOS(e)}));if(u){var d=this.satisfies(r[u]);if(void 0!==d)return d}var c=o.default.find(a,(function(e){return t.isPlatform(e)}));if(c){var f=this.satisfies(r[c]);if(void 0!==f)return f}}if(s>0){var l=Object.keys(i),h=o.default.find(l,(function(e){return t.isBrowser(e,!0)}));if(void 0!==h)return this.compareVersion(i[h])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),n=e.toLowerCase(),i=o.default.getBrowserTypeByAlias(n);return t&&i&&(n=i.toLowerCase()),n===r},t.compareVersion=function(e){var t=[0],r=e,n=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(n=!0,r=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(n=!0,r=e.substr(1)),t.indexOf(o.default.compareVersions(i,r,n))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=d,e.exports=t.default},92:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},r=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},r=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},r=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},r=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},r=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},r=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},r=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},r=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},r=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},r=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},r=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},r=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},r=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:"Android Browser"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18),a=[{test:[/Roku\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:s.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=i.default.getWindowsVersionName(t);return{name:s.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:s.OS_MAP.iOS},r=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=i.default.getMacOSVersionName(t),n={name:s.OS_MAP.MacOS,version:t};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:s.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=i.default.getAndroidVersionName(t),n={name:s.OS_MAP.Android,version:t};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:s.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||i.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:s.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:s.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:s.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:s.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:s.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18),a=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:s.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:s.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:s.ENGINE_MAP.Trident},r=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:s.ENGINE_MAP.Presto},r=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:s.ENGINE_MAP.Gecko},r=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:s.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:s.ENGINE_MAP.WebKit},r=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=a,e.exports=t.default}})},"./node_modules/detect-browser/es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{BotInfo:()=>BotInfo,BrowserInfo:()=>BrowserInfo,NodeInfo:()=>NodeInfo,ReactNativeInfo:()=>ReactNativeInfo,SearchBotDeviceInfo:()=>SearchBotDeviceInfo,browserName:()=>browserName,detect:()=>detect,detectOS:()=>detectOS,getNodeVersion:()=>getNodeVersion,parseUserAgent:()=>parseUserAgent});var process=__webpack_require__("./node_modules/process/browser.js"),__spreadArray=function(to,from,pack){if(pack||2===arguments.length)for(var ar,i=0,l=from.length;i{"use strict";const{Deflate,deflate,deflateRaw,gzip}=__webpack_require__("./node_modules/pako/lib/deflate.js"),{Inflate,inflate,inflateRaw,ungzip}=__webpack_require__("./node_modules/pako/lib/inflate.js"),constants=__webpack_require__("./node_modules/pako/lib/zlib/constants.js");module.exports.Deflate=Deflate,module.exports.deflate=deflate,module.exports.deflateRaw=deflateRaw,module.exports.gzip=gzip,module.exports.Inflate=Inflate,module.exports.inflate=inflate,module.exports.inflateRaw=inflateRaw,module.exports.ungzip=ungzip,module.exports.constants=constants},"./node_modules/pako/lib/deflate.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const zlib_deflate=__webpack_require__("./node_modules/pako/lib/zlib/deflate.js"),utils=__webpack_require__("./node_modules/pako/lib/utils/common.js"),strings=__webpack_require__("./node_modules/pako/lib/utils/strings.js"),msg=__webpack_require__("./node_modules/pako/lib/zlib/messages.js"),ZStream=__webpack_require__("./node_modules/pako/lib/zlib/zstream.js"),toString=Object.prototype.toString,{Z_NO_FLUSH,Z_SYNC_FLUSH,Z_FULL_FLUSH,Z_FINISH,Z_OK,Z_STREAM_END,Z_DEFAULT_COMPRESSION,Z_DEFAULT_STRATEGY,Z_DEFLATED}=__webpack_require__("./node_modules/pako/lib/zlib/constants.js");function Deflate(options){this.options=utils.assign({level:Z_DEFAULT_COMPRESSION,method:Z_DEFLATED,chunkSize:16384,windowBits:15,memLevel:8,strategy:Z_DEFAULT_STRATEGY},options||{});let opt=this.options;opt.raw&&opt.windowBits>0?opt.windowBits=-opt.windowBits:opt.gzip&&opt.windowBits>0&&opt.windowBits<16&&(opt.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ZStream,this.strm.avail_out=0;let status=zlib_deflate.deflateInit2(this.strm,opt.level,opt.method,opt.windowBits,opt.memLevel,opt.strategy);if(status!==Z_OK)throw new Error(msg[status]);if(opt.header&&zlib_deflate.deflateSetHeader(this.strm,opt.header),opt.dictionary){let dict;if(dict="string"==typeof opt.dictionary?strings.string2buf(opt.dictionary):"[object ArrayBuffer]"===toString.call(opt.dictionary)?new Uint8Array(opt.dictionary):opt.dictionary,status=zlib_deflate.deflateSetDictionary(this.strm,dict),status!==Z_OK)throw new Error(msg[status]);this._dict_set=!0}}function deflate(input,options){const deflator=new Deflate(options);if(deflator.push(input,!0),deflator.err)throw deflator.msg||msg[deflator.err];return deflator.result}Deflate.prototype.push=function(data,flush_mode){const strm=this.strm,chunkSize=this.options.chunkSize;let status,_flush_mode;if(this.ended)return!1;for(_flush_mode=flush_mode===~~flush_mode?flush_mode:!0===flush_mode?Z_FINISH:Z_NO_FLUSH,"string"==typeof data?strm.input=strings.string2buf(data):"[object ArrayBuffer]"===toString.call(data)?strm.input=new Uint8Array(data):strm.input=data,strm.next_in=0,strm.avail_in=strm.input.length;;)if(0===strm.avail_out&&(strm.output=new Uint8Array(chunkSize),strm.next_out=0,strm.avail_out=chunkSize),(_flush_mode===Z_SYNC_FLUSH||_flush_mode===Z_FULL_FLUSH)&&strm.avail_out<=6)this.onData(strm.output.subarray(0,strm.next_out)),strm.avail_out=0;else{if(status=zlib_deflate.deflate(strm,_flush_mode),status===Z_STREAM_END)return strm.next_out>0&&this.onData(strm.output.subarray(0,strm.next_out)),status=zlib_deflate.deflateEnd(this.strm),this.onEnd(status),this.ended=!0,status===Z_OK;if(0!==strm.avail_out){if(_flush_mode>0&&strm.next_out>0)this.onData(strm.output.subarray(0,strm.next_out)),strm.avail_out=0;else if(0===strm.avail_in)break}else this.onData(strm.output)}return!0},Deflate.prototype.onData=function(chunk){this.chunks.push(chunk)},Deflate.prototype.onEnd=function(status){status===Z_OK&&(this.result=utils.flattenChunks(this.chunks)),this.chunks=[],this.err=status,this.msg=this.strm.msg},module.exports.Deflate=Deflate,module.exports.deflate=deflate,module.exports.deflateRaw=function deflateRaw(input,options){return(options=options||{}).raw=!0,deflate(input,options)},module.exports.gzip=function gzip(input,options){return(options=options||{}).gzip=!0,deflate(input,options)},module.exports.constants=__webpack_require__("./node_modules/pako/lib/zlib/constants.js")},"./node_modules/pako/lib/inflate.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const zlib_inflate=__webpack_require__("./node_modules/pako/lib/zlib/inflate.js"),utils=__webpack_require__("./node_modules/pako/lib/utils/common.js"),strings=__webpack_require__("./node_modules/pako/lib/utils/strings.js"),msg=__webpack_require__("./node_modules/pako/lib/zlib/messages.js"),ZStream=__webpack_require__("./node_modules/pako/lib/zlib/zstream.js"),GZheader=__webpack_require__("./node_modules/pako/lib/zlib/gzheader.js"),toString=Object.prototype.toString,{Z_NO_FLUSH,Z_FINISH,Z_OK,Z_STREAM_END,Z_NEED_DICT,Z_STREAM_ERROR,Z_DATA_ERROR,Z_MEM_ERROR}=__webpack_require__("./node_modules/pako/lib/zlib/constants.js");function Inflate(options){this.options=utils.assign({chunkSize:65536,windowBits:15,to:""},options||{});const opt=this.options;opt.raw&&opt.windowBits>=0&&opt.windowBits<16&&(opt.windowBits=-opt.windowBits,0===opt.windowBits&&(opt.windowBits=-15)),!(opt.windowBits>=0&&opt.windowBits<16)||options&&options.windowBits||(opt.windowBits+=32),opt.windowBits>15&&opt.windowBits<48&&0==(15&opt.windowBits)&&(opt.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ZStream,this.strm.avail_out=0;let status=zlib_inflate.inflateInit2(this.strm,opt.windowBits);if(status!==Z_OK)throw new Error(msg[status]);if(this.header=new GZheader,zlib_inflate.inflateGetHeader(this.strm,this.header),opt.dictionary&&("string"==typeof opt.dictionary?opt.dictionary=strings.string2buf(opt.dictionary):"[object ArrayBuffer]"===toString.call(opt.dictionary)&&(opt.dictionary=new Uint8Array(opt.dictionary)),opt.raw&&(status=zlib_inflate.inflateSetDictionary(this.strm,opt.dictionary),status!==Z_OK)))throw new Error(msg[status])}function inflate(input,options){const inflator=new Inflate(options);if(inflator.push(input),inflator.err)throw inflator.msg||msg[inflator.err];return inflator.result}Inflate.prototype.push=function(data,flush_mode){const strm=this.strm,chunkSize=this.options.chunkSize,dictionary=this.options.dictionary;let status,_flush_mode,last_avail_out;if(this.ended)return!1;for(_flush_mode=flush_mode===~~flush_mode?flush_mode:!0===flush_mode?Z_FINISH:Z_NO_FLUSH,"[object ArrayBuffer]"===toString.call(data)?strm.input=new Uint8Array(data):strm.input=data,strm.next_in=0,strm.avail_in=strm.input.length;;){for(0===strm.avail_out&&(strm.output=new Uint8Array(chunkSize),strm.next_out=0,strm.avail_out=chunkSize),status=zlib_inflate.inflate(strm,_flush_mode),status===Z_NEED_DICT&&dictionary&&(status=zlib_inflate.inflateSetDictionary(strm,dictionary),status===Z_OK?status=zlib_inflate.inflate(strm,_flush_mode):status===Z_DATA_ERROR&&(status=Z_NEED_DICT));strm.avail_in>0&&status===Z_STREAM_END&&strm.state.wrap>0&&0!==data[strm.next_in];)zlib_inflate.inflateReset(strm),status=zlib_inflate.inflate(strm,_flush_mode);switch(status){case Z_STREAM_ERROR:case Z_DATA_ERROR:case Z_NEED_DICT:case Z_MEM_ERROR:return this.onEnd(status),this.ended=!0,!1}if(last_avail_out=strm.avail_out,strm.next_out&&(0===strm.avail_out||status===Z_STREAM_END))if("string"===this.options.to){let next_out_utf8=strings.utf8border(strm.output,strm.next_out),tail=strm.next_out-next_out_utf8,utf8str=strings.buf2string(strm.output,next_out_utf8);strm.next_out=tail,strm.avail_out=chunkSize-tail,tail&&strm.output.set(strm.output.subarray(next_out_utf8,next_out_utf8+tail),0),this.onData(utf8str)}else this.onData(strm.output.length===strm.next_out?strm.output:strm.output.subarray(0,strm.next_out));if(status!==Z_OK||0!==last_avail_out){if(status===Z_STREAM_END)return status=zlib_inflate.inflateEnd(this.strm),this.onEnd(status),this.ended=!0,!0;if(0===strm.avail_in)break}}return!0},Inflate.prototype.onData=function(chunk){this.chunks.push(chunk)},Inflate.prototype.onEnd=function(status){status===Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=utils.flattenChunks(this.chunks)),this.chunks=[],this.err=status,this.msg=this.strm.msg},module.exports.Inflate=Inflate,module.exports.inflate=inflate,module.exports.inflateRaw=function inflateRaw(input,options){return(options=options||{}).raw=!0,inflate(input,options)},module.exports.ungzip=inflate,module.exports.constants=__webpack_require__("./node_modules/pako/lib/zlib/constants.js")},"./node_modules/pako/lib/utils/common.js":module=>{"use strict";const _has=(obj,key)=>Object.prototype.hasOwnProperty.call(obj,key);module.exports.assign=function(obj){const sources=Array.prototype.slice.call(arguments,1);for(;sources.length;){const source=sources.shift();if(source){if("object"!=typeof source)throw new TypeError(source+"must be non-object");for(const p in source)_has(source,p)&&(obj[p]=source[p])}}return obj},module.exports.flattenChunks=chunks=>{let len=0;for(let i=0,l=chunks.length;i{"use strict";let STR_APPLY_UIA_OK=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(__){STR_APPLY_UIA_OK=!1}const _utf8len=new Uint8Array(256);for(let q=0;q<256;q++)_utf8len[q]=q>=252?6:q>=248?5:q>=240?4:q>=224?3:q>=192?2:1;_utf8len[254]=_utf8len[254]=1,module.exports.string2buf=str=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(str);let buf,c,c2,m_pos,i,str_len=str.length,buf_len=0;for(m_pos=0;m_pos>>6,buf[i++]=128|63&c):c<65536?(buf[i++]=224|c>>>12,buf[i++]=128|c>>>6&63,buf[i++]=128|63&c):(buf[i++]=240|c>>>18,buf[i++]=128|c>>>12&63,buf[i++]=128|c>>>6&63,buf[i++]=128|63&c);return buf};module.exports.buf2string=(buf,max)=>{const len=max||buf.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(buf.subarray(0,max));let i,out;const utf16buf=new Array(2*len);for(out=0,i=0;i4)utf16buf[out++]=65533,i+=c_len-1;else{for(c&=2===c_len?31:3===c_len?15:7;c_len>1&&i1?utf16buf[out++]=65533:c<65536?utf16buf[out++]=c:(c-=65536,utf16buf[out++]=55296|c>>10&1023,utf16buf[out++]=56320|1023&c)}}return((buf,len)=>{if(len<65534&&buf.subarray&&STR_APPLY_UIA_OK)return String.fromCharCode.apply(null,buf.length===len?buf:buf.subarray(0,len));let result="";for(let i=0;i{(max=max||buf.length)>buf.length&&(max=buf.length);let pos=max-1;for(;pos>=0&&128==(192&buf[pos]);)pos--;return pos<0||0===pos?max:pos+_utf8len[buf[pos]]>max?pos:max}},"./node_modules/pako/lib/zlib/adler32.js":module=>{"use strict";module.exports=(adler,buf,len,pos)=>{let s1=65535&adler|0,s2=adler>>>16&65535|0,n=0;for(;0!==len;){n=len>2e3?2e3:len,len-=n;do{s1=s1+buf[pos++]|0,s2=s2+s1|0}while(--n);s1%=65521,s2%=65521}return s1|s2<<16|0}},"./node_modules/pako/lib/zlib/constants.js":module=>{"use strict";module.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},"./node_modules/pako/lib/zlib/crc32.js":module=>{"use strict";const crcTable=new Uint32Array((()=>{let c,table=[];for(var n=0;n<256;n++){c=n;for(var k=0;k<8;k++)c=1&c?3988292384^c>>>1:c>>>1;table[n]=c}return table})());module.exports=(crc,buf,len,pos)=>{const t=crcTable,end=pos+len;crc^=-1;for(let i=pos;i>>8^t[255&(crc^buf[i])];return-1^crc}},"./node_modules/pako/lib/zlib/deflate.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const{_tr_init,_tr_stored_block,_tr_flush_block,_tr_tally,_tr_align}=__webpack_require__("./node_modules/pako/lib/zlib/trees.js"),adler32=__webpack_require__("./node_modules/pako/lib/zlib/adler32.js"),crc32=__webpack_require__("./node_modules/pako/lib/zlib/crc32.js"),msg=__webpack_require__("./node_modules/pako/lib/zlib/messages.js"),{Z_NO_FLUSH,Z_PARTIAL_FLUSH,Z_FULL_FLUSH,Z_FINISH,Z_BLOCK,Z_OK,Z_STREAM_END,Z_STREAM_ERROR,Z_DATA_ERROR,Z_BUF_ERROR,Z_DEFAULT_COMPRESSION,Z_FILTERED,Z_HUFFMAN_ONLY,Z_RLE,Z_FIXED,Z_DEFAULT_STRATEGY,Z_UNKNOWN,Z_DEFLATED}=__webpack_require__("./node_modules/pako/lib/zlib/constants.js"),err=(strm,errorCode)=>(strm.msg=msg[errorCode],errorCode),rank=f=>2*f-(f>4?9:0),zero=buf=>{let len=buf.length;for(;--len>=0;)buf[len]=0},slide_hash=s=>{let n,m,p,wsize=s.w_size;n=s.hash_size,p=n;do{m=s.head[--p],s.head[p]=m>=wsize?m-wsize:0}while(--n);n=wsize,p=n;do{m=s.prev[--p],s.prev[p]=m>=wsize?m-wsize:0}while(--n)};let HASH=(s,prev,data)=>(prev<{const s=strm.state;let len=s.pending;len>strm.avail_out&&(len=strm.avail_out),0!==len&&(strm.output.set(s.pending_buf.subarray(s.pending_out,s.pending_out+len),strm.next_out),strm.next_out+=len,s.pending_out+=len,strm.total_out+=len,strm.avail_out-=len,s.pending-=len,0===s.pending&&(s.pending_out=0))},flush_block_only=(s,last)=>{_tr_flush_block(s,s.block_start>=0?s.block_start:-1,s.strstart-s.block_start,last),s.block_start=s.strstart,flush_pending(s.strm)},put_byte=(s,b)=>{s.pending_buf[s.pending++]=b},putShortMSB=(s,b)=>{s.pending_buf[s.pending++]=b>>>8&255,s.pending_buf[s.pending++]=255&b},read_buf=(strm,buf,start,size)=>{let len=strm.avail_in;return len>size&&(len=size),0===len?0:(strm.avail_in-=len,buf.set(strm.input.subarray(strm.next_in,strm.next_in+len),start),1===strm.state.wrap?strm.adler=adler32(strm.adler,buf,len,start):2===strm.state.wrap&&(strm.adler=crc32(strm.adler,buf,len,start)),strm.next_in+=len,strm.total_in+=len,len)},longest_match=(s,cur_match)=>{let match,len,chain_length=s.max_chain_length,scan=s.strstart,best_len=s.prev_length,nice_match=s.nice_match;const limit=s.strstart>s.w_size-262?s.strstart-(s.w_size-262):0,_win=s.window,wmask=s.w_mask,prev=s.prev,strend=s.strstart+258;let scan_end1=_win[scan+best_len-1],scan_end=_win[scan+best_len];s.prev_length>=s.good_match&&(chain_length>>=2),nice_match>s.lookahead&&(nice_match=s.lookahead);do{if(match=cur_match,_win[match+best_len]===scan_end&&_win[match+best_len-1]===scan_end1&&_win[match]===_win[scan]&&_win[++match]===_win[scan+1]){scan+=2,match++;do{}while(_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&scanbest_len){if(s.match_start=cur_match,best_len=len,len>=nice_match)break;scan_end1=_win[scan+best_len-1],scan_end=_win[scan+best_len]}}}while((cur_match=prev[cur_match&wmask])>limit&&0!=--chain_length);return best_len<=s.lookahead?best_len:s.lookahead},fill_window=s=>{const _w_size=s.w_size;let n,more,str;do{if(more=s.window_size-s.lookahead-s.strstart,s.strstart>=_w_size+(_w_size-262)&&(s.window.set(s.window.subarray(_w_size,_w_size+_w_size-more),0),s.match_start-=_w_size,s.strstart-=_w_size,s.block_start-=_w_size,s.insert>s.strstart&&(s.insert=s.strstart),slide_hash(s),more+=_w_size),0===s.strm.avail_in)break;if(n=read_buf(s.strm,s.window,s.strstart+s.lookahead,more),s.lookahead+=n,s.lookahead+s.insert>=3)for(str=s.strstart-s.insert,s.ins_h=s.window[str],s.ins_h=HASH(s,s.ins_h,s.window[str+1]);s.insert&&(s.ins_h=HASH(s,s.ins_h,s.window[str+3-1]),s.prev[str&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=str,str++,s.insert--,!(s.lookahead+s.insert<3)););}while(s.lookahead<262&&0!==s.strm.avail_in)},deflate_stored=(s,flush)=>{let len,left,have,min_block=s.pending_buf_size-5>s.w_size?s.w_size:s.pending_buf_size-5,last=0,used=s.strm.avail_in;do{if(len=65535,have=s.bi_valid+42>>3,s.strm.avail_outleft+s.strm.avail_in&&(len=left+s.strm.avail_in),len>have&&(len=have),len>8,s.pending_buf[s.pending-2]=~len,s.pending_buf[s.pending-1]=~len>>8,flush_pending(s.strm),left&&(left>len&&(left=len),s.strm.output.set(s.window.subarray(s.block_start,s.block_start+left),s.strm.next_out),s.strm.next_out+=left,s.strm.avail_out-=left,s.strm.total_out+=left,s.block_start+=left,len-=left),len&&(read_buf(s.strm,s.strm.output,s.strm.next_out,len),s.strm.next_out+=len,s.strm.avail_out-=len,s.strm.total_out+=len)}while(0===last);return used-=s.strm.avail_in,used&&(used>=s.w_size?(s.matches=2,s.window.set(s.strm.input.subarray(s.strm.next_in-s.w_size,s.strm.next_in),0),s.strstart=s.w_size,s.insert=s.strstart):(s.window_size-s.strstart<=used&&(s.strstart-=s.w_size,s.window.set(s.window.subarray(s.w_size,s.w_size+s.strstart),0),s.matches<2&&s.matches++,s.insert>s.strstart&&(s.insert=s.strstart)),s.window.set(s.strm.input.subarray(s.strm.next_in-used,s.strm.next_in),s.strstart),s.strstart+=used,s.insert+=used>s.w_size-s.insert?s.w_size-s.insert:used),s.block_start=s.strstart),s.high_waterhave&&s.block_start>=s.w_size&&(s.block_start-=s.w_size,s.strstart-=s.w_size,s.window.set(s.window.subarray(s.w_size,s.w_size+s.strstart),0),s.matches<2&&s.matches++,have+=s.w_size,s.insert>s.strstart&&(s.insert=s.strstart)),have>s.strm.avail_in&&(have=s.strm.avail_in),have&&(read_buf(s.strm,s.window,s.strstart,have),s.strstart+=have,s.insert+=have>s.w_size-s.insert?s.w_size-s.insert:have),s.high_water>3,have=s.pending_buf_size-have>65535?65535:s.pending_buf_size-have,min_block=have>s.w_size?s.w_size:have,left=s.strstart-s.block_start,(left>=min_block||(left||flush===Z_FINISH)&&flush!==Z_NO_FLUSH&&0===s.strm.avail_in&&left<=have)&&(len=left>have?have:left,last=flush===Z_FINISH&&0===s.strm.avail_in&&len===left?1:0,_tr_stored_block(s,s.block_start,len,last),s.block_start+=len,flush_pending(s.strm)),last?3:1)},deflate_fast=(s,flush)=>{let hash_head,bflush;for(;;){if(s.lookahead<262){if(fill_window(s),s.lookahead<262&&flush===Z_NO_FLUSH)return 1;if(0===s.lookahead)break}if(hash_head=0,s.lookahead>=3&&(s.ins_h=HASH(s,s.ins_h,s.window[s.strstart+3-1]),hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart),0!==hash_head&&s.strstart-hash_head<=s.w_size-262&&(s.match_length=longest_match(s,hash_head)),s.match_length>=3)if(bflush=_tr_tally(s,s.strstart-s.match_start,s.match_length-3),s.lookahead-=s.match_length,s.match_length<=s.max_lazy_match&&s.lookahead>=3){s.match_length--;do{s.strstart++,s.ins_h=HASH(s,s.ins_h,s.window[s.strstart+3-1]),hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart}while(0!=--s.match_length);s.strstart++}else s.strstart+=s.match_length,s.match_length=0,s.ins_h=s.window[s.strstart],s.ins_h=HASH(s,s.ins_h,s.window[s.strstart+1]);else bflush=_tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++;if(bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=s.strstart<2?s.strstart:2,flush===Z_FINISH?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.sym_next&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2},deflate_slow=(s,flush)=>{let hash_head,bflush,max_insert;for(;;){if(s.lookahead<262){if(fill_window(s),s.lookahead<262&&flush===Z_NO_FLUSH)return 1;if(0===s.lookahead)break}if(hash_head=0,s.lookahead>=3&&(s.ins_h=HASH(s,s.ins_h,s.window[s.strstart+3-1]),hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart),s.prev_length=s.match_length,s.prev_match=s.match_start,s.match_length=2,0!==hash_head&&s.prev_length4096)&&(s.match_length=2)),s.prev_length>=3&&s.match_length<=s.prev_length){max_insert=s.strstart+s.lookahead-3,bflush=_tr_tally(s,s.strstart-1-s.prev_match,s.prev_length-3),s.lookahead-=s.prev_length-1,s.prev_length-=2;do{++s.strstart<=max_insert&&(s.ins_h=HASH(s,s.ins_h,s.window[s.strstart+3-1]),hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart)}while(0!=--s.prev_length);if(s.match_available=0,s.match_length=2,s.strstart++,bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}else if(s.match_available){if(bflush=_tr_tally(s,0,s.window[s.strstart-1]),bflush&&flush_block_only(s,!1),s.strstart++,s.lookahead--,0===s.strm.avail_out)return 1}else s.match_available=1,s.strstart++,s.lookahead--}return s.match_available&&(bflush=_tr_tally(s,0,s.window[s.strstart-1]),s.match_available=0),s.insert=s.strstart<2?s.strstart:2,flush===Z_FINISH?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.sym_next&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2};function Config(good_length,max_lazy,nice_length,max_chain,func){this.good_length=good_length,this.max_lazy=max_lazy,this.nice_length=nice_length,this.max_chain=max_chain,this.func=func}const configuration_table=[new Config(0,0,0,0,deflate_stored),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)];function DeflateState(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Z_DEFLATED,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),zero(this.dyn_ltree),zero(this.dyn_dtree),zero(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),zero(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),zero(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const deflateStateCheck=strm=>{if(!strm)return 1;const s=strm.state;return!s||s.strm!==strm||42!==s.status&&57!==s.status&&69!==s.status&&73!==s.status&&91!==s.status&&103!==s.status&&113!==s.status&&666!==s.status?1:0},deflateResetKeep=strm=>{if(deflateStateCheck(strm))return err(strm,Z_STREAM_ERROR);strm.total_in=strm.total_out=0,strm.data_type=Z_UNKNOWN;const s=strm.state;return s.pending=0,s.pending_out=0,s.wrap<0&&(s.wrap=-s.wrap),s.status=2===s.wrap?57:s.wrap?42:113,strm.adler=2===s.wrap?0:1,s.last_flush=-2,_tr_init(s),Z_OK},deflateReset=strm=>{const ret=deflateResetKeep(strm);var s;return ret===Z_OK&&((s=strm.state).window_size=2*s.w_size,zero(s.head),s.max_lazy_match=configuration_table[s.level].max_lazy,s.good_match=configuration_table[s.level].good_length,s.nice_match=configuration_table[s.level].nice_length,s.max_chain_length=configuration_table[s.level].max_chain,s.strstart=0,s.block_start=0,s.lookahead=0,s.insert=0,s.match_length=s.prev_length=2,s.match_available=0,s.ins_h=0),ret},deflateInit2=(strm,level,method,windowBits,memLevel,strategy)=>{if(!strm)return Z_STREAM_ERROR;let wrap=1;if(level===Z_DEFAULT_COMPRESSION&&(level=6),windowBits<0?(wrap=0,windowBits=-windowBits):windowBits>15&&(wrap=2,windowBits-=16),memLevel<1||memLevel>9||method!==Z_DEFLATED||windowBits<8||windowBits>15||level<0||level>9||strategy<0||strategy>Z_FIXED||8===windowBits&&1!==wrap)return err(strm,Z_STREAM_ERROR);8===windowBits&&(windowBits=9);const s=new DeflateState;return strm.state=s,s.strm=strm,s.status=42,s.wrap=wrap,s.gzhead=null,s.w_bits=windowBits,s.w_size=1<deflateInit2(strm,level,Z_DEFLATED,15,8,Z_DEFAULT_STRATEGY),module.exports.deflateInit2=deflateInit2,module.exports.deflateReset=deflateReset,module.exports.deflateResetKeep=deflateResetKeep,module.exports.deflateSetHeader=(strm,head)=>deflateStateCheck(strm)||2!==strm.state.wrap?Z_STREAM_ERROR:(strm.state.gzhead=head,Z_OK),module.exports.deflate=(strm,flush)=>{if(deflateStateCheck(strm)||flush>Z_BLOCK||flush<0)return strm?err(strm,Z_STREAM_ERROR):Z_STREAM_ERROR;const s=strm.state;if(!strm.output||0!==strm.avail_in&&!strm.input||666===s.status&&flush!==Z_FINISH)return err(strm,0===strm.avail_out?Z_BUF_ERROR:Z_STREAM_ERROR);const old_flush=s.last_flush;if(s.last_flush=flush,0!==s.pending){if(flush_pending(strm),0===strm.avail_out)return s.last_flush=-1,Z_OK}else if(0===strm.avail_in&&rank(flush)<=rank(old_flush)&&flush!==Z_FINISH)return err(strm,Z_BUF_ERROR);if(666===s.status&&0!==strm.avail_in)return err(strm,Z_BUF_ERROR);if(42===s.status&&0===s.wrap&&(s.status=113),42===s.status){let header=Z_DEFLATED+(s.w_bits-8<<4)<<8,level_flags=-1;if(level_flags=s.strategy>=Z_HUFFMAN_ONLY||s.level<2?0:s.level<6?1:6===s.level?2:3,header|=level_flags<<6,0!==s.strstart&&(header|=32),header+=31-header%31,putShortMSB(s,header),0!==s.strstart&&(putShortMSB(s,strm.adler>>>16),putShortMSB(s,65535&strm.adler)),strm.adler=1,s.status=113,flush_pending(strm),0!==s.pending)return s.last_flush=-1,Z_OK}if(57===s.status)if(strm.adler=0,put_byte(s,31),put_byte(s,139),put_byte(s,8),s.gzhead)put_byte(s,(s.gzhead.text?1:0)+(s.gzhead.hcrc?2:0)+(s.gzhead.extra?4:0)+(s.gzhead.name?8:0)+(s.gzhead.comment?16:0)),put_byte(s,255&s.gzhead.time),put_byte(s,s.gzhead.time>>8&255),put_byte(s,s.gzhead.time>>16&255),put_byte(s,s.gzhead.time>>24&255),put_byte(s,9===s.level?2:s.strategy>=Z_HUFFMAN_ONLY||s.level<2?4:0),put_byte(s,255&s.gzhead.os),s.gzhead.extra&&s.gzhead.extra.length&&(put_byte(s,255&s.gzhead.extra.length),put_byte(s,s.gzhead.extra.length>>8&255)),s.gzhead.hcrc&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending,0)),s.gzindex=0,s.status=69;else if(put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,9===s.level?2:s.strategy>=Z_HUFFMAN_ONLY||s.level<2?4:0),put_byte(s,3),s.status=113,flush_pending(strm),0!==s.pending)return s.last_flush=-1,Z_OK;if(69===s.status){if(s.gzhead.extra){let beg=s.pending,left=(65535&s.gzhead.extra.length)-s.gzindex;for(;s.pending+left>s.pending_buf_size;){let copy=s.pending_buf_size-s.pending;if(s.pending_buf.set(s.gzhead.extra.subarray(s.gzindex,s.gzindex+copy),s.pending),s.pending=s.pending_buf_size,s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),s.gzindex+=copy,flush_pending(strm),0!==s.pending)return s.last_flush=-1,Z_OK;beg=0,left-=copy}let gzhead_extra=new Uint8Array(s.gzhead.extra);s.pending_buf.set(gzhead_extra.subarray(s.gzindex,s.gzindex+left),s.pending),s.pending+=left,s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),s.gzindex=0}s.status=73}if(73===s.status){if(s.gzhead.name){let val,beg=s.pending;do{if(s.pending===s.pending_buf_size){if(s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),flush_pending(strm),0!==s.pending)return s.last_flush=-1,Z_OK;beg=0}val=s.gzindexbeg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),s.gzindex=0}s.status=91}if(91===s.status){if(s.gzhead.comment){let val,beg=s.pending;do{if(s.pending===s.pending_buf_size){if(s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),flush_pending(strm),0!==s.pending)return s.last_flush=-1,Z_OK;beg=0}val=s.gzindexbeg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg))}s.status=103}if(103===s.status){if(s.gzhead.hcrc){if(s.pending+2>s.pending_buf_size&&(flush_pending(strm),0!==s.pending))return s.last_flush=-1,Z_OK;put_byte(s,255&strm.adler),put_byte(s,strm.adler>>8&255),strm.adler=0}if(s.status=113,flush_pending(strm),0!==s.pending)return s.last_flush=-1,Z_OK}if(0!==strm.avail_in||0!==s.lookahead||flush!==Z_NO_FLUSH&&666!==s.status){let bstate=0===s.level?deflate_stored(s,flush):s.strategy===Z_HUFFMAN_ONLY?((s,flush)=>{let bflush;for(;;){if(0===s.lookahead&&(fill_window(s),0===s.lookahead)){if(flush===Z_NO_FLUSH)return 1;break}if(s.match_length=0,bflush=_tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++,bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=0,flush===Z_FINISH?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.sym_next&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2})(s,flush):s.strategy===Z_RLE?((s,flush)=>{let bflush,prev,scan,strend;const _win=s.window;for(;;){if(s.lookahead<=258){if(fill_window(s),s.lookahead<=258&&flush===Z_NO_FLUSH)return 1;if(0===s.lookahead)break}if(s.match_length=0,s.lookahead>=3&&s.strstart>0&&(scan=s.strstart-1,prev=_win[scan],prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan])){strend=s.strstart+258;do{}while(prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&scans.lookahead&&(s.match_length=s.lookahead)}if(s.match_length>=3?(bflush=_tr_tally(s,1,s.match_length-3),s.lookahead-=s.match_length,s.strstart+=s.match_length,s.match_length=0):(bflush=_tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++),bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=0,flush===Z_FINISH?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.sym_next&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2})(s,flush):configuration_table[s.level].func(s,flush);if(3!==bstate&&4!==bstate||(s.status=666),1===bstate||3===bstate)return 0===strm.avail_out&&(s.last_flush=-1),Z_OK;if(2===bstate&&(flush===Z_PARTIAL_FLUSH?_tr_align(s):flush!==Z_BLOCK&&(_tr_stored_block(s,0,0,!1),flush===Z_FULL_FLUSH&&(zero(s.head),0===s.lookahead&&(s.strstart=0,s.block_start=0,s.insert=0))),flush_pending(strm),0===strm.avail_out))return s.last_flush=-1,Z_OK}return flush!==Z_FINISH?Z_OK:s.wrap<=0?Z_STREAM_END:(2===s.wrap?(put_byte(s,255&strm.adler),put_byte(s,strm.adler>>8&255),put_byte(s,strm.adler>>16&255),put_byte(s,strm.adler>>24&255),put_byte(s,255&strm.total_in),put_byte(s,strm.total_in>>8&255),put_byte(s,strm.total_in>>16&255),put_byte(s,strm.total_in>>24&255)):(putShortMSB(s,strm.adler>>>16),putShortMSB(s,65535&strm.adler)),flush_pending(strm),s.wrap>0&&(s.wrap=-s.wrap),0!==s.pending?Z_OK:Z_STREAM_END)},module.exports.deflateEnd=strm=>{if(deflateStateCheck(strm))return Z_STREAM_ERROR;const status=strm.state.status;return strm.state=null,113===status?err(strm,Z_DATA_ERROR):Z_OK},module.exports.deflateSetDictionary=(strm,dictionary)=>{let dictLength=dictionary.length;if(deflateStateCheck(strm))return Z_STREAM_ERROR;const s=strm.state,wrap=s.wrap;if(2===wrap||1===wrap&&42!==s.status||s.lookahead)return Z_STREAM_ERROR;if(1===wrap&&(strm.adler=adler32(strm.adler,dictionary,dictLength,0)),s.wrap=0,dictLength>=s.w_size){0===wrap&&(zero(s.head),s.strstart=0,s.block_start=0,s.insert=0);let tmpDict=new Uint8Array(s.w_size);tmpDict.set(dictionary.subarray(dictLength-s.w_size,dictLength),0),dictionary=tmpDict,dictLength=s.w_size}const avail=strm.avail_in,next=strm.next_in,input=strm.input;for(strm.avail_in=dictLength,strm.next_in=0,strm.input=dictionary,fill_window(s);s.lookahead>=3;){let str=s.strstart,n=s.lookahead-2;do{s.ins_h=HASH(s,s.ins_h,s.window[str+3-1]),s.prev[str&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=str,str++}while(--n);s.strstart=str,s.lookahead=2,fill_window(s)}return s.strstart+=s.lookahead,s.block_start=s.strstart,s.insert=s.lookahead,s.lookahead=0,s.match_length=s.prev_length=2,s.match_available=0,strm.next_in=next,strm.input=input,strm.avail_in=avail,s.wrap=wrap,Z_OK},module.exports.deflateInfo="pako deflate (from Nodeca project)"},"./node_modules/pako/lib/zlib/gzheader.js":module=>{"use strict";module.exports=function GZheader(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},"./node_modules/pako/lib/zlib/inffast.js":module=>{"use strict";module.exports=function inflate_fast(strm,start){let _in,last,_out,beg,end,dmax,wsize,whave,wnext,s_window,hold,bits,lcode,dcode,lmask,dmask,here,op,len,dist,from,from_source,input,output;const state=strm.state;_in=strm.next_in,input=strm.input,last=_in+(strm.avail_in-5),_out=strm.next_out,output=strm.output,beg=_out-(start-strm.avail_out),end=_out+(strm.avail_out-257),dmax=state.dmax,wsize=state.wsize,whave=state.whave,wnext=state.wnext,s_window=state.window,hold=state.hold,bits=state.bits,lcode=state.lencode,dcode=state.distcode,lmask=(1<>>24,hold>>>=op,bits-=op,op=here>>>16&255,0===op)output[_out++]=65535&here;else{if(!(16&op)){if(0==(64&op)){here=lcode[(65535&here)+(hold&(1<>>=op,bits-=op),bits<15&&(hold+=input[_in++]<>>24,hold>>>=op,bits-=op,op=here>>>16&255,!(16&op)){if(0==(64&op)){here=dcode[(65535&here)+(hold&(1<dmax){strm.msg="invalid distance too far back",state.mode=16209;break top}if(hold>>>=op,bits-=op,op=_out-beg,dist>op){if(op=dist-op,op>whave&&state.sane){strm.msg="invalid distance too far back",state.mode=16209;break top}if(from=0,from_source=s_window,0===wnext){if(from+=wsize-op,op2;)output[_out++]=from_source[from++],output[_out++]=from_source[from++],output[_out++]=from_source[from++],len-=3;len&&(output[_out++]=from_source[from++],len>1&&(output[_out++]=from_source[from++]))}else{from=_out-dist;do{output[_out++]=output[from++],output[_out++]=output[from++],output[_out++]=output[from++],len-=3}while(len>2);len&&(output[_out++]=output[from++],len>1&&(output[_out++]=output[from++]))}break}}break}}while(_in>3,_in-=len,bits-=len<<3,hold&=(1<{"use strict";const adler32=__webpack_require__("./node_modules/pako/lib/zlib/adler32.js"),crc32=__webpack_require__("./node_modules/pako/lib/zlib/crc32.js"),inflate_fast=__webpack_require__("./node_modules/pako/lib/zlib/inffast.js"),inflate_table=__webpack_require__("./node_modules/pako/lib/zlib/inftrees.js"),{Z_FINISH,Z_BLOCK,Z_TREES,Z_OK,Z_STREAM_END,Z_NEED_DICT,Z_STREAM_ERROR,Z_DATA_ERROR,Z_MEM_ERROR,Z_BUF_ERROR,Z_DEFLATED}=__webpack_require__("./node_modules/pako/lib/zlib/constants.js"),BAD=16209,zswap32=q=>(q>>>24&255)+(q>>>8&65280)+((65280&q)<<8)+((255&q)<<24);function InflateState(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const inflateStateCheck=strm=>{if(!strm)return 1;const state=strm.state;return!state||state.strm!==strm||state.mode<16180||state.mode>16211?1:0},inflateResetKeep=strm=>{if(inflateStateCheck(strm))return Z_STREAM_ERROR;const state=strm.state;return strm.total_in=strm.total_out=state.total=0,strm.msg="",state.wrap&&(strm.adler=1&state.wrap),state.mode=16180,state.last=0,state.havedict=0,state.flags=-1,state.dmax=32768,state.head=null,state.hold=0,state.bits=0,state.lencode=state.lendyn=new Int32Array(852),state.distcode=state.distdyn=new Int32Array(592),state.sane=1,state.back=-1,Z_OK},inflateReset=strm=>{if(inflateStateCheck(strm))return Z_STREAM_ERROR;const state=strm.state;return state.wsize=0,state.whave=0,state.wnext=0,inflateResetKeep(strm)},inflateReset2=(strm,windowBits)=>{let wrap;if(inflateStateCheck(strm))return Z_STREAM_ERROR;const state=strm.state;return windowBits<0?(wrap=0,windowBits=-windowBits):(wrap=5+(windowBits>>4),windowBits<48&&(windowBits&=15)),windowBits&&(windowBits<8||windowBits>15)?Z_STREAM_ERROR:(null!==state.window&&state.wbits!==windowBits&&(state.window=null),state.wrap=wrap,state.wbits=windowBits,inflateReset(strm))},inflateInit2=(strm,windowBits)=>{if(!strm)return Z_STREAM_ERROR;const state=new InflateState;strm.state=state,state.strm=strm,state.window=null,state.mode=16180;const ret=inflateReset2(strm,windowBits);return ret!==Z_OK&&(strm.state=null),ret};let lenfix,distfix,virgin=!0;const fixedtables=state=>{if(virgin){lenfix=new Int32Array(512),distfix=new Int32Array(32);let sym=0;for(;sym<144;)state.lens[sym++]=8;for(;sym<256;)state.lens[sym++]=9;for(;sym<280;)state.lens[sym++]=7;for(;sym<288;)state.lens[sym++]=8;for(inflate_table(1,state.lens,0,288,lenfix,0,state.work,{bits:9}),sym=0;sym<32;)state.lens[sym++]=5;inflate_table(2,state.lens,0,32,distfix,0,state.work,{bits:5}),virgin=!1}state.lencode=lenfix,state.lenbits=9,state.distcode=distfix,state.distbits=5},updatewindow=(strm,src,end,copy)=>{let dist;const state=strm.state;return null===state.window&&(state.wsize=1<=state.wsize?(state.window.set(src.subarray(end-state.wsize,end),0),state.wnext=0,state.whave=state.wsize):(dist=state.wsize-state.wnext,dist>copy&&(dist=copy),state.window.set(src.subarray(end-copy,end-copy+dist),state.wnext),(copy-=dist)?(state.window.set(src.subarray(end-copy,end),0),state.wnext=copy,state.whave=state.wsize):(state.wnext+=dist,state.wnext===state.wsize&&(state.wnext=0),state.whaveinflateInit2(strm,15),module.exports.inflateInit2=inflateInit2,module.exports.inflate=(strm,flush)=>{let state,input,output,next,put,have,left,hold,bits,_in,_out,copy,from,from_source,here_bits,here_op,here_val,last_bits,last_op,last_val,len,ret,here=0;const hbuf=new Uint8Array(4);let opts,n;const order=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(inflateStateCheck(strm)||!strm.output||!strm.input&&0!==strm.avail_in)return Z_STREAM_ERROR;state=strm.state,16191===state.mode&&(state.mode=16192),put=strm.next_out,output=strm.output,left=strm.avail_out,next=strm.next_in,input=strm.input,have=strm.avail_in,hold=state.hold,bits=state.bits,_in=have,_out=left,ret=Z_OK;inf_leave:for(;;)switch(state.mode){case 16180:if(0===state.wrap){state.mode=16192;break}for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<>>8&255,state.check=crc32(state.check,hbuf,2,0),hold=0,bits=0,state.mode=16181;break}if(state.head&&(state.head.done=!1),!(1&state.wrap)||(((255&hold)<<8)+(hold>>8))%31){strm.msg="incorrect header check",state.mode=BAD;break}if((15&hold)!==Z_DEFLATED){strm.msg="unknown compression method",state.mode=BAD;break}if(hold>>>=4,bits-=4,len=8+(15&hold),0===state.wbits&&(state.wbits=len),len>15||len>state.wbits){strm.msg="invalid window size",state.mode=BAD;break}state.dmax=1<>8&1),512&state.flags&&4&state.wrap&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0,state.mode=16182;case 16182:for(;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<>>8&255,hbuf[2]=hold>>>16&255,hbuf[3]=hold>>>24&255,state.check=crc32(state.check,hbuf,4,0)),hold=0,bits=0,state.mode=16183;case 16183:for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<>8),512&state.flags&&4&state.wrap&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0,state.mode=16184;case 16184:if(1024&state.flags){for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0}else state.head&&(state.head.extra=null);state.mode=16185;case 16185:if(1024&state.flags&&(copy=state.length,copy>have&&(copy=have),copy&&(state.head&&(len=state.head.extra_len-state.length,state.head.extra||(state.head.extra=new Uint8Array(state.head.extra_len)),state.head.extra.set(input.subarray(next,next+copy),len)),512&state.flags&&4&state.wrap&&(state.check=crc32(state.check,input,copy,next)),have-=copy,next+=copy,state.length-=copy),state.length))break inf_leave;state.length=0,state.mode=16186;case 16186:if(2048&state.flags){if(0===have)break inf_leave;copy=0;do{len=input[next+copy++],state.head&&len&&state.length<65536&&(state.head.name+=String.fromCharCode(len))}while(len&©>9&1,state.head.done=!0),strm.adler=state.check=0,state.mode=16191;break;case 16189:for(;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<>>=7&bits,bits-=7&bits,state.mode=16206;break}for(;bits<3;){if(0===have)break inf_leave;have--,hold+=input[next++]<>>=1,bits-=1,3&hold){case 0:state.mode=16193;break;case 1:if(fixedtables(state),state.mode=16199,flush===Z_TREES){hold>>>=2,bits-=2;break inf_leave}break;case 2:state.mode=16196;break;case 3:strm.msg="invalid block type",state.mode=BAD}hold>>>=2,bits-=2;break;case 16193:for(hold>>>=7&bits,bits-=7&bits;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<>>16^65535)){strm.msg="invalid stored block lengths",state.mode=BAD;break}if(state.length=65535&hold,hold=0,bits=0,state.mode=16194,flush===Z_TREES)break inf_leave;case 16194:state.mode=16195;case 16195:if(copy=state.length,copy){if(copy>have&&(copy=have),copy>left&&(copy=left),0===copy)break inf_leave;output.set(input.subarray(next,next+copy),put),have-=copy,next+=copy,left-=copy,put+=copy,state.length-=copy;break}state.mode=16191;break;case 16196:for(;bits<14;){if(0===have)break inf_leave;have--,hold+=input[next++]<>>=5,bits-=5,state.ndist=1+(31&hold),hold>>>=5,bits-=5,state.ncode=4+(15&hold),hold>>>=4,bits-=4,state.nlen>286||state.ndist>30){strm.msg="too many length or distance symbols",state.mode=BAD;break}state.have=0,state.mode=16197;case 16197:for(;state.have>>=3,bits-=3}for(;state.have<19;)state.lens[order[state.have++]]=0;if(state.lencode=state.lendyn,state.lenbits=7,opts={bits:state.lenbits},ret=inflate_table(0,state.lens,0,19,state.lencode,0,state.work,opts),state.lenbits=opts.bits,ret){strm.msg="invalid code lengths set",state.mode=BAD;break}state.have=0,state.mode=16198;case 16198:for(;state.have>>24,here_op=here>>>16&255,here_val=65535&here,!(here_bits<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<>>=here_bits,bits-=here_bits,state.lens[state.have++]=here_val;else{if(16===here_val){for(n=here_bits+2;bits>>=here_bits,bits-=here_bits,0===state.have){strm.msg="invalid bit length repeat",state.mode=BAD;break}len=state.lens[state.have-1],copy=3+(3&hold),hold>>>=2,bits-=2}else if(17===here_val){for(n=here_bits+3;bits>>=here_bits,bits-=here_bits,len=0,copy=3+(7&hold),hold>>>=3,bits-=3}else{for(n=here_bits+7;bits>>=here_bits,bits-=here_bits,len=0,copy=11+(127&hold),hold>>>=7,bits-=7}if(state.have+copy>state.nlen+state.ndist){strm.msg="invalid bit length repeat",state.mode=BAD;break}for(;copy--;)state.lens[state.have++]=len}}if(state.mode===BAD)break;if(0===state.lens[256]){strm.msg="invalid code -- missing end-of-block",state.mode=BAD;break}if(state.lenbits=9,opts={bits:state.lenbits},ret=inflate_table(1,state.lens,0,state.nlen,state.lencode,0,state.work,opts),state.lenbits=opts.bits,ret){strm.msg="invalid literal/lengths set",state.mode=BAD;break}if(state.distbits=6,state.distcode=state.distdyn,opts={bits:state.distbits},ret=inflate_table(2,state.lens,state.nlen,state.ndist,state.distcode,0,state.work,opts),state.distbits=opts.bits,ret){strm.msg="invalid distances set",state.mode=BAD;break}if(state.mode=16199,flush===Z_TREES)break inf_leave;case 16199:state.mode=16200;case 16200:if(have>=6&&left>=258){strm.next_out=put,strm.avail_out=left,strm.next_in=next,strm.avail_in=have,state.hold=hold,state.bits=bits,inflate_fast(strm,_out),put=strm.next_out,output=strm.output,left=strm.avail_out,next=strm.next_in,input=strm.input,have=strm.avail_in,hold=state.hold,bits=state.bits,16191===state.mode&&(state.back=-1);break}for(state.back=0;here=state.lencode[hold&(1<>>24,here_op=here>>>16&255,here_val=65535&here,!(here_bits<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<>last_bits)],here_bits=here>>>24,here_op=here>>>16&255,here_val=65535&here,!(last_bits+here_bits<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<>>=last_bits,bits-=last_bits,state.back+=last_bits}if(hold>>>=here_bits,bits-=here_bits,state.back+=here_bits,state.length=here_val,0===here_op){state.mode=16205;break}if(32&here_op){state.back=-1,state.mode=16191;break}if(64&here_op){strm.msg="invalid literal/length code",state.mode=BAD;break}state.extra=15&here_op,state.mode=16201;case 16201:if(state.extra){for(n=state.extra;bits>>=state.extra,bits-=state.extra,state.back+=state.extra}state.was=state.length,state.mode=16202;case 16202:for(;here=state.distcode[hold&(1<>>24,here_op=here>>>16&255,here_val=65535&here,!(here_bits<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<>last_bits)],here_bits=here>>>24,here_op=here>>>16&255,here_val=65535&here,!(last_bits+here_bits<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<>>=last_bits,bits-=last_bits,state.back+=last_bits}if(hold>>>=here_bits,bits-=here_bits,state.back+=here_bits,64&here_op){strm.msg="invalid distance code",state.mode=BAD;break}state.offset=here_val,state.extra=15&here_op,state.mode=16203;case 16203:if(state.extra){for(n=state.extra;bits>>=state.extra,bits-=state.extra,state.back+=state.extra}if(state.offset>state.dmax){strm.msg="invalid distance too far back",state.mode=BAD;break}state.mode=16204;case 16204:if(0===left)break inf_leave;if(copy=_out-left,state.offset>copy){if(copy=state.offset-copy,copy>state.whave&&state.sane){strm.msg="invalid distance too far back",state.mode=BAD;break}copy>state.wnext?(copy-=state.wnext,from=state.wsize-copy):from=state.wnext-copy,copy>state.length&&(copy=state.length),from_source=state.window}else from_source=output,from=put-state.offset,copy=state.length;copy>left&&(copy=left),left-=copy,state.length-=copy;do{output[put++]=from_source[from++]}while(--copy);0===state.length&&(state.mode=16200);break;case 16205:if(0===left)break inf_leave;output[put++]=state.length,left--,state.mode=16200;break;case 16206:if(state.wrap){for(;bits<32;){if(0===have)break inf_leave;have--,hold|=input[next++]<{if(inflateStateCheck(strm))return Z_STREAM_ERROR;let state=strm.state;return state.window&&(state.window=null),strm.state=null,Z_OK},module.exports.inflateGetHeader=(strm,head)=>{if(inflateStateCheck(strm))return Z_STREAM_ERROR;const state=strm.state;return 0==(2&state.wrap)?Z_STREAM_ERROR:(state.head=head,head.done=!1,Z_OK)},module.exports.inflateSetDictionary=(strm,dictionary)=>{const dictLength=dictionary.length;let state,dictid,ret;return inflateStateCheck(strm)?Z_STREAM_ERROR:(state=strm.state,0!==state.wrap&&16190!==state.mode?Z_STREAM_ERROR:16190===state.mode&&(dictid=1,dictid=adler32(dictid,dictionary,dictLength,0),dictid!==state.check)?Z_DATA_ERROR:(ret=updatewindow(strm,dictionary,dictLength,dictLength),ret?(state.mode=16210,Z_MEM_ERROR):(state.havedict=1,Z_OK)))},module.exports.inflateInfo="pako inflate (from Nodeca project)"},"./node_modules/pako/lib/zlib/inftrees.js":module=>{"use strict";const lbase=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),lext=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),dbase=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),dext=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);module.exports=(type,lens,lens_index,codes,table,table_index,work,opts)=>{const bits=opts.bits;let incr,fill,low,mask,next,match,len=0,sym=0,min=0,max=0,root=0,curr=0,drop=0,left=0,used=0,huff=0,base=null;const count=new Uint16Array(16),offs=new Uint16Array(16);let here_bits,here_op,here_val,extra=null;for(len=0;len<=15;len++)count[len]=0;for(sym=0;sym=1&&0===count[max];max--);if(root>max&&(root=max),0===max)return table[table_index++]=20971520,table[table_index++]=20971520,opts.bits=1,0;for(min=1;min0&&(0===type||1!==max))return-1;for(offs[1]=0,len=1;len<15;len++)offs[len+1]=offs[len]+count[len];for(sym=0;sym852||2===type&&used>592)return 1;for(;;){here_bits=len-drop,work[sym]+1=match?(here_op=extra[work[sym]-match],here_val=base[work[sym]-match]):(here_op=96,here_val=0),incr=1<>drop)+fill]=here_bits<<24|here_op<<16|here_val|0}while(0!==fill);for(incr=1<>=1;if(0!==incr?(huff&=incr-1,huff+=incr):huff=0,sym++,0==--count[len]){if(len===max)break;len=lens[lens_index+work[sym]]}if(len>root&&(huff&mask)!==low){for(0===drop&&(drop=root),next+=min,curr=len-drop,left=1<852||2===type&&used>592)return 1;low=huff&mask,table[low]=root<<24|curr<<16|next-table_index|0}}return 0!==huff&&(table[next+huff]=len-drop<<24|64<<16|0),opts.bits=root,0}},"./node_modules/pako/lib/zlib/messages.js":module=>{"use strict";module.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},"./node_modules/pako/lib/zlib/trees.js":module=>{"use strict";function zero(buf){let len=buf.length;for(;--len>=0;)buf[len]=0}const extra_lbits=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),extra_dbits=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),extra_blbits=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),bl_order=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),static_ltree=new Array(576);zero(static_ltree);const static_dtree=new Array(60);zero(static_dtree);const _dist_code=new Array(512);zero(_dist_code);const _length_code=new Array(256);zero(_length_code);const base_length=new Array(29);zero(base_length);const base_dist=new Array(30);function StaticTreeDesc(static_tree,extra_bits,extra_base,elems,max_length){this.static_tree=static_tree,this.extra_bits=extra_bits,this.extra_base=extra_base,this.elems=elems,this.max_length=max_length,this.has_stree=static_tree&&static_tree.length}let static_l_desc,static_d_desc,static_bl_desc;function TreeDesc(dyn_tree,stat_desc){this.dyn_tree=dyn_tree,this.max_code=0,this.stat_desc=stat_desc}zero(base_dist);const d_code=dist=>dist<256?_dist_code[dist]:_dist_code[256+(dist>>>7)],put_short=(s,w)=>{s.pending_buf[s.pending++]=255&w,s.pending_buf[s.pending++]=w>>>8&255},send_bits=(s,value,length)=>{s.bi_valid>16-length?(s.bi_buf|=value<>16-s.bi_valid,s.bi_valid+=length-16):(s.bi_buf|=value<{send_bits(s,tree[2*c],tree[2*c+1])},bi_reverse=(code,len)=>{let res=0;do{res|=1&code,code>>>=1,res<<=1}while(--len>0);return res>>>1},gen_codes=(tree,max_code,bl_count)=>{const next_code=new Array(16);let bits,n,code=0;for(bits=1;bits<=15;bits++)code=code+bl_count[bits-1]<<1,next_code[bits]=code;for(n=0;n<=max_code;n++){let len=tree[2*n+1];0!==len&&(tree[2*n]=bi_reverse(next_code[len]++,len))}},init_block=s=>{let n;for(n=0;n<286;n++)s.dyn_ltree[2*n]=0;for(n=0;n<30;n++)s.dyn_dtree[2*n]=0;for(n=0;n<19;n++)s.bl_tree[2*n]=0;s.dyn_ltree[512]=1,s.opt_len=s.static_len=0,s.sym_next=s.matches=0},bi_windup=s=>{s.bi_valid>8?put_short(s,s.bi_buf):s.bi_valid>0&&(s.pending_buf[s.pending++]=s.bi_buf),s.bi_buf=0,s.bi_valid=0},smaller=(tree,n,m,depth)=>{const _n2=2*n,_m2=2*m;return tree[_n2]{const v=s.heap[k];let j=k<<1;for(;j<=s.heap_len&&(j{let dist,lc,code,extra,sx=0;if(0!==s.sym_next)do{dist=255&s.pending_buf[s.sym_buf+sx++],dist+=(255&s.pending_buf[s.sym_buf+sx++])<<8,lc=s.pending_buf[s.sym_buf+sx++],0===dist?send_code(s,lc,ltree):(code=_length_code[lc],send_code(s,code+256+1,ltree),extra=extra_lbits[code],0!==extra&&(lc-=base_length[code],send_bits(s,lc,extra)),dist--,code=d_code(dist),send_code(s,code,dtree),extra=extra_dbits[code],0!==extra&&(dist-=base_dist[code],send_bits(s,dist,extra)))}while(sx{const tree=desc.dyn_tree,stree=desc.stat_desc.static_tree,has_stree=desc.stat_desc.has_stree,elems=desc.stat_desc.elems;let n,m,node,max_code=-1;for(s.heap_len=0,s.heap_max=573,n=0;n>1;n>=1;n--)pqdownheap(s,tree,n);node=elems;do{n=s.heap[1],s.heap[1]=s.heap[s.heap_len--],pqdownheap(s,tree,1),m=s.heap[1],s.heap[--s.heap_max]=n,s.heap[--s.heap_max]=m,tree[2*node]=tree[2*n]+tree[2*m],s.depth[node]=(s.depth[n]>=s.depth[m]?s.depth[n]:s.depth[m])+1,tree[2*n+1]=tree[2*m+1]=node,s.heap[1]=node++,pqdownheap(s,tree,1)}while(s.heap_len>=2);s.heap[--s.heap_max]=s.heap[1],((s,desc)=>{const tree=desc.dyn_tree,max_code=desc.max_code,stree=desc.stat_desc.static_tree,has_stree=desc.stat_desc.has_stree,extra=desc.stat_desc.extra_bits,base=desc.stat_desc.extra_base,max_length=desc.stat_desc.max_length;let h,n,m,bits,xbits,f,overflow=0;for(bits=0;bits<=15;bits++)s.bl_count[bits]=0;for(tree[2*s.heap[s.heap_max]+1]=0,h=s.heap_max+1;h<573;h++)n=s.heap[h],bits=tree[2*tree[2*n+1]+1]+1,bits>max_length&&(bits=max_length,overflow++),tree[2*n+1]=bits,n>max_code||(s.bl_count[bits]++,xbits=0,n>=base&&(xbits=extra[n-base]),f=tree[2*n],s.opt_len+=f*(bits+xbits),has_stree&&(s.static_len+=f*(stree[2*n+1]+xbits)));if(0!==overflow){do{for(bits=max_length-1;0===s.bl_count[bits];)bits--;s.bl_count[bits]--,s.bl_count[bits+1]+=2,s.bl_count[max_length]--,overflow-=2}while(overflow>0);for(bits=max_length;0!==bits;bits--)for(n=s.bl_count[bits];0!==n;)m=s.heap[--h],m>max_code||(tree[2*m+1]!==bits&&(s.opt_len+=(bits-tree[2*m+1])*tree[2*m],tree[2*m+1]=bits),n--)}})(s,desc),gen_codes(tree,max_code,s.bl_count)},scan_tree=(s,tree,max_code)=>{let n,curlen,prevlen=-1,nextlen=tree[1],count=0,max_count=7,min_count=4;for(0===nextlen&&(max_count=138,min_count=3),tree[2*(max_code+1)+1]=65535,n=0;n<=max_code;n++)curlen=nextlen,nextlen=tree[2*(n+1)+1],++count{let n,curlen,prevlen=-1,nextlen=tree[1],count=0,max_count=7,min_count=4;for(0===nextlen&&(max_count=138,min_count=3),n=0;n<=max_code;n++)if(curlen=nextlen,nextlen=tree[2*(n+1)+1],!(++count{send_bits(s,0+(last?1:0),3),bi_windup(s),put_short(s,stored_len),put_short(s,~stored_len),stored_len&&s.pending_buf.set(s.window.subarray(buf,buf+stored_len),s.pending),s.pending+=stored_len};module.exports._tr_init=s=>{static_init_done||((()=>{let n,bits,length,code,dist;const bl_count=new Array(16);for(length=0,code=0;code<28;code++)for(base_length[code]=length,n=0;n<1<>=7;code<30;code++)for(base_dist[code]=dist<<7,n=0;n<1<{let opt_lenb,static_lenb,max_blindex=0;s.level>0?(2===s.strm.data_type&&(s.strm.data_type=(s=>{let n,block_mask=4093624447;for(n=0;n<=31;n++,block_mask>>>=1)if(1&block_mask&&0!==s.dyn_ltree[2*n])return 0;if(0!==s.dyn_ltree[18]||0!==s.dyn_ltree[20]||0!==s.dyn_ltree[26])return 1;for(n=32;n<256;n++)if(0!==s.dyn_ltree[2*n])return 1;return 0})(s)),build_tree(s,s.l_desc),build_tree(s,s.d_desc),max_blindex=(s=>{let max_blindex;for(scan_tree(s,s.dyn_ltree,s.l_desc.max_code),scan_tree(s,s.dyn_dtree,s.d_desc.max_code),build_tree(s,s.bl_desc),max_blindex=18;max_blindex>=3&&0===s.bl_tree[2*bl_order[max_blindex]+1];max_blindex--);return s.opt_len+=3*(max_blindex+1)+5+5+4,max_blindex})(s),opt_lenb=s.opt_len+3+7>>>3,static_lenb=s.static_len+3+7>>>3,static_lenb<=opt_lenb&&(opt_lenb=static_lenb)):opt_lenb=static_lenb=stored_len+5,stored_len+4<=opt_lenb&&-1!==buf?_tr_stored_block(s,buf,stored_len,last):4===s.strategy||static_lenb===opt_lenb?(send_bits(s,2+(last?1:0),3),compress_block(s,static_ltree,static_dtree)):(send_bits(s,4+(last?1:0),3),((s,lcodes,dcodes,blcodes)=>{let rank;for(send_bits(s,lcodes-257,5),send_bits(s,dcodes-1,5),send_bits(s,blcodes-4,4),rank=0;rank(s.pending_buf[s.sym_buf+s.sym_next++]=dist,s.pending_buf[s.sym_buf+s.sym_next++]=dist>>8,s.pending_buf[s.sym_buf+s.sym_next++]=lc,0===dist?s.dyn_ltree[2*lc]++:(s.matches++,dist--,s.dyn_ltree[2*(_length_code[lc]+256+1)]++,s.dyn_dtree[2*d_code(dist)]++),s.sym_next===s.sym_end),module.exports._tr_align=s=>{send_bits(s,2,3),send_code(s,256,static_ltree),(s=>{16===s.bi_valid?(put_short(s,s.bi_buf),s.bi_buf=0,s.bi_valid=0):s.bi_valid>=8&&(s.pending_buf[s.pending++]=255&s.bi_buf,s.bi_buf>>=8,s.bi_valid-=8)})(s)}},"./node_modules/pako/lib/zlib/zstream.js":module=>{"use strict";module.exports=function ZStream(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},"./node_modules/protobufjs/minimal.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/protobufjs/src/index-minimal.js")},"./node_modules/protobufjs/src/index-minimal.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var protobuf=exports;function configure(){protobuf.util._configure(),protobuf.Writer._configure(protobuf.BufferWriter),protobuf.Reader._configure(protobuf.BufferReader)}protobuf.build="minimal",protobuf.Writer=__webpack_require__("./node_modules/protobufjs/src/writer.js"),protobuf.BufferWriter=__webpack_require__("./node_modules/protobufjs/src/writer_buffer.js"),protobuf.Reader=__webpack_require__("./node_modules/protobufjs/src/reader.js"),protobuf.BufferReader=__webpack_require__("./node_modules/protobufjs/src/reader_buffer.js"),protobuf.util=__webpack_require__("./node_modules/protobufjs/src/util/minimal.js"),protobuf.rpc=__webpack_require__("./node_modules/protobufjs/src/rpc.js"),protobuf.roots=__webpack_require__("./node_modules/protobufjs/src/roots.js"),protobuf.configure=configure,configure()},"./node_modules/protobufjs/src/reader.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=Reader;var BufferReader,util=__webpack_require__("./node_modules/protobufjs/src/util/minimal.js"),LongBits=util.LongBits,utf8=util.utf8;function indexOutOfRange(reader,writeLength){return RangeError("index out of range: "+reader.pos+" + "+(writeLength||1)+" > "+reader.len)}function Reader(buffer){this.buf=buffer,this.pos=0,this.len=buffer.length}var create_array="undefined"!=typeof Uint8Array?function create_typed_array(buffer){if(buffer instanceof Uint8Array||Array.isArray(buffer))return new Reader(buffer);throw Error("illegal buffer")}:function create_array(buffer){if(Array.isArray(buffer))return new Reader(buffer);throw Error("illegal buffer")},create=function create(){return util.Buffer?function create_buffer_setup(buffer){return(Reader.create=function create_buffer(buffer){return util.Buffer.isBuffer(buffer)?new BufferReader(buffer):create_array(buffer)})(buffer)}:create_array};function readLongVarint(){var bits=new LongBits(0,0),i=0;if(!(this.len-this.pos>4)){for(;i<3;++i){if(this.pos>=this.len)throw indexOutOfRange(this);if(bits.lo=(bits.lo|(127&this.buf[this.pos])<<7*i)>>>0,this.buf[this.pos++]<128)return bits}return bits.lo=(bits.lo|(127&this.buf[this.pos++])<<7*i)>>>0,bits}for(;i<4;++i)if(bits.lo=(bits.lo|(127&this.buf[this.pos])<<7*i)>>>0,this.buf[this.pos++]<128)return bits;if(bits.lo=(bits.lo|(127&this.buf[this.pos])<<28)>>>0,bits.hi=(bits.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return bits;if(i=0,this.len-this.pos>4){for(;i<5;++i)if(bits.hi=(bits.hi|(127&this.buf[this.pos])<<7*i+3)>>>0,this.buf[this.pos++]<128)return bits}else for(;i<5;++i){if(this.pos>=this.len)throw indexOutOfRange(this);if(bits.hi=(bits.hi|(127&this.buf[this.pos])<<7*i+3)>>>0,this.buf[this.pos++]<128)return bits}throw Error("invalid varint encoding")}function readFixed32_end(buf,end){return(buf[end-4]|buf[end-3]<<8|buf[end-2]<<16|buf[end-1]<<24)>>>0}function readFixed64(){if(this.pos+8>this.len)throw indexOutOfRange(this,8);return new LongBits(readFixed32_end(this.buf,this.pos+=4),readFixed32_end(this.buf,this.pos+=4))}Reader.create=create(),Reader.prototype._slice=util.Array.prototype.subarray||util.Array.prototype.slice,Reader.prototype.uint32=function read_uint32_setup(){var value=4294967295;return function read_uint32(){if(value=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return value;if(value=(value|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return value;if(value=(value|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return value;if(value=(value|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return value;if(value=(value|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return value;if((this.pos+=5)>this.len)throw this.pos=this.len,indexOutOfRange(this,10);return value}}(),Reader.prototype.int32=function read_int32(){return 0|this.uint32()},Reader.prototype.sint32=function read_sint32(){var value=this.uint32();return value>>>1^-(1&value)|0},Reader.prototype.bool=function read_bool(){return 0!==this.uint32()},Reader.prototype.fixed32=function read_fixed32(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)},Reader.prototype.sfixed32=function read_sfixed32(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return 0|readFixed32_end(this.buf,this.pos+=4)},Reader.prototype.float=function read_float(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);var value=util.float.readFloatLE(this.buf,this.pos);return this.pos+=4,value},Reader.prototype.double=function read_double(){if(this.pos+8>this.len)throw indexOutOfRange(this,4);var value=util.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,value},Reader.prototype.bytes=function read_bytes(){var length=this.uint32(),start=this.pos,end=this.pos+length;if(end>this.len)throw indexOutOfRange(this,length);return this.pos+=length,Array.isArray(this.buf)?this.buf.slice(start,end):start===end?new this.buf.constructor(0):this._slice.call(this.buf,start,end)},Reader.prototype.string=function read_string(){var bytes=this.bytes();return utf8.read(bytes,0,bytes.length)},Reader.prototype.skip=function skip(length){if("number"==typeof length){if(this.pos+length>this.len)throw indexOutOfRange(this,length);this.pos+=length}else do{if(this.pos>=this.len)throw indexOutOfRange(this)}while(128&this.buf[this.pos++]);return this},Reader.prototype.skipType=function(wireType){switch(wireType){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(wireType=7&this.uint32());)this.skipType(wireType);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+wireType+" at offset "+this.pos)}return this},Reader._configure=function(BufferReader_){BufferReader=BufferReader_,Reader.create=create(),BufferReader._configure();var fn=util.Long?"toLong":"toNumber";util.merge(Reader.prototype,{int64:function read_int64(){return readLongVarint.call(this)[fn](!1)},uint64:function read_uint64(){return readLongVarint.call(this)[fn](!0)},sint64:function read_sint64(){return readLongVarint.call(this).zzDecode()[fn](!1)},fixed64:function read_fixed64(){return readFixed64.call(this)[fn](!0)},sfixed64:function read_sfixed64(){return readFixed64.call(this)[fn](!1)}})}},"./node_modules/protobufjs/src/reader_buffer.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=BufferReader;var Reader=__webpack_require__("./node_modules/protobufjs/src/reader.js");(BufferReader.prototype=Object.create(Reader.prototype)).constructor=BufferReader;var util=__webpack_require__("./node_modules/protobufjs/src/util/minimal.js");function BufferReader(buffer){Reader.call(this,buffer)}BufferReader._configure=function(){util.Buffer&&(BufferReader.prototype._slice=util.Buffer.prototype.slice)},BufferReader.prototype.string=function read_string_buffer(){var len=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+len,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+len,this.len))},BufferReader._configure()},"./node_modules/protobufjs/src/roots.js":module=>{"use strict";module.exports={}},"./node_modules/protobufjs/src/rpc.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";exports.Service=__webpack_require__("./node_modules/protobufjs/src/rpc/service.js")},"./node_modules/protobufjs/src/rpc/service.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=Service;var util=__webpack_require__("./node_modules/protobufjs/src/util/minimal.js");function Service(rpcImpl,requestDelimited,responseDelimited){if("function"!=typeof rpcImpl)throw TypeError("rpcImpl must be a function");util.EventEmitter.call(this),this.rpcImpl=rpcImpl,this.requestDelimited=Boolean(requestDelimited),this.responseDelimited=Boolean(responseDelimited)}(Service.prototype=Object.create(util.EventEmitter.prototype)).constructor=Service,Service.prototype.rpcCall=function rpcCall(method,requestCtor,responseCtor,request,callback){if(!request)throw TypeError("request must be specified");var self=this;if(!callback)return util.asPromise(rpcCall,self,method,requestCtor,responseCtor,request);if(self.rpcImpl)try{return self.rpcImpl(method,requestCtor[self.requestDelimited?"encodeDelimited":"encode"](request).finish(),(function rpcCallback(err,response){if(err)return self.emit("error",err,method),callback(err);if(null!==response){if(!(response instanceof responseCtor))try{response=responseCtor[self.responseDelimited?"decodeDelimited":"decode"](response)}catch(err){return self.emit("error",err,method),callback(err)}return self.emit("data",response,method),callback(null,response)}self.end(!0)}))}catch(err){return self.emit("error",err,method),void setTimeout((function(){callback(err)}),0)}else setTimeout((function(){callback(Error("already ended"))}),0)},Service.prototype.end=function end(endedByRPC){return this.rpcImpl&&(endedByRPC||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},"./node_modules/protobufjs/src/util/longbits.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=LongBits;var util=__webpack_require__("./node_modules/protobufjs/src/util/minimal.js");function LongBits(lo,hi){this.lo=lo>>>0,this.hi=hi>>>0}var zero=LongBits.zero=new LongBits(0,0);zero.toNumber=function(){return 0},zero.zzEncode=zero.zzDecode=function(){return this},zero.length=function(){return 1};var zeroHash=LongBits.zeroHash="\0\0\0\0\0\0\0\0";LongBits.fromNumber=function fromNumber(value){if(0===value)return zero;var sign=value<0;sign&&(value=-value);var lo=value>>>0,hi=(value-lo)/4294967296>>>0;return sign&&(hi=~hi>>>0,lo=~lo>>>0,++lo>4294967295&&(lo=0,++hi>4294967295&&(hi=0))),new LongBits(lo,hi)},LongBits.from=function from(value){if("number"==typeof value)return LongBits.fromNumber(value);if(util.isString(value)){if(!util.Long)return LongBits.fromNumber(parseInt(value,10));value=util.Long.fromString(value)}return value.low||value.high?new LongBits(value.low>>>0,value.high>>>0):zero},LongBits.prototype.toNumber=function toNumber(unsigned){if(!unsigned&&this.hi>>>31){var lo=1+~this.lo>>>0,hi=~this.hi>>>0;return lo||(hi=hi+1>>>0),-(lo+4294967296*hi)}return this.lo+4294967296*this.hi},LongBits.prototype.toLong=function toLong(unsigned){return util.Long?new util.Long(0|this.lo,0|this.hi,Boolean(unsigned)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(unsigned)}};var charCodeAt=String.prototype.charCodeAt;LongBits.fromHash=function fromHash(hash){return hash===zeroHash?zero:new LongBits((charCodeAt.call(hash,0)|charCodeAt.call(hash,1)<<8|charCodeAt.call(hash,2)<<16|charCodeAt.call(hash,3)<<24)>>>0,(charCodeAt.call(hash,4)|charCodeAt.call(hash,5)<<8|charCodeAt.call(hash,6)<<16|charCodeAt.call(hash,7)<<24)>>>0)},LongBits.prototype.toHash=function toHash(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},LongBits.prototype.zzEncode=function zzEncode(){var mask=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^mask)>>>0,this.lo=(this.lo<<1^mask)>>>0,this},LongBits.prototype.zzDecode=function zzDecode(){var mask=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^mask)>>>0,this.hi=(this.hi>>>1^mask)>>>0,this},LongBits.prototype.length=function length(){var part0=this.lo,part1=(this.lo>>>28|this.hi<<4)>>>0,part2=this.hi>>>24;return 0===part2?0===part1?part0<16384?part0<128?1:2:part0<2097152?3:4:part1<16384?part1<128?5:6:part1<2097152?7:8:part2<128?9:10}},"./node_modules/protobufjs/src/util/minimal.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var util=exports;function merge(dst,src,ifNotSet){for(var keys=Object.keys(src),i=0;i0)},util.Buffer=function(){try{var Buffer=util.inquire("buffer").Buffer;return Buffer.prototype.utf8Write?Buffer:null}catch(e){return null}}(),util._Buffer_from=null,util._Buffer_allocUnsafe=null,util.newBuffer=function newBuffer(sizeOrArray){return"number"==typeof sizeOrArray?util.Buffer?util._Buffer_allocUnsafe(sizeOrArray):new util.Array(sizeOrArray):util.Buffer?util._Buffer_from(sizeOrArray):"undefined"==typeof Uint8Array?sizeOrArray:new Uint8Array(sizeOrArray)},util.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,util.Long=util.global.dcodeIO&&util.global.dcodeIO.Long||util.global.Long||util.inquire("long"),util.key2Re=/^true|false|0|1$/,util.key32Re=/^-?(?:0|[1-9][0-9]*)$/,util.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,util.longToHash=function longToHash(value){return value?util.LongBits.from(value).toHash():util.LongBits.zeroHash},util.longFromHash=function longFromHash(hash,unsigned){var bits=util.LongBits.fromHash(hash);return util.Long?util.Long.fromBits(bits.lo,bits.hi,unsigned):bits.toNumber(Boolean(unsigned))},util.merge=merge,util.lcFirst=function lcFirst(str){return str.charAt(0).toLowerCase()+str.substring(1)},util.newError=newError,util.ProtocolError=newError("ProtocolError"),util.oneOfGetter=function getOneOf(fieldNames){for(var fieldMap={},i=0;i-1;--i)if(1===fieldMap[keys[i]]&&void 0!==this[keys[i]]&&null!==this[keys[i]])return keys[i]}},util.oneOfSetter=function setOneOf(fieldNames){return function(name){for(var i=0;i{"use strict";module.exports=Writer;var BufferWriter,util=__webpack_require__("./node_modules/protobufjs/src/util/minimal.js"),LongBits=util.LongBits,base64=util.base64,utf8=util.utf8;function Op(fn,len,val){this.fn=fn,this.len=len,this.next=void 0,this.val=val}function noop(){}function State(writer){this.head=writer.head,this.tail=writer.tail,this.len=writer.len,this.next=writer.states}function Writer(){this.len=0,this.head=new Op(noop,0,0),this.tail=this.head,this.states=null}var create=function create(){return util.Buffer?function create_buffer_setup(){return(Writer.create=function create_buffer(){return new BufferWriter})()}:function create_array(){return new Writer}};function writeByte(val,buf,pos){buf[pos]=255&val}function VarintOp(len,val){this.len=len,this.next=void 0,this.val=val}function writeVarint64(val,buf,pos){for(;val.hi;)buf[pos++]=127&val.lo|128,val.lo=(val.lo>>>7|val.hi<<25)>>>0,val.hi>>>=7;for(;val.lo>127;)buf[pos++]=127&val.lo|128,val.lo=val.lo>>>7;buf[pos++]=val.lo}function writeFixed32(val,buf,pos){buf[pos]=255&val,buf[pos+1]=val>>>8&255,buf[pos+2]=val>>>16&255,buf[pos+3]=val>>>24}Writer.create=create(),Writer.alloc=function alloc(size){return new util.Array(size)},util.Array!==Array&&(Writer.alloc=util.pool(Writer.alloc,util.Array.prototype.subarray)),Writer.prototype._push=function push(fn,len,val){return this.tail=this.tail.next=new Op(fn,len,val),this.len+=len,this},VarintOp.prototype=Object.create(Op.prototype),VarintOp.prototype.fn=function writeVarint32(val,buf,pos){for(;val>127;)buf[pos++]=127&val|128,val>>>=7;buf[pos]=val},Writer.prototype.uint32=function write_uint32(value){return this.len+=(this.tail=this.tail.next=new VarintOp((value>>>=0)<128?1:value<16384?2:value<2097152?3:value<268435456?4:5,value)).len,this},Writer.prototype.int32=function write_int32(value){return value<0?this._push(writeVarint64,10,LongBits.fromNumber(value)):this.uint32(value)},Writer.prototype.sint32=function write_sint32(value){return this.uint32((value<<1^value>>31)>>>0)},Writer.prototype.uint64=function write_uint64(value){var bits=LongBits.from(value);return this._push(writeVarint64,bits.length(),bits)},Writer.prototype.int64=Writer.prototype.uint64,Writer.prototype.sint64=function write_sint64(value){var bits=LongBits.from(value).zzEncode();return this._push(writeVarint64,bits.length(),bits)},Writer.prototype.bool=function write_bool(value){return this._push(writeByte,1,value?1:0)},Writer.prototype.fixed32=function write_fixed32(value){return this._push(writeFixed32,4,value>>>0)},Writer.prototype.sfixed32=Writer.prototype.fixed32,Writer.prototype.fixed64=function write_fixed64(value){var bits=LongBits.from(value);return this._push(writeFixed32,4,bits.lo)._push(writeFixed32,4,bits.hi)},Writer.prototype.sfixed64=Writer.prototype.fixed64,Writer.prototype.float=function write_float(value){return this._push(util.float.writeFloatLE,4,value)},Writer.prototype.double=function write_double(value){return this._push(util.float.writeDoubleLE,8,value)};var writeBytes=util.Array.prototype.set?function writeBytes_set(val,buf,pos){buf.set(val,pos)}:function writeBytes_for(val,buf,pos){for(var i=0;i>>0;if(!len)return this._push(writeByte,1,0);if(util.isString(value)){var buf=Writer.alloc(len=base64.length(value));base64.decode(value,buf,0),value=buf}return this.uint32(len)._push(writeBytes,len,value)},Writer.prototype.string=function write_string(value){var len=utf8.length(value);return len?this.uint32(len)._push(utf8.write,len,value):this._push(writeByte,1,0)},Writer.prototype.fork=function fork(){return this.states=new State(this),this.head=this.tail=new Op(noop,0,0),this.len=0,this},Writer.prototype.reset=function reset(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new Op(noop,0,0),this.len=0),this},Writer.prototype.ldelim=function ldelim(){var head=this.head,tail=this.tail,len=this.len;return this.reset().uint32(len),len&&(this.tail.next=head.next,this.tail=tail,this.len+=len),this},Writer.prototype.finish=function finish(){for(var head=this.head.next,buf=this.constructor.alloc(this.len),pos=0;head;)head.fn(head.val,buf,pos),pos+=head.len,head=head.next;return buf},Writer._configure=function(BufferWriter_){BufferWriter=BufferWriter_,Writer.create=create(),BufferWriter._configure()}},"./node_modules/protobufjs/src/writer_buffer.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=BufferWriter;var Writer=__webpack_require__("./node_modules/protobufjs/src/writer.js");(BufferWriter.prototype=Object.create(Writer.prototype)).constructor=BufferWriter;var util=__webpack_require__("./node_modules/protobufjs/src/util/minimal.js");function BufferWriter(){Writer.call(this)}function writeStringBuffer(val,buf,pos){val.length<40?util.utf8.write(val,buf,pos):buf.utf8Write?buf.utf8Write(val,pos):buf.write(val,pos)}BufferWriter._configure=function(){BufferWriter.alloc=util._Buffer_allocUnsafe,BufferWriter.writeBytesBuffer=util.Buffer&&util.Buffer.prototype instanceof Uint8Array&&"set"===util.Buffer.prototype.set.name?function writeBytesBuffer_set(val,buf,pos){buf.set(val,pos)}:function writeBytesBuffer_copy(val,buf,pos){if(val.copy)val.copy(buf,pos,0,val.length);else for(var i=0;i>>0;return this.uint32(len),len&&this._push(BufferWriter.writeBytesBuffer,len,value),this},BufferWriter.prototype.string=function write_string_buffer(value){var len=util.Buffer.byteLength(value);return this.uint32(len),len&&this._push(writeStringBuffer,len,value),this},BufferWriter._configure()},"./node_modules/ua-parser-js/src/ua-parser.js":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;!function(window,undefined){"use strict";var MODEL="model",NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",enumerize=function(arr){for(var enums={},i=0;i0?2===q.length?"function"==typeof q[1]?this[q[0]]=q[1].call(this,match):this[q[0]]=q[1]:3===q.length?"function"!=typeof q[1]||q[1].exec&&q[1].test?this[q[0]]=match?match.replace(q[1],q[2]):undefined:this[q[0]]=match?q[1].call(this,match,q[2]):undefined:4===q.length&&(this[q[0]]=match?q[3].call(this,match.replace(q[1],q[2])):undefined):this[q]=match||undefined;i+=2}},strMapper=function(str,map){for(var i in map)if("object"==typeof map[i]&&map[i].length>0){for(var j=0;j2&&(_device[MODEL]="iPad",_device[TYPE]=TABLET),_device},this.getEngine=function(){var _engine={};return _engine[NAME]=undefined,_engine[VERSION]=undefined,rgxMapper.call(_engine,_ua,_rgxmap.engine),_engine},this.getOS=function(){var _os={};return _os[NAME]=undefined,_os[VERSION]=undefined,rgxMapper.call(_os,_ua,_rgxmap.os),_isSelfNav&&!_os[NAME]&&_uach&&"Unknown"!=_uach.platform&&(_os[NAME]=_uach.platform.replace(/chrome os/i,"Chromium OS").replace(/macos/i,"Mac OS")),_os},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 _ua},this.setUA=function(ua){return _ua="string"==typeof ua&&ua.length>350?trim(ua,350):ua,this},this.setUA(_ua),this};UAParser.VERSION="1.0.35",UAParser.BROWSER=enumerize([NAME,VERSION,"major"]),UAParser.CPU=enumerize(["architecture"]),UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,"console",MOBILE,SMARTTV,TABLET,"wearable","embedded"]),UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]),void 0!==exports?(module.exports&&(exports=module.exports=UAParser),exports.UAParser=UAParser):__webpack_require__.amdO?undefined===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return UAParser}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__):void 0!==window&&(window.UAParser=UAParser);var $=void 0!==window&&(window.jQuery||window.Zepto);if($&&!$.ua){var parser=new UAParser;$.ua=parser.getResult(),$.ua.get=function(){return parser.getUA()},$.ua.set=function(ua){parser.setUA(ua);var result=parser.getResult();for(var prop in result)$.ua[prop]=result[prop]}}}("object"==typeof window?window:this)},"./node_modules/uuid/dist/esm-browser/v4.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";var getRandomValues;__webpack_require__.d(__webpack_exports__,{Z:()=>esm_browser_v4});var rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&!(getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}const regex=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const esm_browser_validate=function validate(uuid){return"string"==typeof uuid&®ex.test(uuid)};for(var byteToHex=[],i=0;i<256;++i)byteToHex.push((i+256).toString(16).substr(1));const esm_browser_stringify=function stringify(arr){var offset=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,uuid=(byteToHex[arr[offset+0]]+byteToHex[arr[offset+1]]+byteToHex[arr[offset+2]]+byteToHex[arr[offset+3]]+"-"+byteToHex[arr[offset+4]]+byteToHex[arr[offset+5]]+"-"+byteToHex[arr[offset+6]]+byteToHex[arr[offset+7]]+"-"+byteToHex[arr[offset+8]]+byteToHex[arr[offset+9]]+"-"+byteToHex[arr[offset+10]]+byteToHex[arr[offset+11]]+byteToHex[arr[offset+12]]+byteToHex[arr[offset+13]]+byteToHex[arr[offset+14]]+byteToHex[arr[offset+15]]).toLowerCase();if(!esm_browser_validate(uuid))throw TypeError("Stringified UUID is invalid");return uuid};const esm_browser_v4=function v4(options,buf,offset){var rnds=(options=options||{}).random||(options.rng||rng)();if(rnds[6]=15&rnds[6]|64,rnds[8]=63&rnds[8]|128,buf){offset=offset||0;for(var i=0;i<16;++i)buf[offset+i]=rnds[i];return buf}return esm_browser_stringify(rnds)}}}]); \ No newline at end of file diff --git a/9059.0e77d1c6.iframe.bundle.js.LICENSE.txt b/9059.0e77d1c6.iframe.bundle.js.LICENSE.txt new file mode 100644 index 000000000..c18ab1d93 --- /dev/null +++ b/9059.0e77d1c6.iframe.bundle.js.LICENSE.txt @@ -0,0 +1,14 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ diff --git a/9115.65a58fb1.iframe.bundle.js b/9115.65a58fb1.iframe.bundle.js new file mode 100644 index 000000000..f53646969 --- /dev/null +++ b/9115.65a58fb1.iframe.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 9115.65a58fb1.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunkamazon_chime_sdk_component_library_react=self.webpackChunkamazon_chime_sdk_component_library_react||[]).push([[9115],{"./node_modules/axe-core/axe.js":function(module,exports,__webpack_require__){module=__webpack_require__.nmd(module);var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__,process=__webpack_require__("./node_modules/process/browser.js");!function axeFunction(window){var global=window,document=window.document;function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}var axe=axe||{};function SupportError(error){this.name="SupportError",this.cause=error.cause,this.message="`".concat(error.cause,"` - feature unsupported in your environment."),error.ruleId&&(this.ruleId=error.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=(new Error).stack}axe.version="4.7.2",void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return axe}.apply(exports,[]))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),"object"===_typeof(module)&&module.exports&&"function"==typeof axeFunction.toString&&(axe.source="("+axeFunction.toString()+')(typeof window === "object" ? window : this);',module.exports=axe),"function"==typeof window.getComputedStyle&&(window.axe=axe),SupportError.prototype=Object.create(Error.prototype),SupportError.prototype.constructor=SupportError;var _excluded=["node"],_excluded2=["variant"],_excluded3=["matches"],_excluded4=["chromium"],_excluded5=["noImplicit"],_excluded6=["noPresentational"],_excluded7=["precision","format","inGamut"],_excluded8=["space"],_excluded9=["algorithm"],_excluded10=["method"],_excluded11=["maxDeltaE","deltaEMethod","steps","maxSteps"],_excluded12=["node"],_excluded13=["nodes"],_excluded14=["node"],_excluded15=["relatedNodes"],_excluded16=["environmentData"],_excluded17=["environmentData"],_excluded18=["node"],_excluded19=["environmentData"],_excluded20=["environmentData"],_excluded21=["environmentData"];function _construct(Parent,args,Class){return _construct=_isNativeReflectConstruct()?Reflect.construct.bind():function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&_setPrototypeOf(instance,Class.prototype),instance},_construct.apply(null,arguments)}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(self)}(this,result)}}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}function _classPrivateFieldInitSpec(obj,privateMap,value){_checkPrivateRedeclaration(obj,privateMap),privateMap.set(obj,value)}function _classPrivateMethodInitSpec(obj,privateSet){_checkPrivateRedeclaration(obj,privateSet),privateSet.add(obj)}function _checkPrivateRedeclaration(obj,privateCollection){if(privateCollection.has(obj))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldGet(receiver,privateMap){return function _classApplyDescriptorGet(receiver,descriptor){if(descriptor.get)return descriptor.get.call(receiver);return descriptor.value}(receiver,_classExtractFieldDescriptor(receiver,privateMap,"get"))}function _classPrivateMethodGet(receiver,privateSet,fn){if(!privateSet.has(receiver))throw new TypeError("attempted to get private field on non-instance");return fn}function _classPrivateFieldSet(receiver,privateMap,value){return function _classApplyDescriptorSet(receiver,descriptor,value){if(descriptor.set)descriptor.set.call(receiver,value);else{if(!descriptor.writable)throw new TypeError("attempted to set read only private field");descriptor.value=value}}(receiver,_classExtractFieldDescriptor(receiver,privateMap,"set"),value),value}function _classExtractFieldDescriptor(receiver,privateMap,action){if(!privateMap.has(receiver))throw new TypeError("attempted to "+action+" private field on non-instance");return privateMap.get(receiver)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e3){didErr=!0,err=_e3},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i="a"&&c4<="z"||c4>="A"&&c4<="Z"||"-"===c4||"_"===c4},exports.isIdent=function isIdent(c4){return c4>="a"&&c4<="z"||c4>="A"&&c4<="Z"||c4>="0"&&c4<="9"||"-"===c4||"_"===c4},exports.isHex=function isHex(c4){return c4>="a"&&c4<="f"||c4>="A"&&c4<="F"||c4>="0"&&c4<="9"},exports.escapeIdentifier=function escapeIdentifier(s){for(var len=s.length,result="",i=0;i="A"&&chr<="Z"||chr>="a"&&chr<="z"||0!==i&&chr>="0"&&chr<="9")result+=chr;else{var charCode=chr.charCodeAt(0);if(55296==(63488&charCode)){var extraCharCode=s.charCodeAt(i++);if(55296!=(64512&charCode)||56320!=(64512&extraCharCode))throw Error("UCS-2(decode): illegal sequence");charCode=((1023&charCode)<<10)+(1023&extraCharCode)+65536}result+="\\"+charCode.toString(16)+" "}i++}return result},exports.escapeStr=function escapeStr(s){for(var replacement,len=s.length,result="",i=0;i":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},exports.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},exports.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},exports.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}})),require_parser_context=__commonJS((function(exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var utils_1=require_utils();exports.parseCssSelector=function parseCssSelector(str,pos,pseudos,attrEqualityMods,ruleNestingOperators,substitutesEnabled){var l=str.length,chr="";function getStr(quote,escapeTable){var result="";for(pos++,chr=str.charAt(pos);pos=l)throw Error("Expected symbol but end of file reached.");if(chr=str.charAt(pos),utils_1.identSpecialChars[chr])result+=chr;else{if(utils_1.isHex(chr)){var hex=chr;for(pos++,chr=str.charAt(pos);utils_1.isHex(chr);)hex+=chr,pos++,chr=str.charAt(pos);" "===chr&&(pos++,chr=str.charAt(pos)),result+=String.fromCharCode(parseInt(hex,16));continue}result+=chr}}pos++,chr=str.charAt(pos)}return result}function skipWhitespace(){chr=str.charAt(pos);for(var result=!1;" "===chr||"\t"===chr||"\n"===chr||"\r"===chr||"\f"===chr;)result=!0,pos++,chr=str.charAt(pos);return result}function parseSelector(){var selector=parseSingleSelector();if(!selector)return null;var res=selector;for(chr=str.charAt(pos);","===chr;){if(pos++,skipWhitespace(),"selectors"!==res.type&&(res={type:"selectors",selectors:[selector]}),!(selector=parseSingleSelector()))throw Error('Rule expected after ",".');res.selectors.push(selector)}return res}function parseSingleSelector(){skipWhitespace();var selector={type:"ruleSet"},rule=parseRule();if(!rule)return null;for(var currentRule=selector;rule&&(rule.type="rule",currentRule.rule=rule,currentRule=rule,skipWhitespace(),chr=str.charAt(pos),!(pos>=l||","===chr||")"===chr));)if(ruleNestingOperators[chr]){var op=chr;if(pos++,skipWhitespace(),!(rule=parseRule()))throw Error('Rule expected after "'+op+'".');rule.nestingOperator=op}else(rule=parseRule())&&(rule.nestingOperator=null);return selector}function parseRule(){for(var rule=null;pos=l)throw Error('Expected "=" but end of file reached.');if("="!==chr)throw Error('Expected "=" but "'+chr+'" found.');attr.operator=operator+"=",pos++,skipWhitespace();var attrValue="";if(attr.valueType="string",'"'===chr)attrValue=getStr('"',utils_1.doubleQuotesEscapeChars);else if("'"===chr)attrValue=getStr("'",utils_1.singleQuoteEscapeChars);else if(substitutesEnabled&&"$"===chr)pos++,attrValue=getIdent(),attr.valueType="substitute";else{for(;pos=l)throw Error('Expected "]" but end of file reached.');if("]"!==chr)throw Error('Expected "]" but "'+chr+'" found.');pos++,attr.value=attrValue}((rule=rule||{}).attrs=rule.attrs||[]).push(attr)}else{if(":"!==chr)break;pos++;var pseudoName=getIdent(),pseudo={name:pseudoName};if("("===chr){pos++;var value="";if(skipWhitespace(),"selector"===pseudos[pseudoName])pseudo.valueType="selector",value=parseSelector();else{if(pseudo.valueType=pseudos[pseudoName]||"string",'"'===chr)value=getStr('"',utils_1.doubleQuotesEscapeChars);else if("'"===chr)value=getStr("'",utils_1.singleQuoteEscapeChars);else if(substitutesEnabled&&"$"===chr)pos++,value=getIdent(),pseudo.valueType="substitute";else{for(;pos=l)throw Error('Expected ")" but end of file reached.');if(")"!==chr)throw Error('Expected ")" but "'+chr+'" found.');pos++,pseudo.value=value}((rule=rule||{}).pseudos=rule.pseudos||[]).push(pseudo)}return rule}return function parse3(){var res=parseSelector();if(pos0?1:-1}})),require_sign=__commonJS((function(exports,module){"use strict";module.exports=require_is_implemented()()?Math.sign:require_shim()})),require_to_integer=__commonJS((function(exports,module){"use strict";var sign=require_sign(),abs=Math.abs,floor=Math.floor;module.exports=function(value){return isNaN(value)?0:0!==(value=Number(value))&&isFinite(value)?sign(value)*floor(abs(value)):value}})),require_to_pos_integer=__commonJS((function(exports,module){"use strict";var toInteger=require_to_integer(),max2=Math.max;module.exports=function(value){return max2(0,toInteger(value))}})),require_resolve_length=__commonJS((function(exports,module){"use strict";var toPosInt=require_to_pos_integer();module.exports=function(optsLength,fnLength,isAsync){var length;return isNaN(optsLength)?(length=fnLength)>=0?isAsync&&length?length-1:length:1:!1!==optsLength&&toPosInt(optsLength)}})),require_valid_callable=__commonJS((function(exports,module){"use strict";module.exports=function(fn){if("function"!=typeof fn)throw new TypeError(fn+" is not a function");return fn}})),require_valid_value=__commonJS((function(exports,module){"use strict";var isValue=require_is_value();module.exports=function(value){if(!isValue(value))throw new TypeError("Cannot use null or undefined");return value}})),require_iterate=__commonJS((function(exports,module){"use strict";var callable=require_valid_callable(),value=require_valid_value(),bind=Function.prototype.bind,call=Function.prototype.call,keys=Object.keys,objPropertyIsEnumerable=Object.prototype.propertyIsEnumerable;module.exports=function(method,defVal){return function(obj,cb){var list,thisArg=arguments[2],compareFn=arguments[3];return obj=Object(value(obj)),callable(cb),list=keys(obj),compareFn&&list.sort("function"==typeof compareFn?bind.call(compareFn,obj):void 0),"function"!=typeof method&&(method=list[method]),call.call(method,list,(function(key,index){return objPropertyIsEnumerable.call(obj,key)?call.call(cb,thisArg,obj[key],key,obj,index):defVal}))}}})),require_for_each=__commonJS((function(exports,module){"use strict";module.exports=require_iterate()("forEach")})),require_registered_extensions=__commonJS((function(){})),require_is_implemented2=__commonJS((function(exports,module){"use strict";module.exports=function(){var obj,assign=Object.assign;return"function"==typeof assign&&(assign(obj={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),obj.foo+obj.bar+obj.trzy==="razdwatrzy")}})),require_is_implemented3=__commonJS((function(exports,module){"use strict";module.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}})),require_shim2=__commonJS((function(exports,module){"use strict";var isValue=require_is_value(),keys=Object.keys;module.exports=function(object){return keys(isValue(object)?Object(object):object)}})),require_keys=__commonJS((function(exports,module){"use strict";module.exports=require_is_implemented3()()?Object.keys:require_shim2()})),require_shim3=__commonJS((function(exports,module){"use strict";var keys=require_keys(),value=require_valid_value(),max2=Math.max;module.exports=function(dest,src){var error,i,assign,length=max2(arguments.length,2);for(dest=Object(value(dest)),assign=function assign(key){try{dest[key]=src[key]}catch(e){error||(error=e)}},i=1;i-1}})),require_contains=__commonJS((function(exports,module){"use strict";module.exports=require_is_implemented4()()?String.prototype.contains:require_shim4()})),require_d=__commonJS((function(exports,module){"use strict";var isValue=require_is(),isPlainFunction=require_is5(),assign=require_assign(),normalizeOpts=require_normalize_options(),contains3=require_contains(),d2=module.exports=function(dscr,value){var c4,e,w,options,desc;return arguments.length<2||"string"!=typeof dscr?(options=value,value=dscr,dscr=null):options=arguments[2],isValue(dscr)?(c4=contains3.call(dscr,"c"),e=contains3.call(dscr,"e"),w=contains3.call(dscr,"w")):(c4=w=!0,e=!1),desc={value,configurable:c4,enumerable:e,writable:w},options?assign(normalizeOpts(options),desc):desc};d2.gs=function(dscr,get2,set2){var c4,e,options,desc;return"string"!=typeof dscr?(options=set2,set2=get2,get2=dscr,dscr=null):options=arguments[3],isValue(get2)?isPlainFunction(get2)?isValue(set2)?isPlainFunction(set2)||(options=set2,set2=void 0):set2=void 0:(options=get2,get2=set2=void 0):get2=void 0,isValue(dscr)?(c4=contains3.call(dscr,"c"),e=contains3.call(dscr,"e")):(c4=!0,e=!1),desc={get:get2,set:set2,configurable:c4,enumerable:e},options?assign(normalizeOpts(options),desc):desc}})),require_event_emitter=__commonJS((function(exports,module){"use strict";var on,once,off,emit,methods,descriptors,base,d2=require_d(),callable=require_valid_callable(),apply=Function.prototype.apply,call=Function.prototype.call,create=Object.create,defineProperty=Object.defineProperty,defineProperties=Object.defineProperties,hasOwnProperty2=Object.prototype.hasOwnProperty,descriptor={configurable:!0,enumerable:!1,writable:!0};once=function once(type2,listener){var _once,self2;return callable(listener),self2=this,on.call(this,type2,_once=function once2(){off.call(self2,type2,_once),apply.call(listener,this,arguments)}),_once.__eeOnceListener__=listener,this},off=function off(type2,listener){var data2,listeners,candidate,i;if(callable(listener),!hasOwnProperty2.call(this,"__ee__"))return this;if(!(data2=this.__ee__)[type2])return this;if(listeners=data2[type2],"object"===_typeof(listeners))for(i=0;candidate=listeners[i];++i)candidate!==listener&&candidate.__eeOnceListener__!==listener||(2===listeners.length?data2[type2]=listeners[i?0:1]:listeners.splice(i,1));else listeners!==listener&&listeners.__eeOnceListener__!==listener||delete data2[type2];return this},emit=function emit(type2){var i,l,listener,listeners,args;if(hasOwnProperty2.call(this,"__ee__")&&(listeners=this.__ee__[type2]))if("object"===_typeof(listeners)){for(l=arguments.length,args=new Array(l-1),i=1;i=55296&&code<=56319&&(value+=arrayLike[++i]),value=mapFn?call.call(mapFn,thisArg,value,j):value,Context2?(desc.value=value,defineProperty(arr,j,desc)):arr[j]=value,++j;length=j}if(void 0===length)for(length=toPosInt(arrayLike.length),Context2&&(arr=new Context2(length)),i=0;i=0?floor(fromIndex):toPosInt(this.length)-floor(abs(fromIndex));i"}}})),require_to_short_string_representation=__commonJS((function(exports,module){"use strict";var safeToString=require_safe_to_string(),reNewLine=/[\n\r\u2028\u2029]/g;module.exports=function(value){var string=safeToString(value);return string.length>100&&(string=string.slice(0,99)+"…"),string=string.replace(reNewLine,(function(_char){return JSON.stringify(_char).slice(1,-1)}))}})),require_is_promise=__commonJS((function(exports,module){function isPromise(obj){return!!obj&&("object"===_typeof(obj)||"function"==typeof obj)&&"function"==typeof obj.then}module.exports=isPromise,module.exports.default=isPromise})),require_promise=__commonJS((function(){"use strict";var objectMap=require_map(),primitiveSet=require_primitive_set(),ensureString=require_validate_stringifiable_value(),toShortString=require_to_short_string_representation(),isPromise=require_is_promise(),nextTick=require_next_tick(),create=Object.create,supportedModes=primitiveSet("then","then:finally","done","done:finally");require_registered_extensions().promise=function(mode,conf){var waiting=create(null),cache2=create(null),promises=create(null);if(!0===mode)mode=null;else if(mode=ensureString(mode),!supportedModes[mode])throw new TypeError("'"+toShortString(mode)+"' is not valid promise mode");conf.on("set",(function(id,ignore,promise){var isFailed=!1;if(!isPromise(promise))return cache2[id]=promise,void conf.emit("setasync",id,1);waiting[id]=1,promises[id]=promise;var onSuccess=function onSuccess(result){var count=waiting[id];if(isFailed)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");count&&(delete waiting[id],cache2[id]=result,conf.emit("setasync",id,count))},onFailure=function onFailure(){isFailed=!0,waiting[id]&&(delete waiting[id],delete promises[id],conf.delete(id))},resolvedMode=mode;if(resolvedMode||(resolvedMode="then"),"then"===resolvedMode){var nextTickFailure=function nextTickFailure(){nextTick(onFailure)};"function"==typeof(promise=promise.then((function(result){nextTick(onSuccess.bind(this,result))}),nextTickFailure)).finally&&promise.finally(nextTickFailure)}else if("done"===resolvedMode){if("function"!=typeof promise.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");promise.done(onSuccess,onFailure)}else if("done:finally"===resolvedMode){if("function"!=typeof promise.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof promise.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");promise.done(onSuccess),promise.finally(onFailure)}})),conf.on("get",(function(id,args,context){var promise;if(waiting[id])++waiting[id];else{promise=promises[id];var emit=function emit(){conf.emit("getasync",id,args,context)};isPromise(promise)?"function"==typeof promise.done?promise.done(emit):promise.then((function(){nextTick(emit)})):emit()}})),conf.on("delete",(function(id){if(delete promises[id],waiting[id])delete waiting[id];else if(hasOwnProperty.call(cache2,id)){var result=cache2[id];delete cache2[id],conf.emit("deleteasync",id,[result])}})),conf.on("clear",(function(){var oldCache=cache2;cache2=create(null),waiting=create(null),promises=create(null),conf.emit("clearasync",objectMap(oldCache,(function(data2){return[data2]})))}))}})),require_dispose=__commonJS((function(){"use strict";var callable=require_valid_callable(),forEach=require_for_each(),extensions=require_registered_extensions(),apply=Function.prototype.apply;extensions.dispose=function(dispose,conf,options){var del;if(callable(dispose),options.async&&extensions.async||options.promise&&extensions.promise)return conf.on("deleteasync",del=function del(id,resultArray){apply.call(dispose,null,resultArray)}),void conf.on("clearasync",(function(cache2){forEach(cache2,(function(result,id){del(id,result)}))}));conf.on("delete",del=function del(id,result){dispose(result)}),conf.on("clear",(function(cache2){forEach(cache2,(function(result,id){del(id,result)}))}))}})),require_max_timeout=__commonJS((function(exports,module){"use strict";module.exports=2147483647})),require_valid_timeout=__commonJS((function(exports,module){"use strict";var toPosInt=require_to_pos_integer(),maxTimeout=require_max_timeout();module.exports=function(value){if((value=toPosInt(value))>maxTimeout)throw new TypeError(value+" exceeds maximum possible timeout");return value}})),require_max_age=__commonJS((function(){"use strict";var aFrom=require_from(),forEach=require_for_each(),nextTick=require_next_tick(),isPromise=require_is_promise(),timeout=require_valid_timeout(),extensions=require_registered_extensions(),noop3=Function.prototype,max2=Math.max,min=Math.min,create=Object.create;extensions.maxAge=function(maxAge,conf,options){var timeouts,postfix,preFetchAge,preFetchTimeouts;(maxAge=timeout(maxAge))&&(timeouts=create(null),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,(function(id){timeouts[id]=setTimeout((function(){conf.delete(id)}),maxAge),"function"==typeof timeouts[id].unref&&timeouts[id].unref(),preFetchTimeouts&&(preFetchTimeouts[id]&&"nextTick"!==preFetchTimeouts[id]&&clearTimeout(preFetchTimeouts[id]),preFetchTimeouts[id]=setTimeout((function(){delete preFetchTimeouts[id]}),preFetchAge),"function"==typeof preFetchTimeouts[id].unref&&preFetchTimeouts[id].unref())})),conf.on("delete"+postfix,(function(id){clearTimeout(timeouts[id]),delete timeouts[id],preFetchTimeouts&&("nextTick"!==preFetchTimeouts[id]&&clearTimeout(preFetchTimeouts[id]),delete preFetchTimeouts[id])})),options.preFetch&&(preFetchAge=!0===options.preFetch||isNaN(options.preFetch)?.333:max2(min(Number(options.preFetch),1),0))&&(preFetchTimeouts={},preFetchAge=(1-preFetchAge)*maxAge,conf.on("get"+postfix,(function(id,args,context){preFetchTimeouts[id]||(preFetchTimeouts[id]="nextTick",nextTick((function(){var result;"nextTick"===preFetchTimeouts[id]&&(delete preFetchTimeouts[id],conf.delete(id),options.async&&(args=aFrom(args)).push(noop3),result=conf.memoized.apply(context,args),options.promise&&isPromise(result)&&("function"==typeof result.done?result.done(noop3,noop3):result.then(noop3,noop3)))})))}))),conf.on("clear"+postfix,(function(){forEach(timeouts,(function(id){clearTimeout(id)})),timeouts={},preFetchTimeouts&&(forEach(preFetchTimeouts,(function(id){"nextTick"!==id&&clearTimeout(id)})),preFetchTimeouts={})})))}})),require_lru_queue=__commonJS((function(exports,module){"use strict";var toPosInt=require_to_pos_integer(),create=Object.create,hasOwnProperty2=Object.prototype.hasOwnProperty;module.exports=function(limit){var del,size=0,base=1,queue2=create(null),map=create(null),index=0;return limit=toPosInt(limit),{hit:function hit(id){var oldIndex=map[id],nuIndex=++index;if(queue2[nuIndex]=id,map[id]=nuIndex,!oldIndex){if(++size<=limit)return;return id=queue2[base],del(id),id}if(delete queue2[oldIndex],base===oldIndex)for(;!hasOwnProperty2.call(queue2,++base););},delete:del=function del(id){var oldIndex=map[id];if(oldIndex&&(delete queue2[oldIndex],delete map[id],--size,base===oldIndex)){if(!size)return index=0,void(base=1);for(;!hasOwnProperty2.call(queue2,++base););}},clear:function clear(){size=0,base=1,queue2=create(null),map=create(null),index=0}}}})),require_max=__commonJS((function(){"use strict";var toPosInteger=require_to_pos_integer(),lruQueue=require_lru_queue(),extensions=require_registered_extensions();extensions.max=function(max2,conf,options){var postfix,queue2,hit;(max2=toPosInteger(max2))&&(queue2=lruQueue(max2),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,hit=function hit(id){void 0!==(id=queue2.hit(id))&&conf.delete(id)}),conf.on("get"+postfix,hit),conf.on("delete"+postfix,queue2.delete),conf.on("clear"+postfix,queue2.clear))}})),require_ref_counter=__commonJS((function(){"use strict";var d2=require_d(),extensions=require_registered_extensions(),create=Object.create,defineProperties=Object.defineProperties;extensions.refCounter=function(ignore,conf,options){var cache2,postfix;cache2=create(null),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,(function(id,length){cache2[id]=length||1})),conf.on("get"+postfix,(function(id){++cache2[id]})),conf.on("delete"+postfix,(function(id){delete cache2[id]})),conf.on("clear"+postfix,(function(){cache2={}})),defineProperties(conf.memoized,{deleteRef:d2((function(){var id=conf.get(arguments);return null===id?null:cache2[id]?!--cache2[id]&&(conf.delete(id),!0):null})),getRefCount:d2((function(){var id=conf.get(arguments);return null===id?0:cache2[id]?cache2[id]:0}))})}})),require_memoizee=__commonJS((function(exports,module){"use strict";var normalizeOpts=require_normalize_options(),resolveLength=require_resolve_length(),plain=require_plain();module.exports=function(fn){var length,options=normalizeOpts(arguments[1]);return options.normalizer||0!==(length=options.length=resolveLength(options.length,fn.length,options.async))&&(options.primitive?!1===length?options.normalizer=require_primitive():length>1&&(options.normalizer=require_get_primitive_fixed()(length)):options.normalizer=!1===length?require_get()():1===length?require_get_1()():require_get_fixed()(length)),options.async&&require_async(),options.promise&&require_promise(),options.dispose&&require_dispose(),options.maxAge&&require_max_age(),options.max&&require_max(),options.refCounter&&require_ref_counter(),plain(fn,options)}})),require_doT=__commonJS((function(exports,module){!function(){"use strict";var doT3={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":_typeof(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function get(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){window.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==window)return window;if(void 0!==global)return global;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),doT3.encodeHTMLSource=function(doNotSkipEncoded){var encodeHTMLRules={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},matchHTML=doNotSkipEncoded?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(code){return code?code.toString().replace(matchHTML,(function(m3){return encodeHTMLRules[m3]||m3})):""}},void 0!==module&&module.exports?module.exports=doT3:void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return doT3}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__);var startend={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},skip=/$^/;function resolveDefs(c4,block,def){return("string"==typeof block?block:block.toString()).replace(c4.define||skip,(function(m3,code,assign,value){return 0===code.indexOf("def.")&&(code=code.substring(4)),code in def||(":"===assign?(c4.defineParams&&value.replace(c4.defineParams,(function(m4,param,v){def[code]={arg:param,text:v}})),code in def||(def[code]=value)):new Function("def","def['"+code+"']="+value)(def)),""})).replace(c4.use||skip,(function(m3,code){c4.useParams&&(code=code.replace(c4.useParams,(function(m4,s,d2,param){if(def[d2]&&def[d2].arg&¶m){var rw=(d2+":"+param).replace(/'|\\/g,"_");return def.__exp=def.__exp||{},def.__exp[rw]=def[d2].text.replace(new RegExp("(^|[^\\w$])"+def[d2].arg+"([^\\w$])","g"),"$1"+param+"$2"),s+"def.__exp['"+rw+"']"}})));var v=new Function("def","return "+code)(def);return v?resolveDefs(c4,v,def):v}))}function unescape(code){return code.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}doT3.template=function(tmpl,c4,def){var needhtmlencode,indv,cse=(c4=c4||doT3.templateSettings).append?startend.append:startend.split,sid=0,str=c4.use||c4.define?resolveDefs(c4,tmpl,def||{}):tmpl;str=("var out='"+(c4.strip?str.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):str).replace(/'|\\/g,"\\$&").replace(c4.interpolate||skip,(function(m3,code){return cse.start+unescape(code)+cse.end})).replace(c4.encode||skip,(function(m3,code){return needhtmlencode=!0,cse.startencode+unescape(code)+cse.end})).replace(c4.conditional||skip,(function(m3,elsecase,code){return elsecase?code?"';}else if("+unescape(code)+"){out+='":"';}else{out+='":code?"';if("+unescape(code)+"){out+='":"';}out+='"})).replace(c4.iterate||skip,(function(m3,iterate,vname,iname){return iterate?(sid+=1,indv=iname||"i"+sid,iterate=unescape(iterate),"';var arr"+sid+"="+iterate+";if(arr"+sid+"){var "+vname+","+indv+"=-1,l"+sid+"=arr"+sid+".length-1;while("+indv+">0},ToUint32:function ToUint32(v){return v>>>0}}),LN2=Math.LN2,abs=Math.abs,floor=Math.floor,log2=Math.log,min=Math.min,pow=Math.pow,round=Math.round;function clamp3(v,minimum,max2){return vmax2?max2:v}var defineProp,getOwnPropNames=Object.getOwnPropertyNames||function(o){if(o!==Object(o))throw new TypeError("Object.getOwnPropertyNames called on non-object");var p2,props=[];for(p2 in o)ECMAScript.HasOwnProperty(o,p2)&&props.push(p2);return props};function configureProperties(obj){if(getOwnPropNames&&defineProp){var i,props=getOwnPropNames(obj);for(i=0;i>s}function as_unsigned(value,bits){var s=32-bits;return value<>>s}function packI8(n2){return[255&n2]}function unpackI8(bytes){return as_signed(bytes[0],8)}function packU8(n2){return[255&n2]}function unpackU8(bytes){return as_unsigned(bytes[0],8)}function packU8Clamped(n2){return[(n2=round(Number(n2)))<0?0:n2>255?255:255&n2]}function packI16(n2){return[n2>>8&255,255&n2]}function unpackI16(bytes){return as_signed(bytes[0]<<8|bytes[1],16)}function packU16(n2){return[n2>>8&255,255&n2]}function unpackU16(bytes){return as_unsigned(bytes[0]<<8|bytes[1],16)}function packI32(n2){return[n2>>24&255,n2>>16&255,n2>>8&255,255&n2]}function unpackI32(bytes){return as_signed(bytes[0]<<24|bytes[1]<<16|bytes[2]<<8|bytes[3],32)}function packU32(n2){return[n2>>24&255,n2>>16&255,n2>>8&255,255&n2]}function unpackU32(bytes){return as_unsigned(bytes[0]<<24|bytes[1]<<16|bytes[2]<<8|bytes[3],32)}function packIEEE754(v,ebits,fbits){var s,e,f,i,bits,str,bytes,bias=(1<.5||w%2?w+1:w}for(v!=v?(e=(1<=pow(2,1-bias)?(e=min(floor(log2(v)/LN2),1023),(f=roundToEven(v/pow(2,e)*pow(2,fbits)))/pow(2,fbits)>=2&&(e+=1,f=1),e>bias?(e=(1<>=1;return bits.reverse(),str=bits.join(""),bias=(1<0?s*pow(2,e-bias)*(1+f/pow(2,fbits)):0!==f?s*pow(2,-(bias-1))*(f/pow(2,fbits)):s<0?-0:0}function unpackF64(b2){return unpackIEEE754(b2,11,52)}function packF64(v){return packIEEE754(v,11,52)}function unpackF32(b2){return unpackIEEE754(b2,8,23)}function packF32(v){return packIEEE754(v,8,23)}defineProp=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function defineProp(o,p2,desc){if(!o===Object(o))throw new TypeError("Object.defineProperty called on non-object");return ECMAScript.HasProperty(desc,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(o,p2,desc.get),ECMAScript.HasProperty(desc,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(o,p2,desc.set),ECMAScript.HasProperty(desc,"value")&&(o[p2]=desc.value),o},function(){function ArrayBuffer(length){if((length=ECMAScript.ToInt32(length))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var i;for(this.byteLength=length,this._bytes=[],this._bytes.length=length,i=0;ithis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=ECMAScript.ToUint32(length),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(sequence=arguments[0],this.length=ECMAScript.ToUint32(sequence.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new ArrayBuffer(this.byteLength),this.byteOffset=0,i=0;i1e5)throw new RangeError("Array too large for polyfill");var i;for(i=0;i=this.length)){for(var bytes=[],i=0,o=this.byteOffset+index*this.BYTES_PER_ELEMENT;ithis.length)throw new RangeError("Offset plus length of array is out of range");if(byteOffset=this.byteOffset+offset*this.BYTES_PER_ELEMENT,byteLength=array.length*this.BYTES_PER_ELEMENT,array.buffer===this.buffer){for(tmp=[],i=0,s=array.byteOffset;ithis.length)throw new RangeError("Offset plus length of array is out of range");for(i=0;ithis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:ECMAScript.ToUint32(byteLength),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");configureProperties(this)}function makeGetter(arrayType){return function(byteOffset,littleEndian){if((byteOffset=ECMAScript.ToUint32(byteOffset))+arrayType.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");byteOffset+=this.byteOffset;var i,uint8Array=new exports.Uint8Array(this.buffer,byteOffset,arrayType.BYTES_PER_ELEMENT),bytes=[];for(i=0;ithis.byteLength)throw new RangeError("Array index out of range");var i,typeArray=new arrayType([value]),byteArray=new exports.Uint8Array(typeArray.buffer),bytes=[];for(i=0;i0)throw new TypeError("WeakMap iterable is not supported")}function checkInstance(x,methodName){if(!isObject(x)||!hasOwnProperty2.call(x,"_id"))throw new TypeError(methodName+" method called on incompatible receiver "+_typeof(x))}function rand(){return Math.random().toString().substring(2)}return defineProperty(WeakMap2.prototype,"delete",(function(key){if(checkInstance(this,"delete"),!isObject(key))return!1;var entry=key[this._id];return!(!entry||entry[0]!==key)&&(delete key[this._id],!0)})),defineProperty(WeakMap2.prototype,"get",(function(key){if(checkInstance(this,"get"),isObject(key)){var entry=key[this._id];return entry&&entry[0]===key?entry[1]:void 0}})),defineProperty(WeakMap2.prototype,"has",(function(key){if(checkInstance(this,"has"),!isObject(key))return!1;var entry=key[this._id];return!(!entry||entry[0]!==key)})),defineProperty(WeakMap2.prototype,"set",(function(key,value){if(checkInstance(this,"set"),!isObject(key))throw new TypeError("Invalid value used as weak map key");var entry=key[this._id];return entry&&entry[0]===key?(entry[1]=value,this):(defineProperty(key,this._id,[key,value]),this)})),defineProperty(WeakMap2,"_polyfill",!0),WeakMap2}()}function isObject(x){return Object(x)===x}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==window?window:void 0!==global?global:exports)})),constants={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"",sameOrigin:""};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach((function(definition){var name=definition.name,value=definition.value,priority=definition.priority,group=definition.group;constants[name]=value,constants[name+"_PRIO"]=priority,constants[name+"_GROUP"]=group,constants.results[priority]=value,constants.resultGroups[priority]=group,constants.resultGroupMap[value]=group})),Object.freeze(constants.results),Object.freeze(constants.resultGroups),Object.freeze(constants.resultGroupMap),Object.freeze(constants);var constants_default=constants;var log_default=function log(){"object"===("undefined"==typeof console?"undefined":_typeof(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},whitespaceRegex=/[\t\r\n\f]/g,abstract_virtual_node_default=function(){function AbstractVirtualNode(){_classCallCheck(this,AbstractVirtualNode),this.parent=void 0}return _createClass(AbstractVirtualNode,[{key:"props",get:function get(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function get(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function attr(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function hasAttr(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function hasClass(className){var classAttr=this.attr("class");if(!classAttr)return!1;var selector=" "+className+" ";return(" "+classAttr+" ").replace(whitespaceRegex," ").indexOf(selector)>=0}}]),AbstractVirtualNode}(),utils_exports={};__export(utils_exports,{DqElement:function DqElement(){return dq_element_default},aggregate:function aggregate(){return aggregate_default},aggregateChecks:function aggregateChecks(){return aggregate_checks_default},aggregateNodeResults:function aggregateNodeResults(){return aggregate_node_results_default},aggregateResult:function aggregateResult(){return aggregate_result_default},areStylesSet:function areStylesSet(){return are_styles_set_default},assert:function assert(){return assert_default},checkHelper:function checkHelper(){return check_helper_default},clone:function clone(){return clone_default},closest:function closest(){return closest_default},collectResultsFromFrames:function collectResultsFromFrames(){return _collectResultsFromFrames},contains:function contains(){return _contains},convertSelector:function convertSelector(){return _convertSelector},cssParser:function cssParser(){return css_parser_default},deepMerge:function deepMerge(){return deep_merge_default},escapeSelector:function escapeSelector(){return escape_selector_default},extendMetaData:function extendMetaData(){return extend_meta_data_default},filterHtmlAttrs:function filterHtmlAttrs(){return _filterHtmlAttrs},finalizeRuleResult:function finalizeRuleResult(){return finalize_result_default},findBy:function findBy(){return find_by_default},getAllChecks:function getAllChecks(){return get_all_checks_default},getAncestry:function getAncestry(){return _getAncestry},getBaseLang:function getBaseLang(){return get_base_lang_default},getCheckMessage:function getCheckMessage(){return get_check_message_default},getCheckOption:function getCheckOption(){return get_check_option_default},getEnvironmentData:function getEnvironmentData(){return _getEnvironmentData},getFlattenedTree:function getFlattenedTree(){return get_flattened_tree_default},getFrameContexts:function getFrameContexts(){return _getFrameContexts},getFriendlyUriEnd:function getFriendlyUriEnd(){return get_friendly_uri_end_default},getNodeAttributes:function getNodeAttributes(){return get_node_attributes_default},getNodeFromTree:function getNodeFromTree(){return get_node_from_tree_default},getPreloadConfig:function getPreloadConfig(){return _getPreloadConfig},getRootNode:function getRootNode(){return get_root_node_default},getRule:function getRule(){return get_rule_default},getScroll:function getScroll(){return _getScroll},getScrollState:function getScrollState(){return get_scroll_state_default},getSelector:function getSelector(){return _getSelector},getSelectorData:function getSelectorData(){return _getSelectorData},getShadowSelector:function getShadowSelector(){return get_shadow_selector_default},getStandards:function getStandards(){return _getStandards},getStyleSheetFactory:function getStyleSheetFactory(){return get_stylesheet_factory_default},getXpath:function getXpath(){return get_xpath_default},injectStyle:function injectStyle(){return inject_style_default},isHidden:function isHidden(){return is_hidden_default},isHtmlElement:function isHtmlElement(){return is_html_element_default},isNodeInContext:function isNodeInContext(){return _isNodeInContext},isShadowRoot:function isShadowRoot(){return is_shadow_root_default},isValidLang:function isValidLang(){return valid_langs_default},isXHTML:function isXHTML(){return is_xhtml_default},matchAncestry:function matchAncestry(){return match_ancestry_default},matches:function matches(){return matches_default},matchesExpression:function matchesExpression(){return _matchesExpression},matchesSelector:function matchesSelector(){return element_matches_default},memoize:function memoize(){return memoize_default},mergeResults:function mergeResults(){return merge_results_default},nodeLookup:function nodeLookup(){return _nodeLookup},nodeSorter:function nodeSorter(){return node_sorter_default},parseCrossOriginStylesheet:function parseCrossOriginStylesheet(){return parse_crossorigin_stylesheet_default},parseSameOriginStylesheet:function parseSameOriginStylesheet(){return parse_sameorigin_stylesheet_default},parseStylesheet:function parseStylesheet(){return parse_stylesheet_default},performanceTimer:function performanceTimer(){return performance_timer_default},pollyfillElementsFromPoint:function pollyfillElementsFromPoint(){return _pollyfillElementsFromPoint},preload:function preload(){return preload_default},preloadCssom:function preloadCssom(){return preload_cssom_default},preloadMedia:function preloadMedia(){return preload_media_default},processMessage:function processMessage(){return process_message_default},publishMetaData:function publishMetaData(){return publish_metadata_default},querySelectorAll:function querySelectorAll(){return query_selector_all_default},querySelectorAllFilter:function querySelectorAllFilter(){return query_selector_all_filter_default},queue:function queue(){return queue_default},respondable:function respondable(){return _respondable},ruleShouldRun:function ruleShouldRun(){return rule_should_run_default},select:function select(){return _select},sendCommandToFrame:function sendCommandToFrame(){return _sendCommandToFrame},setScrollState:function setScrollState(){return set_scroll_state_default},shadowSelect:function shadowSelect(){return _shadowSelect},shadowSelectAll:function shadowSelectAll(){return _shadowSelectAll},shouldPreload:function shouldPreload(){return _shouldPreload},toArray:function toArray(){return to_array_default},tokenList:function tokenList(){return token_list_default},uniqueArray:function uniqueArray(){return unique_array_default},uuid:function uuid(){return uuid_default},validInputTypes:function validInputTypes(){return valid_input_type_default},validLangs:function validLangs(){return _validLangs}});var aggregate_default=function aggregate(map,values,initial){values=values.slice(),initial&&values.push(initial);var sorting=values.map((function(val){return map.indexOf(val)})).sort();return map[sorting.pop()]},CANTTELL_PRIO=constants_default.CANTTELL_PRIO,FAIL_PRIO=constants_default.FAIL_PRIO,checkMap=[];checkMap[constants_default.PASS_PRIO]=!0,checkMap[constants_default.CANTTELL_PRIO]=null,checkMap[constants_default.FAIL_PRIO]=!1;var checkTypes=["any","all","none"];function anyAllNone(obj,functor){return checkTypes.reduce((function(out,type2){return out[type2]=(obj[type2]||[]).map((function(val){return functor(val,type2)})),out}),{})}var aggregate_checks_default=function aggregateChecks(nodeResOriginal){var nodeResult=Object.assign({},nodeResOriginal);anyAllNone(nodeResult,(function(check,type2){var i=void 0===check.result?-1:checkMap.indexOf(check.result);check.priority=-1!==i?i:constants_default.CANTTELL_PRIO,"none"===type2&&(check.priority===constants_default.PASS_PRIO?check.priority=constants_default.FAIL_PRIO:check.priority===constants_default.FAIL_PRIO&&(check.priority=constants_default.PASS_PRIO))}));var priorities={all:nodeResult.all.reduce((function(a2,b2){return Math.max(a2,b2.priority)}),0),none:nodeResult.none.reduce((function(a2,b2){return Math.max(a2,b2.priority)}),0),any:nodeResult.any.reduce((function(a2,b2){return Math.min(a2,b2.priority)}),4)%4};nodeResult.priority=Math.max(priorities.all,priorities.none,priorities.any);var impacts=[];return checkTypes.forEach((function(type2){nodeResult[type2]=nodeResult[type2].filter((function(check){return check.priority===nodeResult.priority&&check.priority===priorities[type2]})),nodeResult[type2].forEach((function(check){return impacts.push(check.impact)}))})),[CANTTELL_PRIO,FAIL_PRIO].includes(nodeResult.priority)?nodeResult.impact=aggregate_default(constants_default.impact,impacts):nodeResult.impact=null,anyAllNone(nodeResult,(function(c4){delete c4.result,delete c4.priority})),nodeResult.result=constants_default.results[nodeResult.priority],delete nodeResult.priority,nodeResult};var finalize_result_default=function finalizeRuleResult(ruleResult){var rule=axe._audit.rules.find((function(rule2){return rule2.id===ruleResult.id}));return rule&&rule.impact&&ruleResult.nodes.forEach((function(node){["any","all","none"].forEach((function(checkType){(node[checkType]||[]).forEach((function(checkResult){checkResult.impact=rule.impact}))}))})),Object.assign(ruleResult,aggregate_node_results_default(ruleResult.nodes)),delete ruleResult.nodes,ruleResult};var aggregate_node_results_default=function aggregateNodeResults(nodeResults){var ruleResult={};if((nodeResults=nodeResults.map((function(nodeResult){if(nodeResult.any&&nodeResult.all&&nodeResult.none)return aggregate_checks_default(nodeResult);if(Array.isArray(nodeResult.node))return finalize_result_default(nodeResult);throw new TypeError("Invalid Result type")})))&&nodeResults.length){var resultList=nodeResults.map((function(node){return node.result}));ruleResult.result=aggregate_default(constants_default.results,resultList,ruleResult.result)}else ruleResult.result="inapplicable";constants_default.resultGroups.forEach((function(group){return ruleResult[group]=[]})),nodeResults.forEach((function(nodeResult){var groupName=constants_default.resultGroupMap[nodeResult.result];ruleResult[groupName].push(nodeResult)}));var impactGroup=constants_default.FAIL_GROUP;if(0===ruleResult[impactGroup].length&&(impactGroup=constants_default.CANTTELL_GROUP),ruleResult[impactGroup].length>0){var impactList=ruleResult[impactGroup].map((function(failure){return failure.impact}));ruleResult.impact=aggregate_default(constants_default.impact,impactList)||null}else ruleResult.impact=null;return ruleResult};function copyToGroup(resultObject,subResult,group){var resultCopy=Object.assign({},subResult);resultCopy.nodes=(resultCopy[group]||[]).concat(),constants_default.resultGroups.forEach((function(group2){delete resultCopy[group2]})),resultObject[group].push(resultCopy)}var aggregate_result_default=function aggregateResult(results){var resultObject={};return constants_default.resultGroups.forEach((function(groupName){return resultObject[groupName]=[]})),results.forEach((function(subResult){subResult.error?copyToGroup(resultObject,subResult,constants_default.CANTTELL_GROUP):subResult.result===constants_default.NA?copyToGroup(resultObject,subResult,constants_default.NA_GROUP):constants_default.resultGroups.forEach((function(group){Array.isArray(subResult[group])&&subResult[group].length>0&©ToGroup(resultObject,subResult,group)}))})),resultObject};var are_styles_set_default=function areStylesSet(el,styles,stopAt){var styl=window.getComputedStyle(el,null);if(!styl)return!1;for(var i=0;i=1&&codeUnit<=31||127==codeUnit||0==index&&codeUnit>=48&&codeUnit<=57||1==index&&codeUnit>=48&&codeUnit<=57&&45==firstCodeUnit?"\\"+codeUnit.toString(16)+" ":(0!=index||1!=length||45!=codeUnit)&&(codeUnit>=128||45==codeUnit||95==codeUnit||codeUnit>=48&&codeUnit<=57||codeUnit>=65&&codeUnit<=90||codeUnit>=97&&codeUnit<=122)?string.charAt(index):"\\"+string.charAt(index):result+="�";return result};function splitString(str,splitIndex){return[str.substring(0,splitIndex),str.substring(splitIndex)]}function trimRight(str){return str.replace(/\s+$/,"")}var get_friendly_uri_end_default=function getFriendlyUriEnd(){var uri=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(uri.length<=1||"data:"===uri.substr(0,5)||"javascript:"===uri.substr(0,11)||uri.includes("?"))){var currentDomain=options.currentDomain,_options$maxLength=options.maxLength,maxLength=void 0===_options$maxLength?25:_options$maxLength,_uriParser=function uriParser(url){var original=url,protocol="",domain="",port="",query="",hash="";if(url.includes("#")){var _splitString2=_slicedToArray(splitString(url,url.indexOf("#")),2);url=_splitString2[0],hash=_splitString2[1]}if(url.includes("?")){var _splitString4=_slicedToArray(splitString(url,url.indexOf("?")),2);url=_splitString4[0],query=_splitString4[1]}if(url.includes("://")){var _url$split2=_slicedToArray(url.split("://"),2);protocol=_url$split2[0];var _splitString6=_slicedToArray(splitString(url=_url$split2[1],url.indexOf("/")),2);domain=_splitString6[0],url=_splitString6[1]}else if("//"===url.substr(0,2)){var _splitString8=_slicedToArray(splitString(url=url.substr(2),url.indexOf("/")),2);domain=_splitString8[0],url=_splitString8[1]}if("www."===domain.substr(0,4)&&(domain=domain.substr(4)),domain&&domain.includes(":")){var _splitString10=_slicedToArray(splitString(domain,domain.indexOf(":")),2);domain=_splitString10[0],port=_splitString10[1]}return{original,protocol,domain,port,path:url,query,hash}}(uri),path=_uriParser.path,domain=_uriParser.domain,hash=_uriParser.hash,pathEnd=path.substr(path.substr(0,path.length-2).lastIndexOf("/")+1);if(hash)return pathEnd&&(pathEnd+hash).length<=maxLength?trimRight(pathEnd+hash):pathEnd.length<2&&hash.length>2&&hash.length<=maxLength?trimRight(hash):void 0;if(domain&&domain.length1)&&(-1!==lastDotIndex||pathEnd.length>2)&&pathEnd.length<=maxLength&&!pathEnd.match(/index(\.[a-zA-Z]{2-4})?/)&&!function isMostlyNumbers(){var str=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==str.length&&(str.match(/[0-9]/g)||"").length>=str.length/2}(pathEnd)?trimRight(pathEnd):void 0}};var method,get_node_attributes_default=function getNodeAttributes(node){return node.attributes instanceof window.NamedNodeMap?node.attributes:node.cloneNode(!1).attributes},element_matches_default=function(node,selector){return method&&node[method]||(method=function getMethod(node){var index,candidate,candidates=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],length=candidates.length;for(index=0;index2&&void 0!==arguments[2]?arguments[2]:{};if(!elm)return"";var doc=elm.getRootNode&&elm.getRootNode()||document;if(11!==doc.nodeType)return generateSelector2(elm,options,doc);for(var stack=[];11===doc.nodeType;){if(!doc.host)return"";stack.unshift({elm,doc}),doc=(elm=doc.host).getRootNode()}return stack.unshift({elm,doc}),stack.map((function(_ref){var elm2=_ref.elm,doc2=_ref.doc;return generateSelector2(elm2,options,doc2)}))},ignoredAttributes=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow"],MAXATTRIBUTELENGTH=31,attrCharsRegex=/([\\"])/g,newlineChars=/(\r\n|\r|\n)/g;function escapeAttribute(str){return str.replace(attrCharsRegex,"\\$1").replace(newlineChars,"\\a ")}function getAttributeNameValue(node,at){var atnv,name=at.name;if(-1!==name.indexOf("href")||-1!==name.indexOf("src")){var friendly=get_friendly_uri_end_default(node.getAttribute(name));atnv=friendly?escape_selector_default(at.name)+'$="'+escapeAttribute(friendly)+'"':escape_selector_default(at.name)+'="'+escapeAttribute(node.getAttribute(name))+'"'}else atnv=escape_selector_default(name)+'="'+escapeAttribute(at.value)+'"';return atnv}function countSort(a2,b2){return a2.count "+selector:features,similar=similar?similar.filter((function(item){return element_matches_default(item,selector)})):Array.from(doc.querySelectorAll(selector)),elm=elm.parentElement}while((similar.length>1||toRoot)&&elm&&11!==elm.nodeType);return 1===similar.length?selector:-1!==selector.indexOf(" > ")?":root"+selector.substring(selector.indexOf(" > ")):":root"}function _getSelector(elm,options){return get_shadow_selector_default(generateSelector,elm,options)}function generateAncestry(node){var nodeName2=node.nodeName.toLowerCase(),parent=node.parentElement;if(!parent)return nodeName2;var nthChild="";if("head"!==nodeName2&&"body"!==nodeName2&&parent.children.length>1){var index=Array.prototype.indexOf.call(parent.children,node)+1;nthChild=":nth-child(".concat(index,")")}return generateAncestry(parent)+" > "+nodeName2+nthChild}function _getAncestry(elm,options){return get_shadow_selector_default(generateAncestry,elm,options)}function getXPathArray(node,path){var sibling,count;if(!node)return[];if(!path&&9===node.nodeType)return path=[{str:"html"}];if(path=path||[],node.parentNode&&node.parentNode!==node&&(path=getXPathArray(node.parentNode,path)),node.previousSibling){count=1,sibling=node.previousSibling;do{1===sibling.nodeType&&sibling.nodeName===node.nodeName&&count++,sibling=sibling.previousSibling}while(sibling);1===count&&(count=null)}else if(node.nextSibling){sibling=node.nextSibling;do{1===sibling.nodeType&&sibling.nodeName===node.nodeName?(count=1,sibling=null):(count=null,sibling=sibling.previousSibling)}while(sibling)}if(1===node.nodeType){var element={};element.str=node.nodeName.toLowerCase();var id=node.getAttribute&&escape_selector_default(node.getAttribute("id"));id&&1===node.ownerDocument.querySelectorAll("#"+id).length&&(element.id=node.getAttribute("id")),count>1&&(element.count=count),path.push(element)}return path}var get_xpath_default=function getXpath(node){return function xpathToString(xpathArray){return xpathArray.reduce((function(str,elm){return elm.id?"/".concat(elm.str,"[@id='").concat(elm.id,"']"):str+"/".concat(elm.str)+(elm.count>0?"[".concat(elm.count,"]"):"")}),"")}(getXPathArray(node))},_cache={},cache={set:function set(key,value){!function validateKey(key){assert_default("string"==typeof key,"key must be a string, "+_typeof(key)+" given"),assert_default(""!==key,"key must not be empty")}(key),_cache[key]=value},get:function get(key,creator){if(function validateCreator(creator){assert_default("function"==typeof creator||void 0===creator,"creator must be a function or undefined, "+_typeof(creator)+" given")}(creator),key in _cache)return _cache[key];if("function"==typeof creator){var value=creator();return assert_default(void 0!==value,"Cache creator function should not return undefined"),this.set(key,value),_cache[key]}},clear:function clear(){_cache={}}};var cache_default=cache;var get_node_from_tree_default=function getNodeFromTree(vNode,node){var el=node||vNode;return cache_default.get("nodeMap")?cache_default.get("nodeMap").get(el):null};function DqElement(elm){var _this$spec$selector,_this$_virtualNode,_this$spec$source,options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},spec=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(this.spec=spec,elm instanceof abstract_virtual_node_default?(this._virtualNode=elm,this._element=elm.actualNode):(this._element=elm,this._virtualNode=get_node_from_tree_default(elm)),this.fromFrame=(null===(_this$spec$selector=this.spec.selector)||void 0===_this$spec$selector?void 0:_this$spec$selector.length)>1,options.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(_this$_virtualNode=this._virtualNode)||void 0===_this$_virtualNode?void 0:_this$_virtualNode.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,axe._audit.noHtml)||(this.source=null!==(_this$spec$source=this.spec.source)&&void 0!==_this$spec$source?_this$spec$source:function getSource(element){if(null==element||!element.outerHTML)return"";var source=element.outerHTML;return source||"function"!=typeof window.XMLSerializer||(source=(new window.XMLSerializer).serializeToString(element)),function truncate(str,maxLength){if(maxLength=maxLength||300,str.length>maxLength){var index=str.indexOf(">");str=str.substring(0,index+1)}return str}(source||"")}(this._element))}DqElement.prototype={get selector(){return this.spec.selector||[_getSelector(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[_getAncestry(this.element)]},get xpath(){return this.spec.xpath||[get_xpath_default(this.element)]},get element(){return this._element},toJSON:function toJSON(){return{selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes}}},DqElement.fromFrame=function fromFrame(node,options,frame){var spec=DqElement.mergeSpecs(node,frame);return new DqElement(frame.element,options,spec)},DqElement.mergeSpecs=function mergeSpec(node,frame){return _extends({},node,{selector:[].concat(_toConsumableArray(frame.selector),_toConsumableArray(node.selector)),ancestry:[].concat(_toConsumableArray(frame.ancestry),_toConsumableArray(node.ancestry)),xpath:[].concat(_toConsumableArray(frame.xpath),_toConsumableArray(node.xpath)),nodeIndexes:[].concat(_toConsumableArray(frame.nodeIndexes),_toConsumableArray(node.nodeIndexes))})};var dq_element_default=DqElement;var check_helper_default=function checkHelper(checkResult,options,resolve,reject){return{isAsync:!1,async:function async(){return this.isAsync=!0,function(result){result instanceof Error==!1?(checkResult.result=result,resolve(checkResult)):reject(result)}},data:function data(data2){checkResult.data=data2},relatedNodes:function relatedNodes(nodes){window.Node&&(nodes=nodes instanceof window.Node||nodes instanceof abstract_virtual_node_default?[nodes]:to_array_default(nodes),checkResult.relatedNodes=[],nodes.forEach((function(node){if(node instanceof abstract_virtual_node_default&&(node=node.actualNode),node instanceof window.Node){var dqElm=new dq_element_default(node,options);checkResult.relatedNodes.push(dqElm)}})))}}};var clone_default=function clone(obj){var _window,_window2,index,length,out=obj;if(null!==(_window=window)&&void 0!==_window&&_window.Node&&obj instanceof window.Node||null!==(_window2=window)&&void 0!==_window2&&_window2.HTMLCollection&&obj instanceof window.HTMLCollection)return obj;if(null!==obj&&"object"===_typeof(obj))if(Array.isArray(obj))for(out=[],index=0,length=obj.length;index"),parser.registerAttrEqualityMods("^","$","*","~");var css_parser_default=parser;function matchExpression(vNode,expression){return function matchesTag(vNode,exp){return 1===vNode.props.nodeType&&("*"===exp.tag||vNode.props.nodeName===exp.tag)}(vNode,expression)&&function matchesClasses(vNode,exp){return!exp.classes||exp.classes.every((function(cl){return vNode.hasClass(cl.value)}))}(vNode,expression)&&function matchesAttributes(vNode,exp){return!exp.attributes||exp.attributes.every((function(att){var nodeAtt=vNode.attr(att.key);return null!==nodeAtt&&att.test(nodeAtt)}))}(vNode,expression)&&function matchesId(vNode,exp){return!exp.id||vNode.props.id===exp.id}(vNode,expression)&&function matchesPseudos(target,exp){return!(exp.pseudos&&!exp.pseudos.every((function(pseudo){if("not"===pseudo.name)return!pseudo.expressions.some((function(expression){return _matchesExpression(target,expression)}));if("is"===pseudo.name)return pseudo.expressions.some((function(expression){return _matchesExpression(target,expression)}));throw new Error("the pseudo selector "+pseudo.name+" has not yet been implemented")})))}(vNode,expression)}var from,escapeRegExp=(from=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(string){return string.replace(from,"\\")}),reUnescape=/\\/g;function convertAttributes(atts){if(atts)return atts.map((function(att){var test,regexp,attributeKey=att.name.replace(reUnescape,""),attributeValue=(att.value||"").replace(reUnescape,"");switch(att.operator){case"^=":regexp=new RegExp("^"+escapeRegExp(attributeValue));break;case"$=":regexp=new RegExp(escapeRegExp(attributeValue)+"$");break;case"~=":regexp=new RegExp("(^|\\s)"+escapeRegExp(attributeValue)+"(\\s|$)");break;case"|=":regexp=new RegExp("^"+escapeRegExp(attributeValue)+"(-|$)");break;case"=":test=function test(value){return attributeValue===value};break;case"*=":test=function test(value){return value&&value.includes(attributeValue)};break;case"!=":test=function test(value){return attributeValue!==value};break;default:test=function test(value){return null!==value}}return""===attributeValue&&/^[*$^]=$/.test(att.operator)&&(test=function test(){return!1}),test||(test=function test(value){return value&®exp.test(value)}),{key:attributeKey,value:attributeValue,type:void 0===att.value?"attrExist":"attrValue",test}}))}function convertClasses(classes){if(classes)return classes.map((function(className){return{value:className=className.replace(reUnescape,""),regexp:new RegExp("(^|\\s)"+escapeRegExp(className)+"(\\s|$)")}}))}function convertPseudos(pseudos){if(pseudos)return pseudos.map((function(p2){var expressions;return["is","not"].includes(p2.name)&&(expressions=convertExpressions(expressions=(expressions=p2.value).selectors?expressions.selectors:[expressions])),{name:p2.name,expressions,value:p2.value}}))}function convertExpressions(expressions){return expressions.map((function(exp){for(var newExp=[],rule=exp.rule;rule;)newExp.push({tag:rule.tagName?rule.tagName.toLowerCase():"*",combinator:rule.nestingOperator?rule.nestingOperator:" ",id:rule.id,attributes:convertAttributes(rule.attrs),classes:convertClasses(rule.classNames),pseudos:convertPseudos(rule.pseudos)}),rule=rule.rule;return newExp}))}function _convertSelector(selector){var expressions=css_parser_default.parse(selector);return convertExpressions(expressions=expressions.selectors?expressions.selectors:[expressions])}function optimizedMatchesExpression(vNode,expressions,index,matchAnyParent){if(!vNode)return!1;for(var expression=Array.isArray(expressions)?expressions[index]:expressions,matches4=matchExpression(vNode,expression);!matches4&&matchAnyParent&&vNode.parent;)matches4=matchExpression(vNode=vNode.parent,expression);if(index>0){if(!1===[" ",">"].includes(expression.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+expression.combinator);matches4=matches4&&optimizedMatchesExpression(vNode.parent,expressions,index-1," "===expression.combinator)}return matches4}function _matchesExpression(vNode,expressions,matchAnyParent){return optimizedMatchesExpression(vNode,expressions,expressions.length-1,matchAnyParent)}var matches_default=function matches(vNode,selector){return _convertSelector(selector).some((function(expression){return _matchesExpression(vNode,expression)}))};var closest_default=function closest(vNode,selector){for(;vNode;){if(matches_default(vNode,selector))return vNode;if(void 0===vNode.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");vNode=vNode.parent}return null};function noop(){}function funcGuard(f){if("function"!=typeof f)throw new TypeError("Queue methods require functions as arguments")}var uuid,_rng,_rnds8,_rnds,queue_default=function queue(){var err2,tasks=[],started=0,remaining=0,completeQueue=noop,complete=!1,defaultFail=function defaultFail(e){err2=e,setTimeout((function(){null!=err2&&log_default("Uncaught error (of queue)",err2)}),1)},failed=defaultFail;function createResolve(i){return function(r){tasks[i]=r,(remaining-=1)||completeQueue===noop||(complete=!0,completeQueue(tasks))}}function abort(msg){return completeQueue=noop,failed(msg),tasks}var q={defer:function defer(fn){if("object"===_typeof(fn)&&fn.then&&fn.catch){var defer=fn;fn=function fn(resolve,reject){defer.then(resolve).catch(reject)}}if(funcGuard(fn),void 0===err2){if(complete)throw new Error("Queue already completed");return tasks.push(fn),++remaining,function pop(){for(var length=tasks.length;started>>((3&i)<<3)&255;return _rnds});for(var BufferClass="function"==typeof window.Buffer?window.Buffer:Array,_byteToHex=[],_hexToByte={},i=0;i<256;i++)_byteToHex[i]=(i+256).toString(16).substr(1),_hexToByte[_byteToHex[i]]=i;function unparse(buf,offset){var i=offset||0,bth=_byteToHex;return bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]}var _seedBytes=_rng(),_nodeId=[1|_seedBytes[0],_seedBytes[1],_seedBytes[2],_seedBytes[3],_seedBytes[4],_seedBytes[5]],_clockseq=16383&(_seedBytes[6]<<8|_seedBytes[7]),_lastMSecs=0,_lastNSecs=0;function v1(options,buf,offset){var i=buf&&offset||0,b2=buf||[],clockseq=null!=(options=options||{}).clockseq?options.clockseq:_clockseq,msecs=null!=options.msecs?options.msecs:(new Date).getTime(),nsecs=null!=options.nsecs?options.nsecs:_lastNSecs+1,dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&null==options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&null==options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq;var tl=(1e4*(268435455&(msecs+=122192928e5))+nsecs)%4294967296;b2[i++]=tl>>>24&255,b2[i++]=tl>>>16&255,b2[i++]=tl>>>8&255,b2[i++]=255&tl;var tmh=msecs/4294967296*1e4&268435455;b2[i++]=tmh>>>8&255,b2[i++]=255&tmh,b2[i++]=tmh>>>24&15|16,b2[i++]=tmh>>>16&255,b2[i++]=clockseq>>>8|128,b2[i++]=255&clockseq;for(var node=options.node||_nodeId,n2=0;n2<6;n2++)b2[i+n2]=node[n2];return buf||unparse(b2)}function v4(options,buf,offset){var i=buf&&offset||0;"string"==typeof options&&(buf="binary"==options?new BufferClass(16):null,options=null);var rnds=(options=options||{}).random||(options.rng||_rng)();if(rnds[6]=15&rnds[6]|64,rnds[8]=63&rnds[8]|128,buf)for(var ii=0;ii<16;ii++)buf[i+ii]=rnds[ii];return buf||unparse(rnds)}(uuid=v4).v1=v1,uuid.v4=v4,uuid.parse=function parse(s,buf,offset){var i=buf&&offset||0,ii=0;for(buf=buf||[],s.toLowerCase().replace(/[0-9a-f]{2}/g,(function(oct){ii<16&&(buf[i+ii++]=_hexToByte[oct])}));ii<16;)buf[i+ii++]=0;return buf},uuid.unparse=unparse,uuid.BufferClass=BufferClass,axe._uuid=v1();var uuid_default=v4,errorTypes=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function parseMessage(dataString){var data2;try{data2=JSON.parse(dataString)}catch(e){return}if(function isRespondableMessage(postedMessage){return null!==postedMessage&&"object"===_typeof(postedMessage)&&"string"==typeof postedMessage.channelId&&postedMessage.source===getSource2()}(data2)){var _data=data2,topic=_data.topic,channelId=_data.channelId,messageId=_data.messageId,keepalive=_data.keepalive;return{topic,message:"object"===_typeof(data2.error)?function buildErrorObject(error){var msg=error.message||"Unknown error occurred",errorName=errorTypes.includes(error.name)?error.name:"Error",ErrConstructor=window[errorName]||Error;error.stack&&(msg+="\n"+error.stack.replace(error.message,""));return new ErrConstructor(msg)}(data2.error):data2.payload,messageId,channelId,keepalive:!!keepalive}}}function getSource2(){var application="axeAPI",version="";return void 0!==axe&&axe._audit&&axe._audit.application&&(application=axe._audit.application),void 0!==axe&&(version=axe.version),application+"."+version}function assertIsParentWindow(win){assetNotGlobalWindow(win),assert_default(window.parent===win,"Source of the response must be the parent window.")}function assertIsFrameWindow(win){assetNotGlobalWindow(win),assert_default(win.parent===window,"Respondable target must be a frame in the current window")}function assetNotGlobalWindow(win){assert_default(window!==win,"Messages can not be sent to the same window.")}var channels={};var messageIds=[];function createMessageId(){var uuid2="".concat(v4(),":").concat(v4());return messageIds.includes(uuid2)?createMessageId():(messageIds.push(uuid2),uuid2)}function postMessage(win,data2,sendToParent,replyHandler){if("function"==typeof replyHandler&&function storeReplyHandler(channelId,replyHandler){var sendToParent=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];assert_default(!channels[channelId],"A replyHandler already exists for this message channel."),channels[channelId]={replyHandler,sendToParent}}(data2.channelId,replyHandler,sendToParent),sendToParent?assertIsParentWindow(win):assertIsFrameWindow(win),data2.message instanceof Error&&!sendToParent)return axe.log(data2.message),!1;var dataString=function stringifyMessage(_ref2){var topic=_ref2.topic,channelId=_ref2.channelId,message=_ref2.message,data2={channelId,topic,messageId:_ref2.messageId,keepalive:!!_ref2.keepalive,source:getSource2()};return message instanceof Error?data2.error={name:message.name,message:message.message,stack:message.stack}:data2.payload=message,JSON.stringify(data2)}(_extends({messageId:createMessageId()},data2)),allowedOrigins=axe._audit.allowedOrigins;return!(!allowedOrigins||!allowedOrigins.length)&&(allowedOrigins.forEach((function(origin){try{win.postMessage(dataString,origin)}catch(err2){if(err2 instanceof win.DOMException)throw new Error('allowedOrigins value "'.concat(origin,'" is not a valid origin'));throw err2}})),!0)}function createResponder(win,channelId){var sendToParent=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function respond(message,keepalive,replyHandler){postMessage(win,{channelId,message,keepalive},sendToParent,replyHandler)}}function messageHandler(_ref3,topicHandler){var origin=_ref3.origin,dataString=_ref3.data,win=_ref3.source;try{var data2=parseMessage(dataString)||{},channelId=data2.channelId,message=data2.message,messageId=data2.messageId;if(!function originIsAllowed(origin){var allowedOrigins=axe._audit.allowedOrigins;return allowedOrigins&&allowedOrigins.includes("*")||allowedOrigins.includes(origin)}(origin)||!function isNewMessage(uuid2){return!messageIds.includes(uuid2)&&(messageIds.push(uuid2),!0)}(messageId))return;if(message instanceof Error&&win.parent!==window)return axe.log(message),!1;try{if(data2.topic){var responder=createResponder(win,channelId);assertIsParentWindow(win),topicHandler(data2,responder)}else!function callReplyHandler(win,data2){var channelId=data2.channelId,message=data2.message,keepalive=data2.keepalive,_ref4=function getReplyHandler(channelId){return channels[channelId]}(channelId)||{},replyHandler=_ref4.replyHandler,sendToParent=_ref4.sendToParent;if(!replyHandler)return;sendToParent?assertIsParentWindow(win):assertIsFrameWindow(win);var responder=createResponder(win,channelId,sendToParent);!keepalive&&channelId&&function deleteReplyHandler(channelId){delete channels[channelId]}(channelId);try{replyHandler(message,keepalive,responder)}catch(error){axe.log(error),responder(error,keepalive)}}(win,data2)}catch(error){!function processError(win,error,channelId){if(!win.parent!==window)return axe.log(error);try{postMessage(win,{topic:null,channelId,message:error,messageId:createMessageId(),keepalive:!0},!0)}catch(err2){return axe.log(err2)}}(win,error,channelId)}}catch(error){return axe.log(error),!1}}var closeHandler,postMessage2,frameMessenger={open:function open(topicHandler){if("function"==typeof window.addEventListener){var handler=function handler(messageEvent){messageHandler(messageEvent,topicHandler)};return window.addEventListener("message",handler,!1),function(){window.removeEventListener("message",handler,!1)}}},post:function post(win,data2,replyHandler){return"function"==typeof window.addEventListener&&postMessage(win,data2,!1,replyHandler)}};function setDefaultFrameMessenger(respondable2){respondable2.updateMessenger(frameMessenger)}var topicHandlers={};function _respondable(win,topic,message,keepalive,replyHandler){var data2={topic,message,channelId:"".concat(v4(),":").concat(v4()),keepalive};return postMessage2(win,data2,replyHandler)}function messageListener(data2,responder){var topic=data2.topic,message=data2.message,keepalive=data2.keepalive,topicHandler=topicHandlers[topic];if(topicHandler)try{topicHandler(message,keepalive,responder)}catch(error){axe.log(error),responder(error,keepalive)}}function _sendCommandToFrame(node,parameters,resolve,reject){var _parameters$options$p,_parameters$options,win=node.contentWindow,pingWaitTime=null!==(_parameters$options$p=null===(_parameters$options=parameters.options)||void 0===_parameters$options?void 0:_parameters$options.pingWaitTime)&&void 0!==_parameters$options$p?_parameters$options$p:500;if(!win)return log_default("Frame does not have a content window",node),void resolve(null);if(0!==pingWaitTime){var timeout=setTimeout((function(){timeout=setTimeout((function(){parameters.debug?reject(err("No response from frame",node)):resolve(null)}),0)}),pingWaitTime);_respondable(win,"axe.ping",null,void 0,(function(){clearTimeout(timeout),callAxeStart(node,parameters,resolve,reject)}))}else callAxeStart(node,parameters,resolve,reject)}function callAxeStart(node,parameters,resolve,reject){var _parameters$options$f,_parameters$options2,frameWaitTime=null!==(_parameters$options$f=null===(_parameters$options2=parameters.options)||void 0===_parameters$options2?void 0:_parameters$options2.frameWaitTime)&&void 0!==_parameters$options$f?_parameters$options$f:6e4,win=node.contentWindow,timeout=setTimeout((function collectResultFramesTimeout(){reject(err("Axe in frame timed out",node))}),frameWaitTime);_respondable(win,"axe.start",parameters,void 0,(function(data2){clearTimeout(timeout),data2 instanceof Error==!1?resolve(data2):reject(data2)}))}function err(message,node){var selector;return axe._tree&&(selector=_getSelector(node)),new Error(message+": "+(selector||node))}_respondable.updateMessenger=function updateMessenger(_ref5){var open=_ref5.open,post=_ref5.post;assert_default("function"==typeof open,"open callback must be a function"),assert_default("function"==typeof post,"post callback must be a function"),closeHandler&&closeHandler();var close=open(messageListener);close?(assert_default("function"==typeof close,"open callback must return a cleanup function"),closeHandler=close):closeHandler=null,postMessage2=post},_respondable.subscribe=function subscribe(topic,topicHandler){assert_default("function"==typeof topicHandler,"Subscriber callback must be a function"),assert_default(!topicHandlers[topic],"Topic ".concat(topic," is already registered to.")),topicHandlers[topic]=topicHandler},_respondable.isInFrame=function isInFrame(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).frameElement},setDefaultFrameMessenger(_respondable);var get_all_checks_default=function getAllChecks(object){return[].concat(object.any||[]).concat(object.all||[]).concat(object.none||[])};var find_by_default=function findBy(array,key,value){if(Array.isArray(array))return array.find((function(obj){return"object"===_typeof(obj)&&obj[key]===value}))};function nodeIndexSort(){for(var nodeIndexesA=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],nodeIndexesB=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],length=Math.max(null==nodeIndexesA?void 0:nodeIndexesA.length,null==nodeIndexesB?void 0:nodeIndexesB.length),_i3=0;_i30||0===resultSort&&firstFromFrame.selector.length(0|rect2.left)&&(0|rect1.top)<(0|rect2.bottom)&&(0|rect1.bottom)>(0|rect2.top)}var getOverflowHiddenAncestors=memoize_default((function getOverflowHiddenAncestorsMemoized(vNode){var ancestors=[];return vNode?("hidden"===vNode.getComputedStylePropertyValue("overflow")&&ancestors.push(vNode),ancestors.concat(getOverflowHiddenAncestors(vNode.parent))):ancestors})),get_overflow_hidden_ancestors_default=getOverflowHiddenAncestors,clipRegex=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,clipPathRegex=/(\w+)\((\d+)/;function nativelyHidden(vNode){return["style","script","noscript","template"].includes(vNode.props.nodeName)}function displayHidden(vNode){return"area"!==vNode.props.nodeName&&"none"===vNode.getComputedStylePropertyValue("display")}function visibilityHidden(vNode){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(vNode.getComputedStylePropertyValue("visibility"))}function contentVisibiltyHidden(vNode){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===vNode.getComputedStylePropertyValue("content-visibility")}function ariaHidden(vNode){return"true"===vNode.attr("aria-hidden")}function opacityHidden(vNode){return"0"===vNode.getComputedStylePropertyValue("opacity")}function scrollHidden(vNode){var scroll=_getScroll(vNode.actualNode),elHeight=parseInt(vNode.getComputedStylePropertyValue("height")),elWidth=parseInt(vNode.getComputedStylePropertyValue("width"));return!!scroll&&(0===elHeight||0===elWidth)}function overflowHidden(vNode){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var rect=vNode.boundingClientRect,nodes=get_overflow_hidden_ancestors_default(vNode);return!!nodes.length&&nodes.some((function(node){var nodeRect=node.boundingClientRect;return nodeRect.width<2||nodeRect.height<2||!_rectsOverlap(rect,nodeRect)}))}function clipHidden(vNode){var matchesClip=vNode.getComputedStylePropertyValue("clip").match(clipRegex),matchesClipPath=vNode.getComputedStylePropertyValue("clip-path").match(clipPathRegex);if(matchesClip&&5===matchesClip.length){var position=vNode.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(position))return matchesClip[3]-matchesClip[1]<=0&&matchesClip[2]-matchesClip[4]<=0}if(matchesClipPath){var type2=matchesClipPath[1],value=parseInt(matchesClipPath[2],10);switch(type2){case"inset":return value>=50;case"circle":return 0===value}}return!1}function areaHidden(vNode,visibleFunction){var mapEl=closest_default(vNode,"map");if(!mapEl)return!0;var mapElName=mapEl.attr("name");if(!mapElName)return!0;var mapElRootNode=get_root_node_default(vNode.actualNode);if(!mapElRootNode||9!==mapElRootNode.nodeType)return!0;var refs=query_selector_all_default(axe._tree,'img[usemap="#'.concat(escape_selector_default(mapElName),'"]'));return!refs||!refs.length||refs.some((function(ref){return!visibleFunction(ref)}))}function detailsHidden(vNode){var _vNode$parent;if("details"!==(null===(_vNode$parent=vNode.parent)||void 0===_vNode$parent?void 0:_vNode$parent.props.nodeName))return!1;if("summary"===vNode.props.nodeName&&vNode.parent.children.find((function(node){return"summary"===node.props.nodeName}))===vNode)return!1;return!vNode.parent.hasAttr("open")}var hiddenMethods=[displayHidden,visibilityHidden,contentVisibiltyHidden,detailsHidden];function _isHiddenForEveryone(vNode){var _ref11=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},skipAncestors=_ref11.skipAncestors,_ref11$isAncestor=_ref11.isAncestor,isAncestor=void 0!==_ref11$isAncestor&&_ref11$isAncestor;return vNode=_nodeLookup(vNode).vNode,skipAncestors?isHiddenSelf(vNode,isAncestor):isHiddenAncestors(vNode,isAncestor)}var isHiddenSelf=memoize_default((function isHiddenSelfMemoized(vNode,isAncestor){return!!nativelyHidden(vNode)||!!vNode.actualNode&&(!!hiddenMethods.some((function(method){return method(vNode,{isAncestor})}))||!vNode.actualNode.isConnected)})),isHiddenAncestors=memoize_default((function isHiddenAncestorsMemoized(vNode,isAncestor){return!!isHiddenSelf(vNode,isAncestor)||!!vNode.parent&&isHiddenAncestors(vNode.parent,!0)}));var get_composed_parent_default=function getComposedParent(element){if(element.assignedSlot)return getComposedParent(element.assignedSlot);if(element.parentNode){var parentNode=element.parentNode;if(1===parentNode.nodeType)return parentNode;if(parentNode.host)return parentNode.host}return null};var get_scroll_offset_default=function getScrollOffset(element){if(!element.nodeType&&element.document&&(element=element.document),9===element.nodeType){var docElement=element.documentElement,body=element.body;return{left:docElement&&docElement.scrollLeft||body&&body.scrollLeft||0,top:docElement&&docElement.scrollTop||body&&body.scrollTop||0}}return{left:element.scrollLeft,top:element.scrollTop}};var get_element_coordinates_default=function getElementCoordinates(element){var scrollOffset=get_scroll_offset_default(document),xOffset=scrollOffset.left,yOffset=scrollOffset.top,coords=element.getBoundingClientRect();return{top:coords.top+yOffset,right:coords.right+xOffset,bottom:coords.bottom+yOffset,left:coords.left+xOffset,width:coords.right-coords.left,height:coords.bottom-coords.top}};var get_viewport_size_default=function getViewportSize(win){var doc=win.document,docElement=doc.documentElement;if(win.innerWidth)return{width:win.innerWidth,height:win.innerHeight};if(docElement)return{width:docElement.clientWidth,height:docElement.clientHeight};var body=doc.body;return{width:body.clientWidth,height:body.clientHeight}};var is_offscreen_default=function isOffscreen(element){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var domNode=_nodeLookup(element).domNode;if(domNode){var leftBoundary,docElement=document.documentElement,styl=window.getComputedStyle(domNode),dir=window.getComputedStyle(document.body||docElement).getPropertyValue("direction"),coords=get_element_coordinates_default(domNode);if(coords.bottom<0&&(function noParentScrolled(element,offset){for(element=get_composed_parent_default(element);element&&"html"!==element.nodeName.toLowerCase();){if(element.scrollTop&&(offset+=element.scrollTop)>=0)return!1;element=get_composed_parent_default(element)}return!0}(domNode,coords.bottom)||"absolute"===styl.position))return!0;if(0===coords.left&&0===coords.right)return!1;if("ltr"===dir){if(coords.right<=0)return!0}else if(leftBoundary=Math.max(docElement.scrollWidth,get_viewport_size_default(window).width),coords.left>=leftBoundary)return!0;return!1}},hiddenMethods2=[opacityHidden,scrollHidden,overflowHidden,clipHidden,is_offscreen_default];function _isVisibleOnScreen(vNode){return vNode=_nodeLookup(vNode).vNode,isVisibleOnScreenVirtual(vNode)}var isVisibleOnScreenVirtual=memoize_default((function isVisibleOnScreenMemoized(vNode,isAncestor){return vNode.actualNode&&"area"===vNode.props.nodeName?!areaHidden(vNode,isVisibleOnScreenVirtual):!_isHiddenForEveryone(vNode,{skipAncestors:!0,isAncestor})&&((!vNode.actualNode||!hiddenMethods2.some((function(method){return method(vNode,{isAncestor})})))&&(!vNode.parent||isVisibleOnScreenVirtual(vNode.parent,!0)))}));function _getBoundingRect(rectA,rectB){var top=Math.min(rectA.top,rectB.top),right=Math.max(rectA.right,rectB.right),bottom=Math.max(rectA.bottom,rectB.bottom),left=Math.min(rectA.left,rectB.left);return new window.DOMRect(left,top,right-left,bottom-top)}function _isPointInRect(_ref13,_ref14){var x=_ref13.x,y=_ref13.y,top=_ref14.top,right=_ref14.right,bottom=_ref14.bottom,left=_ref14.left;return y>=top&&x<=right&&y<=bottom&&x>=left}var ROOT_ORDER=0,DEFAULT_ORDER=.1,FLOAT_ORDER=.2,POSITION_STATIC_ORDER=.3,nodeIndex=0;function _createGrid(){var root=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body,rootGrid=arguments.length>1?arguments[1]:void 0,parentVNode=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(cache_default.get("gridCreated")&&!parentVNode)return constants_default.gridSize;if(cache_default.set("gridCreated",!0),!parentVNode){var _rootGrid,vNode=get_node_from_tree_default(document.documentElement);if(vNode||(vNode=new virtual_node_default(document.documentElement)),nodeIndex=0,vNode._stackingOrder=[createContext(ROOT_ORDER,null)],null!==(_rootGrid=rootGrid)&&void 0!==_rootGrid||(rootGrid=new Grid),addNodeToGrid(rootGrid,vNode),_getScroll(vNode.actualNode)){var subGrid=new Grid(vNode);vNode._subGrid=subGrid}}for(var treeWalker=document.createTreeWalker(root,window.NodeFilter.SHOW_ELEMENT,null,!1),node=parentVNode?treeWalker.nextNode():treeWalker.currentNode;node;){var _vNode=get_node_from_tree_default(node);_vNode&&_vNode.parent?parentVNode=_vNode.parent:node.assignedSlot?parentVNode=get_node_from_tree_default(node.assignedSlot):node.parentElement?parentVNode=get_node_from_tree_default(node.parentElement):node.parentNode&&get_node_from_tree_default(node.parentNode)&&(parentVNode=get_node_from_tree_default(node.parentNode)),_vNode||(_vNode=new axe.VirtualNode(node,parentVNode)),_vNode._stackingOrder=createStackingOrder(_vNode,parentVNode,nodeIndex++);var scrollRegionParent=findScrollRegionParent(_vNode,parentVNode),grid=scrollRegionParent?scrollRegionParent._subGrid:rootGrid;if(_getScroll(_vNode.actualNode)){var _subGrid=new Grid(_vNode);_vNode._subGrid=_subGrid}var rect=_vNode.boundingClientRect;0!==rect.width&&0!==rect.height&&_isVisibleOnScreen(node)&&addNodeToGrid(grid,_vNode),is_shadow_root_default(node)&&_createGrid(node.shadowRoot,grid,_vNode),node=treeWalker.nextNode()}return constants_default.gridSize}function isFlexOrGridContainer(vNode){if(!vNode)return!1;var display2=vNode.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(display2)}function createStackingOrder(vNode,parentVNode,nodeIndex3){var stackingOrder=parentVNode._stackingOrder.slice();if(!function isStackingContext(vNode,parentVNode){var position=vNode.getComputedStylePropertyValue("position"),zIndex=vNode.getComputedStylePropertyValue("z-index");if("fixed"===position||"sticky"===position)return!0;if("auto"!==zIndex&&"static"!==position)return!0;if("1"!==vNode.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(vNode.getComputedStylePropertyValue("-webkit-transform")||vNode.getComputedStylePropertyValue("-ms-transform")||vNode.getComputedStylePropertyValue("transform")||"none"))return!0;var mixBlendMode=vNode.getComputedStylePropertyValue("mix-blend-mode");if(mixBlendMode&&"normal"!==mixBlendMode)return!0;var filter=vNode.getComputedStylePropertyValue("filter");if(filter&&"none"!==filter)return!0;var perspective=vNode.getComputedStylePropertyValue("perspective");if(perspective&&"none"!==perspective)return!0;var clipPath=vNode.getComputedStylePropertyValue("clip-path");if(clipPath&&"none"!==clipPath)return!0;if("none"!==(vNode.getComputedStylePropertyValue("-webkit-mask")||vNode.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(vNode.getComputedStylePropertyValue("-webkit-mask-image")||vNode.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(vNode.getComputedStylePropertyValue("-webkit-mask-border")||vNode.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===vNode.getComputedStylePropertyValue("isolation"))return!0;var willChange=vNode.getComputedStylePropertyValue("will-change");if("transform"===willChange||"opacity"===willChange)return!0;if("touch"===vNode.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var contain=vNode.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(contain)||!("auto"===zIndex||!isFlexOrGridContainer(parentVNode))}(vNode,parentVNode))return"static"!==vNode.getComputedStylePropertyValue("position")?stackingOrder.push(createContext(POSITION_STATIC_ORDER,vNode)):"none"!==vNode.getComputedStylePropertyValue("float")&&stackingOrder.push(createContext(FLOAT_ORDER,vNode)),stackingOrder;var index=stackingOrder.findIndex((function(_ref15){var value=_ref15.value;return[ROOT_ORDER,FLOAT_ORDER,POSITION_STATIC_ORDER].includes(value)}));-1!==index&&stackingOrder.splice(index,stackingOrder.length-index);var zIndex=function getRealZIndex(vNode,parentVNode){var position=vNode.getComputedStylePropertyValue("position");if("static"===position&&!isFlexOrGridContainer(parentVNode))return"auto";return vNode.getComputedStylePropertyValue("z-index")}(vNode,parentVNode);if(!["auto","0"].includes(zIndex))return stackingOrder.push(createContext(parseInt(zIndex),vNode)),stackingOrder;for(var _float=nodeIndex3.toString();_float.length<10;)_float="0"+_float;return stackingOrder.push(createContext(parseFloat("".concat(DEFAULT_ORDER).concat(_float)),vNode)),stackingOrder}function createContext(value,vNode){return{value,vNode}}function findScrollRegionParent(vNode,parentVNode){for(var scrollRegionParent=null,checkedNodes=[vNode];parentVNode;){if(_getScroll(parentVNode.actualNode)){scrollRegionParent=parentVNode;break}if(parentVNode._scrollRegionParent){scrollRegionParent=parentVNode._scrollRegionParent;break}checkedNodes.push(parentVNode),parentVNode=get_node_from_tree_default(parentVNode.actualNode.parentElement||parentVNode.actualNode.parentNode)}return checkedNodes.forEach((function(vNode2){return vNode2._scrollRegionParent=scrollRegionParent})),scrollRegionParent}function addNodeToGrid(grid,vNode){vNode.clientRects.forEach((function(rect){var _vNode$_grid;null!==(_vNode$_grid=vNode._grid)&&void 0!==_vNode$_grid||(vNode._grid=grid);var gridRect=grid.getGridPositionOfRect(rect);grid.loopGridPosition(gridRect,(function(gridCell){gridCell.includes(vNode)||gridCell.push(vNode)}))}))}var Grid=function(){function Grid(){var container=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_classCallCheck(this,Grid),this.container=container,this.cells=[]}return _createClass(Grid,[{key:"toGridIndex",value:function toGridIndex(num){return Math.floor(num/constants_default.gridSize)}},{key:"getCellFromPoint",value:function getCellFromPoint(_ref16){var _this$cells,_row,x=_ref16.x,y=_ref16.y;assert_default(this.boundaries,"Grid does not have cells added");var rowIndex=this.toGridIndex(y),colIndex=this.toGridIndex(x);assert_default(_isPointInRect({y:rowIndex,x:colIndex},this.boundaries),"Element midpoint exceeds the grid bounds");var row=null!==(_this$cells=this.cells[rowIndex-this.cells._negativeIndex])&&void 0!==_this$cells?_this$cells:[];return null!==(_row=row[colIndex-row._negativeIndex])&&void 0!==_row?_row:[]}},{key:"loopGridPosition",value:function loopGridPosition(gridPosition,callback){var _gridPosition=gridPosition,left=_gridPosition.left,right=_gridPosition.right,top=_gridPosition.top,bottom=_gridPosition.bottom;this.boundaries&&(gridPosition=_getBoundingRect(this.boundaries,gridPosition)),this.boundaries=gridPosition,loopNegativeIndexMatrix(this.cells,top,bottom,(function(gridRow,row){loopNegativeIndexMatrix(gridRow,left,right,(function(gridCell,col){callback(gridCell,{row,col})}))}))}},{key:"getGridPositionOfRect",value:function getGridPositionOfRect(_ref17){var top=_ref17.top,right=_ref17.right,bottom=_ref17.bottom,left=_ref17.left,margin=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return top=this.toGridIndex(top-margin),right=this.toGridIndex(right+margin-1),bottom=this.toGridIndex(bottom+margin-1),left=this.toGridIndex(left-margin),new window.DOMRect(left,top,right-left,bottom-top)}}]),Grid}();function loopNegativeIndexMatrix(matrix,start,end,callback){var _matrix$_negativeInde;if(null!==(_matrix$_negativeInde=matrix._negativeIndex)&&void 0!==_matrix$_negativeInde||(matrix._negativeIndex=0),start1&&void 0!==arguments[1]?arguments[1]:0;if(_createGrid(),null===(_vNode$_grid2=vNode._grid)||void 0===_vNode$_grid2||null===(_vNode$_grid2$cells=_vNode$_grid2.cells)||void 0===_vNode$_grid2$cells||!_vNode$_grid2$cells.length)return[];var rect=vNode.boundingClientRect,grid=vNode._grid,selfIsFixed=hasFixedPosition(vNode),gridPosition=grid.getGridPositionOfRect(rect,margin),neighbors=[];return grid.loopGridPosition(gridPosition,(function(vNeighbors){var _step2,_iterator2=_createForOfIteratorHelper(vNeighbors);try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var vNeighbor=_step2.value;vNeighbor&&vNeighbor!==vNode&&!neighbors.includes(vNeighbor)&&selfIsFixed===hasFixedPosition(vNeighbor)&&neighbors.push(vNeighbor)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}})),neighbors}var hasFixedPosition=memoize_default((function(vNode){return!!vNode&&("fixed"===vNode.getComputedStylePropertyValue("position")||hasFixedPosition(vNode.parent))}));function _getIntersectionRect(rect1,rect2){var leftX=Math.max(rect1.left,rect2.left),rightX=Math.min(rect1.right,rect2.right),topY=Math.max(rect1.top,rect2.top),bottomY=Math.min(rect1.bottom,rect2.bottom);return leftX>=rightX||topY>=bottomY?null:new window.DOMRect(leftX,topY,rightX-leftX,bottomY-topY)}var get_modal_dialog_default=memoize_default((function getModalDialogMemoized(){var _dialogs$find;if(!axe._tree)return null;var dialogs=query_selector_all_filter_default(axe._tree[0],"dialog[open]",(function(vNode){var rect=vNode.boundingClientRect;return document.elementsFromPoint(rect.left+1,rect.top+1).includes(vNode.actualNode)&&_isVisibleOnScreen(vNode)}));if(!dialogs.length)return null;var modalDialog=dialogs.find((function(dialog){var rect=dialog.boundingClientRect;return document.elementsFromPoint(rect.left-10,rect.top-10).includes(dialog.actualNode)}));return modalDialog||(null!==(_dialogs$find=dialogs.find((function(dialog){var _getNodeFromGrid,_ref18=null!==(_getNodeFromGrid=function getNodeFromGrid(dialog){_createGrid();var grid=axe._tree[0]._grid,viewRect=new window.DOMRect(0,0,window.innerWidth,window.innerHeight);if(!grid)return;for(var row=0;row1&&void 0!==arguments[1]?arguments[1]:{},skipAncestors=_ref19.skipAncestors,isAncestor=_ref19.isAncestor;return skipAncestors?isInertSelf(vNode,isAncestor):isInertAncestors(vNode,isAncestor)}var isInertSelf=memoize_default((function isInertSelfMemoized(vNode,isAncestor){if(vNode.hasAttr("inert"))return!0;if(!isAncestor&&vNode.actualNode){var modalDialog=get_modal_dialog_default();if(modalDialog&&!_contains(modalDialog,vNode))return!0}return!1})),isInertAncestors=memoize_default((function isInertAncestorsMemoized(vNode,isAncestor){return!!isInertSelf(vNode,isAncestor)||!!vNode.parent&&isInertAncestors(vNode.parent,!0)})),allowedDisabledNodeNames=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];var focus_disabled_default=function focusDisabled(el){var vNode=_nodeLookup(el).vNode;if(function isDisabledAttrAllowed(nodeName2){return allowedDisabledNodeNames.includes(nodeName2)}(vNode.props.nodeName)&&vNode.hasAttr("disabled")||_isInert(vNode))return!0;for(var parentNode=vNode.parent,ancestors=[],fieldsetDisabled=!1;parentNode&&parentNode.shadowId===vNode.shadowId&&!fieldsetDisabled&&(ancestors.push(parentNode),"legend"!==parentNode.props.nodeName);){if(void 0!==parentNode._inDisabledFieldset){fieldsetDisabled=parentNode._inDisabledFieldset;break}"fieldset"===parentNode.props.nodeName&&parentNode.hasAttr("disabled")&&(fieldsetDisabled=!0),parentNode=parentNode.parent}return ancestors.forEach((function(ancestor){return ancestor._inDisabledFieldset=fieldsetDisabled})),!!fieldsetDisabled||"area"!==vNode.props.nodeName&&(!!vNode.actualNode&&_isHiddenForEveryone(vNode))},angularSkipLinkRegex=/^\/\#/,angularRouterLinkRegex=/^#[!/]/;function _isCurrentPageLink(anchor){var _window$location,href=anchor.getAttribute("href");if(!href||"#"===href)return!1;if(angularSkipLinkRegex.test(href))return!0;var hash=anchor.hash,protocol=anchor.protocol,hostname=anchor.hostname,port=anchor.port,pathname=anchor.pathname;if(angularRouterLinkRegex.test(hash))return!1;if("#"===href.charAt(0))return!0;if("string"!=typeof(null===(_window$location=window.location)||void 0===_window$location?void 0:_window$location.origin)||-1===window.location.origin.indexOf("://"))return null;var url,currentPageUrl=window.location.origin+window.location.pathname;return url=hostname?"".concat(protocol,"//").concat(hostname).concat(port?":".concat(port):""):window.location.origin,(url+=pathname?("/"!==pathname[0]?"/":"")+pathname:window.location.pathname)===currentPageUrl}var get_element_by_reference_default=function getElementByReference(node,attr){var fragment=node.getAttribute(attr);if(!fragment)return null;if("href"===attr&&!_isCurrentPageLink(node))return null;-1!==fragment.indexOf("#")&&(fragment=decodeURIComponent(fragment.substr(fragment.indexOf("#")+1)));var candidate=document.getElementById(fragment);return candidate||((candidate=document.getElementsByName(fragment)).length?candidate[0]:null)};function _visuallySort(a2,b2){_createGrid();for(var length=Math.max(a2._stackingOrder.length,b2._stackingOrder.length),_i7=0;_i7a2._stackingOrder[_i7].value)return 1;if(b2._stackingOrder[_i7].valuerectA[end])farthestPoint[axis]=rectA[start]+rectA[diameter]/2;else{var centerB=rectB[start]+rectB[diameter]/2,startDistance=Math.abs(centerB-rectA[start]),endDistance=Math.abs(centerB-rectA[end]);farthestPoint[axis]=startDistance>=endDistance?rectA[start]:rectA[end]}})),farthestPoint}(rectA,rectB);return function pointDistance(pointA,pointB){var xDistance=Math.abs(pointA.x-pointB.x),yDistance=Math.abs(pointA.y-pointB.y);if(!xDistance||!yDistance)return xDistance||yDistance;return Math.sqrt(Math.pow(xDistance,2)+Math.pow(yDistance,2))}(pointA,function getClosestPoint(_ref22,ownRect,adjacentRect){var x=_ref22.x,y=_ref22.y;if(function pointInRect(_ref23,rect){var x=_ref23.x,y=_ref23.y;return y>=rect.top&&x<=rect.right&&y<=rect.bottom&&x>=rect.left}({x,y},adjacentRect)){var closestPoint=function getCornerInAdjacentRect(_ref24,ownRect,adjacentRect){var closestX,closestY,x=_ref24.x,y=_ref24.y;x===ownRect.left&&ownRect.rightadjacentRect.left&&(closestX=ownRect.left);y===ownRect.top&&ownRect.bottomadjacentRect.top&&(closestY=ownRect.top);if(!closestX&&!closestY)return null;if(!closestY)return{x:closestX,y};if(!closestX)return{x,y:closestY};return Math.abs(x-closestX)=left&&x<=right,yAligned=y>=top&&y<=bottom,closestX=Math.abs(left-x)=rectB.right||rectA.right<=rectB.left||rectA.top>=rectB.bottom||rectA.bottom<=rectB.top)&&_visuallySort(vNodeA,vNodeB)>0}function _splitRects(outerRect,overlapRects){var _step3,uniqueRects=[outerRect],_iterator3=_createForOfIteratorHelper(overlapRects);try{var _loop3=function _loop3(){var overlapRect=_step3.value;uniqueRects=uniqueRects.reduce((function(uniqueRects2,inputRect){return uniqueRects2.concat(function splitRect(inputRect,clipRect){var top=inputRect.top,left=inputRect.left,bottom=inputRect.bottom,right=inputRect.right,yAligned=topclipRect.top,xAligned=leftclipRect.left,rects=[];between(clipRect.top,top,bottom)&&xAligned&&rects.push({top,left,bottom:clipRect.top,right});between(clipRect.right,left,right)&&yAligned&&rects.push({top,left:clipRect.right,bottom,right});between(clipRect.bottom,top,bottom)&&xAligned&&rects.push({top:clipRect.bottom,right,bottom,left});between(clipRect.left,left,right)&&yAligned&&rects.push({top,left,bottom,right:clipRect.left});0===rects.length&&rects.push(inputRect);return rects.map(computeRect)}(inputRect,overlapRect))}),[])};for(_iterator3.s();!(_step3=_iterator3.n()).done;)_loop3()}catch(err){_iterator3.e(err)}finally{_iterator3.f()}return uniqueRects}__export(math_exports,{getBoundingRect:function getBoundingRect(){return _getBoundingRect},getIntersectionRect:function getIntersectionRect(){return _getIntersectionRect},getOffset:function getOffset(){return _getOffset},getRectCenter:function getRectCenter(){return _getRectCenter},hasVisualOverlap:function hasVisualOverlap(){return _hasVisualOverlap},isPointInRect:function isPointInRect(){return _isPointInRect},rectsOverlap:function rectsOverlap(){return _rectsOverlap},splitRects:function splitRects(){return _splitRects}});var between=function between(num,min,max2){return num>min&&num2&&void 0!==arguments[2]&&arguments[2],center=_getRectCenter(rect),gridCell=grid.getCellFromPoint(center)||[],floorX=Math.floor(center.x),floorY=Math.floor(center.y),stack=gridCell.filter((function(gridCellNode){return gridCellNode.clientRects.some((function(clientRect){var rectX=clientRect.left,rectY=clientRect.top;return floorX=Math.floor(rectX)&&floorY=Math.floor(rectY)}))})),gridContainer=grid.container;return gridContainer&&(stack=getRectStack(gridContainer._grid,gridContainer.boundingClientRect,!0).concat(stack)),recursed||(stack=stack.sort(_visuallySort).map((function(vNode){return vNode.actualNode})).concat(document.documentElement).filter((function(node,index,array){return array.indexOf(node)===index}))),stack}var get_element_stack_default=function getElementStack(node){_createGrid();var vNode=get_node_from_tree_default(node),grid=vNode._grid;return grid?getRectStack(grid,vNode.boundingClientRect):[]};var get_tabbable_elements_default=function getTabbableElements(virtualNode){return query_selector_all_default(virtualNode,"*").filter((function(vNode){var isFocusable2=vNode.isFocusable,tabIndex=vNode.actualNode.getAttribute("tabindex");return(tabIndex=tabIndex&&!isNaN(parseInt(tabIndex,10))?parseInt(tabIndex):null)?isFocusable2&&tabIndex>=0:isFocusable2}))},text_exports={};__export(text_exports,{accessibleText:function accessibleText(){return accessible_text_default},accessibleTextVirtual:function accessibleTextVirtual(){return accessible_text_virtual_default},autocomplete:function autocomplete(){return _autocomplete},formControlValue:function formControlValue(){return form_control_value_default},formControlValueMethods:function formControlValueMethods(){return _formControlValueMethods},hasUnicode:function hasUnicode(){return has_unicode_default},isHumanInterpretable:function isHumanInterpretable(){return is_human_interpretable_default},isIconLigature:function isIconLigature(){return is_icon_ligature_default},isValidAutocomplete:function isValidAutocomplete(){return is_valid_autocomplete_default},label:function label(){return label_default},labelText:function labelText(){return label_text_default},labelVirtual:function labelVirtual(){return label_virtual_default2},nativeElementType:function nativeElementType(){return native_element_type_default},nativeTextAlternative:function nativeTextAlternative(){return native_text_alternative_default},nativeTextMethods:function nativeTextMethods(){return native_text_methods_default},removeUnicode:function removeUnicode(){return remove_unicode_default},sanitize:function sanitize(){return sanitize_default},subtreeText:function subtreeText(){return subtree_text_default},titleText:function titleText(){return title_text_default},unsupported:function unsupported(){return unsupported_default},visible:function visible(){return visible_default},visibleTextNodes:function visibleTextNodes(){return visible_text_nodes_default},visibleVirtual:function visibleVirtual(){return visible_virtual_default}});var idrefs_default=function idrefs(node,attr){node=node.actualNode||node;try{var doc=get_root_node_default2(node),result=[],attrValue=node.getAttribute(attr);if(attrValue){attrValue=token_list_default(attrValue);for(var index=0;index1&&void 0!==arguments[1]?arguments[1]:{},vNode=_nodeLookup(element).vNode;return 1!==(null==vNode?void 0:vNode.props.nodeType)||1!==vNode.props.nodeType||context.inLabelledByContext||context.inControlContext||!vNode.attr("aria-labelledby")?"":idrefs_default(vNode,"aria-labelledby").filter((function(elm){return elm})).reduce((function(accessibleName,elm){var accessibleNameAdd=accessible_text_default(elm,_extends({inLabelledByContext:!0,startNode:context.startNode||vNode},context));return accessibleName?"".concat(accessibleName," ").concat(accessibleNameAdd):accessibleNameAdd}),"")};function _arialabelText(element){var vNode=_nodeLookup(element).vNode;return 1!==(null==vNode?void 0:vNode.props.nodeType)?"":vNode.attr("aria-label")||""}var aria_attrs_default={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",global:!0},"aria-brailleroledescription":{type:"string",global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string"}},aria_roles_default={alert:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},html_elms_default={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},css_colors_default={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},originals={ariaAttrs:aria_attrs_default,ariaRoles:_extends({},aria_roles_default,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:html_elms_default,cssColors:css_colors_default},standards=_extends({},originals);var standards_default=standards;var is_unsupported_role_default=function isUnsupportedRole(role){var roleDefinition=standards_default.ariaRoles[role];return!!roleDefinition&&!!roleDefinition.unsupported};var is_valid_role_default=function isValidRole(role){var _ref26=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},allowAbstract=_ref26.allowAbstract,_ref26$flagUnsupporte=_ref26.flagUnsupported,flagUnsupported=void 0!==_ref26$flagUnsupporte&&_ref26$flagUnsupporte,roleDefinition=standards_default.ariaRoles[role],isRoleUnsupported=is_unsupported_role_default(role);return!(!roleDefinition||flagUnsupported&&isRoleUnsupported)&&(!!allowAbstract||"abstract"!==roleDefinition.type)};var get_explicit_role_default=function getExplicitRole(vNode){var _ref27=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},fallback=_ref27.fallback,abstracts=_ref27.abstracts,dpub=_ref27.dpub;if(1!==(vNode=vNode instanceof abstract_virtual_node_default?vNode:get_node_from_tree_default(vNode)).props.nodeType)return null;var roleAttr=(vNode.attr("role")||"").trim().toLowerCase();return(fallback?token_list_default(roleAttr):[roleAttr]).find((function(role){return!(!dpub&&"doc-"===role.substr(0,4))&&is_valid_role_default(role,{allowAbstract:abstracts})}))||null};var get_elements_by_content_type_default=function getElementsByContentType(type2){return Object.keys(standards_default.htmlElms).filter((function(nodeName2){var elm=standards_default.htmlElms[nodeName2];return elm.contentTypes?elm.contentTypes.includes(type2):!!elm.variant&&(!(!elm.variant.default||!elm.variant.default.contentTypes)&&elm.variant.default.contentTypes.includes(type2))}))};var get_global_aria_attrs_default=function getGlobalAriaAttrs(){return cache_default.get("globalAriaAttrs",(function(){return Object.keys(standards_default.ariaAttrs).filter((function(attrName){return standards_default.ariaAttrs[attrName].global}))}))};var to_grid_default=memoize_default((function toGrid(node){for(var table=[],rows=node.rows,i=0,rowLength=rows.length;i1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function td(vNode){var table=closest_default(vNode,"table"),role=get_explicit_role_default(table);return["grid","treegrid"].includes(role)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function th(vNode){return is_column_header_default(vNode)?"columnheader":is_row_header_default(vNode)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"};var from_primative_default=function fromPrimative(someString,matcher){var matcherType=_typeof(matcher);if(Array.isArray(matcher)&&void 0!==someString)return matcher.includes(someString);if("function"===matcherType)return!!matcher(someString);if(null!=someString){if(matcher instanceof RegExp)return matcher.test(someString);if(/^\/.*\/$/.test(matcher)){var pattern=matcher.substring(1,matcher.length-1);return new RegExp(pattern).test(someString)}}return matcher===someString};var has_accessible_name_default=function hasAccessibleName2(vNode,matcher){return from_primative_default(!!accessible_text_virtual_default(vNode),matcher)};var from_function_default=function fromFunction(getValue,matcher){if("object"!==_typeof(matcher)||Array.isArray(matcher)||matcher instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(matcher).every((function(propName){return from_primative_default(getValue(propName),matcher[propName])}))};var attributes_default=function attributes(vNode,matcher){return vNode=_nodeLookup(vNode).vNode,from_function_default((function(attrName){return vNode.attr(attrName)}),matcher)};var condition_default=function condition(arg,condition2){return!!condition2(arg)};var explicit_role_default=function explicitRole(vNode,matcher){return from_primative_default(get_explicit_role_default(vNode),matcher)};var implicit_role_default2=function implicitRole(vNode,matcher){return from_primative_default(implicit_role_default(vNode),matcher)};var node_name_default=function nodeName(vNode,matcher){return vNode=_nodeLookup(vNode).vNode,from_primative_default(vNode.props.nodeName,matcher)};var properties_default=function properties(vNode,matcher){return vNode=_nodeLookup(vNode).vNode,from_function_default((function(propName){return vNode.props[propName]}),matcher)};var semantic_role_default=function semanticRole(vNode,matcher){return from_primative_default(get_role_default(vNode),matcher)},matchers={hasAccessibleName:has_accessible_name_default,attributes:attributes_default,condition:condition_default,explicitRole:explicit_role_default,implicitRole:implicit_role_default2,nodeName:node_name_default,properties:properties_default,semanticRole:semantic_role_default};var from_definition_default=function fromDefinition(vNode,definition){return vNode=_nodeLookup(vNode).vNode,Array.isArray(definition)?definition.some((function(definitionItem){return fromDefinition(vNode,definitionItem)})):"string"==typeof definition?matches_default(vNode,definition):Object.keys(definition).every((function(matcherName){if(!matchers[matcherName])throw new Error('Unknown matcher type "'.concat(matcherName,'"'));var matchMethod=matchers[matcherName],matcher=definition[matcherName];return matchMethod(vNode,matcher)}))};var matches_default2=function matches2(vNode,definition){return from_definition_default(vNode,definition)};matches_default2.hasAccessibleName=has_accessible_name_default,matches_default2.attributes=attributes_default,matches_default2.condition=condition_default,matches_default2.explicitRole=explicit_role_default,matches_default2.fromDefinition=from_definition_default,matches_default2.fromFunction=from_function_default,matches_default2.fromPrimative=from_primative_default,matches_default2.implicitRole=implicit_role_default2,matches_default2.nodeName=node_name_default,matches_default2.properties=properties_default,matches_default2.semanticRole=semantic_role_default;var matches_default3=matches_default2;var get_element_spec_default=function getElementSpec(vNode){var _ref28$noMatchAccessi=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,noMatchAccessibleName=void 0!==_ref28$noMatchAccessi&&_ref28$noMatchAccessi,standard=standards_default.htmlElms[vNode.props.nodeName];if(!standard)return{};if(!standard.variant)return standard;var variant=standard.variant,spec=_objectWithoutProperties(standard,_excluded2);for(var variantName in variant)if(variant.hasOwnProperty(variantName)&&"default"!==variantName){for(var _variant$variantName=variant[variantName],matches4=_variant$variantName.matches,props=_objectWithoutProperties(_variant$variantName,_excluded3),matchProperties=Array.isArray(matches4)?matches4:[matches4],_i8=0;_i81&&void 0!==arguments[1]?arguments[1]:{}).chromium,vNode=node instanceof abstract_virtual_node_default?node:get_node_from_tree_default(node);if(node=vNode.actualNode,!vNode)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var nodeName2=vNode.props.nodeName,role=implicit_html_roles_default[nodeName2];return!role&&chromium?get_element_spec_default(vNode).chromiumRole||null:"function"==typeof role?role(vNode):role||null},inheritsPresentationChain={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function getInheritedRole(vNode,explicitRoleOptions){var parentNodeNames=inheritsPresentationChain[vNode.props.nodeName];if(!parentNodeNames)return null;if(!vNode.parent){if(!vNode.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!parentNodeNames.includes(vNode.parent.props.nodeName))return null;var parentRole=get_explicit_role_default(vNode.parent,explicitRoleOptions);return["none","presentation"].includes(parentRole)&&!hasConflictResolution(vNode.parent)?parentRole:parentRole?null:getInheritedRole(vNode.parent,explicitRoleOptions)}function resolveImplicitRole(vNode,_ref30){var chromium=_ref30.chromium,explicitRoleOptions=_objectWithoutProperties(_ref30,_excluded4),implicitRole3=implicit_role_default(vNode,{chromium});if(!implicitRole3)return null;var presentationalRole=getInheritedRole(vNode,explicitRoleOptions);return presentationalRole||implicitRole3}function hasConflictResolution(vNode){return get_global_aria_attrs_default().some((function(attr){return vNode.hasAttr(attr)}))||_isFocusable(vNode)}var get_role_default=function getRole(node){var _ref32=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},noPresentational=_ref32.noPresentational,role=function resolveRole(node){var _ref31=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},noImplicit=_ref31.noImplicit,roleOptions=_objectWithoutProperties(_ref31,_excluded5),vNode=_nodeLookup(node).vNode;if(1!==vNode.props.nodeType)return null;var explicitRole2=get_explicit_role_default(vNode,roleOptions);return explicitRole2?["presentation","none"].includes(explicitRole2)&&hasConflictResolution(vNode)?noImplicit?null:resolveImplicitRole(vNode,roleOptions):explicitRole2:noImplicit?null:resolveImplicitRole(vNode,roleOptions)}(node,_objectWithoutProperties(_ref32,_excluded6));return noPresentational&&["presentation","none"].includes(role)?null:role},alwaysTitleElements=["iframe"];var title_text_default=function titleText(node){var vNode=_nodeLookup(node).vNode;return 1===vNode.props.nodeType&&node.hasAttr("title")?!matches_default2(vNode,alwaysTitleElements)&&["none","presentation"].includes(get_role_default(vNode))?"":vNode.attr("title"):""};var named_from_contents_default=function namedFromContents(vNode){var strict=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(vNode=vNode instanceof abstract_virtual_node_default?vNode:get_node_from_tree_default(vNode)).props.nodeType)return!1;var role=get_role_default(vNode),roleDef=standards_default.ariaRoles[role];return!(!roleDef||!roleDef.nameFromContent)||!strict&&(!roleDef||["presentation","none"].includes(role))};var get_owned_virtual_default=function getOwnedVirtual(virtualNode){var actualNode=virtualNode.actualNode,children=virtualNode.children;if(!children)throw new Error("getOwnedVirtual requires a virtual node");if(virtualNode.hasAttr("aria-owns")){var owns=idrefs_default(actualNode,"aria-owns").filter((function(element){return!!element})).map((function(element){return axe.utils.getNodeFromTree(element)}));return[].concat(_toConsumableArray(children),_toConsumableArray(owns))}return _toConsumableArray(children)};var phrasingElements=get_elements_by_content_type_default("phrasing").concat(["#text"]);var subtree_text_default=function subtreeText(virtualNode){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},alreadyProcessed2=accessible_text_virtual_default.alreadyProcessed;context.startNode=context.startNode||virtualNode;var _context=context,strict=_context.strict,inControlContext=_context.inControlContext,inLabelledByContext=_context.inLabelledByContext,contentTypes=get_element_spec_default(virtualNode,{noMatchAccessibleName:!0}).contentTypes;return alreadyProcessed2(virtualNode,context)||1!==virtualNode.props.nodeType||null!=contentTypes&&contentTypes.includes("embedded")?"":named_from_contents_default(virtualNode,{strict})||context.subtreeDescendant?(strict||(context=_extends({subtreeDescendant:!inControlContext&&!inLabelledByContext},context)),get_owned_virtual_default(virtualNode).reduce((function(contentText,child){return function appendAccessibleText(contentText,virtualNode,context){var nodeName2=virtualNode.props.nodeName,contentTextAdd=accessible_text_virtual_default(virtualNode,context);if(!contentTextAdd)return contentText;phrasingElements.includes(nodeName2)||(" "!==contentTextAdd[0]&&(contentTextAdd+=" "),contentText&&" "!==contentText[contentText.length-1]&&(contentTextAdd=" "+contentTextAdd));return contentText+contentTextAdd}(contentText,child,context)}),"")):""};var label_text_default=function labelText(virtualNode){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},alreadyProcessed2=accessible_text_virtual_default.alreadyProcessed;if(context.inControlContext||context.inLabelledByContext||alreadyProcessed2(virtualNode,context))return"";context.startNode||(context.startNode=virtualNode);var labels,labelContext=_extends({inControlContext:!0},context),explicitLabels=function getExplicitLabels(virtualNode){if(!virtualNode.attr("id"))return[];if(!virtualNode.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return find_elms_in_context_default({elm:"label",attr:"for",value:virtualNode.attr("id"),context:virtualNode.actualNode})}(virtualNode),implicitLabel=closest_default(virtualNode,"label");return implicitLabel?(labels=[].concat(_toConsumableArray(explicitLabels),[implicitLabel.actualNode])).sort(node_sorter_default):labels=explicitLabels,labels.map((function(label3){return accessible_text_default(label3,labelContext)})).filter((function(text){return""!==text})).join(" ")},defaultButtonValues={submit:"Submit",image:"Submit",reset:"Reset",button:""};function attrText(attr,vNode){return vNode.attr(attr)||""}function descendantText(nodeName2,_ref36,context){var actualNode=_ref36.actualNode,nodeNames2=[nodeName2=nodeName2.toLowerCase(),actualNode.nodeName.toLowerCase()].join(","),candidate=actualNode.querySelector(nodeNames2);return candidate&&candidate.nodeName.toLowerCase()===nodeName2?accessible_text_default(candidate,context):""}var native_text_methods_default={valueText:function valueText(_ref34){return _ref34.actualNode.value||""},buttonDefaultText:function buttonDefaultText(_ref35){var actualNode=_ref35.actualNode;return defaultButtonValues[actualNode.type]||""},tableCaptionText:descendantText.bind(null,"caption"),figureText:descendantText.bind(null,"figcaption"),svgTitleText:descendantText.bind(null,"title"),fieldsetLegendText:descendantText.bind(null,"legend"),altText:attrText.bind(null,"alt"),tableSummaryText:attrText.bind(null,"summary"),titleText:title_text_default,subtreeText:subtree_text_default,labelText:label_text_default,singleSpace:function singleSpace(){return" "},placeholderText:attrText.bind(null,"placeholder")};var native_text_alternative_default=function nativeTextAlternative(virtualNode){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},actualNode=virtualNode.actualNode;if(1!==virtualNode.props.nodeType||["presentation","none"].includes(get_role_default(virtualNode)))return"";var accName=function findTextMethods(virtualNode){var elmSpec=get_element_spec_default(virtualNode,{noMatchAccessibleName:!0});return(elmSpec.namingMethods||[]).map((function(methodName){return native_text_methods_default[methodName]}))}(virtualNode).reduce((function(accName2,step){return accName2||step(virtualNode,context)}),"");return context.debug&&axe.log(accName||"{empty-value}",actualNode,context),accName},unsupported_default={accessibleNameFromFieldValue:["combobox","listbox","progressbar"]};function _isVisibleToScreenReaders(vNode){return vNode=_nodeLookup(vNode).vNode,isVisibleToScreenReadersVirtual(vNode)}var isVisibleToScreenReadersVirtual=memoize_default((function isVisibleToScreenReadersMemoized(vNode,isAncestor){return!ariaHidden(vNode)&&!_isInert(vNode,{skipAncestors:!0,isAncestor})&&(vNode.actualNode&&"area"===vNode.props.nodeName?!areaHidden(vNode,isVisibleToScreenReadersVirtual):!_isHiddenForEveryone(vNode,{skipAncestors:!0,isAncestor})&&(!vNode.parent||isVisibleToScreenReadersVirtual(vNode.parent,!0)))}));var visible_virtual_default=function visibleVirtual(element,screenReader,noRecursing){var vNode=_nodeLookup(element).vNode,visibleMethod=screenReader?_isVisibleToScreenReaders:_isVisibleOnScreen,visible2=!element.actualNode||element.actualNode&&visibleMethod(element),result=vNode.children.map((function(child){var _child$props=child.props,nodeType=_child$props.nodeType,nodeValue=_child$props.nodeValue;if(3===nodeType){if(nodeValue&&visible2)return nodeValue}else if(!noRecursing)return visibleVirtual(child,screenReader)})).join("");return sanitize_default(result)},nonTextInputTypes=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];var is_native_textbox_default=function isNativeTextbox(node){var nodeName2=(node=node instanceof abstract_virtual_node_default?node:get_node_from_tree_default(node)).props.nodeName;return"textarea"===nodeName2||"input"===nodeName2&&!nonTextInputTypes.includes((node.attr("type")||"").toLowerCase())};var is_native_select_default=function isNativeSelect(node){return"select"===(node=node instanceof abstract_virtual_node_default?node:get_node_from_tree_default(node)).props.nodeName};var is_aria_textbox_default=function isAriaTextbox(node){return"textbox"===get_explicit_role_default(node)};var is_aria_listbox_default=function isAriaListbox(node){return"listbox"===get_explicit_role_default(node)};var is_aria_combobox_default=function isAriaCombobox(node){return"combobox"===get_explicit_role_default(node)},rangeRoles=["progressbar","scrollbar","slider","spinbutton"];var is_aria_range_default=function isAriaRange(node){var role=get_explicit_role_default(node);return rangeRoles.includes(role)},controlValueRoles=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],_formControlValueMethods={nativeTextboxValue:function nativeTextboxValue(node){var vNode=_nodeLookup(node).vNode;if(is_native_textbox_default(vNode))return vNode.props.value||"";return""},nativeSelectValue:function nativeSelectValue(node){var vNode=_nodeLookup(node).vNode;if(!is_native_select_default(vNode))return"";var options=query_selector_all_default(vNode,"option"),selectedOptions=options.filter((function(option){return option.props.selected}));selectedOptions.length||selectedOptions.push(options[0]);return selectedOptions.map((function(option){return visible_virtual_default(option)})).join(" ")||""},ariaTextboxValue:function ariaTextboxValue(node){var _nodeLookup14=_nodeLookup(node),vNode=_nodeLookup14.vNode,domNode=_nodeLookup14.domNode;if(!is_aria_textbox_default(vNode))return"";return!domNode||domNode&&!_isHiddenForEveryone(domNode)?visible_virtual_default(vNode,!0):domNode.textContent},ariaListboxValue,ariaComboboxValue:function ariaComboboxValue(node,context){var vNode=_nodeLookup(node).vNode;if(!is_aria_combobox_default(vNode))return"";var listbox=get_owned_virtual_default(vNode).filter((function(elm){return"listbox"===get_role_default(elm)}))[0];return listbox?ariaListboxValue(listbox,context):""},ariaRangeValue:function ariaRangeValue(node){var vNode=_nodeLookup(node).vNode;if(!is_aria_range_default(vNode)||!vNode.hasAttr("aria-valuenow"))return"";var valueNow=+vNode.attr("aria-valuenow");return isNaN(valueNow)?"0":String(valueNow)}};function ariaListboxValue(node,context){var vNode=_nodeLookup(node).vNode;if(!is_aria_listbox_default(vNode))return"";var selected=get_owned_virtual_default(vNode).filter((function(owned){return"option"===get_role_default(owned)&&"true"===owned.attr("aria-selected")}));return 0===selected.length?"":accessible_text_virtual_default(selected[0],context)}var form_control_value_default=function formControlValue(virtualNode){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},actualNode=virtualNode.actualNode,unsupportedRoles=unsupported_default.accessibleNameFromFieldValue||[],role=get_role_default(virtualNode);if(context.startNode===virtualNode||!controlValueRoles.includes(role)||unsupportedRoles.includes(role))return"";var valueString=Object.keys(_formControlValueMethods).map((function(name){return _formControlValueMethods[name]})).reduce((function(accName,step){return accName||step(virtualNode,context)}),"");return context.debug&&log_default(valueString||"{empty-value}",actualNode,context),valueString};var emoji_regex_default=function emoji_regex_default(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g};var has_unicode_default=function hasUnicode(str,options){var emoji=options.emoji,nonBmp=options.nonBmp,punctuations=options.punctuations;return emoji?/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g.test(str):nonBmp?/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(str)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(str):!!punctuations&&/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(str)};var is_icon_ligature_default=function isIconLigature(textVNode){var differenceThreshold=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,occurrenceThreshold=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,nodeValue=textVNode.actualNode.nodeValue.trim();if(!sanitize_default(nodeValue)||has_unicode_default(nodeValue,{emoji:!0,nonBmp:!0}))return!1;var canvasContext=cache_default.get("canvasContext",(function(){return document.createElement("canvas").getContext("2d",{willReadFrequently:!0})})),canvas=canvasContext.canvas;cache_default.get("fonts")||cache_default.set("fonts",{});var fonts=cache_default.get("fonts"),fontFamily=window.getComputedStyle(textVNode.parent.actualNode).getPropertyValue("font-family");fonts[fontFamily]||(fonts[fontFamily]={occurrences:0,numLigatures:0});var font=fonts[fontFamily];if(font.occurrences>=occurrenceThreshold){if(font.numLigatures/font.occurrences==1)return!0;if(0===font.numLigatures)return!1}font.occurrences++;var fontSize=30,fontStyle="".concat(fontSize,"px ").concat(fontFamily);canvasContext.font=fontStyle;var firstChar=nodeValue.charAt(0),width=canvasContext.measureText(firstChar).width;if(width<30){var diff=30/width;width*=diff,fontStyle="".concat(fontSize*=diff,"px ").concat(fontFamily)}canvas.width=width,canvas.height=fontSize,canvasContext.font=fontStyle,canvasContext.textAlign="left",canvasContext.textBaseline="top",canvasContext.fillText(firstChar,0,0);var compareData=new Uint32Array(canvasContext.getImageData(0,0,width,fontSize).data.buffer);if(!compareData.some((function(pixel){return pixel})))return font.numLigatures++,!0;canvasContext.clearRect(0,0,width,fontSize),canvasContext.fillText(nodeValue,0,0);var compareWith=new Uint32Array(canvasContext.getImageData(0,0,width,fontSize).data.buffer),differences=compareData.reduce((function(diff,pixel,i){return 0===pixel&&0===compareWith[i]||0!==pixel&&0!==compareWith[i]?diff:++diff}),0),expectedWidth=nodeValue.split("").reduce((function(width2,_char2){return width2+canvasContext.measureText(_char2).width}),0),actualWidth=canvasContext.measureText(nodeValue).width;return differences/compareData.length>=differenceThreshold&&1-actualWidth/expectedWidth>=differenceThreshold&&(font.numLigatures++,!0)};function accessibleTextVirtual(virtualNode){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(context=function prepareContext(virtualNode,context){context.startNode||(context=_extends({startNode:virtualNode},context));1===virtualNode.props.nodeType&&context.inLabelledByContext&&void 0===context.includeHidden&&(context=_extends({includeHidden:!_isVisibleToScreenReaders(virtualNode)},context));return context}(virtualNode,context),function shouldIgnoreHidden(virtualNode,context){if(!virtualNode)return!1;if(1!==virtualNode.props.nodeType||context.includeHidden)return!1;return!_isVisibleToScreenReaders(virtualNode)}(virtualNode,context))return"";if(function shouldIgnoreIconLigature(virtualNode,context){var _context$occurrenceTh,ignoreIconLigature=context.ignoreIconLigature,pixelThreshold=context.pixelThreshold,occurrenceThreshold=null!==(_context$occurrenceTh=context.occurrenceThreshold)&&void 0!==_context$occurrenceTh?_context$occurrenceTh:context.occuranceThreshold;if(3!==virtualNode.props.nodeType||!ignoreIconLigature)return!1;return is_icon_ligature_default(virtualNode,pixelThreshold,occurrenceThreshold)}(virtualNode,context))return"";var accName=[arialabelledby_text_default,_arialabelText,native_text_alternative_default,form_control_value_default,subtree_text_default,textNodeValue,title_text_default].reduce((function(accName2,step){return context.startNode===virtualNode&&(accName2=sanitize_default(accName2)),""!==accName2?accName2:step(virtualNode,context)}),"");return context.debug&&axe.log(accName||"{empty-value}",virtualNode.actualNode,context),accName}function textNodeValue(virtualNode){return 3!==virtualNode.props.nodeType?"":virtualNode.props.nodeValue}accessibleTextVirtual.alreadyProcessed=function alreadyProcessed(virtualnode,context){return context.processed=context.processed||[],!!context.processed.includes(virtualnode)||(context.processed.push(virtualnode),!1)};var accessible_text_virtual_default=accessibleTextVirtual;var remove_unicode_default=function removeUnicode(str,options){var emoji=options.emoji,nonBmp=options.nonBmp,punctuations=options.punctuations;return emoji&&(str=str.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"")),nonBmp&&(str=(str=str.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"")).replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"")),punctuations&&(str=str.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),str};var is_human_interpretable_default=function isHumanInterpretable(str){if(!str.length)return 0;if(["x","i"].includes(str))return 0;var noUnicodeStr=remove_unicode_default(str,{emoji:!0,nonBmp:!0,punctuations:!0});return sanitize_default(noUnicodeStr)?1:0},_autocomplete={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};var is_valid_autocomplete_default=function isValidAutocomplete(autocompleteValue){var _ref37=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref37$looseTyped=_ref37.looseTyped,looseTyped=void 0!==_ref37$looseTyped&&_ref37$looseTyped,_ref37$stateTerms=_ref37.stateTerms,stateTerms=void 0===_ref37$stateTerms?[]:_ref37$stateTerms,_ref37$locations=_ref37.locations,locations=void 0===_ref37$locations?[]:_ref37$locations,_ref37$qualifiers=_ref37.qualifiers,qualifiers=void 0===_ref37$qualifiers?[]:_ref37$qualifiers,_ref37$standaloneTerm=_ref37.standaloneTerms,standaloneTerms=void 0===_ref37$standaloneTerm?[]:_ref37$standaloneTerm,_ref37$qualifiedTerms=_ref37.qualifiedTerms,qualifiedTerms=void 0===_ref37$qualifiedTerms?[]:_ref37$qualifiedTerms;if(autocompleteValue=autocompleteValue.toLowerCase().trim(),(stateTerms=stateTerms.concat(_autocomplete.stateTerms)).includes(autocompleteValue)||""===autocompleteValue)return!0;qualifiers=qualifiers.concat(_autocomplete.qualifiers),locations=locations.concat(_autocomplete.locations),standaloneTerms=standaloneTerms.concat(_autocomplete.standaloneTerms),qualifiedTerms=qualifiedTerms.concat(_autocomplete.qualifiedTerms);var autocompleteTerms=autocompleteValue.split(/\s+/g);if("webauthn"===autocompleteTerms[autocompleteTerms.length-1]&&(autocompleteTerms.pop(),0===autocompleteTerms.length))return!1;if(!looseTyped&&(autocompleteTerms[0].length>8&&"section-"===autocompleteTerms[0].substr(0,8)&&autocompleteTerms.shift(),locations.includes(autocompleteTerms[0])&&autocompleteTerms.shift(),qualifiers.includes(autocompleteTerms[0])&&(autocompleteTerms.shift(),standaloneTerms=[]),1!==autocompleteTerms.length))return!1;var purposeTerm=autocompleteTerms[autocompleteTerms.length-1];return standaloneTerms.includes(purposeTerm)||qualifiedTerms.includes(purposeTerm)};var label_virtual_default=function labelVirtual(virtualNode){var candidate;return virtualNode.attr("aria-labelledby")&&(candidate=idrefs_default(virtualNode.actualNode,"aria-labelledby").map((function(thing){var vNode=get_node_from_tree_default(thing);return vNode?visible_virtual_default(vNode):""})).join(" ").trim())||(candidate=virtualNode.attr("aria-label"))&&(candidate=sanitize_default(candidate))?candidate:null};var visible_default=function visible(element,screenReader,noRecursing){return element=get_node_from_tree_default(element),visible_virtual_default(element,screenReader,noRecursing)};var label_virtual_default2=function labelVirtual2(virtualNode){var ref,candidate;if(candidate=label_virtual_default(virtualNode))return candidate;if(virtualNode.attr("id")){if(!virtualNode.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var id=escape_selector_default(virtualNode.attr("id"));if(candidate=(ref=get_root_node_default2(virtualNode.actualNode).querySelector('label[for="'+id+'"]'))&&visible_default(ref,!0))return candidate}return(candidate=(ref=closest_default(virtualNode,"label"))&&visible_virtual_default(ref,!0))||null};var label_default=function label(node){return node=get_node_from_tree_default(node),label_virtual_default2(node)},native_element_type_default=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}];var visible_text_nodes_default=function visibleTextNodes(vNode){var parentVisible=_isVisibleOnScreen(vNode),nodes=[];return vNode.children.forEach((function(child){3===child.actualNode.nodeType?parentVisible&&nodes.push(child):nodes=nodes.concat(visibleTextNodes(child))})),nodes},get_visible_child_text_rects_default=memoize_default((function getVisibleChildTextRectsMemoized(node){var vNode=get_node_from_tree_default(node),nodeRect=vNode.boundingClientRect,clientRects=[],overflowHiddenNodes=get_overflow_hidden_ancestors_default(vNode);return node.childNodes.forEach((function(textNode){if(3===textNode.nodeType&&""!==sanitize_default(textNode.nodeValue)){var contentRects=function getContentRects(node){var range2=document.createRange();return range2.selectNodeContents(node),Array.from(range2.getClientRects())}(textNode);(function isOutsideNodeBounds(rects,nodeRect){return rects.some((function(rect){return!_isPointInRect(_getRectCenter(rect),nodeRect)}))})(contentRects,nodeRect)||clientRects.push.apply(clientRects,_toConsumableArray(function filterHiddenRects(contentRects,overflowHiddenNodes){var visibleRects=[];return contentRects.forEach((function(contentRect){if(!(contentRect.width<1||contentRect.height<1)){var visibleRect=overflowHiddenNodes.reduce((function(rect,overflowNode){return rect&&_getIntersectionRect(rect,overflowNode.boundingClientRect)}),contentRect);visibleRect&&visibleRects.push(visibleRect)}})),visibleRects}(contentRects,overflowHiddenNodes)))}})),clientRects.length?clientRects:[nodeRect]}));var get_text_element_stack_default=function getTextElementStack(node){_createGrid();var grid=get_node_from_tree_default(node)._grid;return grid?get_visible_child_text_rects_default(node).map((function(rect){return getRectStack(grid,rect)})):[]},visualRoles=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];var is_visual_content_default=function isVisualContent(el){var vNode=_nodeLookup(el).vNode,role=axe.commons.aria.getExplicitRole(vNode);if(role)return-1!==visualRoles.indexOf(role);switch(vNode.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return"hidden"!==vNode.props.type;default:return!1}},hiddenTextElms=["head","title","template","script","style","iframe","object","video","audio","noscript"];function hasChildTextNodes(elm){return!hiddenTextElms.includes(elm.props.nodeName)&&elm.children.some((function(_ref38){var props=_ref38.props;return 3===props.nodeType&&props.nodeValue.trim()}))}var has_content_virtual_default=function hasContentVirtual(elm,noRecursion,ignoreAria){return hasChildTextNodes(elm)||is_visual_content_default(elm.actualNode)||!ignoreAria&&!!label_virtual_default(elm)||!noRecursion&&elm.children.some((function(child){return 1===child.actualNode.nodeType&&hasContentVirtual(child)}))};var has_content_default=function hasContent(elm,noRecursion,ignoreAria){return elm=get_node_from_tree_default(elm),has_content_virtual_default(elm,noRecursion,ignoreAria)};function _hasLangText(virtualNode){return!(void 0!==virtualNode.children&&!hasChildTextNodes(virtualNode))||(1===virtualNode.props.nodeType&&is_visual_content_default(virtualNode)?!!axe.commons.text.accessibleTextVirtual(virtualNode):virtualNode.children.some((function(child){return!child.attr("lang")&&_hasLangText(child)&&!_isHiddenForEveryone(child)})))}var inserted_into_focus_order_default=function insertedIntoFocusOrder(el){return parseInt(el.getAttribute("tabindex"),10)>-1&&_isFocusable(el)&&!is_natively_focusable_default(el)};function isHiddenWithCSS(el,descendentVisibilityValue){var _nodeLookup19=_nodeLookup(el),vNode=_nodeLookup19.vNode,domNode=_nodeLookup19.domNode;return vNode?(void 0===vNode._isHiddenWithCSS&&(vNode._isHiddenWithCSS=_isHiddenWithCSS(domNode,descendentVisibilityValue)),vNode._isHiddenWithCSS):_isHiddenWithCSS(domNode,descendentVisibilityValue)}function _isHiddenWithCSS(el,descendentVisibilityValue){if(9===el.nodeType)return!1;if(11===el.nodeType&&(el=el.host),["STYLE","SCRIPT"].includes(el.nodeName.toUpperCase()))return!1;var style=window.getComputedStyle(el,null);if(!style)throw new Error("Style does not exist for the given element.");if("none"===style.getPropertyValue("display"))return!0;var HIDDEN_VISIBILITY_VALUES=["hidden","collapse"],visibilityValue=style.getPropertyValue("visibility");if(HIDDEN_VISIBILITY_VALUES.includes(visibilityValue)&&!descendentVisibilityValue)return!0;if(HIDDEN_VISIBILITY_VALUES.includes(visibilityValue)&&descendentVisibilityValue&&HIDDEN_VISIBILITY_VALUES.includes(descendentVisibilityValue))return!0;var parent=get_composed_parent_default(el);return!(!parent||HIDDEN_VISIBILITY_VALUES.includes(visibilityValue))&&isHiddenWithCSS(parent,visibilityValue)}var is_hidden_with_css_default=isHiddenWithCSS;var is_html5_default=function isHTML5(doc){var node=doc.doctype;return null!==node&&("html"===node.name&&!node.publicId&&!node.systemId)};function _isInTabOrder(el){var vNode=_nodeLookup(el).vNode;return 1===vNode.props.nodeType&&(!(parseInt(vNode.attr("tabindex",10))<=-1)&&_isFocusable(vNode))}var get_role_type_default=function getRoleType(role){var _window3;(role instanceof abstract_virtual_node_default||null!==(_window3=window)&&void 0!==_window3&&_window3.Node&&role instanceof window.Node)&&(role=axe.commons.aria.getRole(role));var roleDef=standards_default.ariaRoles[role];return(null==roleDef?void 0:roleDef.type)||null};function walkDomNode(node,functor){!1!==functor(node.actualNode)&&node.children.forEach((function(child){return walkDomNode(child,functor)}))}var blockLike=["block","list-item","table","flex","grid","inline-block"];function isBlock(elm){var display2=window.getComputedStyle(elm).getPropertyValue("display");return blockLike.includes(display2)||"table-"===display2.substr(0,6)}var is_in_text_block_default=function isInTextBlock(node,options){if(isBlock(node))return!1;var virtualParent=function getBlockParent(node){for(var parentBlock=get_composed_parent_default(node);parentBlock&&!isBlock(parentBlock);)parentBlock=get_composed_parent_default(parentBlock);return get_node_from_tree_default(parentBlock)}(node),parentText="",widgetText="",inBrBlock=0;return walkDomNode(virtualParent,(function(currNode){if(2===inBrBlock)return!1;if(3===currNode.nodeType&&(parentText+=currNode.nodeValue),1===currNode.nodeType){var nodeName2=(currNode.nodeName||"").toUpperCase();if(currNode===node&&(inBrBlock=1),["BR","HR"].includes(nodeName2))0===inBrBlock?(parentText="",widgetText=""):inBrBlock=2;else{if("none"===currNode.style.display||"hidden"===currNode.style.overflow||!["",null,"none"].includes(currNode.style.float)||!["",null,"relative"].includes(currNode.style.position))return!1;if("widget"===get_role_type_default(currNode))return widgetText+=currNode.textContent,!1}}})),parentText=sanitize_default(parentText),null!=options&&options.noLengthCompare?0!==parentText.length:(widgetText=sanitize_default(widgetText),parentText.length>widgetText.length)};var is_modal_open_default=function isModalOpen(options){var modalPercent=(options=options||{}).modalPercent||.75;if(cache_default.get("isModalOpen"))return cache_default.get("isModalOpen");if(query_selector_all_filter_default(axe._tree[0],"dialog, [role=dialog], [aria-modal=true]",_isVisibleOnScreen).length)return cache_default.set("isModalOpen",!0),!0;for(var viewport=get_viewport_size_default(window),percentWidth=viewport.width*modalPercent,percentHeight=viewport.height*modalPercent,x=(viewport.width-percentWidth)/2,y=(viewport.height-percentHeight)/2,stacks=[{x,y},{x:viewport.width-x,y},{x:viewport.width/2,y:viewport.height/2},{x,y:viewport.height-y},{x:viewport.width-x,y:viewport.height-y}].map((function(point){return Array.from(document.elementsFromPoint(point.x,point.y))})),_loop4=function _loop4(_i9){var modalElement=stacks[_i9].find((function(elm){var style=window.getComputedStyle(elm);return parseInt(style.width,10)>=percentWidth&&parseInt(style.height,10)>=percentHeight&&"none"!==style.getPropertyValue("pointer-events")&&("absolute"===style.position||"fixed"===style.position)}));if(modalElement&&stacks.every((function(stack){return stack.includes(modalElement)})))return cache_default.set("isModalOpen",!0),{v:!0}},_i9=0;_i91&&void 0!==arguments[1]?arguments[1]:2,range2=domNode.ownerDocument.createRange();range2.setStart(domNode,0),range2.setEnd(domNode,domNode.childNodes.length);var _step4,lastLineEnd=0,lineCount=0,_iterator4=_createForOfIteratorHelper(range2.getClientRects());try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var rect=_step4.value;if(!(rect.height<=margin))if(lastLineEnd>rect.top+margin)lastLineEnd=Math.max(lastLineEnd,rect.bottom);else{if(0!==lineCount)return!0;lastLineEnd=rect.bottom,lineCount++}}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}return!1}var is_node_default=function isNode(element){return element instanceof window.Node},data={},incompleteData={set:function set(key,reason){if("string"!=typeof key)throw new Error("Incomplete data: key must be a string");return reason&&(data[key]=reason),data[key]},get:function get(key){return data[key]},clear:function clear(){data={}}},incomplete_data_default=incompleteData;var element_has_image_default=function elementHasImage(elm,style){var nodeName2=elm.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(nodeName2))return incomplete_data_default.set("bgColor","imgNode"),!0;var bgImageStyle=(style=style||window.getComputedStyle(elm)).getPropertyValue("background-image"),hasBgImage="none"!==bgImageStyle;if(hasBgImage){var hasGradient=/gradient/.test(bgImageStyle);incomplete_data_default.set("bgColor",hasGradient?"bgGradient":"bgImage")}return hasBgImage},imports_exports={};__export(imports_exports,{Colorjs:function Colorjs(){return Color},CssSelectorParser:function CssSelectorParser(){return import_css_selector_parser2.CssSelectorParser},doT:function doT(){return import_dot.default},emojiRegexText:function emojiRegexText(){return emoji_regex_default},memoize:function memoize(){return import_memoizee2.default}});var import_css_selector_parser2=__toModule(require_lib()),import_dot=__toModule(require_doT()),import_memoizee2=__toModule(require_memoizee());function multiplyMatrices(A,B){var m3=A.length;Array.isArray(A[0])||(A=[A]),Array.isArray(B[0])||(B=B.map((function(x){return[x]})));var p2=B[0].length,B_cols=B[0].map((function(_,i){return B.map((function(x){return x[i]}))})),product=A.map((function(row){return B_cols.map((function(col){var ret=0;if(!Array.isArray(row)){var _step5,_iterator5=_createForOfIteratorHelper(col);try{for(_iterator5.s();!(_step5=_iterator5.n()).done;){var c4=_step5.value;ret+=row*c4}}catch(err){_iterator5.e(err)}finally{_iterator5.f()}return ret}for(var _i10=0;_i10integerLength)return+n2.toFixed(precision-integerLength);var p10=Math.pow(10,integerLength-precision);return Math.round(n2/p10)*p10}function parseFunction(str){if(str){str=str.trim();var isNumberRegex=/^-?[\d.]+$/,parts=str.match(/^([a-z]+)\((.+?)\)$/i);if(parts){var args=[];return parts[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(function($0,arg){/%$/.test(arg)?(arg=new Number(arg.slice(0,-1)/100)).type="":/deg$/.test(arg)?((arg=new Number(+arg.slice(0,-3))).type="",arg.unit="deg"):isNumberRegex.test(arg)&&((arg=new Number(arg)).type=""),$0.startsWith("/")&&((arg=arg instanceof Number?arg:new Number(arg)).alpha=!0),args.push(arg)})),{name:parts[1].toLowerCase(),rawName:parts[1],rawArgs:parts[2],args}}}}function last(arr){return arr[arr.length-1]}function interpolate(start,end,p2){return isNaN(start)?end:isNaN(end)?start:start+(end-start)*p2}function interpolateInv(start,end,value){return(value-start)/(end-start)}function mapRange(from,to2,value){return interpolate(to2[0],to2[1],interpolateInv(from[0],from[1],value))}function parseCoordGrammar(coordGrammars){return coordGrammars.map((function(coordGrammar2){return coordGrammar2.split("|").map((function(type2){var range2=(type2=type2.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(range2){var ret=new String(range2[1]);return ret.range=[+range2[2],+range2[3]],ret}return type2}))}))}var util=Object.freeze({__proto__:null,isString,type,toPrecision,parseFunction,last,interpolate,interpolateInv,mapRange,parseCoordGrammar,multiplyMatrices}),Hooks=function(){function Hooks(){_classCallCheck(this,Hooks)}return _createClass(Hooks,[{key:"add",value:function add(name,callback,first){if("string"==typeof arguments[0])(Array.isArray(name)?name:[name]).forEach((function(name2){this[name2]=this[name2]||[],callback&&this[name2][first?"unshift":"push"](callback)}),this);else for(var name in arguments[0])this.add(name,arguments[0][name],arguments[1])}},{key:"run",value:function run(name,env){this[name]=this[name]||[],this[name].forEach((function(callback){callback.call(env&&env.context?env.context:env,env)}))}}]),Hooks}(),hooks=new Hooks,defaults={gamut_mapping:"lch.c",precision:5,deltaE:"76"},WHITES={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function getWhite(name){return Array.isArray(name)?name:WHITES[name]}function adapt$1(W1,W2,XYZ){var options=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(W1=getWhite(W1),W2=getWhite(W2),!W1||!W2)throw new TypeError("Missing white point to convert ".concat(W1?"":"from").concat(W1||W2?"":"/").concat(W2?"":"to"));if(W1===W2)return XYZ;var env={W1,W2,XYZ,options};if(hooks.run("chromatic-adaptation-start",env),env.M||(env.W1===WHITES.D65&&env.W2===WHITES.D50?env.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:env.W1===WHITES.D50&&env.W2===WHITES.D65&&(env.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),hooks.run("chromatic-adaptation-end",env),env.M)return multiplyMatrices(env.M,env.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var _ColorSpace=(_processFormat=new WeakSet,_path=new WeakMap,_getPath=new WeakSet,function(){function _ColorSpace(options){var _options$coords,_ref39,_options$white,_options$formats,_this$formats$functio,_this$formats,_this$formats2;_classCallCheck(this,_ColorSpace),_classPrivateMethodInitSpec(this,_getPath),_classPrivateMethodInitSpec(this,_processFormat),_classPrivateFieldInitSpec(this,_path,{writable:!0,value:void 0}),this.id=options.id,this.name=options.name,this.base=options.base?_ColorSpace.get(options.base):null,this.aliases=options.aliases,this.base&&(this.fromBase=options.fromBase,this.toBase=options.toBase);var _coords=null!==(_options$coords=options.coords)&&void 0!==_options$coords?_options$coords:this.base.coords;this.coords=_coords;var white2=null!==(_ref39=null!==(_options$white=options.white)&&void 0!==_options$white?_options$white:this.base.white)&&void 0!==_ref39?_ref39:"D65";for(var name in this.white=getWhite(white2),this.formats=null!==(_options$formats=options.formats)&&void 0!==_options$formats?_options$formats:{},this.formats){var format=this.formats[name];format.type||(format.type="function"),format.name||(format.name=name)}!options.cssId||null!==(_this$formats$functio=this.formats.functions)&&void 0!==_this$formats$functio&&_this$formats$functio.color?null===(_this$formats=this.formats)||void 0===_this$formats||!_this$formats.color||null!==(_this$formats2=this.formats)&&void 0!==_this$formats2&&_this$formats2.color.id||(this.formats.color.id=this.id):(this.formats.color={id:options.cssId},Object.defineProperty(this,"cssId",{value:options.cssId})),this.referred=options.referred,_classPrivateFieldSet(this,_path,_classPrivateMethodGet(this,_getPath,_getPath2).call(this).reverse()),hooks.run("colorspace-init-end",this)}return _createClass(_ColorSpace,[{key:"inGamut",value:function inGamut(coords){var _ref40$epsilon=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,epsilon=void 0===_ref40$epsilon?75e-6:_ref40$epsilon;if(this.isPolar)return coords=this.toBase(coords),this.base.inGamut(coords,{epsilon});var coordMeta=Object.values(this.coords);return coords.every((function(c4,i){var meta=coordMeta[i];if("angle"!==meta.type&&meta.range){if(Number.isNaN(c4))return!0;var _meta$range=_slicedToArray(meta.range,2),min=_meta$range[0],max2=_meta$range[1];return(void 0===min||c4>=min-epsilon)&&(void 0===max2||c4<=max2+epsilon)}return!0}))}},{key:"cssId",get:function get(){var _this$formats$functio2,_this$formats$functio3;return(null===(_this$formats$functio2=this.formats.functions)||void 0===_this$formats$functio2||null===(_this$formats$functio3=_this$formats$functio2.color)||void 0===_this$formats$functio3?void 0:_this$formats$functio3.id)||this.id}},{key:"isPolar",get:function get(){for(var id in this.coords)if("angle"===this.coords[id].type)return!0;return!1}},{key:"getFormat",value:function getFormat(format){return"object"===_typeof(format)?format=_classPrivateMethodGet(this,_processFormat,_processFormat2).call(this,format):(ret="default"===format?Object.values(this.formats)[0]:this.formats[format])?ret=_classPrivateMethodGet(this,_processFormat,_processFormat2).call(this,ret):null;var ret}},{key:"to",value:function to(space,coords){if(1===arguments.length){var _ref41=[space.space,space.coords];space=_ref41[0],coords=_ref41[1]}if(this===(space=_ColorSpace.get(space)))return coords;coords=coords.map((function(c4){return Number.isNaN(c4)?0:c4}));for(var connectionSpace,connectionSpaceIndex,myPath=_classPrivateFieldGet(this,_path),otherPath=_classPrivateFieldGet(space,_path),_i11=0;_i11connectionSpaceIndex;_i12--)coords=myPath[_i12].toBase(coords);for(var _i13=connectionSpaceIndex+1;_i131?_len2-1:0),_key2=1;_key2<_len2;_key2++)alternatives[_key2-1]=arguments[_key2];if(alternatives.length)return _ColorSpace.get.apply(_ColorSpace,alternatives);throw new TypeError("".concat(space," is not a valid color space"))}},{key:"resolveCoord",value:function resolveCoord(ref,workingSpace){var space,coord,coordType=type(ref);if("string"===coordType)if(ref.includes(".")){var _ref$split2=_slicedToArray(ref.split("."),2);space=_ref$split2[0],coord=_ref$split2[1]}else space=void 0,coord=ref;else if(Array.isArray(ref)){var _ref43=_slicedToArray(ref,2);space=_ref43[0],coord=_ref43[1]}else space=ref.space,coord=ref.coordId;if((space=_ColorSpace.get(space))||(space=workingSpace),!space)throw new TypeError("Cannot resolve coordinate reference ".concat(ref,": No color space specified and relative references are not allowed here"));if("number"===(coordType=type(coord))||"string"===coordType&&coord>=0){var meta=Object.entries(space.coords)[coord];if(meta)return _extends({space,id:meta[0],index:coord},meta[1])}space=_ColorSpace.get(space);var normalizedCoord=coord.toLowerCase(),i=0;for(var id in space.coords){var _meta$name,_meta=space.coords[id];if(id.toLowerCase()===normalizedCoord||(null===(_meta$name=_meta.name)||void 0===_meta$name?void 0:_meta$name.toLowerCase())===normalizedCoord)return _extends({space,id,index:i},_meta);i++}throw new TypeError('No "'.concat(coord,'" coordinate found in ').concat(space.name,". Its coordinates are: ").concat(Object.keys(space.coords).join(", ")))}}]),_ColorSpace}());function _processFormat2(format){if(format.coords&&!format.coordGrammar){format.type||(format.type="function"),format.name||(format.name="color"),format.coordGrammar=parseCoordGrammar(format.coords);var coordFormats=Object.entries(this.coords).map((function(_ref148,i){var _ref149=_slicedToArray(_ref148,2),coordMeta=(_ref149[0],_ref149[1]),outputType=format.coordGrammar[i][0],fromRange=coordMeta.range||coordMeta.refRange,toRange=outputType.range,suffix="";return""==outputType?(toRange=[0,100],suffix="%"):""==outputType&&(suffix="deg"),{fromRange,toRange,suffix}}));format.serializeCoords=function(coords,precision){return coords.map((function(c4,i){var _coordFormats$i=coordFormats[i],fromRange=_coordFormats$i.fromRange,toRange=_coordFormats$i.toRange,suffix=_coordFormats$i.suffix;return fromRange&&toRange&&(c4=mapRange(fromRange,toRange,c4)),c4=toPrecision(c4,precision),suffix&&(c4+=suffix),c4}))}}return format}function _getPath2(){for(var ret=[this],_space2=this;_space2=_space2.base;)ret.push(_space2);return ret}var ColorSpace=_ColorSpace;__publicField(ColorSpace,"registry",{}),__publicField(ColorSpace,"DEFAULT_FORMAT",{type:"functions",name:"color"});var XYZ_D65=new ColorSpace({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),RGBColorSpace=function(_ColorSpace2){_inherits(RGBColorSpace,_ColorSpace2);var _super=_createSuper(RGBColorSpace);function RGBColorSpace(options){var _options$referred,_this,_options$toBase,_options$fromBase;(_classCallCheck(this,RGBColorSpace),options.coords||(options.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),options.base||(options.base=XYZ_D65),options.toXYZ_M&&options.fromXYZ_M)&&(null!==(_options$toBase=options.toBase)&&void 0!==_options$toBase||(options.toBase=function(rgb){var xyz=multiplyMatrices(options.toXYZ_M,rgb);return _this.white!==_this.base.white&&(xyz=adapt$1(_this.white,_this.base.white,xyz)),xyz}),null!==(_options$fromBase=options.fromBase)&&void 0!==_options$fromBase||(options.fromBase=function(xyz){return xyz=adapt$1(_this.base.white,_this.white,xyz),multiplyMatrices(options.fromXYZ_M,xyz)}));return null!==(_options$referred=options.referred)&&void 0!==_options$referred||(options.referred="display"),_this=_super.call(this,options)}return _createClass(RGBColorSpace)}(ColorSpace);function parse2(str){var _String,env={str:null===(_String=String(str))||void 0===_String?void 0:_String.trim()};if(hooks.run("parse-start",env),env.color)return env.color;if(env.parsed=parseFunction(env.str),env.parsed){var _ret2=function(){var name=env.parsed.name;if("color"===name){var _step7,id=env.parsed.args.shift(),alpha=env.parsed.rawArgs.indexOf("/")>0?env.parsed.args.pop():1,_iterator7=_createForOfIteratorHelper(ColorSpace.all);try{for(_iterator7.s();!(_step7=_iterator7.n()).done;){var _colorSpec$ids,space=_step7.value,colorSpec=space.getFormat("color");if(colorSpec)if(id===colorSpec.id||null!==(_colorSpec$ids=colorSpec.ids)&&void 0!==_colorSpec$ids&&_colorSpec$ids.includes(id)){var _ret3=function(){var argCount=Object.keys(space.coords).length,coords=Array(argCount).fill(0);return coords.forEach((function(_,i){return coords[i]=env.parsed.args[i]||0})),{v:{v:{spaceId:space.id,coords,alpha}}}}();if("object"===_typeof(_ret3))return _ret3.v}}}catch(err){_iterator7.e(err)}finally{_iterator7.f()}var didYouMean="";if(id in ColorSpace.registry){var _ColorSpace$registry$,_ColorSpace$registry$2,_ColorSpace$registry$3,cssId=null===(_ColorSpace$registry$=ColorSpace.registry[id].formats)||void 0===_ColorSpace$registry$||null===(_ColorSpace$registry$2=_ColorSpace$registry$.functions)||void 0===_ColorSpace$registry$2||null===(_ColorSpace$registry$3=_ColorSpace$registry$2.color)||void 0===_ColorSpace$registry$3?void 0:_ColorSpace$registry$3.id;cssId&&(didYouMean="Did you mean color(".concat(cssId,")?"))}throw new TypeError("Cannot parse color(".concat(id,"). ")+(didYouMean||"Missing a plugin?"))}var _step8,_iterator8=_createForOfIteratorHelper(ColorSpace.all);try{var _loop5=function _loop5(){var space=_step8.value,format=space.getFormat(name);if(format&&"function"===format.type){var _alpha=1;(format.lastAlpha||last(env.parsed.args).alpha)&&(_alpha=env.parsed.args.pop());var coords=env.parsed.args;return format.coordGrammar&&Object.entries(space.coords).forEach((function(_ref44,i){var _coords$i,_ref45=_slicedToArray(_ref44,2),id=_ref45[0],coordMeta=_ref45[1],coordGrammar2=format.coordGrammar[i],providedType=null===(_coords$i=coords[i])||void 0===_coords$i?void 0:_coords$i.type;if(!(coordGrammar2=coordGrammar2.find((function(c4){return c4==providedType})))){var coordName=coordMeta.name||id;throw new TypeError("".concat(providedType," not allowed for ").concat(coordName," in ").concat(name,"()"))}var fromRange=coordGrammar2.range;""===providedType&&(fromRange||(fromRange=[0,1]));var toRange=coordMeta.range||coordMeta.refRange;fromRange&&toRange&&(coords[i]=mapRange(fromRange,toRange,coords[i]))})),{v:{v:{spaceId:space.id,coords,alpha:_alpha}}}}};for(_iterator8.s();!(_step8=_iterator8.n()).done;){var _ret4=_loop5();if("object"===_typeof(_ret4))return _ret4.v}}catch(err){_iterator8.e(err)}finally{_iterator8.f()}}();if("object"===_typeof(_ret2))return _ret2.v}else{var _step9,_iterator9=_createForOfIteratorHelper(ColorSpace.all);try{for(_iterator9.s();!(_step9=_iterator9.n()).done;){var space=_step9.value;for(var formatId in space.formats){var format=space.formats[formatId];if("custom"===format.type&&(!format.test||format.test(env.str))){var _color$alpha,color=format.parse(env.str);if(color)return null!==(_color$alpha=color.alpha)&&void 0!==_color$alpha||(color.alpha=1),color}}}}catch(err){_iterator9.e(err)}finally{_iterator9.f()}}throw new TypeError("Could not parse ".concat(str," as a color. Missing a plugin?"))}function getColor(color){if(!color)throw new TypeError("Empty color reference");isString(color)&&(color=parse2(color));var space=color.space||color.spaceId;return space instanceof ColorSpace||(color.space=ColorSpace.get(space)),void 0===color.alpha&&(color.alpha=1),color}function getAll(color,space){return(space=ColorSpace.get(space)).from(color)}function get(color,prop){var _ColorSpace$resolveCo=ColorSpace.resolveCoord(prop,color.space),space=_ColorSpace$resolveCo.space,index=_ColorSpace$resolveCo.index;return getAll(color,space)[index]}function setAll(color,space,coords){return space=ColorSpace.get(space),color.coords=space.to(color.space,coords),color}function set(color,prop,value){if(color=getColor(color),2===arguments.length&&"object"===type(arguments[1])){var object=arguments[1];for(var p2 in object)set(color,p2,object[p2])}else{"function"==typeof value&&(value=value(get(color,prop)));var _ColorSpace$resolveCo2=ColorSpace.resolveCoord(prop,color.space),space=_ColorSpace$resolveCo2.space,index=_ColorSpace$resolveCo2.index,coords=getAll(color,space);coords[index]=value,setAll(color,space,coords)}return color}var XYZ_D50=new ColorSpace({id:"xyz-d50",name:"XYZ D50",white:"D50",base:XYZ_D65,fromBase:function fromBase(coords){return adapt$1(XYZ_D65.white,"D50",coords)},toBase:function toBase(coords){return adapt$1("D50",XYZ_D65.white,coords)},formats:{color:{}}}),ε3$1=24/116,κ$1=24389/27,white$1=WHITES.D50,lab=new ColorSpace({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:white$1,base:XYZ_D50,fromBase:function fromBase(XYZ){var xyz=XYZ.map((function(value,i){return value/white$1[i]})),f=xyz.map((function(value){return value>.008856451679035631?Math.cbrt(value):(κ$1*value+16)/116}));return[116*f[1]-16,500*(f[0]-f[1]),200*(f[1]-f[2])]},toBase:function toBase(Lab){var f=[];return f[1]=(Lab[0]+16)/116,f[0]=Lab[1]/500+f[1],f[2]=f[1]-Lab[2]/200,[f[0]>ε3$1?Math.pow(f[0],3):(116*f[0]-16)/κ$1,Lab[0]>8?Math.pow((Lab[0]+16)/116,3):Lab[0]/κ$1,f[2]>ε3$1?Math.pow(f[2],3):(116*f[2]-16)/κ$1].map((function(value,i){return value*white$1[i]}))},formats:{lab:{coords:[" | ","",""]}}});function constrain(angle){return(angle%360+360)%360}var lch=new ColorSpace({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:lab,fromBase:function fromBase(Lab){var hue,_Lab=_slicedToArray(Lab,3),L=_Lab[0],a2=_Lab[1],b2=_Lab[2];return hue=Math.abs(a2)<.02&&Math.abs(b2)<.02?NaN:180*Math.atan2(b2,a2)/Math.PI,[L,Math.sqrt(Math.pow(a2,2)+Math.pow(b2,2)),constrain(hue)]},toBase:function toBase(LCH){var _LCH=_slicedToArray(LCH,3),Lightness=_LCH[0],Chroma=_LCH[1],Hue=_LCH[2];return Chroma<0&&(Chroma=0),isNaN(Hue)&&(Hue=0),[Lightness,Chroma*Math.cos(Hue*Math.PI/180),Chroma*Math.sin(Hue*Math.PI/180)]},formats:{lch:{coords:[" | ",""," | "]}}}),Gfactor=Math.pow(25,7),π$1=Math.PI,r2d=180/π$1,d2r$1=π$1/180;function deltaE2000(color,sample){var _ref46=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_ref46$kL=_ref46.kL,kL=void 0===_ref46$kL?1:_ref46$kL,_ref46$kC=_ref46.kC,kC=void 0===_ref46$kC?1:_ref46$kC,_ref46$kH=_ref46.kH,kH=void 0===_ref46$kH?1:_ref46$kH,_lab$from2=_slicedToArray(lab.from(color),3),L1=_lab$from2[0],a1=_lab$from2[1],b1=_lab$from2[2],C1=lch.from(lab,[L1,a1,b1])[1],_lab$from4=_slicedToArray(lab.from(sample),3),L2=_lab$from4[0],a2=_lab$from4[1],b2=_lab$from4[2],C2=lch.from(lab,[L2,a2,b2])[1];C1<0&&(C1=0),C2<0&&(C2=0);var Cbar=(C1+C2)/2,C7=Math.pow(Cbar,7),G=.5*(1-Math.sqrt(C7/(C7+Gfactor))),adash1=(1+G)*a1,adash2=(1+G)*a2,Cdash1=Math.sqrt(Math.pow(adash1,2)+Math.pow(b1,2)),Cdash2=Math.sqrt(Math.pow(adash2,2)+Math.pow(b2,2)),h1=0===adash1&&0===b1?0:Math.atan2(b1,adash1),h2=0===adash2&&0===b2?0:Math.atan2(b2,adash2);h1<0&&(h1+=2*π$1),h2<0&&(h2+=2*π$1);var Δh,ΔL=L2-L1,ΔC=Cdash2-Cdash1,hdiff=(h2*=r2d)-(h1*=r2d),hsum=h1+h2,habs=Math.abs(hdiff);Cdash1*Cdash2==0?Δh=0:habs<=180?Δh=hdiff:hdiff>180?Δh=hdiff-360:hdiff<-180?Δh=hdiff+360:console.log("the unthinkable has happened");var hdash,ΔH=2*Math.sqrt(Cdash2*Cdash1)*Math.sin(Δh*d2r$1/2),Ldash=(L1+L2)/2,Cdash=(Cdash1+Cdash2)/2,Cdash7=Math.pow(Cdash,7);hdash=Cdash1*Cdash2==0?hsum:habs<=180?hsum/2:hsum<360?(hsum+360)/2:(hsum-360)/2;var lsq=Math.pow(Ldash-50,2),SL=1+.015*lsq/Math.sqrt(20+lsq),SC=1+.045*Cdash,T=1;T-=.17*Math.cos((hdash-30)*d2r$1),T+=.24*Math.cos(2*hdash*d2r$1),T+=.32*Math.cos((3*hdash+6)*d2r$1);var SH=1+.015*Cdash*(T-=.2*Math.cos((4*hdash-63)*d2r$1)),Δθ=30*Math.exp(-1*Math.pow((hdash-275)/25,2)),RC=2*Math.sqrt(Cdash7/(Cdash7+Gfactor)),RT=-1*Math.sin(2*Δθ*d2r$1)*RC,dE=Math.pow(ΔL/(kL*SL),2);return dE+=Math.pow(ΔC/(kC*SC),2),dE+=Math.pow(ΔH/(kH*SH),2),dE+=RT*(ΔC/(kC*SC))*(ΔH/(kH*SH)),Math.sqrt(dE)}var ε$2=75e-6;function inGamut(color){var space=arguments.length>1&&void 0!==arguments[1]?arguments[1]:color.space,_ref47$epsilon=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,epsilon=void 0===_ref47$epsilon?ε$2:_ref47$epsilon;color=getColor(color),space=ColorSpace.get(space);var coords=color.coords;return space!==color.space&&(coords=space.from(color)),space.inGamut(coords,{epsilon})}function clone2(color){return{space:color.space,coords:color.coords.slice(),alpha:color.alpha}}function toGamut(color){var _ref48=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref48$method=_ref48.method,method=void 0===_ref48$method?defaults.gamut_mapping:_ref48$method,_ref48$space=_ref48.space,space=void 0===_ref48$space?color.space:_ref48$space;if(isString(arguments[1])&&(space=arguments[1]),inGamut(color,space=ColorSpace.get(space),{epsilon:0}))return color;var spaceColor=to(color,space);if("clip"!==method&&!inGamut(color,space)){var clipped=toGamut(clone2(spaceColor),{method:"clip",space});if(deltaE2000(color,clipped)>2){for(var coordMeta=ColorSpace.resolveCoord(method),mapSpace=coordMeta.space,coordId=coordMeta.id,mappedColor=to(spaceColor,mapSpace),low=(coordMeta.range||coordMeta.refRange)[0],high=get(mappedColor,coordId);high-low>.01;){var clipped2=clone2(mappedColor);deltaE2000(mappedColor,clipped2=toGamut(clipped2,{space,method:"clip"}))-2<.01?low=get(mappedColor,coordId):high=get(mappedColor,coordId),set(mappedColor,coordId,(low+high)/2)}spaceColor=to(mappedColor,space)}else spaceColor=clipped}if("clip"===method||!inGamut(spaceColor,space,{epsilon:0})){var _bounds=Object.values(space.coords).map((function(c4){return c4.range||[]}));spaceColor.coords=spaceColor.coords.map((function(c4,i){var _bounds$i=_slicedToArray(_bounds[i],2),min=_bounds$i[0],max2=_bounds$i[1];return void 0!==min&&(c4=Math.max(min,c4)),void 0!==max2&&(c4=Math.min(c4,max2)),c4}))}return space!==color.space&&(spaceColor=to(spaceColor,color.space)),color.coords=spaceColor.coords,color}function to(color,space){var inGamut2=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;color=getColor(color);var coords=(space=ColorSpace.get(space)).from(color),ret={space,coords,alpha:color.alpha};return inGamut2&&(ret=toGamut(ret)),ret}function serialize(color){var _ref51,_color$space$getForma,ret,_ref50=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref50$precision=_ref50.precision,precision=void 0===_ref50$precision?defaults.precision:_ref50$precision,_ref50$format=_ref50.format,format=void 0===_ref50$format?"default":_ref50$format,_ref50$inGamut=_ref50.inGamut,inGamut$1=void 0===_ref50$inGamut||_ref50$inGamut,customOptions=_objectWithoutProperties(_ref50,_excluded7),formatId=format;format=null!==(_ref51=null!==(_color$space$getForma=(color=getColor(color)).space.getFormat(format))&&void 0!==_color$space$getForma?_color$space$getForma:color.space.getFormat("default"))&&void 0!==_ref51?_ref51:ColorSpace.DEFAULT_FORMAT,inGamut$1||(inGamut$1=format.toGamut);var coords=color.coords;if(coords=coords.map((function(c4){return c4||0})),inGamut$1&&!inGamut(color)&&(coords=toGamut(clone2(color),!0===inGamut$1?void 0:inGamut$1).coords),"custom"===format.type){if(customOptions.precision=precision,!format.serialize)throw new TypeError("format ".concat(formatId," can only be used to parse colors, not for serialization"));ret=format.serialize(coords,color.alpha,customOptions)}else{var name=format.name||"color";format.serializeCoords?coords=format.serializeCoords(coords,precision):null!==precision&&(coords=coords.map((function(c4){return toPrecision(c4,precision)})));var args=_toConsumableArray(coords);if("color"===name){var _format$ids,cssId=format.id||(null===(_format$ids=format.ids)||void 0===_format$ids?void 0:_format$ids[0])||color.space.id;args.unshift(cssId)}var alpha=color.alpha;null!==precision&&(alpha=toPrecision(alpha,precision));var strAlpha=color.alpha<1&&!format.noAlpha?"".concat(format.commas?",":" /"," ").concat(alpha):"";ret="".concat(name,"(").concat(args.join(format.commas?", ":" ")).concat(strAlpha,")")}return ret}toGamut.returns="color",to.returns="color";var REC2020Linear=new RGBColorSpace({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),α=1.09929682680944,β=.018053968510807,REC2020=new RGBColorSpace({id:"rec2020",name:"REC.2020",base:REC2020Linear,toBase:function toBase(RGB){return RGB.map((function(val){return val<4.5*β?val/4.5:Math.pow((val+α-1)/α,1/.45)}))},fromBase:function fromBase(RGB){return RGB.map((function(val){return val>=β?α*Math.pow(val,.45)-(α-1):4.5*val}))},formats:{color:{}}}),P3Linear=new RGBColorSpace({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),sRGBLinear=new RGBColorSpace({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),KEYWORDS={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},coordGrammar=Array(3).fill(" | [0, 255]"),coordGrammarNumber=Array(3).fill("[0, 255]"),sRGB=new RGBColorSpace({id:"srgb",name:"sRGB",base:sRGBLinear,fromBase:function fromBase(rgb){return rgb.map((function(val){var sign=val<0?-1:1,abs=val*sign;return abs>.0031308?sign*(1.055*Math.pow(abs,1/2.4)-.055):12.92*val}))},toBase:function toBase(rgb){return rgb.map((function(val){var sign=val<0?-1:1,abs=val*sign;return abs<.04045?val/12.92:sign*Math.pow((abs+.055)/1.055,2.4)}))},formats:{rgb:{coords:coordGrammar},rgb_number:{name:"rgb",commas:!0,coords:coordGrammarNumber,noAlpha:!0},color:{},rgba:{coords:coordGrammar,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:coordGrammarNumber},hex:{type:"custom",toGamut:!0,test:function test(str){return/^#([a-f0-9]{3,4}){1,2}$/i.test(str)},parse:function parse(str){str.length<=5&&(str=str.replace(/[a-f0-9]/gi,"$&$&"));var rgba=[];return str.replace(/[a-f0-9]{2}/gi,(function(component){rgba.push(parseInt(component,16)/255)})),{spaceId:"srgb",coords:rgba.slice(0,3),alpha:rgba.slice(3)[0]}},serialize:function serialize(coords,alpha){var _ref52$collapse=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,collapse=void 0===_ref52$collapse||_ref52$collapse;alpha<1&&coords.push(alpha),coords=coords.map((function(c4){return Math.round(255*c4)}));var collapsible=collapse&&coords.every((function(c4){return c4%17==0}));return"#"+coords.map((function(c4){return collapsible?(c4/17).toString(16):c4.toString(16).padStart(2,"0")})).join("")}},keyword:{type:"custom",test:function test(str){return/^[a-z]+$/i.test(str)},parse:function parse(str){var ret={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(str=str.toLowerCase())?(ret.coords=KEYWORDS.black,ret.alpha=0):ret.coords=KEYWORDS[str],ret.coords)return ret}}}}),P3=new RGBColorSpace({id:"p3",name:"P3",base:P3Linear,fromBase:sRGB.fromBase,toBase:sRGB.toBase,formats:{color:{id:"display-p3"}}});if(defaults.display_space=sRGB,"undefined"!=typeof CSS&&CSS.supports)for(var _i14=0,_arr2=[lab,REC2020,P3];_i14<_arr2.length;_i14++){var space=_arr2[_i14],coords=space.getMinCoords(),str=serialize({space,coords,alpha:1});if(CSS.supports("color",str)){defaults.display_space=space;break}}function _display(color){var _ref53=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref53$space=_ref53.space,space=void 0===_ref53$space?defaults.display_space:_ref53$space,options=_objectWithoutProperties(_ref53,_excluded8),ret=serialize(color,options);if("undefined"==typeof CSS||CSS.supports("color",ret)||!defaults.display_space)(ret=new String(ret)).color=color;else{var fallbackColor=to(color,space);(ret=new String(serialize(fallbackColor,options))).color=fallbackColor}return ret}function distance(color1,color2){var space=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",coords1=(space=ColorSpace.get(space)).from(color1),coords2=space.from(color2);return Math.sqrt(coords1.reduce((function(acc,c12,i){var c22=coords2[i];return isNaN(c12)||isNaN(c22)?acc:acc+Math.pow(c22-c12,2)}),0))}function getLuminance(color){return get(color,[XYZ_D65,"y"])}function setLuminance(color,value){set(color,[XYZ_D65,"y"],value)}var luminance=Object.freeze({__proto__:null,getLuminance,setLuminance,register:function register$2(Color3){Object.defineProperty(Color3.prototype,"luminance",{get:function get(){return getLuminance(this)},set:function set(value){setLuminance(this,value)}})}});var blkThrs=.022,blkClmp=1.414;function fclamp(Y){return Y>=blkThrs?Y:Y+Math.pow(blkThrs-Y,blkClmp)}function linearize(val){var sign=val<0?-1:1,abs=Math.abs(val);return sign*Math.pow(abs,2.4)}var ε3=24/116,κ=24389/27,white=WHITES.D65,lab_d65=new ColorSpace({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white,base:XYZ_D65,fromBase:function fromBase(XYZ){var xyz=XYZ.map((function(value,i){return value/white[i]})),f=xyz.map((function(value){return value>.008856451679035631?Math.cbrt(value):(κ*value+16)/116}));return[116*f[1]-16,500*(f[0]-f[1]),200*(f[1]-f[2])]},toBase:function toBase(Lab){var f=[];return f[1]=(Lab[0]+16)/116,f[0]=Lab[1]/500+f[1],f[2]=f[1]-Lab[2]/200,[f[0]>ε3?Math.pow(f[0],3):(116*f[0]-16)/κ,Lab[0]>8?Math.pow((Lab[0]+16)/116,3):Lab[0]/κ,f[2]>ε3?Math.pow(f[2],3):(116*f[2]-16)/κ].map((function(value,i){return value*white[i]}))},formats:{"lab-d65":{coords:[" | ","",""]}}}),phi=.5*Math.pow(5,.5)+.5;var contrastMethods=Object.freeze({__proto__:null,contrastWCAG21:function contrastWCAG21(color1,color2){color1=getColor(color1),color2=getColor(color2);var Y1=Math.max(getLuminance(color1),0),Y2=Math.max(getLuminance(color2),0);if(Y2>Y1){var _ref54=[Y2,Y1];Y1=_ref54[0],Y2=_ref54[1]}return(Y1+.05)/(Y2+.05)},contrastAPCA:function contrastAPCA(background,foreground){var C,R,G,B;foreground=getColor(foreground),background=getColor(background);var _foreground$coords=_slicedToArray((foreground=to(foreground,"srgb")).coords,3);R=_foreground$coords[0],G=_foreground$coords[1],B=_foreground$coords[2];var lumTxt=.2126729*linearize(R)+.7151522*linearize(G)+.072175*linearize(B),_background$coords=_slicedToArray((background=to(background,"srgb")).coords,3);R=_background$coords[0],G=_background$coords[1],B=_background$coords[2];var lumBg=.2126729*linearize(R)+.7151522*linearize(G)+.072175*linearize(B),Ytxt=fclamp(lumTxt),Ybg=fclamp(lumBg),BoW=Ybg>Ytxt;return C=Math.abs(Ybg-Ytxt)<5e-4?0:BoW?1.14*(Math.pow(Ybg,.56)-Math.pow(Ytxt,.57)):1.14*(Math.pow(Ybg,.65)-Math.pow(Ytxt,.62)),100*(Math.abs(C)<.1?0:C>0?C-.027:C+.027)},contrastMichelson:function contrastMichelson(color1,color2){color1=getColor(color1),color2=getColor(color2);var Y1=Math.max(getLuminance(color1),0),Y2=Math.max(getLuminance(color2),0);if(Y2>Y1){var _ref55=[Y2,Y1];Y1=_ref55[0],Y2=_ref55[1]}var denom=Y1+Y2;return 0===denom?0:(Y1-Y2)/denom},contrastWeber:function contrastWeber(color1,color2){color1=getColor(color1),color2=getColor(color2);var Y1=Math.max(getLuminance(color1),0),Y2=Math.max(getLuminance(color2),0);if(Y2>Y1){var _ref56=[Y2,Y1];Y1=_ref56[0],Y2=_ref56[1]}return 0===Y2?5e4:(Y1-Y2)/Y2},contrastLstar:function contrastLstar(color1,color2){color1=getColor(color1),color2=getColor(color2);var L1=get(color1,[lab,"l"]),L2=get(color2,[lab,"l"]);return Math.abs(L1-L2)},contrastDeltaPhi:function contrastDeltaPhi(color1,color2){color1=getColor(color1),color2=getColor(color2);var Lstr1=get(color1,[lab_d65,"l"]),Lstr2=get(color2,[lab_d65,"l"]),deltaPhiStar=Math.abs(Math.pow(Lstr1,phi)-Math.pow(Lstr2,phi)),contrast2=Math.pow(deltaPhiStar,1/phi)*Math.SQRT2-40;return contrast2<7.5?0:contrast2}});function uv(color){var _getAll2=_slicedToArray(getAll(color,XYZ_D65),3),X=_getAll2[0],Y=_getAll2[1],denom=X+15*Y+3*_getAll2[2];return[4*X/denom,9*Y/denom]}function xy(color){var _getAll4=_slicedToArray(getAll(color,XYZ_D65),3),X=_getAll4[0],Y=_getAll4[1],sum=X+Y+_getAll4[2];return[X/sum,Y/sum]}var chromaticity=Object.freeze({__proto__:null,uv,xy,register:function register$1(Color3){Object.defineProperty(Color3.prototype,"uv",{get:function get(){return uv(this)}}),Object.defineProperty(Color3.prototype,"xy",{get:function get(){return xy(this)}})}});var d2r=Math.PI/180;var XYZ_Abs_D65=new ColorSpace({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:XYZ_D65,fromBase:function fromBase(XYZ){return XYZ.map((function(v){return Math.max(203*v,0)}))},toBase:function toBase(AbsXYZ){return AbsXYZ.map((function(v){return Math.max(v/203,0)}))}}),g=.66,n$1=2610/Math.pow(2,14),ninv$1=Math.pow(2,14)/2610,c1$2=3424/Math.pow(2,12),c2$2=2413/Math.pow(2,7),c3$2=2392/Math.pow(2,7),p=1.7*2523/Math.pow(2,5),pinv=Math.pow(2,5)/(1.7*2523),d=-.56,d0=16295499532821565e-27,XYZtoCone_M=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],ConetoXYZ_M=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],ConetoIab_M=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],IabtoCone_M=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],Jzazbz=new ColorSpace({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:XYZ_Abs_D65,fromBase:function fromBase(XYZ){var _XYZ=_slicedToArray(XYZ,3),Xa=_XYZ[0],Ya=_XYZ[1],Za=_XYZ[2],PQLMS=multiplyMatrices(XYZtoCone_M,[1.15*Xa-(1.15-1)*Za,g*Ya-(g-1)*Xa,Za]).map((function(val){var num=c1$2+c2$2*Math.pow(val/1e4,n$1),denom=1+c3$2*Math.pow(val/1e4,n$1);return Math.pow(num/denom,p)})),_multiplyMatrices2=_slicedToArray(multiplyMatrices(ConetoIab_M,PQLMS),3),Iz=_multiplyMatrices2[0],az=_multiplyMatrices2[1],bz=_multiplyMatrices2[2];return[(1+d)*Iz/(1+d*Iz)-d0,az,bz]},toBase:function toBase(Jzazbz2){var _Jzazbz=_slicedToArray(Jzazbz2,3),Jz=_Jzazbz[0],az=_Jzazbz[1],bz=_Jzazbz[2],LMS=multiplyMatrices(IabtoCone_M,[(Jz+d0)/(1+d-d*(Jz+d0)),az,bz]).map((function(val){var num=c1$2-Math.pow(val,pinv),denom=c3$2*Math.pow(val,pinv)-c2$2;return 1e4*Math.pow(num/denom,ninv$1)})),_multiplyMatrices4=_slicedToArray(multiplyMatrices(ConetoXYZ_M,LMS),3),Xm=_multiplyMatrices4[0],Ym=_multiplyMatrices4[1],Za=_multiplyMatrices4[2],Xa=(Xm+(1.15-1)*Za)/1.15;return[Xa,(Ym+(g-1)*Xa)/g,Za]},formats:{color:{}}}),jzczhz=new ColorSpace({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Jzazbz,fromBase:function fromBase(jzazbz){var hue,_jzazbz=_slicedToArray(jzazbz,3),Jz=_jzazbz[0],az=_jzazbz[1],bz=_jzazbz[2];return hue=Math.abs(az)<2e-4&&Math.abs(bz)<2e-4?NaN:180*Math.atan2(bz,az)/Math.PI,[Jz,Math.sqrt(Math.pow(az,2)+Math.pow(bz,2)),constrain(hue)]},toBase:function toBase(jzczhz2){return[jzczhz2[0],jzczhz2[1]*Math.cos(jzczhz2[2]*Math.PI/180),jzczhz2[1]*Math.sin(jzczhz2[2]*Math.PI/180)]},formats:{color:{}}});var c1$1=.8359375,c2$1=2413/128,m1=2610/16384,im1=16384/2610,im2=32/2523,XYZtoLMS_M$1=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],LMStoIPT_M=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],IPTtoLMS_M=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],LMStoXYZ_M$1=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],ictcp=new ColorSpace({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:XYZ_Abs_D65,fromBase:function fromBase(XYZ){return function LMStoICtCp(LMS){var PQLMS=LMS.map((function(val){var num=.8359375+c2$1*Math.pow(val/1e4,m1),denom=1+18.6875*Math.pow(val/1e4,m1);return Math.pow(num/denom,78.84375)}));return multiplyMatrices(LMStoIPT_M,PQLMS)}(multiplyMatrices(XYZtoLMS_M$1,XYZ))},toBase:function toBase(ICtCp){var LMS=function ICtCptoLMS(ICtCp){var PQLMS=multiplyMatrices(IPTtoLMS_M,ICtCp),LMS=PQLMS.map((function(val){var num=Math.max(Math.pow(val,im2)-c1$1,0),denom=c2$1-18.6875*Math.pow(val,im2);return 1e4*Math.pow(num/denom,im1)}));return LMS}(ICtCp);return multiplyMatrices(LMStoXYZ_M$1,LMS)},formats:{color:{}}});var XYZtoLMS_M=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],LMStoXYZ_M=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],LMStoLab_M=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],LabtoLMS_M=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],OKLab=new ColorSpace({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:XYZ_D65,fromBase:function fromBase(XYZ){var LMSg=multiplyMatrices(XYZtoLMS_M,XYZ).map((function(val){return Math.cbrt(val)}));return multiplyMatrices(LMStoLab_M,LMSg)},toBase:function toBase(OKLab2){var LMS=multiplyMatrices(LabtoLMS_M,OKLab2).map((function(val){return Math.pow(val,3)}));return multiplyMatrices(LMStoXYZ_M,LMS)},formats:{oklab:{coords:[" | ","",""]}}});var deltaEMethods=Object.freeze({__proto__:null,deltaE76:function deltaE76(color,sample){return distance(color,sample,"lab")},deltaECMC:function deltaECMC(color,sample){var _ref57=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_ref57$l=_ref57.l,l=void 0===_ref57$l?2:_ref57$l,_ref57$c=_ref57.c,c4=void 0===_ref57$c?1:_ref57$c,_lab$from6=_slicedToArray(lab.from(color),3),L1=_lab$from6[0],a1=_lab$from6[1],b1=_lab$from6[2],_lch$from2=_slicedToArray(lch.from(lab,[L1,a1,b1]),3),C1=_lch$from2[1],H1=_lch$from2[2],_lab$from8=_slicedToArray(lab.from(sample),3),L2=_lab$from8[0],a2=_lab$from8[1],b2=_lab$from8[2],C2=lch.from(lab,[L2,a2,b2])[1];C1<0&&(C1=0),C2<0&&(C2=0);var ΔL=L1-L2,ΔC=C1-C2,Δa=a1-a2,Δb=b1-b2,H2=Math.pow(Δa,2)+Math.pow(Δb,2)-Math.pow(ΔC,2),SL=.511;L1>=16&&(SL=.040975*L1/(1+.01765*L1));var T,SC=.0638*C1/(1+.0131*C1)+.638;Number.isNaN(H1)&&(H1=0),T=H1>=164&&H1<=345?.56+Math.abs(.2*Math.cos((H1+168)*d2r)):.36+Math.abs(.4*Math.cos((H1+35)*d2r));var C4=Math.pow(C1,4),F=Math.sqrt(C4/(C4+1900)),SH=SC*(F*T+1-F),dE=Math.pow(ΔL/(l*SL),2);return dE+=Math.pow(ΔC/(c4*SC),2),dE+=H2/Math.pow(SH,2),Math.sqrt(dE)},deltaE2000,deltaEJz:function deltaEJz(color,sample){var _jzczhz$from2=_slicedToArray(jzczhz.from(color),3),Jz1=_jzczhz$from2[0],Cz1=_jzczhz$from2[1],Hz1=_jzczhz$from2[2],_jzczhz$from4=_slicedToArray(jzczhz.from(sample),3),Jz2=_jzczhz$from4[0],Cz2=_jzczhz$from4[1],Hz2=_jzczhz$from4[2],ΔJ=Jz1-Jz2,ΔC=Cz1-Cz2;Number.isNaN(Hz1)&&Number.isNaN(Hz2)?(Hz1=0,Hz2=0):Number.isNaN(Hz1)?Hz1=Hz2:Number.isNaN(Hz2)&&(Hz2=Hz1);var Δh=Hz1-Hz2,ΔH=2*Math.sqrt(Cz1*Cz2)*Math.sin(Δh/2*(Math.PI/180));return Math.sqrt(Math.pow(ΔJ,2)+Math.pow(ΔC,2)+Math.pow(ΔH,2))},deltaEITP:function deltaEITP(color,sample){var _ictcp$from2=_slicedToArray(ictcp.from(color),3),I1=_ictcp$from2[0],T1=_ictcp$from2[1],P1=_ictcp$from2[2],_ictcp$from4=_slicedToArray(ictcp.from(sample),3),I2=_ictcp$from4[0],T2=_ictcp$from4[1],P2=_ictcp$from4[2];return 720*Math.sqrt(Math.pow(I1-I2,2)+.25*Math.pow(T1-T2,2)+Math.pow(P1-P2,2))},deltaEOK:function deltaEOK(color,sample){var _OKLab$from2=_slicedToArray(OKLab.from(color),3),L1=_OKLab$from2[0],a1=_OKLab$from2[1],b1=_OKLab$from2[2],_OKLab$from4=_slicedToArray(OKLab.from(sample),3),ΔL=L1-_OKLab$from4[0],Δa=a1-_OKLab$from4[1],Δb=b1-_OKLab$from4[2];return Math.sqrt(Math.pow(ΔL,2)+Math.pow(Δa,2)+Math.pow(Δb,2))}});function deltaE(c12,c22){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};isString(o)&&(o={method:o});var _o2=o,_o2$method=_o2.method,method=void 0===_o2$method?defaults.deltaE:_o2$method,rest=_objectWithoutProperties(_o2,_excluded10);for(var m3 in c12=getColor(c12),c22=getColor(c22),deltaEMethods)if("deltae"+method.toLowerCase()===m3.toLowerCase())return deltaEMethods[m3](c12,c22,rest);throw new TypeError("Unknown deltaE method: ".concat(method))}var variations=Object.freeze({__proto__:null,lighten:function lighten(color){var amount=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return set(color,[ColorSpace.get("oklch","lch"),"l"],(function(l){return l*(1+amount)}))},darken:function darken(color){var amount=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return set(color,[ColorSpace.get("oklch","lch"),"l"],(function(l){return l*(1-amount)}))}});function mix(c12,c22){var p2=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},_ref58=[getColor(c12),getColor(c22)];if(c12=_ref58[0],c22=_ref58[1],"object"===type(p2)){var _ref59=[.5,p2];p2=_ref59[0],o=_ref59[1]}var _o3=o;return range(c12,c22,{space:_o3.space,outputSpace:_o3.outputSpace,premultiplied:_o3.premultiplied})(p2)}function steps(c12,c22){var colorRange,options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(isRange(c12)){options=c22;var _colorRange$rangeArgs=_slicedToArray((colorRange=c12).rangeArgs.colors,2);c12=_colorRange$rangeArgs[0],c22=_colorRange$rangeArgs[1]}var _options=options,maxDeltaE=_options.maxDeltaE,deltaEMethod=_options.deltaEMethod,_options$steps=_options.steps,steps2=void 0===_options$steps?2:_options$steps,_options$maxSteps=_options.maxSteps,maxSteps=void 0===_options$maxSteps?1e3:_options$maxSteps,rangeOptions=_objectWithoutProperties(_options,_excluded11);if(!colorRange){var _ref60=[getColor(c12),getColor(c22)];colorRange=range(c12=_ref60[0],c22=_ref60[1],rangeOptions)}var totalDelta=deltaE(c12,c22),actualSteps=maxDeltaE>0?Math.max(steps2,Math.ceil(totalDelta/maxDeltaE)+1):steps2,ret=[];if(void 0!==maxSteps&&(actualSteps=Math.min(actualSteps,maxSteps)),1===actualSteps)ret=[{p:.5,color:colorRange(.5)}];else{var step=1/(actualSteps-1);ret=Array.from({length:actualSteps},(function(_,i){var p2=i*step;return{p:p2,color:colorRange(p2)}}))}if(maxDeltaE>0)for(var maxDelta=ret.reduce((function(acc,cur,i){if(0===i)return 0;var ΔΕ=deltaE(cur.color,ret[i-1].color,deltaEMethod);return Math.max(acc,ΔΕ)}),0);maxDelta>maxDeltaE;){maxDelta=0;for(var _i15=1;_i152&&void 0!==arguments[2]?arguments[2]:{};if(isRange(color1)){var r=color1,options2=color2;return range.apply(void 0,_toConsumableArray(r.rangeArgs.colors).concat([_extends({},r.rangeArgs.options,options2)]))}var space=options.space,outputSpace=options.outputSpace,progression=options.progression,premultiplied=options.premultiplied;color1=getColor(color1),color2=getColor(color2),color1=clone2(color1),color2=clone2(color2);var rangeArgs={colors:[color1,color2],options};if(space=space?ColorSpace.get(space):ColorSpace.registry[defaults.interpolationSpace]||color1.space,outputSpace=outputSpace?ColorSpace.get(outputSpace):space,color1=to(color1,space),color2=to(color2,space),color1=toGamut(color1),color2=toGamut(color2),space.coords.h&&"angle"===space.coords.h.type){var arc=options.hue=options.hue||"shorter",hue=[space,"h"],_ref61=[get(color1,hue),get(color2,hue)],θ1=_ref61[0],θ2=_ref61[1],_adjust=function adjust(arc,angles){if("raw"===arc)return angles;var _angles$map2=_slicedToArray(angles.map(constrain),2),a1=_angles$map2[0],a2=_angles$map2[1],angleDiff=a2-a1;return"increasing"===arc?angleDiff<0&&(a2+=360):"decreasing"===arc?angleDiff>0&&(a1+=360):"longer"===arc?-1800?a2+=360:a1+=360):"shorter"===arc&&(angleDiff>180?a1+=360:angleDiff<-180&&(a2+=360)),[a1,a2]}(arc,[θ1,θ2]),_adjust2=_slicedToArray(_adjust,2);θ1=_adjust2[0],θ2=_adjust2[1],set(color1,hue,θ1),set(color2,hue,θ2)}return premultiplied&&(color1.coords=color1.coords.map((function(c4){return c4*color1.alpha})),color2.coords=color2.coords.map((function(c4){return c4*color2.alpha}))),Object.assign((function(p2){p2=progression?progression(p2):p2;var coords=color1.coords.map((function(start,i){return interpolate(start,color2.coords[i],p2)})),alpha=interpolate(color1.alpha,color2.alpha,p2),ret={space,coords,alpha};return premultiplied&&(ret.coords=ret.coords.map((function(c4){return c4/alpha}))),outputSpace!==space&&(ret=to(ret,outputSpace)),ret}),{rangeArgs})}function isRange(val){return"function"===type(val)&&!!val.rangeArgs}defaults.interpolationSpace="lab";var interpolation=Object.freeze({__proto__:null,mix,steps,range,isRange,register:function register(Color3){Color3.defineFunction("mix",mix,{returns:"color"}),Color3.defineFunction("range",range,{returns:"function"}),Color3.defineFunction("steps",steps,{returns:"array"})}}),HSL=new ColorSpace({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:sRGB,fromBase:function fromBase(rgb){var max2=Math.max.apply(Math,_toConsumableArray(rgb)),min=Math.min.apply(Math,_toConsumableArray(rgb)),_rgb=_slicedToArray(rgb,3),r=_rgb[0],g2=_rgb[1],b2=_rgb[2],h=NaN,s=0,l=(min+max2)/2,d2=max2-min;if(0!==d2){switch(s=0===l||1===l?0:(max2-l)/Math.min(l,1-l),max2){case r:h=(g2-b2)/d2+(g2 | ","",""]},hsla:{coords:[" | ","",""],commas:!0,lastAlpha:!0}}}),HSV=new ColorSpace({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:HSL,fromBase:function fromBase(hsl){var _hsl2=_slicedToArray(hsl,3),h=_hsl2[0],s=_hsl2[1],l=_hsl2[2],v=(l/=100)+(s/=100)*Math.min(l,1-l);return[h,0===v?0:200*(1-l/v),100*v]},toBase:function toBase(hsv){var _hsv=_slicedToArray(hsv,3),h=_hsv[0],s=_hsv[1],v=_hsv[2],l=(v/=100)*(1-(s/=100)/2);return[h,0===l||1===l?0:(v-l)/Math.min(l,1-l)*100,100*l]},formats:{color:{toGamut:!0}}}),hwb=new ColorSpace({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:HSV,fromBase:function fromBase(hsv){var _hsv2=_slicedToArray(hsv,3),h=_hsv2[0],s=_hsv2[1],v=_hsv2[2];return[h,v*(100-s)/100,100-v]},toBase:function toBase(hwb2){var _hwb=_slicedToArray(hwb2,3),h=_hwb[0],w=_hwb[1],b2=_hwb[2],sum=(w/=100)+(b2/=100);if(sum>=1)return[h,0,100*(w/sum)];var v=1-b2;return[h,100*(0===v?0:1-w/v),100*v]},formats:{hwb:{toGamut:!0,coords:[" | ","",""]}}}),A98Linear=new RGBColorSpace({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),a98rgb=new RGBColorSpace({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:A98Linear,toBase:function toBase(RGB){return RGB.map((function(val){return Math.pow(Math.abs(val),563/256)*Math.sign(val)}))},fromBase:function fromBase(RGB){return RGB.map((function(val){return Math.pow(Math.abs(val),256/563)*Math.sign(val)}))},formats:{color:{id:"a98-rgb"}}}),ProPhotoLinear=new RGBColorSpace({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:XYZ_D50,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),prophoto=new RGBColorSpace({id:"prophoto",name:"ProPhoto",base:ProPhotoLinear,toBase:function toBase(RGB){return RGB.map((function(v){return v<.03125?v/16:Math.pow(v,1.8)}))},fromBase:function fromBase(RGB){return RGB.map((function(v){return v>=.001953125?Math.pow(v,1/1.8):16*v}))},formats:{color:{id:"prophoto-rgb"}}}),oklch=new ColorSpace({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:OKLab,fromBase:function fromBase(oklab){var h,_oklab=_slicedToArray(oklab,3),L=_oklab[0],a2=_oklab[1],b2=_oklab[2];return h=Math.abs(a2)<2e-4&&Math.abs(b2)<2e-4?NaN:180*Math.atan2(b2,a2)/Math.PI,[L,Math.sqrt(Math.pow(a2,2)+Math.pow(b2,2)),constrain(h)]},toBase:function toBase(oklch2){var a2,b2,_oklch=_slicedToArray(oklch2,3),L=_oklch[0],C=_oklch[1],h=_oklch[2];return isNaN(h)?(a2=0,b2=0):(a2=C*Math.cos(h*Math.PI/180),b2=C*Math.sin(h*Math.PI/180)),[L,a2,b2]},formats:{oklch:{coords:[" | ",""," | "]}}}),n=2610/Math.pow(2,14),ninv=Math.pow(2,14)/2610,m=2523/Math.pow(2,5),minv=Math.pow(2,5)/2523,c1=3424/Math.pow(2,12),c2=2413/Math.pow(2,7),c3=2392/Math.pow(2,7),rec2100Pq=new RGBColorSpace({id:"rec2100pq",name:"REC.2100-PQ",base:REC2020Linear,toBase:function toBase(RGB){return RGB.map((function(val){return 1e4*Math.pow(Math.max(Math.pow(val,minv)-c1,0)/(c2-c3*Math.pow(val,minv)),ninv)/203}))},fromBase:function fromBase(RGB){return RGB.map((function(val){var x=Math.max(203*val/1e4,0),num=c1+c2*Math.pow(x,n),denom=1+c3*Math.pow(x,n);return Math.pow(num/denom,m)}))},formats:{color:{id:"rec2100-pq"}}}),a=.17883277,b=.28466892,c=.55991073,rec2100Hlg=new RGBColorSpace({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:REC2020Linear,toBase:function toBase(RGB){return RGB.map((function(val){return val<=.5?Math.pow(val,2)/3*3.7743:Math.exp((val-c)/a+b)/12*3.7743}))},fromBase:function fromBase(RGB){return RGB.map((function(val){return(val/=3.7743)<=1/12?Math.sqrt(3*val):a*Math.log(12*val-b)+c}))},formats:{color:{id:"rec2100-hlg"}}}),CATs={};function defineCAT(_ref62){var id=_ref62.id;_ref62.toCone_M,_ref62.fromCone_M;CATs[id]=arguments[0]}function adapt(W1,W2){var method=CATs[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],_multiplyMatrices6=_slicedToArray(multiplyMatrices(method.toCone_M,W1),3),ρs=_multiplyMatrices6[0],γs=_multiplyMatrices6[1],βs=_multiplyMatrices6[2],_multiplyMatrices8=_slicedToArray(multiplyMatrices(method.toCone_M,W2),3),scaled_cone_M=multiplyMatrices([[_multiplyMatrices8[0]/ρs,0,0],[0,_multiplyMatrices8[1]/γs,0],[0,0,_multiplyMatrices8[2]/βs]],method.toCone_M);return multiplyMatrices(method.fromCone_M,scaled_cone_M)}hooks.add("chromatic-adaptation-start",(function(env){env.options.method&&(env.M=adapt(env.W1,env.W2,env.options.method))})),hooks.add("chromatic-adaptation-end",(function(env){env.M||(env.M=adapt(env.W1,env.W2,env.options.method))})),defineCAT({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),defineCAT({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),defineCAT({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),defineCAT({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(WHITES,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),WHITES.ACES=[.32168/.33767,1,.34065/.33767];var ACEScg=new RGBColorSpace({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:WHITES.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),ε=Math.pow(2,-16),ACES_cc_max=(Math.log2(65504)+9.72)/17.52,acescc=new RGBColorSpace({id:"acescc",name:"ACEScc",coords:{r:{range:[-.35828683,ACES_cc_max],name:"Red"},g:{range:[-.35828683,ACES_cc_max],name:"Green"},b:{range:[-.35828683,ACES_cc_max],name:"Blue"}},referred:"scene",base:ACEScg,toBase:function toBase(RGB){return RGB.map((function(val){return val<=-.3013698630136986?2*(Math.pow(2,17.52*val-9.72)-ε):val1?_len5-1:0),_key5=1;_key5<_len5;_key5++)args[_key5-1]=arguments[_key5];return _construct(Color,[color].concat(args))}},{key:"defineFunction",value:function defineFunction(name,code){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:code,_o$instance=o.instance,instance=void 0===_o$instance||_o$instance,returns=o.returns,func=function func(){var ret=code.apply(void 0,arguments);if("color"===returns)ret=Color.get(ret);else if("function"===returns){var f=ret;ret=function ret(){var ret2=f.apply(void 0,arguments);return Color.get(ret2)},Object.assign(ret,f)}else"array"===returns&&(ret=ret.map((function(c4){return Color.get(c4)})));return ret};name in Color||(Color[name]=func),instance&&(Color.prototype[name]=function(){for(var _len6=arguments.length,args=new Array(_len6),_key6=0;_key6<_len6;_key6++)args[_key6]=arguments[_key6];return func.apply(void 0,[this].concat(args))})}},{key:"defineFunctions",value:function defineFunctions(o){for(var name in o)Color.defineFunction(name,o[name],o[name])}},{key:"extend",value:function extend(exports){if(exports.register)exports.register(Color);else for(var name in exports)Color.defineFunction(name,exports[name])}}]),Color}());Color.defineFunctions({get,getAll,set,setAll,to,equals:function equals(color1,color2){return color1=getColor(color1),color2=getColor(color2),color1.space===color2.space&&color1.alpha===color2.alpha&&color1.coords.every((function(c4,i){return c4===color2.coords[i]}))},inGamut,toGamut,distance,toString:serialize}),Object.assign(Color,{util,hooks,WHITES,Space:ColorSpace,spaces:ColorSpace.registry,parse:parse2,defaults});for(var _i17=0,_Object$keys2=Object.keys(spaces);_i17<_Object$keys2.length;_i17++){var key=_Object$keys2[_i17];ColorSpace.register(spaces[key])}for(var id in ColorSpace.registry)addSpaceAccessors(id,ColorSpace.registry[id]);function addSpaceAccessors(id,space){Object.keys(space.coords),Object.values(space.coords).map((function(c4){return c4.name}));var propId=id.replace(/-/g,"_");Object.defineProperty(Color.prototype,propId,{get:function get(){var _this3=this,ret=this.getAll(id);return"undefined"==typeof Proxy?ret:new Proxy(ret,{has:function has(obj,property){try{return ColorSpace.resolveCoord([space,property]),!0}catch(e){}return Reflect.has(obj,property)},get:function get(obj,property,receiver){if(property&&"symbol"!==_typeof(property)&&!(property in obj)){var index=ColorSpace.resolveCoord([space,property]).index;if(index>=0)return obj[index]}return Reflect.get(obj,property,receiver)},set:function set(obj,property,value,receiver){if(property&&"symbol"!==_typeof(property)&&!(property in obj)||property>=0){var index=ColorSpace.resolveCoord([space,property]).index;if(index>=0)return obj[index]=value,_this3.setAll(id,obj),!0}return Reflect.set(obj,property,value,receiver)}})},set:function set(coords){this.setAll(id,coords)},configurable:!0,enumerable:!0})}hooks.add("colorspace-init-end",(function(space){var _space$aliases;addSpaceAccessors(space.id,space),null===(_space$aliases=space.aliases)||void 0===_space$aliases||_space$aliases.forEach((function(alias){addSpaceAccessors(alias,space)}))})),Color.extend(deltaEMethods),Color.extend({deltaE}),Color.extend(variations),Color.extend({contrast:function contrast(background,foreground){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};isString(o)&&(o={algorithm:o});var _o=o,algorithm=_o.algorithm,rest=_objectWithoutProperties(_o,_excluded9);if(!algorithm){var algorithms=Object.keys(contrastMethods).map((function(a2){return a2.replace(/^contrast/,"")})).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(algorithms))}for(var a2 in background=getColor(background),foreground=getColor(foreground),contrastMethods)if("contrast"+algorithm.toLowerCase()===a2.toLowerCase())return contrastMethods[a2](background,foreground,rest);throw new TypeError("Unknown contrast algorithm: ".concat(algorithm))}}),Color.extend(chromaticity),Color.extend(luminance),Color.extend(interpolation),Color.extend(contrastMethods);var import_es6_promise=__toModule(require_es6_promise()),import_typedarray=__toModule(require_typedarray());__toModule(require_weakmap_polyfill());import_dot.default.templateSettings.strip=!1,"Promise"in window||import_es6_promise.default.polyfill(),"Uint32Array"in window||(window.Uint32Array=import_typedarray.Uint32Array),window.Uint32Array&&("some"in window.Uint32Array.prototype||Object.defineProperty(window.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in window.Uint32Array.prototype||Object.defineProperty(window.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce}));var hexRegex=/^#[0-9a-f]{3,8}$/i,hslRegex=/hsl\(\s*([\d.]+)(rad|turn)/,Color2=function(){function Color2(red,green,blue){var alpha=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;_classCallCheck(this,Color2),this.red=red,this.green=green,this.blue=blue,this.alpha=alpha}return _createClass(Color2,[{key:"toHexString",value:function toHexString(){var redString=Math.round(this.red).toString(16),greenString=Math.round(this.green).toString(16),blueString=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?redString:"0"+redString)+(this.green>15.5?greenString:"0"+greenString)+(this.blue>15.5?blueString:"0"+blueString)}},{key:"toJSON",value:function toJSON(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function parseString(colorString){colorString=colorString.replace(hslRegex,(function(match,angle,unit){var value=angle+unit;switch(unit){case"rad":return match.replace(value,function radToDeg(rad){return 180*rad/Math.PI}(angle));case"turn":return match.replace(value,function turnToDeg(turn){return 360*turn}(angle))}}));try{var _color2=new Color(colorString).to("srgb");this.red=Math.round(255*clamp(_color2.r,0,1)),this.green=Math.round(255*clamp(_color2.g,0,1)),this.blue=Math.round(255*clamp(_color2.b,0,1)),this.alpha=+_color2.alpha}catch(err2){throw new Error('Unable to parse color "'.concat(colorString,'"'))}return this}},{key:"parseRgbString",value:function parseRgbString(colorString){this.parseString(colorString)}},{key:"parseHexString",value:function parseHexString(colorString){colorString.match(hexRegex)&&![6,8].includes(colorString.length)&&this.parseString(colorString)}},{key:"parseColorFnString",value:function parseColorFnString(colorString){this.parseString(colorString)}},{key:"getRelativeLuminance",value:function getRelativeLuminance(){var rSRGB=this.red/255,gSRGB=this.green/255,bSRGB=this.blue/255;return.2126*(rSRGB<=.03928?rSRGB/12.92:Math.pow((rSRGB+.055)/1.055,2.4))+.7152*(gSRGB<=.03928?gSRGB/12.92:Math.pow((gSRGB+.055)/1.055,2.4))+.0722*(bSRGB<=.03928?bSRGB/12.92:Math.pow((bSRGB+.055)/1.055,2.4))}}]),Color2}(),color_default=Color2;function clamp(value,min,max2){return Math.min(Math.max(min,value),max2)}var get_own_background_color_default=function getOwnBackgroundColor(elmStyle){var bgColor=new color_default;if(bgColor.parseString(elmStyle.getPropertyValue("background-color")),0!==bgColor.alpha){var opacity=elmStyle.getPropertyValue("opacity");bgColor.alpha=bgColor.alpha*opacity}return bgColor};var is_opaque_default=function isOpaque(node){var style=window.getComputedStyle(node);return element_has_image_default(node,style)||1===get_own_background_color_default(style).alpha};function _isSkipLink(element){if(!element.href)return!1;var firstPageLink=cache_default.get("firstPageLink",generateFirstPageLink);return!firstPageLink||element.compareDocumentPosition(firstPageLink.actualNode)===element.DOCUMENT_POSITION_FOLLOWING}function generateFirstPageLink(){return(window.location.origin?query_selector_all_default(axe._tree,'a[href]:not([href^="javascript:"])').find((function(link){return!_isCurrentPageLink(link.actualNode)})):query_selector_all_default(axe._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var clipRegex2=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,clipPathRegex2=/(\w+)\((\d+)/;function isVisible(el,screenReader,recursed){var _window$Node2;if(!el)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var vNode=el instanceof abstract_virtual_node_default?el:get_node_from_tree_default(el);el=vNode?vNode.actualNode:el;var cacheName="_isVisible"+(screenReader?"ScreenReader":""),_ref64=null!==(_window$Node2=window.Node)&&void 0!==_window$Node2?_window$Node2:{},DOCUMENT_NODE=_ref64.DOCUMENT_NODE,DOCUMENT_FRAGMENT_NODE=_ref64.DOCUMENT_FRAGMENT_NODE,nodeType=vNode?vNode.props.nodeType:el.nodeType,nodeName2=vNode?vNode.props.nodeName:el.nodeName.toLowerCase();if(vNode&&void 0!==vNode[cacheName])return vNode[cacheName];if(nodeType===DOCUMENT_NODE)return!0;if(["style","script","noscript","template"].includes(nodeName2))return!1;if((el&&nodeType===DOCUMENT_FRAGMENT_NODE&&(el=el.host),screenReader)&&"true"===(vNode?vNode.attr("aria-hidden"):el.getAttribute("aria-hidden")))return!1;if(!el){var parent2=vNode.parent,visible3=!0;return parent2&&(visible3=isVisible(parent2,screenReader,!0)),vNode&&(vNode[cacheName]=visible3),visible3}var style=window.getComputedStyle(el,null);if(null===style)return!1;if("area"===nodeName2)return function isAreaVisible(el,screenReader,recursed){var mapEl=find_up_default(el,"map");if(!mapEl)return!1;var mapElName=mapEl.getAttribute("name");if(!mapElName)return!1;var mapElRootNode=get_root_node_default2(el);if(!mapElRootNode||9!==mapElRootNode.nodeType)return!1;var refs=query_selector_all_default(axe._tree,'img[usemap="#'.concat(escape_selector_default(mapElName),'"]'));return!(!refs||!refs.length)&&refs.some((function(_ref63){return isVisible(_ref63.actualNode,screenReader,recursed)}))}(el,screenReader,recursed);if("none"===style.getPropertyValue("display"))return!1;var elHeight=parseInt(style.getPropertyValue("height")),elWidth=parseInt(style.getPropertyValue("width")),scroll=_getScroll(el),scrollableWithZeroHeight=scroll&&0===elHeight,scrollableWithZeroWidth=scroll&&0===elWidth,posAbsoluteOverflowHiddenAndSmall="absolute"===style.getPropertyValue("position")&&(elHeight<2||elWidth<2)&&"hidden"===style.getPropertyValue("overflow");if(!screenReader&&(function isClipped(style){var matchesClip=style.getPropertyValue("clip").match(clipRegex2),matchesClipPath=style.getPropertyValue("clip-path").match(clipPathRegex2);if(matchesClip&&5===matchesClip.length){var position=style.getPropertyValue("position");if(["fixed","absolute"].includes(position))return matchesClip[3]-matchesClip[1]<=0&&matchesClip[2]-matchesClip[4]<=0}if(matchesClipPath){var type2=matchesClipPath[1],value=parseInt(matchesClipPath[2],10);switch(type2){case"inset":return value>=50;case"circle":return 0===value}}return!1}(style)||"0"===style.getPropertyValue("opacity")||scrollableWithZeroHeight||scrollableWithZeroWidth||posAbsoluteOverflowHiddenAndSmall))return!1;if(!recursed&&("hidden"===style.getPropertyValue("visibility")||!screenReader&&is_offscreen_default(el)))return!1;var parent=el.assignedSlot?el.assignedSlot:el.parentNode,visible2=!1;return parent&&(visible2=isVisible(parent,screenReader,!0)),vNode&&(vNode[cacheName]=visible2),visible2}var is_visible_default=isVisible;var reduce_to_elements_below_floating_default=function reduceToElementsBelowFloating(elements,targetNode){for(var floatingPositions=["fixed","sticky"],finalElements=[],targetFound=!1,index=0;indexMath.ceil(rect.left+rect.width)||Math.floor(clientRect.top+clientRect.height)>Math.ceil(rect.top+rect.height))}))}var shadow_elements_from_point_default=function shadowElementsFromPoint(nodeX,nodeY){var root=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(i>999)throw new Error("Infinite loop detected");return Array.from(root.elementsFromPoint(nodeX,nodeY)||[]).filter((function(nodes){return get_root_node_default2(nodes)===root})).reduce((function(stack,elm){if(is_shadow_root_default(elm)){var shadowStack=shadowElementsFromPoint(nodeX,nodeY,elm.shadowRoot,i+1);(stack=stack.concat(shadowStack)).length&&_visuallyContains(stack[0],elm)&&stack.push(elm)}else stack.push(elm);return stack}),[])};function getSearchPairs(searchStr){var query={};if(!searchStr||!searchStr.length)return query;var pairs=searchStr.substring(1).split("&");if(!pairs||!pairs.length)return query;for(var index=0;indexparentScrollArea_right&&rect.left>parentRect.right||rect.top>parentScrollArea_bottom&&rect.top>parentRect.bottom||rect.rightparentRect.right||rect.top>parentRect.bottom)||("scroll"===style.overflow||"auto"===style.overflow||parent instanceof window.HTMLBodyElement||parent instanceof window.HTMLHtmlElement)},nodeIndex2=0,VirtualNode=function(_abstract_virtual_nod){_inherits(VirtualNode,_abstract_virtual_nod);var _super2=_createSuper(VirtualNode);function VirtualNode(node,parent,shadowId){var _this4;if(_classCallCheck(this,VirtualNode),(_this4=_super2.call(this)).shadowId=shadowId,_this4.children=[],_this4.actualNode=node,_this4.parent=parent,parent||(nodeIndex2=0),_this4.nodeIndex=nodeIndex2++,_this4._isHidden=null,_this4._cache={},void 0===isXHTMLGlobal&&(isXHTMLGlobal=is_xhtml_default(node.ownerDocument)),_this4._isXHTML=isXHTMLGlobal,"input"===node.nodeName.toLowerCase()){var type2=node.getAttribute("type");type2=_this4._isXHTML?type2:(type2||"").toLowerCase(),valid_input_type_default().includes(type2)||(type2="text"),_this4._type=type2}return cache_default.get("nodeMap")&&cache_default.get("nodeMap").set(node,_assertThisInitialized(_this4)),_this4}return _createClass(VirtualNode,[{key:"props",get:function get(){if(!this._cache.hasOwnProperty("props")){var _this$actualNode=this.actualNode,nodeType=_this$actualNode.nodeType,nodeName2=_this$actualNode.nodeName,_id=_this$actualNode.id,multiple=_this$actualNode.multiple,nodeValue=_this$actualNode.nodeValue,value=_this$actualNode.value,selected=_this$actualNode.selected,checked=_this$actualNode.checked,indeterminate=_this$actualNode.indeterminate;this._cache.props={nodeType,nodeName:this._isXHTML?nodeName2:nodeName2.toLowerCase(),id:_id,type:this._type,multiple,nodeValue,value,selected,checked,indeterminate}}return this._cache.props}},{key:"attr",value:function attr(attrName){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(attrName)}},{key:"hasAttr",value:function hasAttr(attrName){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(attrName)}},{key:"attrNames",get:function get(){var attrs;this._cache.hasOwnProperty("attrNames")||(attrs=this.actualNode.attributes instanceof window.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(attrs).map((function(attr){return attr.name})));return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function getComputedStylePropertyValue(property){var key="computedStyle_"+property;return this._cache.hasOwnProperty(key)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=window.getComputedStyle(this.actualNode)),this._cache[key]=this._cache.computedStyle.getPropertyValue(property)),this._cache[key]}},{key:"isFocusable",get:function get(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=_isFocusable(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function get(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=get_tabbable_elements_default(this)),this._cache.tabbableElements}},{key:"clientRects",get:function get(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter((function(rect){return rect.width>0}))),this._cache.clientRects}},{key:"boundingClientRect",get:function get(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}]),VirtualNode}(abstract_virtual_node_default),virtual_node_default=VirtualNode;var hasShadowRoot,token_list_default=function tokenList(str){return(str||"").trim().replace(/\s{2,}/g," ").split(" ")},idsKey=" [idsMap]";function getNodesMatchingExpression(domTree,expressions,filter){var selectorMap=domTree[0]._selectorMap;if(selectorMap){for(var shadowId=domTree[0].shadowId,_i18=0;_i181&&expressions[_i18].some((function(expression){return isGlobalSelector(expression)})))return;var nodeSet=new Set;expressions.forEach((function(expression){var _matchingNodes$nodes,matchingNodes=function findMatchingNodes(expression,selectorMap,shadowId){var exp=expression[expression.length-1],nodes=null,isComplexSelector=expression.length>1||!!exp.pseudos||!!exp.classes;if(isGlobalSelector(exp))nodes=selectorMap["*"];else{if(exp.id){var _selectorMap$idsKey$e;if(!selectorMap[idsKey]||null===(_selectorMap$idsKey$e=selectorMap[idsKey][exp.id])||void 0===_selectorMap$idsKey$e||!_selectorMap$idsKey$e.length)return;nodes=selectorMap[idsKey][exp.id].filter((function(node){return node.shadowId===shadowId}))}if(exp.tag&&"*"!==exp.tag){var _selectorMap$exp$tag;if(null===(_selectorMap$exp$tag=selectorMap[exp.tag])||void 0===_selectorMap$exp$tag||!_selectorMap$exp$tag.length)return;var cachedNodes=selectorMap[exp.tag];nodes=nodes?getSharedValues(cachedNodes,nodes):cachedNodes}if(exp.classes){var _selectorMap$Class;if(null===(_selectorMap$Class=selectorMap["[class]"])||void 0===_selectorMap$Class||!_selectorMap$Class.length)return;var _cachedNodes=selectorMap["[class]"];nodes=nodes?getSharedValues(_cachedNodes,nodes):_cachedNodes}if(exp.attributes)for(var _i19=0;_i190&&void 0!==arguments[0]?arguments[0]:document.documentElement,shadowId=arguments.length>1?arguments[1]:void 0;hasShadowRoot=!1;var selectorMap={};cache_default.set("nodeMap",new WeakMap),cache_default.set("selectorMap",selectorMap);var tree=flattenTree(node,shadowId,null);return tree[0]._selectorMap=selectorMap,tree[0]._hasShadowRoot=hasShadowRoot,tree};var get_base_lang_default=function getBaseLang(lang){return lang?lang.trim().split("-")[0].toLowerCase():""};var failure_summary_default=function failureSummary(nodeData){var failingChecks={};return failingChecks.none=nodeData.none.concat(nodeData.all),failingChecks.any=nodeData.any,Object.keys(failingChecks).map((function(key){if(failingChecks[key].length){var sum=axe._audit.data.failureSummaries[key];return sum&&"function"==typeof sum.failureMessage?sum.failureMessage(failingChecks[key].map((function(check){return check.message||""}))):void 0}})).filter((function(i){return void 0!==i})).join("\n\n")};function incompleteFallbackMessage(){var incompleteFallbackMessage2=axe._audit.data.incompleteFallbackMessage;return"function"==typeof incompleteFallbackMessage2&&(incompleteFallbackMessage2=incompleteFallbackMessage2()),"string"!=typeof incompleteFallbackMessage2?"":incompleteFallbackMessage2}var resultKeys=constants_default.resultGroups;var process_aggregate_default=function processAggregate(results,options){var resultObject=axe.utils.aggregateResult(results);return resultKeys.forEach((function(key){options.resultTypes&&!options.resultTypes.includes(key)&&(resultObject[key]||[]).forEach((function(ruleResult){Array.isArray(ruleResult.nodes)&&ruleResult.nodes.length>0&&(ruleResult.nodes=[ruleResult.nodes[0]])})),resultObject[key]=(resultObject[key]||[]).map((function(ruleResult){return ruleResult=Object.assign({},ruleResult),Array.isArray(ruleResult.nodes)&&ruleResult.nodes.length>0&&(ruleResult.nodes=ruleResult.nodes.map((function(subResult){return"object"===_typeof(subResult.node)&&(subResult.html=subResult.node.source,options.elementRef&&!subResult.node.fromFrame&&(subResult.element=subResult.node.element),(!1!==options.selectors||subResult.node.fromFrame)&&(subResult.target=subResult.node.selector),options.ancestry&&(subResult.ancestry=subResult.node.ancestry),options.xpath&&(subResult.xpath=subResult.node.xpath)),delete subResult.result,delete subResult.node,function normalizeRelatedNodes(node,options){["any","all","none"].forEach((function(type2){Array.isArray(node[type2])&&node[type2].filter((function(checkRes){return Array.isArray(checkRes.relatedNodes)})).forEach((function(checkRes){checkRes.relatedNodes=checkRes.relatedNodes.map((function(relatedNode){var _relatedNode$source,_relatedNode$element,_relatedNode$selector,_relatedNode$ancestry,_relatedNode$xpath,res={html:null!==(_relatedNode$source=null==relatedNode?void 0:relatedNode.source)&&void 0!==_relatedNode$source?_relatedNode$source:"Undefined"};return!options.elementRef||null!=relatedNode&&relatedNode.fromFrame||(res.element=null!==(_relatedNode$element=null==relatedNode?void 0:relatedNode.element)&&void 0!==_relatedNode$element?_relatedNode$element:null),(!1!==options.selectors||null!=relatedNode&&relatedNode.fromFrame)&&(res.target=null!==(_relatedNode$selector=null==relatedNode?void 0:relatedNode.selector)&&void 0!==_relatedNode$selector?_relatedNode$selector:[":root"]),options.ancestry&&(res.ancestry=null!==(_relatedNode$ancestry=null==relatedNode?void 0:relatedNode.ancestry)&&void 0!==_relatedNode$ancestry?_relatedNode$ancestry:[":root"]),options.xpath&&(res.xpath=null!==(_relatedNode$xpath=null==relatedNode?void 0:relatedNode.xpath)&&void 0!==_relatedNode$xpath?_relatedNode$xpath:["/"]),res}))}))}))}(subResult,options),subResult}))),resultKeys.forEach((function(key2){return delete ruleResult[key2]})),delete ruleResult.pageLevel,delete ruleResult.result,ruleResult}))})),resultObject},dataRegex=/\$\{\s?data\s?\}/g;function substitute(str,data2){if("string"==typeof data2)return str.replace(dataRegex,data2);for(var prop in data2)if(data2.hasOwnProperty(prop)){var regex=new RegExp("\\${\\s?data\\."+prop+"\\s?}","g"),replace=void 0===data2[prop]?"":String(data2[prop]);str=str.replace(regex,replace)}return str}var process_message_default=function processMessage(message,data2){if(message){if(Array.isArray(data2))return data2.values=data2.join(", "),"string"==typeof message.singular&&"string"==typeof message.plural?substitute(1===data2.length?message.singular:message.plural,data2):substitute(message,data2);if("string"==typeof message)return substitute(message,data2);if("string"==typeof data2)return substitute(message[data2],data2);var str=message.default||incompleteFallbackMessage();return data2&&data2.messageKey&&message[data2.messageKey]&&(str=message[data2.messageKey]),processMessage(str,data2)}};var get_check_message_default=function getCheckMessage(checkId,type2,data2){var check=axe._audit.data.checks[checkId];if(!check)throw new Error("Cannot get message for unknown check: ".concat(checkId,"."));if(!check.messages[type2])throw new Error('Check "'.concat(checkId,'"" does not have a "').concat(type2,'" message.'));return process_message_default(check.messages[type2],data2)};var get_check_option_default=function getCheckOption(check,ruleID,options){var ruleCheckOption=((options.rules&&options.rules[ruleID]||{}).checks||{})[check.id],checkOption=(options.checks||{})[check.id],enabled=check.enabled,opts=check.options;return checkOption&&(checkOption.hasOwnProperty("enabled")&&(enabled=checkOption.enabled),checkOption.hasOwnProperty("options")&&(opts=checkOption.options)),ruleCheckOption&&(ruleCheckOption.hasOwnProperty("enabled")&&(enabled=ruleCheckOption.enabled),ruleCheckOption.hasOwnProperty("options")&&(opts=ruleCheckOption.options)),{enabled,options:opts,absolutePaths:options.absolutePaths}};function _getEnvironmentData(){var _win$location,metadata=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,win=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return metadata&&"object"===_typeof(metadata)?metadata:"object"!==_typeof(win)?{}:{testEngine:{name:"axe-core",version:axe.version},testRunner:{name:axe._audit.brand},testEnvironment:getTestEnvironment(win),timestamp:(new Date).toISOString(),url:null===(_win$location=win.location)||void 0===_win$location?void 0:_win$location.href}}function getTestEnvironment(win){if(!win.navigator||"object"!==_typeof(win.navigator))return{};var navigator=win.navigator,innerHeight=win.innerHeight,innerWidth=win.innerWidth,_ref65=function getOrientation(_ref66){var screen=_ref66.screen;return screen.orientation||screen.msOrientation||screen.mozOrientation}(win)||{},angle=_ref65.angle,type2=_ref65.type;return{userAgent:navigator.userAgent,windowWidth:innerWidth,windowHeight:innerHeight,orientationAngle:angle,orientationType:type2}}function createFrameContext(frame,_ref67){var focusable=_ref67.focusable,page=_ref67.page;return{node:frame,include:[],exclude:[],initiator:!1,focusable:focusable&&frameFocusable(frame),size:getBoundingSize(frame),page}}function frameFocusable(frame){var tabIndex=frame.getAttribute("tabindex");if(!tabIndex)return!0;var _int=parseInt(tabIndex,10);return isNaN(_int)||_int>=0}function getBoundingSize(domNode){var width=parseInt(domNode.getAttribute("width"),10),height=parseInt(domNode.getAttribute("height"),10);if(isNaN(width)||isNaN(height)){var rect=domNode.getBoundingClientRect();width=isNaN(width)?rect.width:width,height=isNaN(height)?rect.height:height}return{width,height}}function normalizeContextList(){var selectorList=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],normalizedList=[];isArrayLike(selectorList)||(selectorList=[selectorList]);for(var _i20=0;_i201)pushUniqueFrameSelector(context,type2,item);else{var nodeList=_shadowSelectAll(item[0]);result.push.apply(result,_toConsumableArray(nodeList.map((function(node){return get_node_from_tree_default(node)}))))}}return result.filter((function(r){return r}))}function pushUniqueFrameSelector(context,type2,selectorArray){context.frames=context.frames||[],_shadowSelectAll(selectorArray.shift()).forEach((function(frame){var frameContext=context.frames.find((function(result){return result.node===frame}));frameContext||(frameContext=createFrameContext(frame,context),context.frames.push(frameContext)),frameContext[type2].push(selectorArray)}))}function Context(spec,flatTree){var _spec,_spec2,_spec3,_spec4,_this5=this;spec=clone_default(spec),this.frames=[],this.page="boolean"==typeof(null===(_spec=spec)||void 0===_spec?void 0:_spec.page)?spec.page:void 0,this.initiator="boolean"!=typeof(null===(_spec2=spec)||void 0===_spec2?void 0:_spec2.initiator)||spec.initiator,this.focusable="boolean"!=typeof(null===(_spec3=spec)||void 0===_spec3?void 0:_spec3.focusable)||spec.focusable,this.size="object"===_typeof(null===(_spec4=spec)||void 0===_spec4?void 0:_spec4.size)?spec.size:{},spec=function normalizeContext(contextSpec){if(isContextObject(contextSpec)){var msg=" must be used inside include or exclude. It should not be on the same object.";assert2(!objectHasOwn(contextSpec,"fromFrames"),"fromFrames"+msg),assert2(!objectHasOwn(contextSpec,"fromShadowDom"),"fromShadowDom"+msg)}else{if(!isContextProp(contextSpec))return{include:[document],exclude:[]};contextSpec={include:contextSpec,exclude:[]}}var include=normalizeContextList(contextSpec.include);return 0===include.length&&include.push(document),{include,exclude:normalizeContextList(contextSpec.exclude)}}(spec),this.flatTree=null!=flatTree?flatTree:get_flattened_tree_default(function getRootNode2(_ref69){for(var include=_ref69.include,exclude=_ref69.exclude,selectors=Array.from(include).concat(Array.from(exclude)),_i22=0;_i221&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new Context(context).frames.map((function(_ref70){var node=_ref70.node,frameContext=_objectWithoutProperties(_ref70,_excluded12);return frameContext.initiator=!1,{frameSelector:_getAncestry(node),frameContext}}))}var get_rule_default=function getRule(ruleId){var rule=axe._audit.rules.find((function(rule2){return rule2.id===ruleId}));if(!rule)throw new Error("Cannot find rule by id: ".concat(ruleId));return rule};function _getScroll(elm){var buffer=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,overflowX=elm.scrollWidth>elm.clientWidth+buffer,overflowY=elm.scrollHeight>elm.clientHeight+buffer;if(overflowX||overflowY){var style=window.getComputedStyle(elm),scrollableX=isScrollable(style,"overflow-x"),scrollableY=isScrollable(style,"overflow-y");return overflowX&&scrollableX||overflowY&&scrollableY?{elm,top:elm.scrollTop,left:elm.scrollLeft}:void 0}}function isScrollable(style,prop){var overflowProp=style.getPropertyValue(prop);return["scroll","auto"].includes(overflowProp)}function getElmScrollRecursive(root){return Array.from(root.children||root.childNodes||[]).reduce((function(scrolls,elm){var scroll=_getScroll(elm);return scroll&&scrolls.push(scroll),scrolls.concat(getElmScrollRecursive(elm))}),[])}var get_scroll_state_default=function getScrollState(){var win=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,root=win.document.documentElement;return[void 0!==win.pageXOffset?{elm:win,top:win.pageYOffset,left:win.pageXOffset}:{elm:root,top:root.scrollTop,left:root.scrollLeft}].concat(getElmScrollRecursive(document.body))};function _getStandards(){return clone_default(standards_default)}var styleSheet,get_stylesheet_factory_default=function getStyleSheetFactory(dynamicDoc){if(!dynamicDoc)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(options){var data2=options.data,_options$isCrossOrigi=options.isCrossOrigin,isCrossOrigin=void 0!==_options$isCrossOrigi&&_options$isCrossOrigi,shadowId=options.shadowId,root=options.root,priority=options.priority,_options$isLink=options.isLink,isLink=void 0!==_options$isLink&&_options$isLink,style=dynamicDoc.createElement("style");if(isLink){var text=dynamicDoc.createTextNode('@import "'.concat(data2.href,'"'));style.appendChild(text)}else style.appendChild(dynamicDoc.createTextNode(data2));return dynamicDoc.head.appendChild(style),{sheet:style.sheet,isCrossOrigin,shadowId,root,priority}}};var inject_style_default=function injectStyle(style){if(styleSheet&&styleSheet.parentNode)return void 0===styleSheet.styleSheet?styleSheet.appendChild(document.createTextNode(style)):styleSheet.styleSheet.cssText+=style,styleSheet;if(style){var head=document.head||document.getElementsByTagName("head")[0];return(styleSheet=document.createElement("style")).type="text/css",void 0===styleSheet.styleSheet?styleSheet.appendChild(document.createTextNode(style)):styleSheet.styleSheet.cssText=style,head.appendChild(styleSheet),styleSheet}};var is_hidden_default=function isHidden(el,recursed){var node=get_node_from_tree_default(el);if(9===el.nodeType)return!1;if(11===el.nodeType&&(el=el.host),node&&null!==node._isHidden)return node._isHidden;var style=window.getComputedStyle(el,null);if(!style||!el.parentNode||"none"===style.getPropertyValue("display")||!recursed&&"hidden"===style.getPropertyValue("visibility")||"true"===el.getAttribute("aria-hidden"))return!0;var hidden=isHidden(el.assignedSlot?el.assignedSlot:el.parentNode,!0);return node&&(node._isHidden=hidden),hidden};var is_html_element_default=function isHtmlElement(node){var _node$props$nodeName,_node$props,nodeName2=null!==(_node$props$nodeName=null===(_node$props=node.props)||void 0===_node$props?void 0:_node$props.nodeName)&&void 0!==_node$props$nodeName?_node$props$nodeName:node.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==node.namespaceURI&&!!standards_default.htmlElms[nodeName2]};function _isNodeInContext(node,_ref71){var _ref71$include=_ref71.include,include=void 0===_ref71$include?[]:_ref71$include,_ref71$exclude=_ref71.exclude,exclude=void 0===_ref71$exclude?[]:_ref71$exclude,filterInclude=include.filter((function(candidate){return _contains(candidate,node)}));if(0===filterInclude.length)return!1;var filterExcluded=exclude.filter((function(candidate){return _contains(candidate,node)}));if(0===filterExcluded.length)return!0;var deepestInclude=getDeepest(filterInclude);return _contains(getDeepest(filterExcluded),deepestInclude)}function getDeepest(collection){var deepest,_step11,_iterator11=_createForOfIteratorHelper(collection);try{for(_iterator11.s();!(_step11=_iterator11.n()).done;){var node=_step11.value;deepest&&_contains(node,deepest)||(deepest=node)}}catch(err){_iterator11.e(err)}finally{_iterator11.f()}return deepest}var match_ancestry_default=function matchAncestry(ancestryA,ancestryB){return ancestryA.length===ancestryB.length&&ancestryA.every((function(selectorA,index){var selectorB=ancestryB[index];return Array.isArray(selectorA)?selectorA.length===selectorB.length&&selectorA.every((function(str,index2){return selectorB[index2]===str})):selectorA===selectorB}))};var node_sorter_default=function nodeSorter(nodeA,nodeB){return(nodeA=nodeA.actualNode||nodeA)===(nodeB=nodeB.actualNode||nodeB)?0:4&nodeA.compareDocumentPosition(nodeB)?-1:1};function _nodeLookup(node){return node instanceof abstract_virtual_node_default?{vNode:node,domNode:node.actualNode}:{vNode:get_node_from_tree_default(node),domNode:node}}var parse_sameorigin_stylesheet_default=function parseSameOriginStylesheet(sheet,options,priority,importedUrls){var isCrossOrigin=arguments.length>4&&void 0!==arguments[4]&&arguments[4],rules=Array.from(sheet.cssRules);if(!rules)return Promise.resolve();var cssImportRules=rules.filter((function(r){return 3===r.type}));if(!cssImportRules.length)return Promise.resolve({isCrossOrigin,priority,root:options.rootNode,shadowId:options.shadowId,sheet});var promises=cssImportRules.filter((function(rule){return rule.href})).map((function(rule){return rule.href})).filter((function(url){return!importedUrls.includes(url)})).map((function(importUrl,cssRuleIndex){var newPriority=[].concat(_toConsumableArray(priority),[cssRuleIndex]),isCrossOriginRequest=/^https?:\/\/|^\/\//i.test(importUrl);return parse_crossorigin_stylesheet_default(importUrl,options,newPriority,importedUrls,isCrossOriginRequest)})),nonImportCSSRules=rules.filter((function(r){return 3!==r.type}));return nonImportCSSRules.length?(promises.push(Promise.resolve(options.convertDataToStylesheet({data:nonImportCSSRules.map((function(rule){return rule.cssText})).join(),isCrossOrigin,priority,root:options.rootNode,shadowId:options.shadowId}))),Promise.all(promises)):Promise.all(promises)};var parse_stylesheet_default=function parseStylesheet(sheet,options,priority,importedUrls){var isCrossOrigin=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function isSameOriginStylesheet(sheet){try{return!(!sheet.cssRules&&sheet.href)}catch(e){return!1}}(sheet)?parse_sameorigin_stylesheet_default(sheet,options,priority,importedUrls,isCrossOrigin):parse_crossorigin_stylesheet_default(sheet.href,options,priority,importedUrls,!0)};var toStr,isCallable,maxSafeInteger,toLength,parse_crossorigin_stylesheet_default=function parseCrossOriginStylesheet(url,options,priority,importedUrls,isCrossOrigin){return importedUrls.push(url),new Promise((function(resolve,reject){var request=new window.XMLHttpRequest;request.open("GET",url),request.timeout=constants_default.preload.timeout,request.addEventListener("error",reject),request.addEventListener("timeout",reject),request.addEventListener("loadend",(function(event){if(event.loaded&&request.responseText)return resolve(request.responseText);reject(request.responseText)})),request.send()})).then((function(data2){var result=options.convertDataToStylesheet({data:data2,isCrossOrigin,priority,root:options.rootNode,shadowId:options.shadowId});return parse_stylesheet_default(result.sheet,options,priority,importedUrls,result.isCrossOrigin)}))},performanceTimer=function(){function now(){if(window.performance&&window.performance)return window.performance.now()}var originalTime=null,lastRecordedTime=now();return{start:function start(){this.mark("mark_axe_start")},end:function end(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function auditStart(){this.mark("mark_audit_start")},auditEnd:function auditEnd(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function mark(markName){window.performance&&void 0!==window.performance.mark&&window.performance.mark(markName)},measure:function measure(measureName,startMark,endMark){window.performance&&void 0!==window.performance.measure&&window.performance.measure(measureName,startMark,endMark)},logMeasures:function logMeasures(measureName){function logMeasure(req2){log_default("Measure "+req2.name+" took "+req2.duration+"ms")}if(window.performance&&void 0!==window.performance.getEntriesByType)for(var axeStart=window.performance.getEntriesByName("mark_axe_start")[0],measures=window.performance.getEntriesByType("measure").filter((function(measure){return measure.startTime>=axeStart.startTime})),i=0;i>>0,thisArg=arguments[1],i=0;i>>0,i=0;i=0?k=n2:(k=len+n2)<0&&(k=0);k>>0,thisArg=arguments.length>=2?arguments[1]:void 0,i=0;i0?1:-1)*Math.floor(Math.abs(number)):number}(value);return Math.min(Math.max(len,0),maxSafeInteger)},function from(arrayLike){var items=Object(arrayLike);if(null==arrayLike)throw new TypeError("Array.from requires an array-like object - not null or undefined");var T,mapFn=arguments.length>1?arguments[1]:void 0;if(void 0!==mapFn){if(!isCallable(mapFn))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(T=arguments[2])}for(var kValue,len=toLength(items.length),A=isCallable(this)?Object(new this(len)):new Array(len),k=0;kthis.length)&&-1!==this.indexOf(search,start)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function flat(){var depth=isNaN(arguments[0])?1:Number(arguments[0]);return depth?Array.prototype.reduce.call(this,(function(acc,cur){return Array.isArray(cur)?acc.push.apply(acc,flat.call(cur,depth-1)):acc.push(cur),acc}),[]):Array.prototype.slice.call(this)},writable:!0}),window.Node&&!("isConnected"in window.Node.prototype)&&Object.defineProperty(window.Node.prototype,"isConnected",{get:function get(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var unique_array_default=function uniqueArray(arr1,arr2){return arr1.concat(arr2).filter((function(elem,pos,arr){return arr.indexOf(elem)===pos}))};function createLocalVariables(vNodes,anyLevel,thisLevel,parentShadowId,recycledLocalVariable){var retVal=recycledLocalVariable||{};return retVal.vNodes=vNodes,retVal.vNodesIndex=0,retVal.anyLevel=anyLevel,retVal.thisLevel=thisLevel,retVal.parentShadowId=parentShadowId,retVal}var recycledLocalVariables=[];var query_selector_all_filter_default=function querySelectorAllFilter(domTree,selector,filter){domTree=Array.isArray(domTree)?domTree:[domTree];var expressions=_convertSelector(selector),nodes=getNodesMatchingExpression(domTree,expressions,filter);return nodes||function matchExpressions(domTree,expressions,filter){for(var stack=[],currentLevel=createLocalVariables(Array.isArray(domTree)?domTree:[domTree],expressions,null,domTree[0].shadowId,recycledLocalVariables.pop()),result=[];currentLevel.vNodesIndex"].includes(rest[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+exp[1].combinator);">"===rest[0].combinator?(childOnly=childOnly||[]).push(rest):(childAny=childAny||[]).push(rest)}exp[0].id&&vNode.shadowId!==currentLevel.parentShadowId||null===(_currentLevel$anyLeve4=currentLevel.anyLevel)||void 0===_currentLevel$anyLeve4||!_currentLevel$anyLeve4.includes(exp)||(childAny=childAny||[]).push(exp)}for(vNode.children&&vNode.children.length&&(stack.push(currentLevel),currentLevel=createLocalVariables(vNode.children,childAny,childOnly,vNode.shadowId,recycledLocalVariables.pop()));currentLevel.vNodesIndex===currentLevel.vNodes.length&&stack.length;)recycledLocalVariables.push(currentLevel),currentLevel=stack.pop()}return result}(domTree,expressions,filter)};var preload_cssom_default=function preloadCssom(_ref72){var _ref72$treeRoot=_ref72.treeRoot,rootNodes=function getAllRootNodesInTree(tree){var ids=[],rootNodes=query_selector_all_filter_default(tree,"*",(function(node){return!ids.includes(node.shadowId)&&(ids.push(node.shadowId),!0)})).map((function(node){return{shadowId:node.shadowId,rootNode:get_root_node_default(node.actualNode)}}));return unique_array_default(rootNodes,[])}(void 0===_ref72$treeRoot?axe._tree[0]:_ref72$treeRoot);if(!rootNodes.length)return Promise.resolve();var dynamicDoc=document.implementation.createHTMLDocument("Dynamic document for loading cssom");return function getCssomForAllRootNodes(rootNodes,convertDataToStylesheet){var promises=[];return rootNodes.forEach((function(_ref73,index){var rootNode=_ref73.rootNode,shadowId=_ref73.shadowId,sheets=function getStylesheetsOfRootNode(rootNode,shadowId,convertDataToStylesheet){var sheets;sheets=11===rootNode.nodeType&&shadowId?function getStylesheetsFromDocumentFragment(rootNode,convertDataToStylesheet){return Array.from(rootNode.children).filter(filerStyleAndLinkAttributesInDocumentFragment).reduce((function(out,node){var nodeName2=node.nodeName.toUpperCase(),data2="STYLE"===nodeName2?node.textContent:node,stylesheet=convertDataToStylesheet({data:data2,isLink:"LINK"===nodeName2,root:rootNode});return out.push(stylesheet.sheet),out}),[])}(rootNode,convertDataToStylesheet):function getStylesheetsFromDocument(rootNode){return Array.from(rootNode.styleSheets).filter((function(sheet){return!!sheet.media&&filterMediaIsPrint(sheet.media.mediaText)}))}(rootNode);return function filterStylesheetsWithSameHref(sheets){var hrefs=[];return sheets.filter((function(sheet){return!sheet.href||!hrefs.includes(sheet.href)&&(hrefs.push(sheet.href),!0)}))}(sheets)}(rootNode,shadowId,convertDataToStylesheet);if(!sheets)return Promise.all(promises);var rootIndex=index+1,parseOptions={rootNode,shadowId,convertDataToStylesheet,rootIndex},importedUrls=[],p2=Promise.all(sheets.map((function(sheet,sheetIndex){return parse_stylesheet_default(sheet,parseOptions,[rootIndex,sheetIndex],importedUrls)})));promises.push(p2)})),Promise.all(promises)}(rootNodes,get_stylesheet_factory_default(dynamicDoc)).then((function(assets){return flattenAssets(assets)}))};function flattenAssets(assets){return assets.reduce((function(acc,val){return Array.isArray(val)?acc.concat(flattenAssets(val)):acc.concat(val)}),[])}function filerStyleAndLinkAttributesInDocumentFragment(node){var nodeName2=node.nodeName.toUpperCase(),linkHref=node.getAttribute("href"),linkRel=node.getAttribute("rel"),isLink="LINK"===nodeName2&&linkHref&&linkRel&&node.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===nodeName2||isLink&&filterMediaIsPrint(node.media)}function filterMediaIsPrint(media){return!media||!media.toUpperCase().includes("PRINT")}var preload_media_default=function preloadMedia(_ref74){var _ref74$treeRoot=_ref74.treeRoot,treeRoot=void 0===_ref74$treeRoot?axe._tree[0]:_ref74$treeRoot,mediaVirtualNodes=query_selector_all_filter_default(treeRoot,"video, audio",(function(_ref75){var actualNode=_ref75.actualNode;return actualNode.hasAttribute("src")?!!actualNode.getAttribute("src"):!(Array.from(actualNode.getElementsByTagName("source")).filter((function(source){return!!source.getAttribute("src")})).length<=0)}));return Promise.all(mediaVirtualNodes.map((function(_ref76){return function isMediaElementReady(elm){return new Promise((function(resolve){function onMediaReady(){elm.removeEventListener("loadedmetadata",onMediaReady),resolve(elm)}elm.readyState>0&&resolve(elm),elm.addEventListener("loadedmetadata",onMediaReady)}))}(_ref76.actualNode)})))};function _shouldPreload(options){return!options||void 0===options.preload||null===options.preload||("boolean"==typeof options.preload?options.preload:function isValidPreloadObject(preload2){return"object"===_typeof(preload2)&&Array.isArray(preload2.assets)}(options.preload))}function _getPreloadConfig(options){var _constants_default$pr=constants_default.preload,assets=_constants_default$pr.assets,timeout=_constants_default$pr.timeout,config={assets,timeout};if(!options.preload)return config;if("boolean"==typeof options.preload)return config;if(!options.preload.assets.every((function(a2){return assets.includes(a2.toLowerCase())})))throw new Error("Requested assets, not supported. Supported assets are: ".concat(assets.join(", "),"."));return config.assets=unique_array_default(options.preload.assets.map((function(a2){return a2.toLowerCase()})),[]),options.preload.timeout&&"number"==typeof options.preload.timeout&&!isNaN(options.preload.timeout)&&(config.timeout=options.preload.timeout),config}var preload_default=function preload(options){var preloadFunctionsMap={cssom:preload_cssom_default,media:preload_media_default};return _shouldPreload(options)?new Promise((function(resolve,reject){var _getPreloadConfig2=_getPreloadConfig(options),assets=_getPreloadConfig2.assets,timeout=_getPreloadConfig2.timeout,preloadTimeout=setTimeout((function(){return reject(new Error("Preload assets timed out."))}),timeout);Promise.all(assets.map((function(asset){return preloadFunctionsMap[asset](options).then((function(results){return function _defineProperty(obj,key,value){return(key=_toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},asset,results)}))}))).then((function(results){var preloadAssets=results.reduce((function(out,result){return _extends({},out,result)}),{});clearTimeout(preloadTimeout),resolve(preloadAssets)})).catch((function(err2){clearTimeout(preloadTimeout),reject(err2)}))})):Promise.resolve()};function extender(checksData,shouldBeTrue,rule){return function(check){var sourceData=checksData[check.id]||{},messages=sourceData.messages||{},data2=Object.assign({},sourceData);delete data2.messages,rule.reviewOnFail||void 0!==check.result?data2.message=check.result===shouldBeTrue?messages.pass:messages.fail:("object"!==_typeof(messages.incomplete)||Array.isArray(check.data)||(data2.message=function getIncompleteReason(checkData,messages){function getDefaultMsg(messages2){return messages2.incomplete&&messages2.incomplete.default?messages2.incomplete.default:incompleteFallbackMessage()}if(!checkData||!checkData.missingData)return checkData&&checkData.messageKey?messages.incomplete[checkData.messageKey]:getDefaultMsg(messages);try{var msg=messages.incomplete[checkData.missingData[0].reason];if(!msg)throw new Error;return msg}catch(e){return"string"==typeof checkData.missingData?messages.incomplete[checkData.missingData]:getDefaultMsg(messages)}}(check.data,messages)),data2.message||(data2.message=messages.incomplete)),"function"!=typeof data2.message&&(data2.message=process_message_default(data2.message,check.data)),extend_meta_data_default(check,data2)}}var publish_metadata_default=function publishMetaData(ruleResult){var checksData=axe._audit.data.checks||{},rulesData=axe._audit.data.rules||{},rule=find_by_default(axe._audit.rules,"id",ruleResult.id)||{};ruleResult.tags=clone_default(rule.tags||[]);var shouldBeTrue=extender(checksData,!0,rule),shouldBeFalse=extender(checksData,!1,rule);ruleResult.nodes.forEach((function(detail){detail.any.forEach(shouldBeTrue),detail.all.forEach(shouldBeTrue),detail.none.forEach(shouldBeFalse)})),extend_meta_data_default(ruleResult,clone_default(rulesData[ruleResult.id]||{}))};var query_selector_all_default=function querySelectorAll(domTree,selector){return query_selector_all_filter_default(domTree,selector)};function matchTags(rule,runOnly){var include,exclude,defaultExclude=axe._audit&&axe._audit.tagExclude?axe._audit.tagExclude:[];return runOnly.hasOwnProperty("include")||runOnly.hasOwnProperty("exclude")?(include=runOnly.include||[],include=Array.isArray(include)?include:[include],exclude=runOnly.exclude||[],exclude=(exclude=Array.isArray(exclude)?exclude:[exclude]).concat(defaultExclude.filter((function(tag){return-1===include.indexOf(tag)})))):(include=Array.isArray(runOnly)?runOnly:[runOnly],exclude=defaultExclude.filter((function(tag){return-1===include.indexOf(tag)}))),!!(include.some((function(tag){return-1!==rule.tags.indexOf(tag)}))||0===include.length&&!1!==rule.enabled)&&exclude.every((function(tag){return-1===rule.tags.indexOf(tag)}))}var rule_should_run_default=function ruleShouldRun(rule,context,options){var runOnly=options.runOnly||{},ruleOptions=(options.rules||{})[rule.id];return!(rule.pageLevel&&!context.page)&&("rule"===runOnly.type?-1!==runOnly.values.indexOf(rule.id):ruleOptions&&"boolean"==typeof ruleOptions.enabled?ruleOptions.enabled:"tag"===runOnly.type&&runOnly.values?matchTags(rule,runOnly.values):matchTags(rule,[]))};function _filterHtmlAttrs(element,filterAttrs){if(!filterAttrs)return element;var node=element.cloneNode(!1),attributes2=get_node_attributes_default(node);if(1===node.nodeType){var outerHTML=node.outerHTML;node=cache_default.get(outerHTML,(function(){return setNodeAttributes(node,attributes2,element,filterAttrs)}))}else node=setNodeAttributes(node,attributes2,element,filterAttrs);return Array.from(element.childNodes).forEach((function(child){node.appendChild(_filterHtmlAttrs(child,filterAttrs))})),node}function setNodeAttributes(node,attributes2,element,filterAttrs){return attributes2?(node=document.createElement(node.nodeName),Array.from(attributes2).forEach((function(attr){(function attributeMatches(node,attrName,filterAttrs){if(void 0===filterAttrs[attrName])return!1;if(!0===filterAttrs[attrName])return!0;return element_matches_default(node,filterAttrs[attrName])})(element,attr.name,filterAttrs)||node.setAttribute(attr.name,attr.value)})),node):node}function _select(selector,context){var candidate,result=[];if(axe._selectCache)for(var j=0,l=axe._selectCache.length;j1&&void 0!==arguments[1]?arguments[1]:document,selectorArr=Array.isArray(selectors)?_toConsumableArray(selectors):[selectors];return 0===selectors.length?[]:selectAllRecursive(selectorArr,doc)}function selectAllRecursive(_ref79,doc){var _ref80=function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableRest()}(_ref79),selectorStr=_ref80[0],restSelector=_ref80.slice(1),elms=doc.querySelectorAll(selectorStr);if(0===restSelector.length)return Array.from(elms);var _step12,selected=[],_iterator12=_createForOfIteratorHelper(elms);try{for(_iterator12.s();!(_step12=_iterator12.n()).done;){var elm=_step12.value;null!=elm&&elm.shadowRoot&&selected.push.apply(selected,_toConsumableArray(selectAllRecursive(restSelector,elm.shadowRoot)))}}catch(err){_iterator12.e(err)}finally{_iterator12.f()}return selected}var valid_input_type_default=function validInputTypes(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},langs=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function _validLangs(langArray){langArray=Array.isArray(langArray)?langArray:langs;var codes=[];return langArray.forEach((function(lang,index){var _char3=String.fromCharCode(index+96).replace("`","");Array.isArray(lang)?codes=codes.concat(_validLangs(lang).map((function(newLang){return _char3+newLang}))):codes.push(_char3)})),codes}var valid_langs_default=function isValidLang(lang){for(var array=langs;lang.length<3;)lang+="`";for(var _i26=0;_i26<=lang.length-1;_i26++){if(!(array=array[lang.charCodeAt(_i26)-96]))return!1}return!0},SerialVirtualNode=function(_abstract_virtual_nod2){_inherits(SerialVirtualNode,_abstract_virtual_nod2);var _super3=_createSuper(SerialVirtualNode);function SerialVirtualNode(serialNode){var _this6;return _classCallCheck(this,SerialVirtualNode),(_this6=_super3.call(this))._props=function normaliseProps(serialNode){var _serialNode$nodeName,_ref81,_serialNode$nodeType,nodeName2=null!==(_serialNode$nodeName=serialNode.nodeName)&&void 0!==_serialNode$nodeName?_serialNode$nodeName:nodeTypeToName[serialNode.nodeType],nodeType=null!==(_ref81=null!==(_serialNode$nodeType=serialNode.nodeType)&&void 0!==_serialNode$nodeType?_serialNode$nodeType:nodeNamesToTypes[serialNode.nodeName])&&void 0!==_ref81?_ref81:1;assert_default("number"==typeof nodeType,"nodeType has to be a number, got '".concat(nodeType,"'")),assert_default("string"==typeof nodeName2,"nodeName has to be a string, got '".concat(nodeName2,"'")),nodeName2=nodeName2.toLowerCase();var type2=null;"input"===nodeName2&&(type2=(serialNode.type||serialNode.attributes&&serialNode.attributes.type||"").toLowerCase(),valid_input_type_default().includes(type2)||(type2="text"));var props=_extends({},serialNode,{nodeType,nodeName:nodeName2});type2&&(props.type=type2);return delete props.attributes,Object.freeze(props)}(serialNode),_this6._attrs=function normaliseAttrs(_ref82){var _ref82$attributes=_ref82.attributes,attributes2=void 0===_ref82$attributes?{}:_ref82$attributes,attrMap={htmlFor:"for",className:"class"};return Object.keys(attributes2).reduce((function(attrs,attrName){var value=attributes2[attrName];(assert_default("object"!==_typeof(value)||null===value,"expects attributes not to be an object, '".concat(attrName,"' was")),void 0!==value)&&(attrs[attrMap[attrName]||attrName]=null!==value?String(value):null);return attrs}),{})}(serialNode),_this6}return _createClass(SerialVirtualNode,[{key:"props",get:function get(){return this._props}},{key:"attr",value:function attr(attrName){var _this$_attrs$attrName;return null!==(_this$_attrs$attrName=this._attrs[attrName])&&void 0!==_this$_attrs$attrName?_this$_attrs$attrName:null}},{key:"hasAttr",value:function hasAttr(attrName){return void 0!==this._attrs[attrName]}},{key:"attrNames",get:function get(){return Object.keys(this._attrs)}}]),SerialVirtualNode}(abstract_virtual_node_default),nodeNamesToTypes={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},nodeTypeToName={};Object.keys(nodeNamesToTypes).forEach((function(nodeName2){nodeTypeToName[nodeNamesToTypes[nodeName2]]=nodeName2}));var serial_virtual_node_default=SerialVirtualNode;var defaultReporter,cleanup_default=function cleanup(resolve,reject){if(resolve=resolve||function res(){},reject=reject||axe.log,!axe._audit)throw new Error("No audit configured");var q=axe.utils.queue(),cleanupErrors=[];Object.keys(axe.plugins).forEach((function(key){q.defer((function(res){var rej=function rej2(err2){cleanupErrors.push(err2),res()};try{axe.plugins[key].cleanup(res,rej)}catch(err2){rej(err2)}}))}));var flattenedTree=axe.utils.getFlattenedTree(document.body);axe.utils.querySelectorAll(flattenedTree,"iframe, frame").forEach((function(node){q.defer((function(res,rej){return axe.utils.sendCommandToFrame(node.actualNode,{command:"cleanup-plugin"},res,rej)}))})),q.then((function(results){0===cleanupErrors.length?resolve(results):reject(cleanupErrors)})).catch(reject)},reporters={};function hasReporter(reporterName){return reporters.hasOwnProperty(reporterName)}function getReporter(reporter){return"string"==typeof reporter&&reporters[reporter]?reporters[reporter]:"function"==typeof reporter?reporter:defaultReporter}var configure_default=function configure(spec){var audit;if(!(audit=axe._audit))throw new Error("No audit configured");if(spec.axeVersion||spec.ver){var specVersion=spec.axeVersion||spec.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(specVersion))throw new Error("Invalid configured version ".concat(specVersion));var _specVersion$split2=_slicedToArray(specVersion.split("-"),2),version=_specVersion$split2[0],canary=_specVersion$split2[1],_version$split$map2=_slicedToArray(version.split(".").map(Number),3),major=_version$split$map2[0],minor=_version$split$map2[1],patch=_version$split$map2[2],_axe$version$split2=_slicedToArray(axe.version.split("-"),2),axeVersion=_axe$version$split2[0],axeCanary=_axe$version$split2[1],_axeVersion$split$map2=_slicedToArray(axeVersion.split(".").map(Number),3),axeMajor=_axeVersion$split$map2[0],axeMinor=_axeVersion$split$map2[1],axePatch=_axeVersion$split$map2[2];if(major!==axeMajor||axeMinor1&&void 0!==arguments[1])||arguments[1],vNode=_nodeLookup(node).vNode;if(!is_html_element_default(vNode))return[];var nodeName2=vNode.props.nodeName,implicitRole3=implicit_role_default(vNode)||landmarkRoles[nodeName2];return function getRoleSegments(vNode){var roles=[];if(!vNode)return roles;if(vNode.hasAttr("role")){var nodeRoles=token_list_default(vNode.attr("role").toLowerCase());roles=roles.concat(nodeRoles)}return roles.filter((function(role){return is_valid_role_default(role)}))}(vNode).filter((function(role){return!function roleIsAllowed(role,vNode,allowImplicit,implicitRole3){if(allowImplicit&&role===implicitRole3)return!0;if(dpubRoles2.includes(role)&&get_role_type_default(role)!==implicitRole3)return!1;return is_aria_role_allowed_on_element_default(vNode,role)}(role,vNode,allowImplicit,implicitRole3)}))};var get_aria_roles_by_type_default=function getAriaRolesByType(type2){return Object.keys(standards_default.ariaRoles).filter((function(roleName){return standards_default.ariaRoles[roleName].type===type2}))};var get_roles_by_type_default=function getRolesByType(roleType){return get_aria_roles_by_type_default(roleType)};var get_aria_roles_supporting_name_from_content_default=function getAriaRolesSupportingNameFromContent(){return cache_default.get("ariaRolesNameFromContent",(function(){return Object.keys(standards_default.ariaRoles).filter((function(roleName){return standards_default.ariaRoles[roleName].nameFromContent}))}))};var get_roles_with_name_from_contents_default=function getRolesWithNameFromContents(){return get_aria_roles_supporting_name_from_content_default()},isNull=function isNull(value){return null===value},isNotNull=function isNotNull(value){return null!==value},lookupTable={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};lookupTable.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:isNotNull}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:isNotNull}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:isNotNull}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:isNotNull}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:isNotNull}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:isNotNull}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:isNotNull}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:isNotNull}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:isNotNull}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:isNotNull}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:isNotNull}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:isNotNull}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:isNotNull}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:isNotNull}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},lookupTable.implicitHtmlRole=implicit_html_roles_default,lookupTable.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:isNotNull}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:isNotNull}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function condition(vNode){return vNode instanceof axe.AbstractVirtualNode||(vNode=axe.utils.getNodeFromTree(vNode)),Number(vNode.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],lookupTable.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:isNull}},{nodeName:"img",attributes:{alt:isNull}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],lookupTable.evaluateRoleForElement={A:function A(_ref83){var node=_ref83.node,out=_ref83.out;return"http://www.w3.org/2000/svg"===node.namespaceURI||(!node.href.length||out)},AREA:function AREA(_ref84){return!_ref84.node.href},BUTTON:function BUTTON(_ref85){var node=_ref85.node,role=_ref85.role,out=_ref85.out;return"menu"===node.getAttribute("type")?"menuitem"===role:out},IMG:function IMG(_ref86){var node=_ref86.node,role=_ref86.role,out=_ref86.out;switch(node.alt){case null:return out;case"":return"presentation"===role||"none"===role;default:return"presentation"!==role&&"none"!==role}},INPUT:function INPUT(_ref87){var node=_ref87.node,role=_ref87.role,out=_ref87.out;switch(node.type){case"button":case"image":return out;case"checkbox":return!("button"!==role||!node.hasAttribute("aria-pressed"))||out;case"radio":return"menuitemradio"===role;case"text":return"combobox"===role||"searchbox"===role||"spinbutton"===role;case"tel":return"combobox"===role||"spinbutton"===role;case"url":case"search":case"email":return"combobox"===role;default:return!1}},LI:function LI(_ref88){var node=_ref88.node,out=_ref88.out;return!axe.utils.matchesSelector(node,"ol li, ul li")||out},MENU:function MENU(_ref89){return"context"!==_ref89.node.getAttribute("type")},OPTION:function OPTION(_ref90){var node=_ref90.node;return!axe.utils.matchesSelector(node,"select > option, datalist > option, optgroup > option")},SELECT:function SELECT(_ref91){var node=_ref91.node,role=_ref91.role;return!node.multiple&&node.size<=1&&"menu"===role},SVG:function SVG(_ref92){var node=_ref92.node,out=_ref92.out;return!(!node.parentNode||"http://www.w3.org/2000/svg"!==node.parentNode.namespaceURI)||out}},lookupTable.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var lookup_table_default=lookupTable;var implicit_nodes_default=function implicitNodes(role){var implicit=null,roles=lookup_table_default.role[role];return roles&&roles.implicit&&(implicit=clone_default(roles.implicit)),implicit};var is_accessible_ref_default=function isAccessibleRef(node){return!!get_accessible_refs_default(node).length};function _isComboboxPopup(virtualNode){var _popupRoles,popupRoles=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,role=get_role_default(virtualNode);if(null!==(_popupRoles=popupRoles)&&void 0!==_popupRoles||(popupRoles=aria_attrs_default["aria-haspopup"].values),!popupRoles.includes(role))return!1;var vParent=function nearestParentWithRole(vNode){for(;vNode=vNode.parent;)if(null!==get_role_default(vNode,{noPresentational:!0}))return vNode;return null}(virtualNode);if(isCombobox(vParent))return!0;var id=virtualNode.props.id;if(!id)return!1;if(!virtualNode.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var ownedCombobox=get_root_node_default(virtualNode.actualNode).querySelectorAll('[aria-owns~="'.concat(id,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(id,'"][role~="combobox"]:not(select)'));return Array.from(ownedCombobox).some(isCombobox)}var isCombobox=function isCombobox(node){return node&&"combobox"===get_role_default(node)};var label_default2=function label2(node){return node=get_node_from_tree_default(node),label_virtual_default(node)};var required_attr_default=function requiredAttr(role){var roleDef=standards_default.ariaRoles[role];return roleDef&&Array.isArray(roleDef.requiredAttrs)?_toConsumableArray(roleDef.requiredAttrs):[]};var required_context_default=function requiredContext(role){var roleDef=standards_default.ariaRoles[role];return roleDef&&Array.isArray(roleDef.requiredContext)?_toConsumableArray(roleDef.requiredContext):null};var required_owned_default=function requiredOwned(role){var roleDef=standards_default.ariaRoles[role];return roleDef&&Array.isArray(roleDef.requiredOwned)?_toConsumableArray(roleDef.requiredOwned):null};var validate_attr_value_default=function validateAttrValue(vNode,attr){var matches4,list,value=(vNode=vNode instanceof abstract_virtual_node_default?vNode:get_node_from_tree_default(vNode)).attr(attr),attrInfo=standards_default.ariaAttrs[attr];if(!attrInfo)return!0;if(attrInfo.allowEmpty&&(!value||""===value.trim()))return!0;switch(attrInfo.type){case"boolean":return["true","false"].includes(value.toLowerCase());case"nmtoken":return"string"==typeof value&&attrInfo.values.includes(value.toLowerCase());case"nmtokens":return(list=token_list_default(value)).reduce((function(result,token){return result&&attrInfo.values.includes(token)}),0!==list.length);case"idref":try{var doc=get_root_node_default2(vNode.actualNode);return!(!value||!doc.getElementById(value))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return idrefs_default(vNode,attr).some((function(node){return!!node}));case"string":return""!==value.trim();case"decimal":return!(!(matches4=value.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!matches4[1]&&!matches4[2]);case"int":var minValue=void 0!==attrInfo.minValue?attrInfo.minValue:-1/0;return/^[-+]?[0-9]+$/.test(value)&&parseInt(value)>=minValue}};var validate_attr_default=function validateAttr(att){return!!standards_default.ariaAttrs[att]};var abstractrole_evaluate_default=function abstractroleEvaluate(node,options,virtualNode){var abstractRoles=token_list_default(virtualNode.attr("role")).filter((function(role){return"abstract"===get_role_type_default(role)}));return abstractRoles.length>0&&(this.data(abstractRoles),!0)};var aria_allowed_role_evaluate_default=function ariaAllowedRoleEvaluate(node){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},virtualNode=arguments.length>2?arguments[2]:void 0,_options$allowImplici=options.allowImplicit,allowImplicit=void 0===_options$allowImplici||_options$allowImplici,_options$ignoredTags=options.ignoredTags,ignoredTags=void 0===_options$ignoredTags?[]:_options$ignoredTags,nodeName2=virtualNode.props.nodeName;if(ignoredTags.map((function(tag){return tag.toLowerCase()})).includes(nodeName2))return!0;var unallowedRoles=get_element_unallowed_roles_default(virtualNode,allowImplicit);if(unallowedRoles.length){if(this.data(unallowedRoles),!_isVisibleToScreenReaders(virtualNode))return;return!1}return!0};function ariaConditionalCheckboxAttr(node,options,virtualNode){var _virtualNode$props=virtualNode.props,nodeName2=_virtualNode$props.nodeName,type2=_virtualNode$props.type,ariaChecked=function normalizeAriaChecked(ariaCheckedVal){if(!ariaCheckedVal)return"";if(ariaCheckedVal=ariaCheckedVal.toLowerCase(),["mixed","true"].includes(ariaCheckedVal))return ariaCheckedVal;return"false"}(virtualNode.attr("aria-checked"));if("input"!==nodeName2||"checkbox"!==type2||!ariaChecked)return!0;var checkState=function getCheckState(vNode){if(vNode.props.indeterminate)return"mixed";return vNode.props.checked?"true":"false"}(virtualNode);return ariaChecked===checkState||(this.data({messageKey:"checkbox",checkState}),!1)}function ariaConditionalRowAttr(node){var _invalidTableRowAttrs,_invalidTableRowAttrs2,invalidTableRowAttrs=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,virtualNode=arguments.length>2?arguments[2]:void 0,invalidAttrs=null!==(_invalidTableRowAttrs=null==invalidTableRowAttrs||null===(_invalidTableRowAttrs2=invalidTableRowAttrs.filter)||void 0===_invalidTableRowAttrs2?void 0:_invalidTableRowAttrs2.call(invalidTableRowAttrs,(function(invalidAttr){return virtualNode.hasAttr(invalidAttr)})))&&void 0!==_invalidTableRowAttrs?_invalidTableRowAttrs:[];if(0===invalidAttrs.length)return!0;var owner=function getRowOwner(virtualNode){if(!virtualNode.parent)return;return closest_default(virtualNode,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(virtualNode),ownerRole=owner&&get_role_default(owner);if(!ownerRole||"treegrid"===ownerRole)return!0;var messageKey="row".concat(invalidAttrs.length>1?"Plural":"Singular");return this.data({messageKey,invalidAttrs,ownerRole}),!1}var conditionalRoleMap={row:ariaConditionalRowAttr,checkbox:ariaConditionalCheckboxAttr};var aria_errormessage_evaluate_default=function ariaErrormessageEvaluate(node,options,virtualNode){options=Array.isArray(options)?options:[];var attr=virtualNode.attr("aria-errormessage"),hasAttr=virtualNode.hasAttr("aria-errormessage"),invaid=virtualNode.attr("aria-invalid");return!virtualNode.hasAttr("aria-invalid")||"false"===invaid||(-1!==options.indexOf(attr)||!hasAttr||(this.data(token_list_default(attr)),function validateAttrValue2(attr2){if(""===attr2.trim())return standards_default.ariaAttrs["aria-errormessage"].allowEmpty;var idref;try{idref=attr2&&idrefs_default(virtualNode,"aria-errormessage")[0]}catch(e){return void this.data({messageKey:"idrefs",values:token_list_default(attr2)})}return idref?_isVisibleToScreenReaders(idref)?"alert"===idref.getAttribute("role")||"assertive"===idref.getAttribute("aria-live")||"polite"===idref.getAttribute("aria-live")||token_list_default(virtualNode.attr("aria-describedby")).indexOf(attr2)>-1:(this.data({messageKey:"hidden",values:token_list_default(attr2)}),!1):void 0}.call(this,attr)))};var aria_hidden_body_evaluate_default=function ariaHiddenBodyEvaluate(node,options,virtualNode){return"true"!==virtualNode.attr("aria-hidden")};var aria_level_evaluate_default=function ariaLevelEvaluate(node,options,virtualNode){var ariaHeadingLevel=virtualNode.attr("aria-level");if(!(parseInt(ariaHeadingLevel,10)>6))return!0};var standards_exports={};function isContent(vNode){return 3===vNode.props.nodeType?vNode.props.nodeValue.trim().length>0:has_content_virtual_default(vNode,!1,!0)}function getMissingContext(virtualNode,ownGroupRoles,reqContext,includeElement){var explicitRole2=get_explicit_role_default(virtualNode);if(reqContext||(reqContext=required_context_default(explicitRole2)),!reqContext)return null;for(var allowsGroup=reqContext.includes("group"),vNode=includeElement?virtualNode:virtualNode.parent;vNode;){var role=get_role_default(vNode,{noPresentational:!0});if(role){if("group"!==role||!allowsGroup)return reqContext.includes(role)?null:reqContext;ownGroupRoles.includes(explicitRole2)&&reqContext.push(explicitRole2),reqContext=reqContext.filter((function(r){return"group"!==r})),vNode=vNode.parent}else vNode=vNode.parent}return reqContext}__export(standards_exports,{getAriaRolesByType:function getAriaRolesByType(){return get_aria_roles_by_type_default},getAriaRolesSupportingNameFromContent:function getAriaRolesSupportingNameFromContent(){return get_aria_roles_supporting_name_from_content_default},getElementSpec:function getElementSpec(){return get_element_spec_default},getElementsByContentType:function getElementsByContentType(){return get_elements_by_content_type_default},getGlobalAriaAttrs:function getGlobalAriaAttrs(){return get_global_aria_attrs_default},implicitHtmlRoles:function implicitHtmlRoles(){return implicit_html_roles_default}});var aria_required_parent_evaluate_default=function ariaRequiredParentEvaluate(node,options,virtualNode){var ownGroupRoles=options&&Array.isArray(options.ownGroupRoles)?options.ownGroupRoles:[],missingParents=getMissingContext(virtualNode,ownGroupRoles);if(!missingParents)return!0;var owners=function getAriaOwners(element){for(var owners=[],o=null;element;){if(element.getAttribute("id")){var _id3=escape_selector_default(element.getAttribute("id"));(o=get_root_node_default2(element).querySelector("[aria-owns~=".concat(_id3,"]")))&&owners.push(o)}element=element.parentElement}return owners.length?owners:null}(node);if(owners)for(var _i31=0,l=owners.length;_i311&&void 0!==arguments[1]?arguments[1]:{},role=get_role_default(arguments.length>2?arguments[2]:void 0);return!!(options.supportedRoles||[]).includes(role)||!(!role||"presentation"===role||"none"===role)&&void 0};var aria_unsupported_attr_evaluate_default=function ariaUnsupportedAttrEvaluate(node,options,virtualNode){var unsupportedAttrs=virtualNode.attrNames.filter((function(name){var attribute=standards_default.ariaAttrs[name];if(!validate_attr_default(name))return!1;var unsupported2=attribute.unsupported;return"object"!==_typeof(unsupported2)?!!unsupported2:!matches_default3(node,unsupported2.exceptions)}));return!!unsupportedAttrs.length&&(this.data(unsupportedAttrs),!0)};var aria_valid_attr_evaluate_default=function ariaValidAttrEvaluate(node,options,virtualNode){options=Array.isArray(options.value)?options.value:[];var invalid=[],aria=/^aria-/;return virtualNode.attrNames.forEach((function(attr){-1===options.indexOf(attr)&&aria.test(attr)&&!validate_attr_default(attr)&&invalid.push(attr)})),!invalid.length||(this.data(invalid),!1)};var fallbackrole_evaluate_default=function fallbackroleEvaluate(node,options,virtualNode){var explicitRoles=token_list_default(virtualNode.attr("role"));return!(explicitRoles.length<=1)&&(!function nonePresentationOnElementWithNoImplicitRole(virtualNode,explicitRoles){return!implicit_role_default(virtualNode)&&2===explicitRoles.length&&explicitRoles.includes("none")&&explicitRoles.includes("presentation")}(virtualNode,explicitRoles)||void 0)};var has_global_aria_attribute_evaluate_default=function hasGlobalAriaAttributeEvaluate(node,options,virtualNode){var globalAttrs=get_global_aria_attrs_default().filter((function(attr){return virtualNode.hasAttr(attr)}));return this.data(globalAttrs),globalAttrs.length>0};var has_widget_role_evaluate_default=function hasWidgetRoleEvaluate(node){var role=node.getAttribute("role");if(null===role)return!1;var roleType=get_role_type_default(role);return"widget"===roleType||"composite"===roleType};var invalidrole_evaluate_default=function invalidroleEvaluate(node,options,virtualNode){var allRoles=token_list_default(virtualNode.attr("role"));return!!allRoles.every((function(role){return!is_valid_role_default(role,{allowAbstract:!0})}))&&(this.data(allRoles),!0)};var is_element_focusable_evaluate_default=function isElementFocusableEvaluate(node,options,virtualNode){return _isFocusable(virtualNode)};var no_implicit_explicit_label_evaluate_default=function noImplicitExplicitLabelEvaluate(node,options,virtualNode){var label3,accText,role=get_role_default(virtualNode,{noImplicit:!0});this.data(role);try{label3=sanitize_default(label_text_default(virtualNode)).toLowerCase(),accText=sanitize_default(accessible_text_virtual_default(virtualNode)).toLowerCase()}catch(e){return}return!(!accText&&!label3)&&(!((accText||!label3)&&accText.includes(label3))&&void 0)};var unsupportedrole_evaluate_default=function unsupportedroleEvaluate(node,options,virtualNode){var role=get_role_default(virtualNode,{dpub:!0,fallback:!0}),isUnsupported=is_unsupported_role_default(role);return isUnsupported&&this.data(role),isUnsupported},VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},VALID_ROLES_FOR_SCROLLABLE_REGIONS={application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,form:!0,main:!0,navigation:!0,region:!0,search:!1};var valid_scrollable_semantics_evaluate_default=function validScrollableSemanticsEvaluate(node,options){return function validScrollableRole(node,options){var role=get_explicit_role_default(node);return role&&(VALID_ROLES_FOR_SCROLLABLE_REGIONS[role]||options.roles.includes(role))||!1}(node,options)||function validScrollableTagName(node){var nodeName2=node.nodeName.toUpperCase();return VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS[nodeName2]||!1}(node)},color_exports={};__export(color_exports,{Color:function Color(){return color_default},centerPointOfRect:function centerPointOfRect(){return center_point_of_rect_default},elementHasImage:function elementHasImage(){return element_has_image_default},elementIsDistinct:function elementIsDistinct(){return element_is_distinct_default},filteredRectStack:function filteredRectStack(){return filtered_rect_stack_default},flattenColors:function flattenColors(){return flatten_colors_default},flattenShadowColors:function flattenShadowColors(){return _flattenShadowColors},getBackgroundColor:function getBackgroundColor(){return _getBackgroundColor2},getBackgroundStack:function getBackgroundStack(){return _getBackgroundStack},getContrast:function getContrast(){return get_contrast_default},getForegroundColor:function getForegroundColor(){return _getForegroundColor},getOwnBackgroundColor:function getOwnBackgroundColor(){return get_own_background_color_default},getRectStack:function getRectStack(){return get_rect_stack_default},getStackingContext:function getStackingContext(){return _getStackingContext},getTextShadowColors:function getTextShadowColors(){return get_text_shadow_colors_default},hasValidContrastRatio:function hasValidContrastRatio(){return has_valid_contrast_ratio_default},incompleteData:function incompleteData(){return incomplete_data_default},stackingContextToColor:function stackingContextToColor(){return _stackingContextToColor}});var center_point_of_rect_default=function centerPointOfRect(rect){if(!(rect.left>window.innerWidth||rect.top>window.innerHeight))return{x:Math.min(Math.ceil(rect.left+rect.width/2),window.innerWidth-1),y:Math.min(Math.ceil(rect.top+rect.height/2),window.innerHeight-1)}};function _getFonts(style){return style.getPropertyValue("font-family").split(/[,;]/g).map((function(font){return font.trim().toLowerCase()}))}var element_is_distinct_default=function elementIsDistinct(node,ancestorNode){var nodeStyle=window.getComputedStyle(node);if("none"!==nodeStyle.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(result,edge){var borderClr=new color_default;return borderClr.parseString(nodeStyle.getPropertyValue(edge+"-color")),result||"none"!==nodeStyle.getPropertyValue(edge+"-style")&&parseFloat(nodeStyle.getPropertyValue(edge+"-width"))>0&&0!==borderClr.alpha}),!1))return!0;var parentStyle=window.getComputedStyle(ancestorNode);if(_getFonts(nodeStyle)[0]!==_getFonts(parentStyle)[0])return!0;var hasStyle=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(result,cssProp){return result||nodeStyle.getPropertyValue(cssProp)!==parentStyle.getPropertyValue(cssProp)}),!1),tDec=nodeStyle.getPropertyValue("text-decoration");return tDec.split(" ").length<3&&(hasStyle=hasStyle||tDec!==parentStyle.getPropertyValue("text-decoration")),hasStyle};var get_rect_stack_default=function getRectStack2(elm){var boundingStack=get_element_stack_default(elm),filteredArr=get_text_element_stack_default(elm);return!filteredArr||filteredArr.length<=1?[boundingStack]:filteredArr.some((function(stack){return void 0===stack}))?null:(filteredArr.splice(0,0,boundingStack),filteredArr)};var filtered_rect_stack_default=function filteredRectStack(elm){var rectStack=get_rect_stack_default(elm);if(rectStack&&1===rectStack.length)return rectStack[0];if(rectStack&&rectStack.length>1){var isSame,boundingStack=rectStack.shift();return rectStack.forEach((function(rectList,index){if(0!==index){var rectA=rectStack[index-1],rectB=rectStack[index];isSame=rectA.every((function(element,elementIndex){return element===rectB[elementIndex]}))||boundingStack.includes(elm)}})),isSame?rectStack[0]:(incomplete_data_default.set("bgColor","elmPartiallyObscuring"),null)}return incomplete_data_default.set("bgColor","outsideViewport"),null};var blendFunctions={normal:function normal(Cb,Cs){return Cs},multiply:function multiply(Cb,Cs){return Cs*Cb},screen:function screen(Cb,Cs){return Cb+Cs-Cb*Cs},overlay:function overlay(Cb,Cs){return this["hard-light"](Cs,Cb)},darken:function darken(Cb,Cs){return Math.min(Cb,Cs)},lighten:function lighten(Cb,Cs){return Math.max(Cb,Cs)},"color-dodge":function colorDodge(Cb,Cs){return 0===Cb?0:1===Cs?1:Math.min(1,Cb/(1-Cs))},"color-burn":function colorBurn(Cb,Cs){return 1===Cb?1:0===Cs?0:1-Math.min(1,(1-Cb)/Cs)},"hard-light":function hardLight(Cb,Cs){return Cs<=.5?this.multiply(Cb,2*Cs):this.screen(Cb,2*Cs-1)},"soft-light":function softLight(Cb,Cs){return Cs<=.5?Cb-(1-2*Cs)*Cb*(1-Cb):Cb+(2*Cs-1)*((Cb<=.25?((16*Cb-12)*Cb+4)*Cb:Math.sqrt(Cb))-Cb)},difference:function difference(Cb,Cs){return Math.abs(Cb-Cs)},exclusion:function exclusion(Cb,Cs){return Cb+Cs-2*Cb*Cs}};function simpleAlphaCompositing(Cs,αs,Cb,αb,blendMode){return αs*(1-αb)*Cs+αs*αb*blendFunctions[blendMode](Cb/255,Cs/255)*255+(1-αs)*αb*Cb}var flatten_colors_default=function flattenColors(sourceColor,backdrop){var blendMode=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal",r=simpleAlphaCompositing(sourceColor.red,sourceColor.alpha,backdrop.red,backdrop.alpha,blendMode),g2=simpleAlphaCompositing(sourceColor.green,sourceColor.alpha,backdrop.green,backdrop.alpha,blendMode),b2=simpleAlphaCompositing(sourceColor.blue,sourceColor.alpha,backdrop.blue,backdrop.alpha,blendMode),αo=function clamp2(value,min,max2){return Math.min(Math.max(min,value),max2)}(sourceColor.alpha+backdrop.alpha*(1-sourceColor.alpha),0,1);if(0===αo)return new color_default(r,g2,b2,αo);var Cr=Math.round(r/αo),Cg=Math.round(g2/αo),Cb=Math.round(b2/αo);return new color_default(Cr,Cg,Cb,αo)};function _flattenShadowColors(fgColor,bgColor){var alpha=fgColor.alpha,r=(1-alpha)*bgColor.red+alpha*fgColor.red,g2=(1-alpha)*bgColor.green+alpha*fgColor.green,b2=(1-alpha)*bgColor.blue+alpha*fgColor.blue,a2=fgColor.alpha+bgColor.alpha*(1-fgColor.alpha);return new color_default(r,g2,b2,a2)}function _getBackgroundStack(node){for(var stacks=get_text_element_stack_default(node).map((function(stack){return stack=function sortPageBackground(elmStack){var bodyIndex=elmStack.indexOf(document.body),bgNodes=elmStack,htmlBgColor=get_own_background_color_default(window.getComputedStyle(document.documentElement));if(bodyIndex>1&&0===htmlBgColor.alpha&&!element_has_image_default(document.documentElement)){bodyIndex>1&&(bgNodes.splice(bodyIndex,1),bgNodes.push(document.body));var htmlIndex=bgNodes.indexOf(document.documentElement);htmlIndex>0&&(bgNodes.splice(htmlIndex,1),bgNodes.push(document.documentElement))}return bgNodes}(stack=reduce_to_elements_below_floating_default(stack,node))})),index=0;index1&&void 0!==arguments[1]?arguments[1]:{},minRatio=_ref98.minRatio,maxRatio=_ref98.maxRatio,style=window.getComputedStyle(node),textShadow=style.getPropertyValue("text-shadow");if("none"===textShadow)return[];var fontSizeStr=style.getPropertyValue("font-size"),fontSize=parseInt(fontSizeStr);assert_default(!1===isNaN(fontSize),"Unable to determine font-size value ".concat(fontSizeStr));var shadowColors=[],shadows=function parseTextShadows(textShadow){var current={pixels:[]},str=textShadow.trim(),shadows=[current];if(!str)return[];for(;str;){var colorMatch=str.match(/^rgba?\([0-9,.\s]+\)/i)||str.match(/^[a-z]+/i)||str.match(/^#[0-9a-f]+/i),pixelMatch=str.match(/^([0-9.-]+)px/i)||str.match(/^(0)/);if(colorMatch)assert_default(!current.colorStr,"Multiple colors identified in text-shadow: ".concat(textShadow)),str=str.replace(colorMatch[0],"").trim(),current.colorStr=colorMatch[0];else if(pixelMatch){assert_default(current.pixels.length<3,"Too many pixel units in text-shadow: ".concat(textShadow)),str=str.replace(pixelMatch[0],"").trim();var pixelUnit=parseFloat(("."===pixelMatch[1][0]?"0":"")+pixelMatch[1]);current.pixels.push(pixelUnit)}else{if(","!==str[0])throw new Error("Unable to process text-shadows: ".concat(textShadow));assert_default(current.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(textShadow)),current={pixels:[]},shadows.push(current),str=str.substr(1).trim()}}return shadows}(textShadow);return shadows.forEach((function(_ref99){var colorStr=_ref99.colorStr,pixels=_ref99.pixels;colorStr=colorStr||style.getPropertyValue("color");var _pixels=_slicedToArray(pixels,3),offsetY=_pixels[0],offsetX=_pixels[1],_pixels$=_pixels[2],blurRadius=void 0===_pixels$?0:_pixels$;if((!minRatio||blurRadius>=fontSize*minRatio)&&(!maxRatio||blurRadiusblurRadius||offsetY>blurRadius)return new color_default(0,0,0,0);var shadowColor=new color_default;return shadowColor.parseString(colorStr),shadowColor.alpha*=function blurRadiusToAlpha(blurRadius,fontSize){if(0===blurRadius)return 1;var relativeBlur=blurRadius/fontSize;return.185/(relativeBlur+.4)}(blurRadius,fontSize),shadowColor}({colorStr,offsetY,offsetX,blurRadius,fontSize});shadowColors.push(_color3)}})),shadowColors};function _getStackingContext(elm,elmStack){var _elmStack,vNode=get_node_from_tree_default(elm);if(vNode._stackingContext)return vNode._stackingContext;var stackingContext=[],contextMap=new Map;return(elmStack=null!==(_elmStack=elmStack)&&void 0!==_elmStack?_elmStack:_getBackgroundStack(elm)).forEach((function(bgElm){var _stackingOrder2,bgVNode=get_node_from_tree_default(bgElm),bgColor=function getOwnBackgroundColor2(vNode){var bgColor=new color_default;return bgColor.parseString(vNode.getComputedStylePropertyValue("background-color")),bgColor}(bgVNode),stackingOrder=bgVNode._stackingOrder.filter((function(_ref101){return!!_ref101.vNode}));stackingOrder.forEach((function(_ref102,index){var _stackingOrder,vNode2=_ref102.vNode,ancestorVNode2=null===(_stackingOrder=stackingOrder[index-1])||void 0===_stackingOrder?void 0:_stackingOrder.vNode,context2=addToStackingContext(contextMap,vNode2,ancestorVNode2);0!==index||contextMap.get(vNode2)||stackingContext.unshift(context2),contextMap.set(vNode2,context2)}));var ancestorVNode=null===(_stackingOrder2=stackingOrder[stackingOrder.length-1])||void 0===_stackingOrder2?void 0:_stackingOrder2.vNode,context=addToStackingContext(contextMap,bgVNode,ancestorVNode);stackingOrder.length||stackingContext.unshift(context),context.bgColor=bgColor})),vNode._stackingContext=stackingContext,stackingContext}function _stackingContextToColor(context){var _context$descendants;if(null===(_context$descendants=context.descendants)||void 0===_context$descendants||!_context$descendants.length){var color2=context.bgColor;return color2.alpha*=context.opacity,{color:color2,blendMode:context.blendMode}}var sourceColor=context.descendants.reduce(reduceToColor,createStackingContext()),color=flatten_colors_default(sourceColor,context.bgColor,context.descendants[0].blendMode);return color.alpha*=context.opacity,{color,blendMode:context.blendMode}}function reduceToColor(backdropContext,sourceContext){var backdrop;backdrop=backdropContext instanceof color_default?backdropContext:_stackingContextToColor(backdropContext).color;var sourceColor=_stackingContextToColor(sourceContext).color;return flatten_colors_default(sourceColor,backdrop,sourceContext.blendMode)}function createStackingContext(vNode,ancestorContext){var _vNode$getComputedSty,blendmode;return{vNode,ancestor:ancestorContext,opacity:parseFloat(null!==(_vNode$getComputedSty=null==vNode?void 0:vNode.getComputedStylePropertyValue("opacity"))&&void 0!==_vNode$getComputedSty?_vNode$getComputedSty:1),bgColor:new color_default(0,0,0,0),blendMode:(blendmode=null==vNode?void 0:vNode.getComputedStylePropertyValue("mix-blend-mode"),blendmode||void 0),descendants:[]}}function addToStackingContext(contextMap,vNode,ancestorVNode){var _contextMap$get,ancestorContext=contextMap.get(ancestorVNode),context=null!==(_contextMap$get=contextMap.get(vNode))&&void 0!==_contextMap$get?_contextMap$get:createStackingContext(vNode,ancestorContext);return ancestorContext&&ancestorVNode!==vNode&&!ancestorContext.descendants.includes(context)&&ancestorContext.descendants.unshift(context),context}function _getBackgroundColor2(elm){var bgElms=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],shadowOutlineEmMax=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,vNode=get_node_from_tree_default(elm),bgColorCache=vNode._cache.getBackgroundColor;if(bgColorCache)return bgElms.push.apply(bgElms,_toConsumableArray(bgColorCache.bgElms)),incomplete_data_default.set("bgColor",bgColorCache.incompleteData),bgColorCache.bgColor;var bgColor=function _getBackgroundColor(elm,bgElms,shadowOutlineEmMax){var _bgColors,elmStack=_getBackgroundStack(elm);if(!elmStack)return null;var textRects=get_visible_child_text_rects_default(elm),bgColors=get_text_shadow_colors_default(elm,{minRatio:shadowOutlineEmMax});bgColors.length&&(bgColors=[{color:bgColors.reduce(_flattenShadowColors)}]);for(var _i32=0;_i32=nodeRect.top&&rect.bottom<=bottom&&rect.left>=nodeRect.left&&rect.right<=right}))}function normalizeBlendMode2(blendmode){return blendmode||void 0}var get_contrast_default=function getContrast(bgColor,fgColor){if(!fgColor||!bgColor)return null;fgColor.alpha<1&&(fgColor=flatten_colors_default(fgColor,bgColor));var bL=bgColor.getRelativeLuminance(),fL=fgColor.getRelativeLuminance();return(Math.max(fL,bL)+.05)/(Math.min(fL,bL)+.05)};function _getForegroundColor(node,_,bgColor){for(var _bgColor,options=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},nodeStyle=window.getComputedStyle(node),colorStack=[function(){return function getStrokeColor(nodeStyle,_ref103){var _ref103$textStrokeEmM=_ref103.textStrokeEmMin,textStrokeEmMin=void 0===_ref103$textStrokeEmM?0:_ref103$textStrokeEmM,strokeWidth=parseFloat(nodeStyle.getPropertyValue("-webkit-text-stroke-width"));if(0===strokeWidth)return null;var fontSize=nodeStyle.getPropertyValue("font-size"),relativeStrokeWidth=strokeWidth/parseFloat(fontSize);if(isNaN(relativeStrokeWidth)||relativeStrokeWidthexpectedContrastRatio,contrastRatio:contrast2,expectedContrastRatio}};var getPseudoElementArea=memoize_default((function getPseudoElementArea2(node,pseudo){var style=window.getComputedStyle(node,pseudo),matchPseudoStyle=function matchPseudoStyle(prop,value){return style.getPropertyValue(prop)===value};if(matchPseudoStyle("content","none")||matchPseudoStyle("display","none")||matchPseudoStyle("visibility","hidden")||!1===matchPseudoStyle("position","absolute"))return 0;if(0===get_own_background_color_default(style).alpha&&matchPseudoStyle("background-image","none"))return 0;var pseudoWidth=parseUnit(style.getPropertyValue("width")),pseudoHeight=parseUnit(style.getPropertyValue("height"));return"px"!==pseudoWidth.unit||"px"!==pseudoHeight.unit?0===pseudoWidth.value||0===pseudoHeight.value?0:1/0:pseudoWidth.value*pseudoHeight.value}));function parseUnit(str){var _ref107=_slicedToArray(str.match(/^([0-9.]+)([a-z]+)$/i)||[],3),_ref107$=_ref107[1],value=void 0===_ref107$?"":_ref107$,_ref107$2=_ref107[2],unit=void 0===_ref107$2?"":_ref107$2;return{value:parseFloat(value),unit:unit.toLowerCase()}}function getContrast2(color1,color2){var c1lum=color1.getRelativeLuminance(),c2lum=color2.getRelativeLuminance();return(Math.max(c1lum,c2lum)+.05)/(Math.min(c1lum,c2lum)+.05)}var blockLike2=["block","list-item","table","flex","grid","inline-block"];function isBlock2(elm){var display2=window.getComputedStyle(elm).getPropertyValue("display");return-1!==blockLike2.indexOf(display2)||"table-"===display2.substr(0,6)}var link_in_text_block_evaluate_default=function linkInTextBlockEvaluate(node,options){var requiredContrastRatio=options.requiredContrastRatio,allowSameColor=options.allowSameColor;if(isBlock2(node))return!1;for(var parentBlock=get_composed_parent_default(node);parentBlock&&1===parentBlock.nodeType&&!isBlock2(parentBlock);)parentBlock=get_composed_parent_default(parentBlock);if(parentBlock){this.relatedNodes([parentBlock]);var nodeColor=_getForegroundColor(node),parentColor=_getForegroundColor(parentBlock),nodeBackgroundColor=_getBackgroundColor2(node),parentBackgroundColor=_getBackgroundColor2(parentBlock),textContrast=nodeColor&&parentColor?getContrast2(nodeColor,parentColor):void 0;if(textContrast&&(textContrast=Math.floor(100*textContrast)/100),textContrast&&textContrast>=requiredContrastRatio)return!0;var backgroundContrast=nodeBackgroundColor&&parentBackgroundColor?getContrast2(nodeBackgroundColor,parentBackgroundColor):void 0;if(backgroundContrast&&(backgroundContrast=Math.floor(100*backgroundContrast)/100),backgroundContrast&&backgroundContrast>=requiredContrastRatio)return!0;if(!backgroundContrast){var _incomplete_data_defa,reason=null!==(_incomplete_data_defa=incomplete_data_default.get("bgColor"))&&void 0!==_incomplete_data_defa?_incomplete_data_defa:"bgContrast";return this.data({messageKey:reason}),void incomplete_data_default.clear()}if(textContrast)return!(!allowSameColor||1!==textContrast||1!==backgroundContrast)||(1===textContrast&&backgroundContrast>1?(this.data({messageKey:"bgContrast",contrastRatio:backgroundContrast,requiredContrastRatio,nodeBackgroundColor:nodeBackgroundColor?nodeBackgroundColor.toHexString():void 0,parentBackgroundColor:parentBackgroundColor?parentBackgroundColor.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:textContrast,requiredContrastRatio,nodeColor:nodeColor?nodeColor.toHexString():void 0,parentColor:parentColor?parentColor.toHexString():void 0}),!1))}},blockLike3=["block","list-item","table","flex","grid","inline-block"];function isBlock3(elm){var display2=window.getComputedStyle(elm).getPropertyValue("display");return-1!==blockLike3.indexOf(display2)||"table-"===display2.substr(0,6)}var autocomplete_appropriate_evaluate_default=function autocompleteAppropriateEvaluate(node,options,virtualNode){if("input"!==virtualNode.props.nodeName)return!0;var number=["text","search","number","tel"],url=["text","search","url"],allowedTypesMap={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":number,"cc-exp":["text","search","month","tel"],"cc-exp-month":number,"cc-exp-year":number,"cc-csc":number,"transaction-amount":number,"bday-day":number,"bday-month":number,"bday-year":number,"new-password":["text","search","password"],"current-password":["text","search","password"],url,photo:url,impp:url};"object"===_typeof(options)&&Object.keys(options).forEach((function(key){allowedTypesMap[key]||(allowedTypesMap[key]=[]),allowedTypesMap[key]=allowedTypesMap[key].concat(options[key])}));var autocompleteTerms=virtualNode.attr("autocomplete").split(/\s+/g).map((function(term){return term.toLowerCase()})),purposeTerm=autocompleteTerms[autocompleteTerms.length-1];if(_autocomplete.stateTerms.includes(purposeTerm))return!0;var allowedTypes=allowedTypesMap[purposeTerm],type2=virtualNode.hasAttr("type")?sanitize_default(virtualNode.attr("type")).toLowerCase():"text";return type2=valid_input_type_default().includes(type2)?type2:"text",void 0===allowedTypes?"text"===type2:allowedTypes.includes(type2)};var autocomplete_valid_evaluate_default=function autocompleteValidEvaluate(node,options,virtualNode){var autocomplete2=virtualNode.attr("autocomplete")||"";return is_valid_autocomplete_default(autocomplete2,options)};var attr_non_space_content_evaluate_default=function attrNonSpaceContentEvaluate(node){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},vNode=arguments.length>2?arguments[2]:void 0;if(!options.attribute||"string"!=typeof options.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!vNode.hasAttr(options.attribute))return this.data({messageKey:"noAttr"}),!1;var attribute=vNode.attr(options.attribute);return!!sanitize_default(attribute)||(this.data({messageKey:"emptyAttr"}),!1)};var has_descendant_after_default=function pageHasElmAfter(results){return results.some((function(frameResult){return!0===frameResult.result}))&&results.forEach((function(result){result.result=!0})),results};var has_descendant_evaluate_default=function hasDescendant(node,options,virtualNode){if(!options||!options.selector||"string"!=typeof options.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(options.passForModal&&is_modal_open_default())return!0;var matchingElms=query_selector_all_filter_default(virtualNode,options.selector,(function(vNode){return _isVisibleToScreenReaders(vNode)}));return this.relatedNodes(matchingElms.map((function(vNode){return vNode.actualNode}))),matchingElms.length>0};var matches_definition_evaluate_default=function matchesDefinitionEvaluate(_,options,virtualNode){return matches_default3(virtualNode,options.matcher)};var page_no_duplicate_after_default=function pageNoDuplicateAfter(results){return results.filter((function(checkResult){return"ignored"!==checkResult.data}))};var page_no_duplicate_evaluate_default=function pageNoDuplicateEvaluate(node,options,virtualNode){if(!options||!options.selector||"string"!=typeof options.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var key="page-no-duplicate;"+options.selector;if(!cache_default.get(key)){cache_default.set(key,!0);var elms=query_selector_all_filter_default(axe._tree[0],options.selector,(function(elm){return _isVisibleToScreenReaders(elm)}));return"string"==typeof options.nativeScopeFilter&&(elms=elms.filter((function(elm){return elm.actualNode.hasAttribute("role")||!find_up_virtual_default(elm,options.nativeScopeFilter)}))),this.relatedNodes(elms.filter((function(elm){return elm!==virtualNode})).map((function(elm){return elm.actualNode}))),elms.length<=1}this.data("ignored")};var accesskeys_after_default=function accesskeysAfter(results){var seen={};return results.filter((function(r){if(!r.data)return!1;var key=r.data.toUpperCase();return seen[key]?(seen[key].relatedNodes.push(r.relatedNodes[0]),!1):(seen[key]=r,r.relatedNodes=[],!0)})).map((function(r){return r.result=!!r.relatedNodes.length,r}))};var accesskeys_evaluate_default=function accesskeysEvaluate(node,options,vNode){return _isHiddenForEveryone(vNode)||(this.data(vNode.attr("accesskey")),this.relatedNodes([node])),!0};var focusable_content_evaluate_default=function focusableContentEvaluate(node,options,virtualNode){var tabbableElements=virtualNode.tabbableElements;return!!tabbableElements&&tabbableElements.filter((function(el){return el!==virtualNode})).length>0};var focusable_disabled_evaluate_default=function focusableDisabledEvaluate(node,options,virtualNode){var elementsThatCanBeDisabled=["button","fieldset","input","select","textarea"],tabbableElements=virtualNode.tabbableElements;if(!tabbableElements||!tabbableElements.length)return!0;var relatedNodes=tabbableElements.filter((function(vNode){return elementsThatCanBeDisabled.includes(vNode.props.nodeName)}));return this.relatedNodes(relatedNodes.map((function(vNode){return vNode.actualNode}))),!(0!==relatedNodes.length&&!is_modal_open_default())||!!relatedNodes.every((function(vNode){var pointerEvents=vNode.getComputedStylePropertyValue("pointer-events"),width=parseInt(vNode.getComputedStylePropertyValue("width")),height=parseInt(vNode.getComputedStylePropertyValue("height"));return vNode.actualNode.onfocus||(0===width||0===height)&&"none"===pointerEvents}))&&void 0};var focusable_element_evaluate_default=function focusableElementEvaluate(node,options,virtualNode){return!(!virtualNode.hasAttr("contenteditable")||!function isContenteditable(vNode){var contenteditable=vNode.attr("contenteditable");if("true"===contenteditable||""===contenteditable)return!0;if("false"===contenteditable)return!1;var ancestor=closest_default(virtualNode.parent,"[contenteditable]");if(!ancestor)return!1;return isContenteditable(ancestor)}(virtualNode))||_isInTabOrder(virtualNode)};var focusable_modal_open_evaluate_default=function focusableModalOpenEvaluate(node,options,virtualNode){var tabbableElements=virtualNode.tabbableElements.map((function(_ref108){return _ref108.actualNode}));return!tabbableElements||!tabbableElements.length||(!is_modal_open_default()||void this.relatedNodes(tabbableElements))};var focusable_no_name_evaluate_default=function focusableNoNameEvaluate(node,options,virtualNode){var tabIndex=virtualNode.attr("tabindex");if(!(_isFocusable(virtualNode)&&tabIndex>-1))return!1;try{return!accessible_text_virtual_default(virtualNode)}catch(e){return}};var focusable_not_tabbable_evaluate_default=function focusableNotTabbableEvaluate(node,options,virtualNode){var elementsThatCanBeDisabled=["button","fieldset","input","select","textarea"],tabbableElements=virtualNode.tabbableElements;if(!tabbableElements||!tabbableElements.length)return!0;var relatedNodes=tabbableElements.filter((function(vNode){return!elementsThatCanBeDisabled.includes(vNode.props.nodeName)}));return this.relatedNodes(relatedNodes.map((function(vNode){return vNode.actualNode}))),!(0!==relatedNodes.length&&!is_modal_open_default())||!!relatedNodes.every((function(vNode){var pointerEvents=vNode.getComputedStylePropertyValue("pointer-events"),width=parseInt(vNode.getComputedStylePropertyValue("width")),height=parseInt(vNode.getComputedStylePropertyValue("height"));return vNode.actualNode.onfocus||(0===width||0===height)&&"none"===pointerEvents}))&&void 0};function focusableDescendants(vNode){if(_isInTabOrder(vNode))return!0;if(!vNode.children){if(1===vNode.props.nodeType)throw new Error("Cannot determine children");return!1}return vNode.children.some((function(child){return focusableDescendants(child)}))}var landmark_is_top_level_evaluate_default=function landmarkIsTopLevelEvaluate(node){var landmarks=get_aria_roles_by_type_default("landmark"),parent=get_composed_parent_default(node),nodeRole=get_role_default(node);for(this.data({role:nodeRole});parent;){var role=parent.getAttribute("role");if(role||"FORM"===parent.nodeName.toUpperCase()||(role=implicit_role_default(parent)),role&&landmarks.includes(role)&&("main"!==role||"complementary"!==nodeRole))return!1;parent=get_composed_parent_default(parent)}return!0};function getFocusableDescendants(vNode){if(!vNode.children){if(1===vNode.props.nodeType)throw new Error("Cannot determine children");return[]}var retVal=[];return vNode.children.forEach((function(child){"widget"===get_role_type_default(child)&&_isFocusable(child)?retVal.push(child):retVal.push.apply(retVal,_toConsumableArray(getFocusableDescendants(child)))})),retVal}function usesUnreliableHidingStrategy(vNode){var tabIndex=parseInt(vNode.attr("tabindex"),10);return!isNaN(tabIndex)&&tabIndex<0}var tabindex_evaluate_default=function tabindexEvaluate(node,options,virtualNode){var tabIndex=parseInt(virtualNode.attr("tabindex"),10);return!!isNaN(tabIndex)||tabIndex<=0};var alt_space_value_evaluate_default=function altSpaceValueEvaluate(node,options,virtualNode){var alt=virtualNode.attr("alt");return"string"==typeof alt&&/^\s+$/.test(alt)};var duplicate_img_label_evaluate_default=function duplicateImgLabelEvaluate(node,options,virtualNode){if(["none","presentation"].includes(get_role_default(virtualNode)))return!1;var parentVNode=closest_default(virtualNode,options.parentSelector);if(!parentVNode)return!1;var visibleText=visible_virtual_default(parentVNode,!0).toLowerCase();return""!==visibleText&&visibleText===accessible_text_virtual_default(virtualNode).toLowerCase()};var explicit_evaluate_default=function explicitEvaluate(node,options,virtualNode){var _this7=this;if(!virtualNode.attr("id"))return!1;if(virtualNode.actualNode){var root=get_root_node_default2(virtualNode.actualNode),id=escape_selector_default(virtualNode.attr("id")),labels=Array.from(root.querySelectorAll('label[for="'.concat(id,'"]')));if(this.relatedNodes(labels),!labels.length)return!1;try{return labels.some((function(label3){if(_isVisibleOnScreen(label3)){var explicitLabel=sanitize_default(accessible_text_default(label3,{inControlContext:!0,startNode:virtualNode}));return _this7.data({explicitLabel}),!!explicitLabel}return!0}))}catch(e){return}}};var help_same_as_label_evaluate_default=function helpSameAsLabelEvaluate(node,options,virtualNode){var labelText2=label_virtual_default2(virtualNode),check=node.getAttribute("title");return!!labelText2&&(check||(check="",node.getAttribute("aria-describedby")&&(check=idrefs_default(node,"aria-describedby").map((function(thing){return thing?accessible_text_default(thing):""})).join(""))),sanitize_default(check)===sanitize_default(labelText2))};var hidden_explicit_label_evaluate_default=function hiddenExplicitLabelEvaluate(node,options,virtualNode){if(virtualNode.hasAttr("id")){if(!virtualNode.actualNode)return;var root=get_root_node_default2(node),_id4=escape_selector_default(node.getAttribute("id")),label3=root.querySelector('label[for="'.concat(_id4,'"]'));if(label3&&!_isVisibleToScreenReaders(label3)){var name;try{name=accessible_text_virtual_default(virtualNode).trim()}catch(e){return}return""===name}}return!1};var implicit_evaluate_default=function implicitEvaluate(node,options,virtualNode){try{var label3=closest_default(virtualNode,"label");if(label3){var implicitLabel=sanitize_default(accessible_text_virtual_default(label3,{inControlContext:!0,startNode:virtualNode}));return label3.actualNode&&this.relatedNodes([label3.actualNode]),this.data({implicitLabel}),!!implicitLabel}return!1}catch(e){return}};function isStringContained(compare,compareWith){var curatedCompareWith=curateString(compareWith),curatedCompare=curateString(compare);return!(!curatedCompareWith||!curatedCompare)&&curatedCompareWith.includes(curatedCompare)}function curateString(str){var noUnicodeStr=remove_unicode_default(str,{emoji:!0,nonBmp:!0,punctuations:!0});return sanitize_default(noUnicodeStr)}var label_content_name_mismatch_evaluate_default=function labelContentNameMismatchEvaluate(node,options,virtualNode){var _options$occurrenceTh,pixelThreshold=null==options?void 0:options.pixelThreshold,occurrenceThreshold=null!==(_options$occurrenceTh=null==options?void 0:options.occurrenceThreshold)&&void 0!==_options$occurrenceTh?_options$occurrenceTh:null==options?void 0:options.occuranceThreshold,accText=accessible_text_default(node).toLowerCase();if(!(is_human_interpretable_default(accText)<1)){var visibleText=sanitize_default(subtree_text_default(virtualNode,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold,occurrenceThreshold})).toLowerCase();return!visibleText||(is_human_interpretable_default(visibleText)<1?!!isStringContained(visibleText,accText)||void 0:isStringContained(visibleText,accText))}};var multiple_label_evaluate_default=function multipleLabelEvaluate(node){var id=escape_selector_default(node.getAttribute("id")),parent=node.parentNode,root=get_root_node_default2(node);root=root.documentElement||root;var labels=Array.from(root.querySelectorAll('label[for="'.concat(id,'"]')));for(labels.length&&(labels=labels.filter((function(label3){return!_isHiddenForEveryone(label3)})));parent;)"LABEL"===parent.nodeName.toUpperCase()&&-1===labels.indexOf(parent)&&labels.push(parent),parent=parent.parentNode;if(this.relatedNodes(labels),labels.length>1){var ATVisibleLabels=labels.filter((function(label3){return _isVisibleToScreenReaders(label3)}));if(ATVisibleLabels.length>1)return;return!idrefs_default(node,"aria-labelledby").includes(ATVisibleLabels[0])&&void 0}return!1};var title_only_evaluate_default=function titleOnlyEvaluate(node,options,virtualNode){var labelText2=label_virtual_default2(virtualNode),title=title_text_default(virtualNode),ariaDescribedBy=virtualNode.attr("aria-describedby");return!(labelText2||!title&&!ariaDescribedBy)};var landmark_is_unique_after_default=function landmarkIsUniqueAfter(results){var uniqueLandmarks=[];return results.filter((function(currentResult){var matchedResult=uniqueLandmarks.find((function findMatch(someResult){return currentResult.data.role===someResult.data.role&¤tResult.data.accessibleText===someResult.data.accessibleText}));return matchedResult?(matchedResult.result=!1,matchedResult.relatedNodes.push(currentResult.relatedNodes[0]),!1):(uniqueLandmarks.push(currentResult),currentResult.relatedNodes=[],!0)}))};var landmark_is_unique_evaluate_default=function landmarkIsUniqueEvaluate(node,options,virtualNode){var role=get_role_default(node),accessibleText2=accessible_text_virtual_default(virtualNode);return accessibleText2=accessibleText2?accessibleText2.toLowerCase():null,this.data({role,accessibleText:accessibleText2}),this.relatedNodes([node]),!0};function hasValue(value){return""!==(value||"").trim()}var has_lang_evaluate_default=function hasLangEvaluate(node,options,virtualNode){var xhtml2=void 0!==document&&is_xhtml_default(document);return options.attributes.includes("xml:lang")&&options.attributes.includes("lang")&&hasValue(virtualNode.attr("xml:lang"))&&!hasValue(virtualNode.attr("lang"))&&!xhtml2?(this.data({messageKey:"noXHTML"}),!1):!!options.attributes.some((function(name){return hasValue(virtualNode.attr(name))}))||(this.data({messageKey:"noLang"}),!1)};var valid_lang_evaluate_default=function validLangEvaluate(node,options,virtualNode){var invalid=[];return options.attributes.forEach((function(langAttr){var langVal=virtualNode.attr(langAttr);if("string"==typeof langVal){var baselangVal=get_base_lang_default(langVal),invalidLang=options.value?!options.value.map(get_base_lang_default).includes(baselangVal):!valid_langs_default(baselangVal);(""!==baselangVal&&invalidLang||""!==langVal&&!sanitize_default(langVal))&&invalid.push(langAttr+'="'+virtualNode.attr(langAttr)+'"')}})),!!invalid.length&&(!("html"!==virtualNode.props.nodeName&&!_hasLangText(virtualNode))&&(this.data(invalid),!0))};var xml_lang_mismatch_evaluate_default=function xmlLangMismatchEvaluate(node,options,vNode){return get_base_lang_default(vNode.attr("lang"))===get_base_lang_default(vNode.attr("xml:lang"))};var dlitem_evaluate_default=function dlitemEvaluate(node){var parent=get_composed_parent_default(node),parentTagName=parent.nodeName.toUpperCase(),parentRole=get_explicit_role_default(parent);return"DIV"===parentTagName&&["presentation","none",null].includes(parentRole)&&(parentTagName=(parent=get_composed_parent_default(parent)).nodeName.toUpperCase(),parentRole=get_explicit_role_default(parent)),"DL"===parentTagName&&!(parentRole&&!["presentation","none","list"].includes(parentRole))};function getInvalidSelector(vChild,nested,_ref109){var _ref109$validRoles=_ref109.validRoles,validRoles=void 0===_ref109$validRoles?[]:_ref109$validRoles,_ref109$validNodeName=_ref109.validNodeNames,validNodeNames=void 0===_ref109$validNodeName?[]:_ref109$validNodeName,_vChild$props=vChild.props,nodeName2=_vChild$props.nodeName,nodeType=_vChild$props.nodeType,nodeValue=_vChild$props.nodeValue,selector=nested?"div > ":"";if(3===nodeType&&""!==nodeValue.trim())return selector+"#text";if(1!==nodeType||!_isVisibleToScreenReaders(vChild))return!1;var role=get_explicit_role_default(vChild);return role?!validRoles.includes(role)&&selector+"[role=".concat(role,"]"):!validNodeNames.includes(nodeName2)&&selector+nodeName2}function mapWithNested(vNodes){var nested=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return vNodes.map((function(vChild){return{vChild,nested}}))}var only_dlitems_evaluate_default=function onlyDlitemsEvaluate(node,options,virtualNode){var ALLOWED_ROLES=["definition","term","list"],result=virtualNode.children.reduce((function(content2,child){var actualNode=child.actualNode;return"DIV"===actualNode.nodeName.toUpperCase()&&null===get_role_default(actualNode)?content2.concat(child.children):content2.concat(child)}),[]).reduce((function(out,childNode){var actualNode=childNode.actualNode,tagName=actualNode.nodeName.toUpperCase();if(1===actualNode.nodeType&&_isVisibleToScreenReaders(actualNode)){var explicitRole2=get_explicit_role_default(actualNode);("DT"!==tagName&&"DD"!==tagName||explicitRole2)&&(ALLOWED_ROLES.includes(explicitRole2)||out.badNodes.push(actualNode))}else 3===actualNode.nodeType&&""!==actualNode.nodeValue.trim()&&(out.hasNonEmptyTextNode=!0);return out}),{badNodes:[],hasNonEmptyTextNode:!1});return result.badNodes.length&&this.relatedNodes(result.badNodes),!!result.badNodes.length||result.hasNonEmptyTextNode};var only_listitems_evaluate_default=function onlyListitemsEvaluate(node,options,virtualNode){var hasNonEmptyTextNode=!1,atLeastOneListitem=!1,isEmpty=!0,badNodes=[],badRoleNodes=[],badRoles=[];return virtualNode.children.forEach((function(vNode){var actualNode=vNode.actualNode;if(3!==actualNode.nodeType||""===actualNode.nodeValue.trim()){if(1===actualNode.nodeType&&_isVisibleToScreenReaders(actualNode)){isEmpty=!1;var isLi="LI"===actualNode.nodeName.toUpperCase(),role=get_role_default(vNode),isListItemRole="listitem"===role;isLi||isListItemRole||badNodes.push(actualNode),isLi&&!isListItemRole&&(badRoleNodes.push(actualNode),badRoles.includes(role)||badRoles.push(role)),isListItemRole&&(atLeastOneListitem=!0)}}else hasNonEmptyTextNode=!0})),hasNonEmptyTextNode||badNodes.length?(this.relatedNodes(badNodes),!0):!isEmpty&&!atLeastOneListitem&&(this.relatedNodes(badRoleNodes),this.data({messageKey:"roleNotValid",roles:badRoles.join(", ")}),!0)};var structured_dlitems_evaluate_default=function structuredDlitemsEvaluate(node,options,virtualNode){var children=virtualNode.children;if(!children||!children.length)return!1;for(var nodeName2,hasDt=!1,hasDd=!1,i=0;i ");return iframes[ancestry2]=result,!0}var ancestry=result.node.ancestry.slice(0,result.node.ancestry.length-1).flat(1/0).join(" > ");return iframes[ancestry]&&(iframes[ancestry].result=!0),!1}))};var frame_tested_evaluate_default=function frameTestedEvaluate(node,options){return!options.isViolation&&void 0};var no_autoplay_audio_evaluate_default=function noAutoplayAudioEvaluate(node,options){if(node.duration){var _options$allowedDurat=options.allowedDuration,allowedDuration=void 0===_options$allowedDurat?3:_options$allowedDurat;return function getPlayableDuration(elm){if(!elm.currentSrc)return 0;var playbackRange=function getPlaybackRange(src){var match=src.match(/#t=(.*)/);if(!match)return;return _slicedToArray(match,2)[1].split(",").map((function(range2){return/:/.test(range2)?function convertHourMinSecToSeconds(hhMmSs){var parts=hhMmSs.split(":"),secs=0,mins=1;for(;parts.length>0;)secs+=mins*parseInt(parts.pop(),10),mins*=60;return parseFloat(secs)}(range2):parseFloat(range2)}))}(elm.currentSrc);if(!playbackRange)return Math.abs(elm.duration-(elm.currentTime||0));if(1===playbackRange.length)return Math.abs(elm.duration-playbackRange[0]);return Math.abs(playbackRange[1]-playbackRange[0])}(node)<=allowedDuration&&!node.hasAttribute("loop")||!!node.hasAttribute("controls")}console.warn("axe.utils.preloadMedia did not load metadata")};var css_orientation_lock_evaluate_default=function cssOrientationLockEvaluate(node,options,virtualNode,context){var _ref110$cssom=(context||{}).cssom,cssom=void 0===_ref110$cssom?void 0:_ref110$cssom,_ref111$degreeThresho=(options||{}).degreeThreshold,degreeThreshold=void 0===_ref111$degreeThresho?0:_ref111$degreeThresho;if(cssom&&cssom.length){for(var isLocked=!1,relatedElements=[],rulesGroupByDocumentFragment=function groupCssomByDocument(cssObjectModel){return cssObjectModel.reduce((function(out,_ref113){var sheet=_ref113.sheet,root=_ref113.root,shadowId=_ref113.shadowId,key=shadowId||"topDocument";if(out[key]||(out[key]={root,rules:[]}),!sheet||!sheet.cssRules)return out;var rules=Array.from(sheet.cssRules);return out[key].rules=out[key].rules.concat(rules),out}),{})}(cssom),_loop9=function _loop9(){var key=_Object$keys3[_i35],_rulesGroupByDocument=rulesGroupByDocumentFragment[key],root=_rulesGroupByDocument.root,orientationRules=_rulesGroupByDocument.rules.filter(isMediaRuleWithOrientation);if(!orientationRules.length)return"continue";orientationRules.forEach((function(_ref112){var cssRules=_ref112.cssRules;Array.from(cssRules).forEach((function(cssRule){var locked=function getIsOrientationLocked(_ref115){var selectorText=_ref115.selectorText,style=_ref115.style;if(!selectorText||style.length<=0)return!1;var transformStyle=style.transform||style.webkitTransform||style.msTransform||!1;if(!transformStyle&&!style.rotate)return!1;var transformDegrees=function getTransformDegrees(transformStyle){if(!transformStyle)return 0;var matches4=transformStyle.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!matches4)return 0;var _matches=_slicedToArray(matches4,3),transformFn=_matches[1],transformFnValue=_matches[2];return getRotationInDegrees(transformFn,transformFnValue)}(transformStyle),rotateDegrees=getRotationInDegrees("rotate",style.rotate),degrees=transformDegrees+rotateDegrees;if(!degrees)return!1;if(degrees=Math.abs(degrees),Math.abs(degrees-180)%180<=degreeThreshold)return!1;return Math.abs(degrees-90)%90<=degreeThreshold}(cssRule);if(locked&&"HTML"!==cssRule.selectorText.toUpperCase()){var elms=Array.from(root.querySelectorAll(cssRule.selectorText))||[];relatedElements=relatedElements.concat(elms)}isLocked=isLocked||locked}))}))},_i35=0,_Object$keys3=Object.keys(rulesGroupByDocumentFragment);_i35<_Object$keys3.length;_i35++)_loop9();return!isLocked||(relatedElements.length&&this.relatedNodes(relatedElements),!1)}function isMediaRuleWithOrientation(_ref114){var type2=_ref114.type,cssText=_ref114.cssText;return 4===type2&&(/orientation:\s*landscape/i.test(cssText)||/orientation:\s*portrait/i.test(cssText))}function getRotationInDegrees(transformFunction,transformFnValue){switch(transformFunction){case"rotate":case"rotateZ":return getAngleInDegrees(transformFnValue);case"rotate3d":var _transformFnValue$spl2=_slicedToArray(transformFnValue.split(",").map((function(value){return value.trim()})),4),z=_transformFnValue$spl2[2],angleWithUnit=_transformFnValue$spl2[3];if(0===parseInt(z))return;return getAngleInDegrees(angleWithUnit);case"matrix":case"matrix3d":return function getAngleInDegreesFromMatrixTransform(transformFnValue){var values=transformFnValue.split(",");if(values.length<=6){var _values=_slicedToArray(values,2),a2=_values[0],b3=_values[1];return convertRadToDeg(Math.atan2(parseFloat(b3),parseFloat(a2)))}var sinB=parseFloat(values[8]),b2=Math.asin(sinB),cosB=Math.cos(b2);return convertRadToDeg(Math.acos(parseFloat(values[0])/cosB))}(transformFnValue);default:return 0}}function getAngleInDegrees(angleWithUnit){var unit=_slicedToArray(angleWithUnit.match(/(deg|grad|rad|turn)/)||[],1)[0];if(!unit)return 0;var angle=parseFloat(angleWithUnit.replace(unit,""));switch(unit){case"rad":return convertRadToDeg(angle);case"grad":return function convertGradToDeg(grad){(grad%=400)<0&&(grad+=400);return Math.round(grad/400*360)}(angle);case"turn":return function convertTurnToDeg(turn){return Math.round(360/(1/turn))}(angle);default:return parseInt(angle)}}function convertRadToDeg(radians){return Math.round(radians*(180/Math.PI))}};var meta_viewport_scale_evaluate_default=function metaViewportScaleEvaluate(node,options,virtualNode){var _ref118=options||{},_ref118$scaleMinimum=_ref118.scaleMinimum,scaleMinimum=void 0===_ref118$scaleMinimum?2:_ref118$scaleMinimum,_ref118$lowerBound=_ref118.lowerBound,lowerBound=void 0!==_ref118$lowerBound&&_ref118$lowerBound,content=virtualNode.attr("content")||"";if(!content)return!0;var result=content.split(/[;,]/).reduce((function(out,item){var contentValue=item.trim();if(!contentValue)return out;var _contentValue$split2=_slicedToArray(contentValue.split("="),2),key=_contentValue$split2[0],value=_contentValue$split2[1];if(!key||!value)return out;var curatedKey=key.toLowerCase().trim(),curatedValue=value.toLowerCase().trim();return"maximum-scale"===curatedKey&&"yes"===curatedValue&&(curatedValue=1),"maximum-scale"===curatedKey&&parseFloat(curatedValue)<0||(out[curatedKey]=curatedValue),out}),{});if(lowerBound&&result["maximum-scale"]&&parseFloat(result["maximum-scale"])-1&&userScalableAsFloat<1?(this.data("user-scalable"),!1):!(result["maximum-scale"]&&parseFloat(result["maximum-scale"])=rectB.top&&rectA.left>=rectB.left&&rectA.bottom<=rectB.bottom&&rectA.right<=rectB.right}function getCssPointerEvents(vNode){return vNode.getComputedStylePropertyValue("pointer-events")}function toDecimalSize(rect){return{width:Math.round(10*rect.width)/10,height:Math.round(10*rect.height)/10}}function isDescendantNotInTabOrder(vAncestor,vNode){return vAncestor.actualNode.contains(vNode.actualNode)&&!_isInTabOrder(vNode)}function rectHasMinimumSize(minSize,_ref121){var width=_ref121.width,height=_ref121.height;return width+roundingMargin2>=minSize&&height+roundingMargin2>=minSize}function mapActualNodes(vNodes){return vNodes.map((function(_ref122){return _ref122.actualNode}))}function mergeHeadingOrder(mergedHeadingOrder,result){var _result$data,frameHeadingOrder=null===(_result$data=result.data)||void 0===_result$data?void 0:_result$data.headingOrder,frameAncestry=shortenArray(result.node.ancestry,1);if(!frameHeadingOrder)return mergedHeadingOrder;var normalizedHeadingOrder=frameHeadingOrder.map((function(heading){return function addFrameToHeadingAncestry(heading,frameAncestry){var ancestry=frameAncestry.concat(heading.ancestry);return _extends({},heading,{ancestry})}(heading,frameAncestry)})),index=function getFrameIndex(headingOrder,frameAncestry){for(;frameAncestry.length;){var index=findHeadingOrderIndex(headingOrder,frameAncestry);if(-1!==index)return index;frameAncestry=shortenArray(frameAncestry,1)}return-1}(mergedHeadingOrder,frameAncestry);return-1===index?mergedHeadingOrder.push.apply(mergedHeadingOrder,_toConsumableArray(normalizedHeadingOrder)):mergedHeadingOrder.splice.apply(mergedHeadingOrder,[index,0].concat(_toConsumableArray(normalizedHeadingOrder))),mergedHeadingOrder}function findHeadingOrderIndex(headingOrder,ancestry){return headingOrder.findIndex((function(heading){return match_ancestry_default(heading.ancestry,ancestry)}))}function shortenArray(arr,spliceLength){return arr.slice(0,arr.length-spliceLength)}function getLevel(vNode){var role=get_role_default(vNode),headingRole=role&&role.includes("heading"),ariaHeadingLevel=vNode.attr("aria-level"),ariaLevel=parseInt(ariaHeadingLevel,10),headingLevel=_slicedToArray(vNode.props.nodeName.match(/h(\d)/)||[],2)[1];return headingRole?headingLevel&&!ariaHeadingLevel?parseInt(headingLevel,10):isNaN(ariaLevel)||ariaLevel<1?headingLevel?parseInt(headingLevel,10):2:ariaLevel||-1:-1}var heading_order_evaluate_default=function headingOrderEvaluate(){var headingOrder=cache_default.get("headingOrder");if(headingOrder)return!0;var vNodes=query_selector_all_filter_default(axe._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",_isVisibleToScreenReaders);return headingOrder=vNodes.map((function(vNode){return{ancestry:[_getAncestry(vNode.actualNode)],level:getLevel(vNode)}})),this.data({headingOrder}),cache_default.set("headingOrder",vNodes),!0};function isIdenticalObject(a2,b2){if(!a2||!b2)return!1;var aProps=Object.getOwnPropertyNames(a2),bProps=Object.getOwnPropertyNames(b2);return aProps.length===bProps.length&&aProps.every((function(propName){var aValue=a2[propName],bValue=b2[propName];return _typeof(aValue)===_typeof(bValue)&&("object"===_typeof(aValue)||"object"===_typeof(bValue)?isIdenticalObject(aValue,bValue):aValue===bValue)}))}var identical_links_same_purpose_after_default=function identicalLinksSamePurposeAfter(results){if(results.length<2)return results;for(var incompleteResults=results.filter((function(_ref128){return void 0!==_ref128.result})),uniqueResults=[],nameMap={},_loop10=function _loop10(index){var _currentResult$relate,currentResult=incompleteResults[index],_currentResult$data=currentResult.data,name=_currentResult$data.name,urlProps=_currentResult$data.urlProps;if(nameMap[name])return"continue";var sameNameResults=incompleteResults.filter((function(_ref129,resultNum){return _ref129.data.name===name&&resultNum!==index})),isSameUrl=sameNameResults.every((function(_ref130){return isIdenticalObject(_ref130.data.urlProps,urlProps)}));sameNameResults.length&&!isSameUrl&&(currentResult.result=void 0),currentResult.relatedNodes=[],(_currentResult$relate=currentResult.relatedNodes).push.apply(_currentResult$relate,_toConsumableArray(sameNameResults.map((function(node){return node.relatedNodes[0]})))),nameMap[name]=sameNameResults,uniqueResults.push(currentResult)},index=0;index=rowEnd&&!headers;row--)for(var col=colStart;col>=colEnd;col--){var cell=tableGrid[row]?tableGrid[row][col]:void 0;if(cell){var vNode=axe.utils.getNodeFromTree(cell);if(vNode[property]){headers=vNode[property];break}cells.push(cell)}}return headers=(headers||[]).concat(cells.filter(predicate)),cells.forEach((function(tableCell){axe.utils.getNodeFromTree(tableCell)[property]=headers})),headers}var get_headers_default=function getHeaders(cell,tableGrid){if(cell.getAttribute("headers")){var headers=idrefs_default(cell,"headers");if(headers.filter((function(header){return header})).length)return headers}tableGrid||(tableGrid=to_grid_default(find_up_default(cell,"table")));var position=get_cell_position_default(cell,tableGrid),rowHeaders=traverseForHeaders("row",position,tableGrid),colHeaders=traverseForHeaders("col",position,tableGrid);return[].concat(rowHeaders,colHeaders).reverse()};var is_data_cell_default=function isDataCell(cell){if(!cell.children.length&&!cell.textContent.trim())return!1;var role=cell.getAttribute("role");return is_valid_role_default(role)?["cell","gridcell"].includes(role):"TD"===cell.nodeName.toUpperCase()};var is_data_table_default=function isDataTable(node){var role=(node.getAttribute("role")||"").toLowerCase();if(("presentation"===role||"none"===role)&&!_isFocusable(node))return!1;if("true"===node.getAttribute("contenteditable")||find_up_default(node,'[contenteditable="true"]'))return!0;if("grid"===role||"treegrid"===role||"table"===role)return!0;if("landmark"===get_role_type_default(role))return!0;if("0"===node.getAttribute("datatable"))return!1;if(node.getAttribute("summary"))return!0;if(node.tHead||node.tFoot||node.caption)return!0;for(var childIndex=0,childLength=node.children.length;childIndex=5)return!0;if(hasBorder)return!0;for(rowIndex=0;rowIndex=20||!(get_element_coordinates_default(node).width>.95*get_viewport_size_default(window).width)&&(!(cells<10)&&!node.querySelector("object, embed, iframe, applet"))};var is_header_default=function isHeader(cell){if(is_column_header_default(cell)||is_row_header_default(cell))return!0;if(cell.getAttribute("id")){var _id5=escape_selector_default(cell.getAttribute("id"));return!!document.querySelector('[headers~="'.concat(_id5,'"]'))}return!1};function traverseTable(dir,position,tableGrid,callback){var result,cell=tableGrid[position.y]?tableGrid[position.y][position.x]:void 0;return cell?"function"==typeof callback&&!0===(result=callback(cell,position,tableGrid))?[cell]:((result=traverseTable(dir,{x:position.x+dir.x,y:position.y+dir.y},tableGrid,callback)).unshift(cell),result):[]}var traverse_default=function traverse(dir,startPos,tableGrid,callback){if(Array.isArray(startPos)&&(callback=tableGrid,tableGrid=startPos,startPos={x:0,y:0}),"string"==typeof dir)switch(dir){case"left":dir={x:-1,y:0};break;case"up":dir={x:0,y:-1};break;case"right":dir={x:1,y:0};break;case"down":dir={x:0,y:1}}return traverseTable(dir,{x:startPos.x+dir.x,y:startPos.y+dir.y},tableGrid,callback)};var identical_links_same_purpose_evaluate_default=function identicalLinksSamePurposeEvaluate(node,options,virtualNode){var accText=text_exports.accessibleTextVirtual(virtualNode),name=text_exports.sanitize(text_exports.removeUnicode(accText,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(name){var afterData={name,urlProps:dom_exports.urlPropsFromAttribute(node,"href")};return this.data(afterData),this.relatedNodes([node]),!0}};var internal_link_present_evaluate_default=function internalLinkPresentEvaluate(node,options,virtualNode){return query_selector_all_default(virtualNode,"a[href]").some((function(vLink){return/^#[^/!]/.test(vLink.attr("href"))}))},separatorRegex=/[;,\s]/,validRedirectNumRegex=/^[0-9.]+$/;function normalizeFontWeight(weight){switch(weight){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return weight=parseInt(weight),isNaN(weight)?400:weight}function getStyleValues(node){var style=window.getComputedStyle(function getTextContainer(elm){for(var nextNode=elm,outerText=elm.textContent.trim(),innerText=outerText;innerText===outerText&&void 0!==nextNode;){var _i36=-1;if(0===(elm=nextNode).children.length)return elm;do{_i36++,innerText=elm.children[_i36].textContent.trim()}while(""===innerText&&_i36+1styleB.fontSize)&&(!margin.weight||styleA.fontWeight-margin.weight>styleB.fontWeight)&&(!margin.italic||styleA.isItalic&&!styleB.isItalic)}),!1)}var p_as_heading_evaluate_default=function pAsHeadingEvaluate(node,options,virtualNode){var siblings=Array.from(node.parentNode.children),currentIndex=siblings.indexOf(node),margins=(options=options||{}).margins||[],nextSibling=siblings.slice(currentIndex+1).find((function(elm){return"P"===elm.nodeName.toUpperCase()})),prevSibling=siblings.slice(0,currentIndex).reverse().find((function(elm){return"P"===elm.nodeName.toUpperCase()})),currStyle=getStyleValues(node),nextStyle=nextSibling?getStyleValues(nextSibling):null,prevStyle=prevSibling?getStyleValues(prevSibling):null,optionsPassLength=options.passLength,optionsFailLength=options.failLength,headingLength=node.textContent.trim().length,paragraphLength=null==nextSibling?void 0:nextSibling.textContent.trim().length;if(headingLength>paragraphLength*optionsPassLength)return!0;if(!nextStyle||!isHeaderStyle(currStyle,nextStyle,margins))return!0;var blockquote=find_up_virtual_default(virtualNode,"blockquote");return!!(blockquote&&"BLOCKQUOTE"===blockquote.nodeName.toUpperCase()||prevStyle&&!isHeaderStyle(currStyle,prevStyle,margins)||headingLength>paragraphLength*optionsFailLength)&&void 0};var region_after_default=function regionAfter(results){var iframeResults=results.filter((function(r){return r.data.isIframe}));return results.forEach((function(r){if(!r.result&&1!==r.node.ancestry.length){var _step17,frameAncestry=r.node.ancestry.slice(0,-1),_iterator17=_createForOfIteratorHelper(iframeResults);try{for(_iterator17.s();!(_step17=_iterator17.n()).done;){var iframeResult=_step17.value;if(match_ancestry_default(frameAncestry,iframeResult.node.ancestry)){r.result=iframeResult.result;break}}}catch(err){_iterator17.e(err)}finally{_iterator17.f()}}})),iframeResults.forEach((function(r){r.result||(r.result=!0)})),results},landmarkRoles2=get_aria_roles_by_type_default("landmark"),implicitAriaLiveRoles=["alert","log","status"];function findRegionlessElms(virtualNode,options){var node=virtualNode.actualNode;if("button"===get_role_default(virtualNode)||function isRegion(virtualNode,options){var node=virtualNode.actualNode,role=get_role_default(virtualNode),ariaLive=(node.getAttribute("aria-live")||"").toLowerCase().trim();if(["assertive","polite"].includes(ariaLive)||implicitAriaLiveRoles.includes(role))return!0;if(landmarkRoles2.includes(role))return!0;if(options.regionMatcher&&matches_default3(virtualNode,options.regionMatcher))return!0;return!1}(virtualNode,options)||["iframe","frame"].includes(virtualNode.props.nodeName)||_isSkipLink(virtualNode.actualNode)&&get_element_by_reference_default(virtualNode.actualNode,"href")||!_isVisibleToScreenReaders(node)){for(var vNode=virtualNode;vNode;)vNode._hasRegionDescendant=!0,vNode=vNode.parent;return["iframe","frame"].includes(virtualNode.props.nodeName)?[virtualNode]:[]}return node!==document.body&&has_content_default(node,!0)?[virtualNode]:virtualNode.children.filter((function(_ref132){return 1===_ref132.actualNode.nodeType})).map((function(vNode){return findRegionlessElms(vNode,options)})).reduce((function(a2,b2){return a2.concat(b2)}),[])}var skip_link_evaluate_default=function skipLinkEvaluate(node){var target=get_element_by_reference_default(node,"href");return!!target&&(_isVisibleToScreenReaders(target)||void 0)};var unique_frame_title_after_default=function uniqueFrameTitleAfter(results){var titles={};return results.forEach((function(r){titles[r.data]=void 0!==titles[r.data]?++titles[r.data]:0})),results.forEach((function(r){r.result=!!titles[r.data]})),results};var unique_frame_title_evaluate_default=function uniqueFrameTitleEvaluate(node,options,vNode){var title=sanitize_default(vNode.attr("title")).toLowerCase();return this.data(title),!0};var duplicate_id_after_default=function duplicateIdAfter(results){var uniqueIds=[];return results.filter((function(r){return-1===uniqueIds.indexOf(r.data)&&(uniqueIds.push(r.data),!0)}))};var duplicate_id_evaluate_default=function duplicateIdEvaluate(node){var id=node.getAttribute("id").trim();if(!id)return!0;var root=get_root_node_default2(node),matchingNodes=Array.from(root.querySelectorAll('[id="'.concat(escape_selector_default(id),'"]'))).filter((function(foundNode){return foundNode!==node}));return matchingNodes.length&&this.relatedNodes(matchingNodes),this.data(id),0===matchingNodes.length};var aria_label_evaluate_default=function ariaLabelEvaluate(node,options,virtualNode){return!!sanitize_default(_arialabelText(virtualNode))};var aria_labelledby_evaluate_default=function ariaLabelledbyEvaluate(node,options,virtualNode){try{return!!sanitize_default(arialabelledby_text_default(virtualNode))}catch(e){return}};var avoid_inline_spacing_evaluate_default=function avoidInlineSpacingEvaluate(node,options){var overriddenProperties=options.cssProperties.filter((function(property){if("important"===node.style.getPropertyPriority(property))return property}));return!(overriddenProperties.length>0)||(this.data(overriddenProperties),!1)};var doc_has_title_evaluate_default=function docHasTitleEvaluate(){var title=document.title;return!!sanitize_default(title)};var exists_evaluate_default=function existsEvaluate(){};var has_alt_evaluate_default=function hasAltEvaluate(node,options,virtualNode){var nodeName2=virtualNode.props.nodeName;return!!["img","input","area"].includes(nodeName2)&&virtualNode.hasAttr("alt")};var is_on_screen_evaluate_default=function isOnScreenEvaluate(node){return _isVisibleOnScreen(node)};var non_empty_if_present_evaluate_default=function nonEmptyIfPresentEvaluate(node,options,virtualNode){var nodeName2=virtualNode.props.nodeName,type2=(virtualNode.attr("type")||"").toLowerCase(),label3=virtualNode.attr("value");return label3&&this.data({messageKey:"has-label"}),!("input"!==nodeName2||!["submit","reset"].includes(type2))&&null===label3};var svg_non_empty_title_evaluate_default=function svgNonEmptyTitleEvaluate(node,options,virtualNode){if(virtualNode.children){var titleNode=virtualNode.children.find((function(_ref134){return"title"===_ref134.props.nodeName}));if(!titleNode)return this.data({messageKey:"noTitle"}),!1;try{if(""===subtree_text_default(titleNode,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}};var caption_faked_evaluate_default=function captionFakedEvaluate(node){var table=to_grid_default(node),firstRow=table[0];return table.length<=1||firstRow.length<=1||node.rows.length<=1||firstRow.reduce((function(out,curr,i){return out||curr!==firstRow[i+1]&&void 0!==firstRow[i+1]}),!1)};var html5_scope_evaluate_default=function html5ScopeEvaluate(node){return!is_html5_default(document)||"TH"===node.nodeName.toUpperCase()},same_caption_summary_evaluate_default=function sameCaptionSummaryEvaluate(node,options,virtualNode){if(void 0===virtualNode.children)return;var summary=virtualNode.attr("summary"),captionNode=virtualNode.children.find(isCaptionNode),caption=!!captionNode&&sanitize_default(subtree_text_default(captionNode));if(!caption||!summary)return!1;return sanitize_default(summary).toLowerCase()===sanitize_default(caption).toLowerCase()};function isCaptionNode(virtualNode){return"caption"===virtualNode.props.nodeName}var scope_value_evaluate_default=function scopeValueEvaluate(node,options){var value=node.getAttribute("scope").toLowerCase();return-1!==options.values.indexOf(value)};var td_has_header_evaluate_default=function tdHasHeaderEvaluate(node){var badCells=[],cells=get_all_cells_default(node),tableGrid=to_grid_default(node);return cells.forEach((function(cell){has_content_default(cell)&&is_data_cell_default(cell)&&!label_default2(cell)&&(get_headers_default(cell,tableGrid).some((function(header){return null!==header&&!!has_content_default(header)}))||badCells.push(cell))})),!badCells.length||(this.relatedNodes(badCells),!1)};var td_headers_attr_evaluate_default=function tdHeadersAttrEvaluate(node){for(var cells=[],reviewCells=[],badCells=[],rowIndex=0;rowIndex0?(this.relatedNodes(badCells),!1):!reviewCells.length||void this.relatedNodes(reviewCells)};var th_has_data_cells_evaluate_default=function thHasDataCellsEvaluate(node){var cells=get_all_cells_default(node),checkResult=this,reffedHeaders=[];cells.forEach((function(cell){var headers2=cell.getAttribute("headers");headers2&&(reffedHeaders=reffedHeaders.concat(headers2.split(/\s+/)));var ariaLabel=cell.getAttribute("aria-labelledby");ariaLabel&&(reffedHeaders=reffedHeaders.concat(ariaLabel.split(/\s+/)))}));var headers=cells.filter((function(cell){return""!==sanitize_default(cell.textContent)&&("TH"===cell.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(cell.getAttribute("role")))})),tableGrid=to_grid_default(node),out=!0;return headers.forEach((function(header){if(!header.getAttribute("id")||!reffedHeaders.includes(header.getAttribute("id"))){var pos=get_cell_position_default(header,tableGrid),hasCell=!1;is_column_header_default(header)&&(hasCell=traverse_default("down",pos,tableGrid).find((function(cell){return!is_column_header_default(cell)&&get_headers_default(cell,tableGrid).includes(header)}))),!hasCell&&is_row_header_default(header)&&(hasCell=traverse_default("right",pos,tableGrid).find((function(cell){return!is_row_header_default(cell)&&get_headers_default(cell,tableGrid).includes(header)}))),hasCell||checkResult.relatedNodes(header),out=out&&hasCell}})),!!out||void 0};var hidden_content_evaluate_default=function hiddenContentEvaluate(node,options,virtualNode){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(node.nodeName.toUpperCase())&&has_content_virtual_default(virtualNode)){var styles=window.getComputedStyle(node);if("none"===styles.getPropertyValue("display"))return;if("hidden"===styles.getPropertyValue("visibility")){var parent=get_composed_parent_default(node),parentStyle=parent&&window.getComputedStyle(parent);if(!parentStyle||"hidden"!==parentStyle.getPropertyValue("visibility"))return}}return!0};var aria_allowed_attr_matches_default=function ariaAllowedAttrMatches(node,virtualNode){var aria=/^aria-/,attrs=virtualNode.attrNames;if(attrs.length)for(var _i37=0,l=attrs.length;_i370&&ariaLabelledbyControls.every(is_disabled_default))return!1;if(!function hasRealTextChildren(virtualNode){var visibleText=visible_virtual_default(virtualNode,!1,!0);if(""===visibleText||""===remove_unicode_default(visibleText,removeUnicodeOptions))return!1;return virtualNode.children.some((function(vChild){return"#text"===vChild.props.nodeName&&!is_icon_ligature_default(vChild)}))}(virtualNode))return!1;for(var range2=document.createRange(),childNodes=virtualNode.children,index=0;index=3&&tableArray[0].length>=3&&tableArray[1].length>=3&&tableArray[2].length>=3}return!1};var data_table_matches_default=function dataTableMatches(node){return is_data_table_default(node)};var duplicate_id_active_matches_default=function duplicateIdActiveMatches(node){var id=node.getAttribute("id").trim(),idSelector='*[id="'.concat(escape_selector_default(id),'"]'),idMatchingElms=Array.from(get_root_node_default2(node).querySelectorAll(idSelector));return!is_accessible_ref_default(node)&&idMatchingElms.some(_isFocusable)};var duplicate_id_aria_matches_default=function duplicateIdAriaMatches(node){return is_accessible_ref_default(node)};var duplicate_id_misc_matches_default=function duplicateIdMiscMatches(node){var id=node.getAttribute("id").trim(),idSelector='*[id="'.concat(escape_selector_default(id),'"]'),idMatchingElms=Array.from(get_root_node_default2(node).querySelectorAll(idSelector));return!is_accessible_ref_default(node)&&idMatchingElms.every((function(elm){return!_isFocusable(elm)}))};var frame_focusable_content_matches_default=function frameFocusableContentMatches(node,virtualNode,context){var _context$size,_context$size2;return!context.initiator&&!context.focusable&&(null===(_context$size=context.size)||void 0===_context$size?void 0:_context$size.width)*(null===(_context$size2=context.size)||void 0===_context$size2?void 0:_context$size2.height)>1};var frame_title_has_text_matches_default=function frameTitleHasTextMatches(node){var title=node.getAttribute("title");return!!sanitize_default(title)};var has_implicit_chromium_role_matches_default=function hasImplicitChromiumRoleMatches(node,virtualNode){return null!==implicit_role_default(virtualNode,{chromium:!0})};var svg_namespace_matches_default=function svgNamespaceMatches(node,virtualNode){try{return"svg"===virtualNode.props.nodeName||!!closest_default(virtualNode,"svg")}catch(e){return!1}};var html_namespace_matches_default=function htmlNamespaceMatches(node,virtualNode){return!svg_namespace_matches_default(node,virtualNode)};var identical_links_same_purpose_matches_default=function identicalLinksSamePurposeMatches(node,virtualNode){if(!!!accessible_text_virtual_default(virtualNode))return!1;var role=get_role_default(node);return!role||"link"===role};var inserted_into_focus_order_matches_default=function insertedIntoFocusOrderMatches(node){return inserted_into_focus_order_default(node)};var label_content_name_mismatch_matches_default=function labelContentNameMismatchMatches(node,virtualNode){var role=get_role_default(node);return!!role&&(!!get_aria_roles_by_type_default("widget").includes(role)&&(!!get_aria_roles_supporting_name_from_content_default().includes(role)&&(!(!sanitize_default(_arialabelText(virtualNode))&&!sanitize_default(arialabelledby_text_default(node)))&&!!sanitize_default(visible_virtual_default(virtualNode)))))};var label_matches_default=function labelMatches(node,virtualNode){if("input"!==virtualNode.props.nodeName||!1===virtualNode.hasAttr("type"))return!0;var type2=virtualNode.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(type2)};var landmark_has_body_context_matches_default=function landmarkHasBodyContextMatches(node,virtualNode){return node.hasAttribute("role")||!find_up_virtual_default(virtualNode,"article, aside, main, nav, section")};var landmark_unique_matches_default=function landmarkUniqueMatches(node,virtualNode){var excludedParentsForHeaderFooterLandmarks=["article","aside","main","nav","section"].join(",");return function isLandmarkVirtual(virtualNode2){var actualNode=virtualNode2.actualNode,landmarkRoles3=get_aria_roles_by_type_default("landmark"),role=get_role_default(actualNode);if(!role)return!1;var nodeName2=actualNode.nodeName.toUpperCase();return"HEADER"===nodeName2||"FOOTER"===nodeName2?function isHeaderFooterLandmark(headerFooterElement){return!closest_default(headerFooterElement,excludedParentsForHeaderFooterLandmarks)}(virtualNode2):"SECTION"===nodeName2||"FORM"===nodeName2?!!accessible_text_virtual_default(virtualNode2):landmarkRoles3.indexOf(role)>=0||"region"===role}(virtualNode)&&_isVisibleToScreenReaders(node)};var layout_table_matches_default=function dataTableMatches2(node){return!is_data_table_default(node)&&!_isFocusable(node)};var link_in_text_block_matches_default=function linkInTextBlockMatches(node){var text=sanitize_default(node.innerText),role=node.getAttribute("role");return(!role||"link"===role)&&(!!text&&(!!_isVisibleOnScreen(node)&&is_in_text_block_default(node)))};var nested_interactive_matches_default=function nestedInteractiveMatches(node,virtualNode){var role=get_role_default(virtualNode);return!!role&&!!standards_default.ariaRoles[role].childrenPresentational};var no_autoplay_audio_matches_default=function noAutoplayAudioMatches(node){return!!node.currentSrc&&(!node.hasAttribute("paused")&&!node.hasAttribute("muted"))};var no_empty_role_matches_default=function noEmptyRoleMatches(node,virtualNode){return!!virtualNode.hasAttr("role")&&!!virtualNode.attr("role").trim()};var no_explicit_name_required_matches_default=function noExplicitNameRequired(node,virtualNode){var role=get_explicit_role_default(virtualNode);return!(role&&!["none","presentation"].includes(role))||!(!(aria_roles_default[role]||{}).accessibleNameRequired&&!_isFocusable(virtualNode))};var no_naming_method_matches_default=function noNamingMethodMatches(node,virtualNode){var namingMethods=get_element_spec_default(virtualNode).namingMethods;return(!namingMethods||0===namingMethods.length)&&(("combobox"!==get_explicit_role_default(virtualNode)||!query_selector_all_default(virtualNode,'input:not([type="hidden"])').length)&&!_isComboboxPopup(virtualNode,{popupRoles:["listbox"]}))};var no_negative_tabindex_matches_default=function noNegativeTabindexMatches(node,virtualNode){var tabindex=parseInt(virtualNode.attr("tabindex"),10);return isNaN(tabindex)||tabindex>=0};var no_role_matches_default=function noRoleMatches(node,vNode){return!vNode.attr("role")};var not_html_matches_default=function notHtmlMatches(node,virtualNode){return"html"!==virtualNode.props.nodeName};function objectHasLoaded(node){var _node$ownerDocument;if(null==node||null===(_node$ownerDocument=node.ownerDocument)||void 0===_node$ownerDocument||!_node$ownerDocument.createRange)return!0;var range2=node.ownerDocument.createRange();return range2.setStart(node,0),range2.setEnd(node,node.childNodes.length),0===range2.getClientRects().length}var p_as_heading_matches_default=function pAsHeadingMatches(node){var children=Array.from(node.parentNode.childNodes),nodeText=node.textContent.trim();return!(0===nodeText.length||(nodeText.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==children.slice(children.indexOf(node)+1).filter((function(elm){return"P"===elm.nodeName.toUpperCase()&&""!==elm.textContent.trim()})).length};var presentation_role_conflict_matches_default=function presentationRoleConflictMatches(node,virtualNode){return null!==implicit_role_default(virtualNode,{chromiumRoles:!0})};var skip_link_matches_default=function skipLinkMatches(node){return _isSkipLink(node)&&is_offscreen_default(node)};var matchesFns=[function(node,vNode){return isWidgetType(vNode)},function(node,vNode){return function isNotAreaElement(vNode){return"area"!==vNode.props.nodeName}(vNode)},function(node,vNode){return!svg_namespace_matches_default(node,vNode)},function(node,vNode){return _isFocusable(vNode)},function(node,vNode){return _isInTabOrder(vNode)||!hasWidgetAncestorInTabOrder(vNode)},function(node){return!is_in_text_block_default(node,{noLengthCompare:!0})}];function isWidgetType(vNode){return"widget"===get_role_type_default(vNode)}var hasWidgetAncestorInTabOrder=memoize_default((function hasWidgetAncestorInTabOrderMemoized(vNode){return!(null==vNode||!vNode.parent)&&(!(!isWidgetType(vNode.parent)||!_isInTabOrder(vNode.parent))||hasWidgetAncestorInTabOrderMemoized(vNode.parent))}));var metadataFunctionMap={"abstractrole-evaluate":abstractrole_evaluate_default,"accesskeys-after":accesskeys_after_default,"accesskeys-evaluate":accesskeys_evaluate_default,"alt-space-value-evaluate":alt_space_value_evaluate_default,"aria-allowed-attr-evaluate":function ariaAllowedAttrEvaluate(node,options,virtualNode){var invalid=[],role=get_role_default(virtualNode),allowed=allowed_attr_default(role);Array.isArray(options[role])&&(allowed=unique_array_default(options[role].concat(allowed)));var _step13,_iterator13=_createForOfIteratorHelper(virtualNode.attrNames);try{for(_iterator13.s();!(_step13=_iterator13.n()).done;){var attrName=_step13.value;validate_attr_default(attrName)&&!allowed.includes(attrName)&&invalid.push(attrName)}}catch(err){_iterator13.e(err)}finally{_iterator13.f()}return!invalid.length||(this.data(invalid.map((function(attrName){return attrName+'="'+virtualNode.attr(attrName)+'"'}))),!(role||is_html_element_default(virtualNode)||_isFocusable(virtualNode))&&void 0)},"aria-allowed-attr-matches":aria_allowed_attr_matches_default,"aria-allowed-role-evaluate":aria_allowed_role_evaluate_default,"aria-allowed-role-matches":aria_allowed_role_matches_default,"aria-busy-evaluate":function ariaBusyEvaluate(node,options,virtualNode){return"true"===virtualNode.attr("aria-busy")},"aria-conditional-attr-evaluate":function ariaConditionalAttrEvaluate(node,options,virtualNode){var role=get_role_default(virtualNode);return!conditionalRoleMap[role]||conditionalRoleMap[role].call(this,node,options,virtualNode)},"aria-conditional-checkbox-attr-evaluate":ariaConditionalCheckboxAttr,"aria-conditional-row-attr-evaluate":ariaConditionalRowAttr,"aria-errormessage-evaluate":aria_errormessage_evaluate_default,"aria-has-attr-matches":aria_has_attr_matches_default,"aria-hidden-body-evaluate":aria_hidden_body_evaluate_default,"aria-hidden-focus-matches":aria_hidden_focus_matches_default,"aria-label-evaluate":aria_label_evaluate_default,"aria-labelledby-evaluate":aria_labelledby_evaluate_default,"aria-level-evaluate":aria_level_evaluate_default,"aria-prohibited-attr-evaluate":function ariaProhibitedAttrEvaluate(node){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},virtualNode=arguments.length>2?arguments[2]:void 0,elementsAllowedAriaLabel=(null==options?void 0:options.elementsAllowedAriaLabel)||[],nodeName2=virtualNode.props.nodeName,role=get_role_default(virtualNode,{chromium:!0}),prohibited=function listProhibitedAttrs(role,nodeName2,elementsAllowedAriaLabel){var roleSpec=standards_default.ariaRoles[role];if(roleSpec)return roleSpec.prohibitedAttrs||[];if(role||elementsAllowedAriaLabel.includes(nodeName2))return[];return["aria-label","aria-labelledby"]}(role,nodeName2,elementsAllowedAriaLabel).filter((function(attrName){return!!virtualNode.attrNames.includes(attrName)&&""!==sanitize_default(virtualNode.attr(attrName))}));if(0===prohibited.length)return!1;var messageKey=virtualNode.hasAttr("role")?"hasRole":"noRole";messageKey+=prohibited.length>1?"Plural":"Singular",this.data({role,nodeName:nodeName2,messageKey,prohibited});var textContent=subtree_text_default(virtualNode,{subtreeDescendant:!0});return""===sanitize_default(textContent)||void 0},"aria-required-attr-evaluate":function ariaRequiredAttrEvaluate(node){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},virtualNode=arguments.length>2?arguments[2]:void 0,role=get_explicit_role_default(virtualNode),attrs=virtualNode.attrNames,requiredAttrs=required_attr_default(role);if(Array.isArray(options[role])&&(requiredAttrs=unique_array_default(options[role],requiredAttrs)),!role||!attrs.length||!requiredAttrs.length)return!0;if(function isStaticSeparator(vNode,role){return"separator"===role&&!_isFocusable(vNode)}(virtualNode,role)||function isClosedCombobox(vNode,role){return"combobox"===role&&"false"===vNode.attr("aria-expanded")}(virtualNode,role))return!0;var elmSpec=get_element_spec_default(virtualNode),missingAttrs=requiredAttrs.filter((function(requiredAttr2){return!virtualNode.attr(requiredAttr2)&&!function hasImplicitAttr(elmSpec,attr){var _elmSpec$implicitAttr;return void 0!==(null===(_elmSpec$implicitAttr=elmSpec.implicitAttrs)||void 0===_elmSpec$implicitAttr?void 0:_elmSpec$implicitAttr[attr])}(elmSpec,requiredAttr2)}));return!missingAttrs.length||(this.data(missingAttrs),!1)},"aria-required-children-evaluate":function ariaRequiredChildrenEvaluate(node,options,virtualNode){var reviewEmpty=options&&Array.isArray(options.reviewEmpty)?options.reviewEmpty:[],role=get_explicit_role_default(virtualNode,{dpub:!0}),required=required_owned_default(role);if(null===required)return!0;var _getOwnedRoles=function getOwnedRoles(virtualNode,required){for(var ownedRoles=[],ownedElements=get_owned_virtual_default(virtualNode).filter((function(vNode){return 1!==vNode.props.nodeType||_isVisibleToScreenReaders(vNode)})),_loop7=function _loop7(_i29){var ownedElement=ownedElements[_i29];if(1!==ownedElement.props.nodeType)return"continue";var role=get_role_default(ownedElement,{noPresentational:!0}),globalAriaAttr=function getGlobalAriaAttr(vNode){return get_global_aria_attrs_default().find((function(attr){return vNode.hasAttr(attr)}))}(ownedElement),hasGlobalAriaOrFocusable=!!globalAriaAttr||_isFocusable(ownedElement);!role&&!hasGlobalAriaOrFocusable||["group","rowgroup"].includes(role)&&required.some((function(requiredRole){return requiredRole===role}))?ownedElements.push.apply(ownedElements,_toConsumableArray(ownedElement.children)):(role||hasGlobalAriaOrFocusable)&&ownedRoles.push({role,attr:globalAriaAttr||"tabindex",ownedElement})},_i29=0;_i29=boldValue||"bold"===fontWeight,ptSize=Math.ceil(72*fontSize)/96,_ref104=bold&&ptSizeminimumSize)return vNode}while(vNode=vNode.parent)}(virtualNode,{ignorePseudo,pseudoSizeThreshold});if(pseudoElm)return this.data({fontSize:"".concat((72*fontSize/96).toFixed(1),"pt (").concat(fontSize,"px)"),fontWeight:bold?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:expected+":1"}),void this.relatedNodes(pseudoElm.actualNode);var bgNodes=[],bgColor=_getBackgroundColor2(node,bgNodes,shadowOutlineEmMax),fgColor=_getForegroundColor(node,!1,bgColor,options),shadowColors=get_text_shadow_colors_default(node,{minRatio:.001,maxRatio:shadowOutlineEmMax}),contrast2=null,contrastContributor=null,shadowColor=null;if(0===shadowColors.length)contrast2=get_contrast_default(bgColor,fgColor);else if(fgColor&&bgColor){shadowColor=[].concat(_toConsumableArray(shadowColors),[bgColor]).reduce(_flattenShadowColors);var fgBgContrast=get_contrast_default(bgColor,fgColor),bgShContrast=get_contrast_default(bgColor,shadowColor),fgShContrast=get_contrast_default(shadowColor,fgColor);(contrast2=Math.max(fgBgContrast,bgShContrast,fgShContrast))!==fgBgContrast&&(contrastContributor=bgShContrast>fgShContrast?"shadowOnBgColor":"fgOnShadowColor")}var isValid=contrast2>expected;if("number"==typeof minThreshold&&("number"!=typeof contrast2||contrast2maxThreshold))return this.data({contrastRatio:contrast2}),!0;var missing,truncatedResult=Math.floor(100*contrast2)/100;null===bgColor?missing=incomplete_data_default.get("bgColor"):isValid||(missing=contrastContributor);var equalRatio=1===truncatedResult,shortTextContent=1===visibleText.length;return equalRatio?missing=incomplete_data_default.set("bgColor","equalRatio"):isValid||!shortTextContent||ignoreLength||(missing="shortTextContent"),this.data({fgColor:fgColor?fgColor.toHexString():void 0,bgColor:bgColor?bgColor.toHexString():void 0,contrastRatio:truncatedResult,fontSize:"".concat((72*fontSize/96).toFixed(1),"pt (").concat(fontSize,"px)"),fontWeight:bold?"bold":"normal",messageKey:missing,expectedContrastRatio:expected+":1",shadowColor:shadowColor?shadowColor.toHexString():void 0}),null===fgColor||null===bgColor||equalRatio||shortTextContent&&!ignoreLength&&!isValid?(missing=null,incomplete_data_default.clear(),void this.relatedNodes(bgNodes)):(isValid||this.relatedNodes(bgNodes),isValid)}this.data({messageKey:"nonBmp"})},"color-contrast-matches":color_contrast_matches_default,"css-orientation-lock-evaluate":css_orientation_lock_evaluate_default,"data-table-large-matches":data_table_large_matches_default,"data-table-matches":data_table_matches_default,"deprecatedrole-evaluate":function deprecatedroleEvaluate(node,options,virtualNode){var role=get_role_default(virtualNode,{dpub:!0,fallback:!0}),roleDefinition=standards_default.ariaRoles[role];return!(null==roleDefinition||!roleDefinition.deprecated)&&(this.data(role),!0)},"dlitem-evaluate":dlitem_evaluate_default,"doc-has-title-evaluate":doc_has_title_evaluate_default,"duplicate-id-active-matches":duplicate_id_active_matches_default,"duplicate-id-after":duplicate_id_after_default,"duplicate-id-aria-matches":duplicate_id_aria_matches_default,"duplicate-id-evaluate":duplicate_id_evaluate_default,"duplicate-id-misc-matches":duplicate_id_misc_matches_default,"duplicate-img-label-evaluate":duplicate_img_label_evaluate_default,"exists-evaluate":exists_evaluate_default,"explicit-evaluate":explicit_evaluate_default,"fallbackrole-evaluate":fallbackrole_evaluate_default,"focusable-content-evaluate":focusable_content_evaluate_default,"focusable-disabled-evaluate":focusable_disabled_evaluate_default,"focusable-element-evaluate":focusable_element_evaluate_default,"focusable-modal-open-evaluate":focusable_modal_open_evaluate_default,"focusable-no-name-evaluate":focusable_no_name_evaluate_default,"focusable-not-tabbable-evaluate":focusable_not_tabbable_evaluate_default,"frame-focusable-content-evaluate":function frameFocusableContentEvaluate(node,options,virtualNode){if(virtualNode.children)try{return!virtualNode.children.some((function(child){return focusableDescendants(child)}))}catch(e){return}},"frame-focusable-content-matches":frame_focusable_content_matches_default,"frame-tested-after":frame_tested_after_default,"frame-tested-evaluate":frame_tested_evaluate_default,"frame-title-has-text-matches":frame_title_has_text_matches_default,"has-alt-evaluate":has_alt_evaluate_default,"has-descendant-after":has_descendant_after_default,"has-descendant-evaluate":has_descendant_evaluate_default,"has-global-aria-attribute-evaluate":has_global_aria_attribute_evaluate_default,"has-implicit-chromium-role-matches":has_implicit_chromium_role_matches_default,"has-lang-evaluate":has_lang_evaluate_default,"has-text-content-evaluate":function hasTextContentEvaluate(node,options,virtualNode){try{return""!==sanitize_default(subtree_text_default(virtualNode))}catch(e){return}},"has-widget-role-evaluate":has_widget_role_evaluate_default,"heading-matches":function headingMatches(node,virtualNode){return"heading"===get_role_default(virtualNode)},"heading-order-after":function headingOrderAfter(results){var headingOrder=function getHeadingOrder(results){results=_toConsumableArray(results),results.sort((function(_ref123,_ref124){var nodeA=_ref123.node,nodeB=_ref124.node;return nodeA.ancestry.length-nodeB.ancestry.length}));var headingOrder=results.reduce(mergeHeadingOrder,[]);return headingOrder.filter((function(_ref125){return-1!==_ref125.level}))}(results);return results.forEach((function(result){result.result=function getHeadingOrderOutcome(result,headingOrder){var _headingOrder$index$l,_headingOrder$index,_headingOrder$level,_headingOrder,index=findHeadingOrderIndex(headingOrder,result.node.ancestry),currLevel=null!==(_headingOrder$index$l=null===(_headingOrder$index=headingOrder[index])||void 0===_headingOrder$index?void 0:_headingOrder$index.level)&&void 0!==_headingOrder$index$l?_headingOrder$index$l:-1,prevLevel=null!==(_headingOrder$level=null===(_headingOrder=headingOrder[index-1])||void 0===_headingOrder?void 0:_headingOrder.level)&&void 0!==_headingOrder$level?_headingOrder$level:-1;if(0===index)return!0;if(-1===currLevel)return;return currLevel-prevLevel<=1}(result,headingOrder)})),results},"heading-order-evaluate":heading_order_evaluate_default,"help-same-as-label-evaluate":help_same_as_label_evaluate_default,"hidden-content-evaluate":hidden_content_evaluate_default,"hidden-explicit-label-evaluate":hidden_explicit_label_evaluate_default,"html-namespace-matches":html_namespace_matches_default,"html5-scope-evaluate":html5_scope_evaluate_default,"identical-links-same-purpose-after":identical_links_same_purpose_after_default,"identical-links-same-purpose-evaluate":identical_links_same_purpose_evaluate_default,"identical-links-same-purpose-matches":identical_links_same_purpose_matches_default,"implicit-evaluate":implicit_evaluate_default,"inline-style-property-evaluate":function inlineStyleProperty(node,options){var cssProperty=options.cssProperty,absoluteValues=options.absoluteValues,minValue=options.minValue,maxValue=options.maxValue,_options$normalValue=options.normalValue,normalValue=void 0===_options$normalValue?0:_options$normalValue,noImportant=options.noImportant,multiLineOnly=options.multiLineOnly;if(!noImportant&&"important"!==node.style.getPropertyPriority(cssProperty)||multiLineOnly&&!_isMultiline(node))return!0;var data2={};"number"==typeof minValue&&(data2.minValue=minValue),"number"==typeof maxValue&&(data2.maxValue=maxValue);var declaredPropValue=node.style.getPropertyValue(cssProperty);if(["inherit","unset","revert","revert-layer"].includes(declaredPropValue))return this.data(_extends({value:declaredPropValue},data2)),!0;var value=function getNumberValue(domNode,_ref133){var cssProperty=_ref133.cssProperty,absoluteValues=_ref133.absoluteValues,normalValue=_ref133.normalValue,computedStyle=window.getComputedStyle(domNode),cssPropValue=computedStyle.getPropertyValue(cssProperty);if("normal"===cssPropValue)return normalValue;var parsedValue=parseFloat(cssPropValue);if(absoluteValues)return parsedValue;var fontSize=parseFloat(computedStyle.getPropertyValue("font-size")),value=Math.round(parsedValue/fontSize*100)/100;if(isNaN(value))return cssPropValue;return value}(node,{absoluteValues,cssProperty,normalValue});return this.data(_extends({value},data2)),"number"==typeof value?("number"!=typeof minValue||value>=minValue)&&("number"!=typeof maxValue||value<=maxValue):void 0},"inserted-into-focus-order-matches":inserted_into_focus_order_matches_default,"internal-link-present-evaluate":internal_link_present_evaluate_default,"invalid-children-evaluate":function invalidChildrenEvaluate(node){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},virtualNode=arguments.length>2?arguments[2]:void 0,relatedNodes=[],issues=[];if(virtualNode.children){for(var vNode,vChildren=mapWithNested(virtualNode.children);vChildren.length;){var _vChild$actualNode,_vChildren$shift=vChildren.shift(),vChild=_vChildren$shift.vChild,nested=_vChildren$shift.nested;if(!options.divGroups||nested||("div"!==(vNode=vChild).props.nodeName||null!==get_explicit_role_default(vNode))){var issue=getInvalidSelector(vChild,nested,options);issue&&(issues.includes(issue)||issues.push(issue),1===(null==vChild||null===(_vChild$actualNode=vChild.actualNode)||void 0===_vChild$actualNode?void 0:_vChild$actualNode.nodeType)&&relatedNodes.push(vChild.actualNode))}else{if(!vChild.children)return;var vGrandChildren=mapWithNested(vChild.children,!0);vChildren.push.apply(vChildren,_toConsumableArray(vGrandChildren))}}return 0!==issues.length&&(this.data({values:issues.join(", ")}),this.relatedNodes(relatedNodes),!0)}},"invalidrole-evaluate":invalidrole_evaluate_default,"is-element-focusable-evaluate":is_element_focusable_evaluate_default,"is-initiator-matches":is_initiator_matches_default,"is-on-screen-evaluate":is_on_screen_evaluate_default,"is-visible-matches":function hasVisibleTextMatches(node){return _isVisibleOnScreen(node)},"is-visible-on-screen-matches":function isVisibleOnScreenMatches(node,virtualNode){return _isVisibleOnScreen(virtualNode)},"label-content-name-mismatch-evaluate":label_content_name_mismatch_evaluate_default,"label-content-name-mismatch-matches":label_content_name_mismatch_matches_default,"label-matches":label_matches_default,"landmark-has-body-context-matches":landmark_has_body_context_matches_default,"landmark-is-top-level-evaluate":landmark_is_top_level_evaluate_default,"landmark-is-unique-after":landmark_is_unique_after_default,"landmark-is-unique-evaluate":landmark_is_unique_evaluate_default,"landmark-unique-matches":landmark_unique_matches_default,"layout-table-matches":layout_table_matches_default,"link-in-text-block-evaluate":link_in_text_block_evaluate_default,"link-in-text-block-matches":link_in_text_block_matches_default,"link-in-text-block-style-evaluate":function linkInTextBlockStyleEvaluate(node){if(isBlock3(node))return!1;for(var parentBlock=get_composed_parent_default(node);parentBlock&&1===parentBlock.nodeType&&!isBlock3(parentBlock);)parentBlock=get_composed_parent_default(parentBlock);if(parentBlock){if(this.relatedNodes([parentBlock]),element_is_distinct_default(node,parentBlock))return!0;if(!function hasPseudoContent(node){for(var _i34=0,_arr3=["before","after"];_i34<_arr3.length;_i34++){var pseudo=_arr3[_i34];if("none"!==window.getComputedStyle(node,":".concat(pseudo)).getPropertyValue("content"))return!0}return!1}(node))return!1;this.data({messageKey:"pseudoContent"})}},"listitem-evaluate":function listitemEvaluate(node,options,virtualNode){var parent=virtualNode.parent;if(parent){var parentNodeName=parent.props.nodeName,parentRole=get_explicit_role_default(parent);return!!["presentation","none","list"].includes(parentRole)||(parentRole&&is_valid_role_default(parentRole)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(parentNodeName))}},"matches-definition-evaluate":matches_definition_evaluate_default,"meta-refresh-evaluate":function metaRefreshEvaluate(node,options,virtualNode){var _ref131=options||{},minDelay=_ref131.minDelay,maxDelay=_ref131.maxDelay,redirectStr=_slicedToArray((virtualNode.attr("content")||"").trim().split(separatorRegex),1)[0];if(!redirectStr.match(validRedirectNumRegex))return!0;var redirectDelay=parseFloat(redirectStr);return this.data({redirectDelay}),"number"==typeof minDelay&&redirectDelay<=options.minDelay||"number"==typeof maxDelay&&redirectDelay>options.maxDelay},"meta-viewport-scale-evaluate":meta_viewport_scale_evaluate_default,"multiple-label-evaluate":multiple_label_evaluate_default,"nested-interactive-matches":nested_interactive_matches_default,"no-autoplay-audio-evaluate":no_autoplay_audio_evaluate_default,"no-autoplay-audio-matches":no_autoplay_audio_matches_default,"no-empty-role-matches":no_empty_role_matches_default,"no-explicit-name-required-matches":no_explicit_name_required_matches_default,"no-focusable-content-evaluate":function noFocusableContentEvaluate(node,options,virtualNode){if(virtualNode.children)try{var focusableDescendants2=getFocusableDescendants(virtualNode);if(!focusableDescendants2.length)return!0;var notHiddenElements=focusableDescendants2.filter(usesUnreliableHidingStrategy);return notHiddenElements.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(notHiddenElements)):this.relatedNodes(focusableDescendants2),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":no_implicit_explicit_label_evaluate_default,"no-naming-method-matches":no_naming_method_matches_default,"no-negative-tabindex-matches":no_negative_tabindex_matches_default,"no-role-matches":no_role_matches_default,"non-empty-if-present-evaluate":non_empty_if_present_evaluate_default,"not-html-matches":not_html_matches_default,"object-is-loaded-matches":function object_is_loaded_matches_default(node,vNode){return[no_explicit_name_required_matches_default,objectHasLoaded].every((function(fn){return fn(node,vNode)}))},"only-dlitems-evaluate":only_dlitems_evaluate_default,"only-listitems-evaluate":only_listitems_evaluate_default,"p-as-heading-evaluate":p_as_heading_evaluate_default,"p-as-heading-matches":p_as_heading_matches_default,"page-no-duplicate-after":page_no_duplicate_after_default,"page-no-duplicate-evaluate":page_no_duplicate_evaluate_default,"presentation-role-conflict-matches":presentation_role_conflict_matches_default,"presentational-role-evaluate":function presentationalRoleEvaluate(node,options,virtualNode){var explicitRole2=get_explicit_role_default(virtualNode);if(["presentation","none"].includes(explicitRole2)&&["iframe","frame"].includes(virtualNode.props.nodeName)&&virtualNode.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:virtualNode.props.nodeName}),!1;var role=get_role_default(virtualNode);if(["presentation","none"].includes(role))return this.data({role}),!0;if(!["presentation","none"].includes(explicitRole2))return!1;var messageKey,hasGlobalAria=get_global_aria_attrs_default().some((function(attr){return virtualNode.hasAttr(attr)})),focusable=_isFocusable(virtualNode);return messageKey=hasGlobalAria&&!focusable?"globalAria":!hasGlobalAria&&focusable?"focusable":"both",this.data({messageKey,role}),!1},"region-after":region_after_default,"region-evaluate":function regionEvaluate(node,options,virtualNode){return this.data({isIframe:["iframe","frame"].includes(virtualNode.props.nodeName)}),!cache_default.get("regionlessNodes",(function(){return function getRegionlessNodes(options){var regionlessNodes=findRegionlessElms(axe._tree[0],options).map((function(vNode){for(;vNode.parent&&!vNode.parent._hasRegionDescendant&&vNode.parent.actualNode!==document.body;)vNode=vNode.parent;return vNode})).filter((function(vNode,index,array){return array.indexOf(vNode)===index}));return regionlessNodes}(options)})).includes(virtualNode)},"same-caption-summary-evaluate":same_caption_summary_evaluate_default,"scope-value-evaluate":scope_value_evaluate_default,"scrollable-region-focusable-matches":function scrollableRegionFocusableMatches(node,virtualNode){return void 0!==_getScroll(node,13)&&!1===_isComboboxPopup(virtualNode)&&function isNoneEmptyElement(vNode){return query_selector_all_default(vNode,"*").some((function(elm){return has_content_virtual_default(elm,!0,!0)}))}(virtualNode)},"skip-link-evaluate":skip_link_evaluate_default,"skip-link-matches":skip_link_matches_default,"structured-dlitems-evaluate":structured_dlitems_evaluate_default,"svg-namespace-matches":svg_namespace_matches_default,"svg-non-empty-title-evaluate":svg_non_empty_title_evaluate_default,"tabindex-evaluate":tabindex_evaluate_default,"table-or-grid-role-matches":function tableOrGridRoleMatches(_,vNode){var role=get_role_default(vNode);return["treegrid","grid","table"].includes(role)},"target-offset-evaluate":function targetOffsetEvaluate(node,options,vNode){var _step15,num,minOffset=(null==options?void 0:options.minOffset)||24,closeNeighbors=[],closestOffset=minOffset,_iterator15=_createForOfIteratorHelper(_findNearbyElms(vNode,minOffset));try{for(_iterator15.s();!(_step15=_iterator15.n()).done;){var vNeighbor=_step15.value;if("widget"===get_role_type_default(vNeighbor)&&_isFocusable(vNeighbor)){var offset=(num=_getOffset(vNode,vNeighbor),Math.round(10*num)/10);offset+.05>=minOffset||(closestOffset=Math.min(closestOffset,offset),closeNeighbors.push(vNeighbor))}}}catch(err){_iterator15.e(err)}finally{_iterator15.f()}return 0===closeNeighbors.length?(this.data({closestOffset,minOffset}),!0):(this.relatedNodes(closeNeighbors.map((function(_ref119){return _ref119.actualNode}))),closeNeighbors.some(_isInTabOrder)?(this.data({closestOffset,minOffset}),!_isInTabOrder(vNode)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset,minOffset}))},"target-size-evaluate":function targetSize(node,options,vNode){var minSize=(null==options?void 0:options.minSize)||24,nodeRect=vNode.boundingClientRect,hasMinimumSize=rectHasMinimumSize.bind(null,minSize),nearbyElms=_findNearbyElms(vNode),overflowingContent=function filterOverflowingContent(vNode,nearbyElms){return nearbyElms.filter((function(nearbyElm){return!isEnclosedRect(nearbyElm,vNode)&&isDescendantNotInTabOrder(vNode,nearbyElm)}))}(vNode,nearbyElms),_filterByElmsOverlap=function filterByElmsOverlap(vNode,nearbyElms){var _step16,fullyObscuringElms=[],partialObscuringElms=[],_iterator16=_createForOfIteratorHelper(nearbyElms);try{for(_iterator16.s();!(_step16=_iterator16.n()).done;){var vNeighbor=_step16.value;!isDescendantNotInTabOrder(vNode,vNeighbor)&&_hasVisualOverlap(vNode,vNeighbor)&&"none"!==getCssPointerEvents(vNeighbor)&&(isEnclosedRect(vNode,vNeighbor)?fullyObscuringElms.push(vNeighbor):partialObscuringElms.push(vNeighbor))}}catch(err){_iterator16.e(err)}finally{_iterator16.f()}return{fullyObscuringElms,partialObscuringElms}}(vNode,nearbyElms),fullyObscuringElms=_filterByElmsOverlap.fullyObscuringElms,partialObscuringElms=_filterByElmsOverlap.partialObscuringElms;if(fullyObscuringElms.length&&!overflowingContent.length)return this.relatedNodes(mapActualNodes(fullyObscuringElms)),this.data({messageKey:"obscured"}),!0;var negativeOutcome=!_isInTabOrder(vNode)&&void 0;if(!hasMinimumSize(nodeRect)&&!overflowingContent.length)return this.data(_extends({minSize},toDecimalSize(nodeRect))),negativeOutcome;var obscuredWidgets=function filterFocusableWidgets(vNodes){return vNodes.filter((function(vNode){return"widget"===get_role_type_default(vNode)&&_isFocusable(vNode)}))}(partialObscuringElms),largestInnerRect=function getLargestUnobscuredArea(vNode,obscuredNodes){var nodeRect=vNode.boundingClientRect;if(0===obscuredNodes.length)return null;var obscuringRects=obscuredNodes.map((function(_ref120){return _ref120.boundingClientRect})),unobscuredRects=_splitRects(nodeRect,obscuringRects);return function getLargestRect(rects,minSize){return rects.reduce((function(rectA,rectB){var rectAisMinimum=rectHasMinimumSize(minSize,rectA);return rectAisMinimum!==rectHasMinimumSize(minSize,rectB)?rectAisMinimum?rectA:rectB:rectA.width*rectA.height>rectB.width*rectB.height?rectA:rectB}))}(unobscuredRects)}(vNode,obscuredWidgets);if(overflowingContent.length&&(fullyObscuringElms.length||!hasMinimumSize(largestInnerRect||nodeRect)))return this.data({minSize,messageKey:"contentOverflow"}),void this.relatedNodes(mapActualNodes(overflowingContent));if(0!==obscuredWidgets.length&&!hasMinimumSize(largestInnerRect)){var allTabbable=obscuredWidgets.every(_isInTabOrder),messageKey="partiallyObscured".concat(allTabbable?"":"NonTabbable");return this.data(_extends({messageKey,minSize},toDecimalSize(largestInnerRect))),this.relatedNodes(mapActualNodes(obscuredWidgets)),allTabbable?negativeOutcome:void 0}return this.data(_extends({minSize},toDecimalSize(largestInnerRect||nodeRect))),this.relatedNodes(mapActualNodes(obscuredWidgets)),!0},"td-has-header-evaluate":td_has_header_evaluate_default,"td-headers-attr-evaluate":td_headers_attr_evaluate_default,"th-has-data-cells-evaluate":th_has_data_cells_evaluate_default,"title-only-evaluate":title_only_evaluate_default,"unique-frame-title-after":unique_frame_title_after_default,"unique-frame-title-evaluate":unique_frame_title_evaluate_default,"unsupportedrole-evaluate":unsupportedrole_evaluate_default,"valid-lang-evaluate":valid_lang_evaluate_default,"valid-scrollable-semantics-evaluate":valid_scrollable_semantics_evaluate_default,"widget-not-inline-matches":function widgetNotInline(node,vNode){return matchesFns.every((function(fn){return fn(node,vNode)}))},"window-is-top-matches":function windowIsTopMatches(node){return node.ownerDocument.defaultView.self===node.ownerDocument.defaultView.top},"xml-lang-mismatch-evaluate":xml_lang_mismatch_evaluate_default,"xml-lang-mismatch-matches":function xmlLangMismatchMatches(node){var primaryLangValue=get_base_lang_default(node.getAttribute("lang")),primaryXmlLangValue=get_base_lang_default(node.getAttribute("xml:lang"));return valid_langs_default(primaryLangValue)&&valid_langs_default(primaryXmlLangValue)}},metadata_function_map_default=metadataFunctionMap;var check_result_default=function CheckResult(check){this.id=check.id,this.data=null,this.relatedNodes=[],this.result=null};function createExecutionContext(spec){if("string"==typeof spec){if(metadata_function_map_default[spec])return metadata_function_map_default[spec];if(/^\s*function[\s\w]*\(/.test(spec))return new Function("return "+spec+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(spec))}return spec}function normalizeOptions(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(options)||"object"!==_typeof(options))&&(options={value:options}),options}function Check(spec){spec&&(this.id=spec.id,this.configure(spec))}Check.prototype.enabled=!0,Check.prototype.run=function run(node,options,context,resolve,reject){var enabled=(options=options||{}).hasOwnProperty("enabled")?options.enabled:this.enabled,checkOptions=this.getOptions(options.options);if(enabled){var result,checkResult=new check_result_default(this),helper=check_helper_default(checkResult,options,resolve,reject);try{result=this.evaluate.call(helper,node.actualNode,checkOptions,node,context)}catch(e){return node&&node.actualNode&&(e.errorNode=new dq_element_default(node).toJSON()),void reject(e)}helper.isAsync||(checkResult.result=result,resolve(checkResult))}else resolve(null)},Check.prototype.runSync=function runSync(node,options,context){var _options2$enabled=(options=options||{}).enabled;if(!(void 0===_options2$enabled?this.enabled:_options2$enabled))return null;var result,checkOptions=this.getOptions(options.options),checkResult=new check_result_default(this),helper=check_helper_default(checkResult,options);helper.async=function async(){throw new Error("Cannot run async check while in a synchronous run")};try{result=this.evaluate.call(helper,node.actualNode,checkOptions,node,context)}catch(e){throw node&&node.actualNode&&(e.errorNode=new dq_element_default(node).toJSON()),e}return checkResult.result=result,checkResult},Check.prototype.configure=function configure2(spec){var _this8=this;spec.evaluate&&!metadata_function_map_default[spec.evaluate]||(this._internalCheck=!0),spec.hasOwnProperty("enabled")&&(this.enabled=spec.enabled),spec.hasOwnProperty("options")&&(this._internalCheck?this.options=normalizeOptions(spec.options):this.options=spec.options),["evaluate","after"].filter((function(prop){return spec.hasOwnProperty(prop)})).forEach((function(prop){return _this8[prop]=createExecutionContext(spec[prop])}))},Check.prototype.getOptions=function getOptions(options){return this._internalCheck?deep_merge_default(this.options,normalizeOptions(options||{})):options||this.options};var check_default=Check;var rule_result_default=function RuleResult(rule){this.id=rule.id,this.result=constants_default.NA,this.pageLevel=rule.pageLevel,this.impact=null,this.nodes=[]};function Rule(spec,parentAudit){this._audit=parentAudit,this.id=spec.id,this.selector=spec.selector||"*",spec.impact&&(assert_default(constants_default.impact.includes(spec.impact),"Impact ".concat(spec.impact," is not a valid impact")),this.impact=spec.impact),this.excludeHidden="boolean"!=typeof spec.excludeHidden||spec.excludeHidden,this.enabled="boolean"!=typeof spec.enabled||spec.enabled,this.pageLevel="boolean"==typeof spec.pageLevel&&spec.pageLevel,this.reviewOnFail="boolean"==typeof spec.reviewOnFail&&spec.reviewOnFail,this.any=spec.any||[],this.all=spec.all||[],this.none=spec.none||[],this.tags=spec.tags||[],this.preload=!!spec.preload,this.actIds=spec.actIds,spec.matches&&(this.matches=createExecutionContext(spec.matches))}function getResult(results){if(results.length){var hasResults=!1,result={};return results.forEach((function(r){var res=r.results.filter((function(result2){return result2}));result[r.type]=res,res.length&&(hasResults=!0)})),hasResults?result:null}}Rule.prototype.matches=function matches3(){return!0},Rule.prototype.gather=function gather(context){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},markStart="mark_gather_start_"+this.id,markEnd="mark_gather_end_"+this.id,markHiddenStart="mark_isVisibleToScreenReaders_start_"+this.id,markHiddenEnd="mark_isVisibleToScreenReaders_end_"+this.id;options.performanceTimer&&performance_timer_default.mark(markStart);var elements=_select(this.selector,context);return this.excludeHidden&&(options.performanceTimer&&performance_timer_default.mark(markHiddenStart),elements=elements.filter((function(element){return _isVisibleToScreenReaders(element)})),options.performanceTimer&&(performance_timer_default.mark(markHiddenEnd),performance_timer_default.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",markHiddenStart,markHiddenEnd))),options.performanceTimer&&(performance_timer_default.mark(markEnd),performance_timer_default.measure("rule_"+this.id+"#gather",markStart,markEnd)),elements},Rule.prototype.runChecks=function runChecks(type2,node,options,context,resolve,reject){var self2=this,checkQueue=queue_default();this[type2].forEach((function(c4){var check=self2._audit.checks[c4.id||c4],option=get_check_option_default(check,self2.id,options);checkQueue.defer((function(res,rej){check.run(node,option,context,res,rej)}))})),checkQueue.then((function(results){results=results.filter((function(check){return check})),resolve({type:type2,results})})).catch(reject)},Rule.prototype.runChecksSync=function runChecksSync(type2,node,options,context){var self2=this,results=[];return this[type2].forEach((function(c4){var check=self2._audit.checks[c4.id||c4],option=get_check_option_default(check,self2.id,options);results.push(check.runSync(node,option,context))})),{type:type2,results:results=results.filter((function(check){return check}))}},Rule.prototype.run=function run2(context){var _this9=this,options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},resolve=arguments.length>2?arguments[2]:void 0,reject=arguments.length>3?arguments[3]:void 0;options.performanceTimer&&this._trackPerformance();var nodes,q=queue_default(),ruleResult=new rule_result_default(this);try{nodes=this.gatherAndMatchNodes(context,options)}catch(error){return void reject(new SupportError({cause:error,ruleId:this.id}))}options.performanceTimer&&this._logGatherPerformance(nodes),nodes.forEach((function(node){q.defer((function(resolveNode,rejectNode){var checkQueue=queue_default();["any","all","none"].forEach((function(type2){checkQueue.defer((function(res,rej){_this9.runChecks(type2,node,options,context,res,rej)}))})),checkQueue.then((function(results){var result=getResult(results);result&&(result.node=new dq_element_default(node,options),ruleResult.nodes.push(result),_this9.reviewOnFail&&(["any","all"].forEach((function(type2){result[type2].forEach((function(checkResult){!1===checkResult.result&&(checkResult.result=void 0)}))})),result.none.forEach((function(checkResult){!0===checkResult.result&&(checkResult.result=void 0)})))),resolveNode()})).catch((function(err2){return rejectNode(err2)}))}))})),q.defer((function(resolve2){return setTimeout(resolve2,0)})),options.performanceTimer&&this._logRulePerformance(),q.then((function(){return resolve(ruleResult)})).catch((function(error){return reject(error)}))},Rule.prototype.runSync=function runSync2(context){var _this10=this,options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};options.performanceTimer&&this._trackPerformance();var nodes,ruleResult=new rule_result_default(this);try{nodes=this.gatherAndMatchNodes(context,options)}catch(error){throw new SupportError({cause:error,ruleId:this.id})}return options.performanceTimer&&this._logGatherPerformance(nodes),nodes.forEach((function(node){var results=[];["any","all","none"].forEach((function(type2){results.push(_this10.runChecksSync(type2,node,options,context))}));var result=getResult(results);result&&(result.node=node.actualNode?new dq_element_default(node,options):null,ruleResult.nodes.push(result),_this10.reviewOnFail&&(["any","all"].forEach((function(type2){result[type2].forEach((function(checkResult){!1===checkResult.result&&(checkResult.result=void 0)}))})),result.none.forEach((function(checkResult){!0===checkResult.result&&(checkResult.result=void 0)}))))})),options.performanceTimer&&this._logRulePerformance(),ruleResult},Rule.prototype._trackPerformance=function _trackPerformance(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},Rule.prototype._logGatherPerformance=function _logGatherPerformance(nodes){log_default("gather (",nodes.length,"):",performance_timer_default.timeElapsed()+"ms"),performance_timer_default.mark(this._markChecksStart)},Rule.prototype._logRulePerformance=function _logRulePerformance(){performance_timer_default.mark(this._markChecksEnd),performance_timer_default.mark(this._markEnd),performance_timer_default.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),performance_timer_default.measure("rule_"+this.id,this._markStart,this._markEnd)},Rule.prototype.gatherAndMatchNodes=function gatherAndMatchNodes(context,options){var _this11=this,markMatchesStart="mark_matches_start_"+this.id,markMatchesEnd="mark_matches_end_"+this.id,nodes=this.gather(context,options);return options.performanceTimer&&performance_timer_default.mark(markMatchesStart),nodes=nodes.filter((function(node){return _this11.matches(node.actualNode,node,context)})),options.performanceTimer&&(performance_timer_default.mark(markMatchesEnd),performance_timer_default.measure("rule_"+this.id+"#matches",markMatchesStart,markMatchesEnd)),nodes},Rule.prototype.after=function after(result,options){var _this12=this,afterChecks=function findAfterChecks(rule){return get_all_checks_default(rule).map((function(c4){var check=rule._audit.checks[c4.id||c4];return check&&"function"==typeof check.after?check:null})).filter(Boolean)}(this),ruleID=this.id;return afterChecks.forEach((function(check){var beforeResults=function findCheckResults(nodes,checkID){var checkResults=[];return nodes.forEach((function(nodeResult){get_all_checks_default(nodeResult).forEach((function(checkResult){checkResult.id===checkID&&(checkResult.node=nodeResult.node,checkResults.push(checkResult))}))})),checkResults}(result.nodes,check.id),option=get_check_option_default(check,ruleID,options),afterResults=check.after(beforeResults,option);_this12.reviewOnFail&&afterResults.forEach((function(checkResult){var changeAnyAllResults=(_this12.any.includes(checkResult.id)||_this12.all.includes(checkResult.id))&&!1===checkResult.result,changeNoneResult=_this12.none.includes(checkResult.id)&&!0===checkResult.result;(changeAnyAllResults||changeNoneResult)&&(checkResult.result=void 0)})),beforeResults.forEach((function(item){delete item.node,-1===afterResults.indexOf(item)&&(item.filtered=!0)}))})),result.nodes=function sanitizeNodes(result){var checkTypes2=["any","all","none"],nodes=result.nodes.filter((function(detail){var length=0;return checkTypes2.forEach((function(type2){detail[type2]=function filterChecks(checks){return checks.filter((function(check){return!0!==check.filtered}))}(detail[type2]),length+=detail[type2].length})),length>0}));return result.pageLevel&&nodes.length&&(nodes=[nodes.reduce((function(a2,b2){if(a2)return checkTypes2.forEach((function(type2){a2[type2].push.apply(a2[type2],b2[type2])})),a2}))]),nodes}(result),result},Rule.prototype.configure=function configure3(spec){spec.hasOwnProperty("selector")&&(this.selector=spec.selector),spec.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof spec.excludeHidden||spec.excludeHidden),spec.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof spec.enabled||spec.enabled),spec.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof spec.pageLevel&&spec.pageLevel),spec.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof spec.reviewOnFail&&spec.reviewOnFail),spec.hasOwnProperty("any")&&(this.any=spec.any),spec.hasOwnProperty("all")&&(this.all=spec.all),spec.hasOwnProperty("none")&&(this.none=spec.none),spec.hasOwnProperty("tags")&&(this.tags=spec.tags),spec.hasOwnProperty("actIds")&&(this.actIds=spec.actIds),spec.hasOwnProperty("matches")&&(this.matches=createExecutionContext(spec.matches)),spec.impact&&(assert_default(constants_default.impact.includes(spec.impact),"Impact ".concat(spec.impact," is not a valid impact")),this.impact=spec.impact)};var rule_default=Rule,import_dot2=__toModule(require_doT()),dotRegex=/\{\{.+?\}\}/g;function getDefaultOrigin(){return window.origin&&"null"!==window.origin?window.origin:window.location&&window.location.origin&&"null"!==window.location.origin?window.location.origin:void 0}function unpackToObject(collection,audit,method){var i,l;for(i=0,l=collection.length;i0&&void 0!==arguments[0]?arguments[0]:null,version=(axe.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(rule){_this13.data.rules[rule.id]||(_this13.data.rules[rule.id]={});var metaData=_this13.data.rules[rule.id];("string"!=typeof metaData.helpUrl||previous&&metaData.helpUrl===getHelpUrl(previous,rule.id,version))&&(metaData.helpUrl=getHelpUrl(_this13,rule.id,version))}))}},{key:"resetRulesAndChecks",value:function resetRulesAndChecks(){this._init(),this._resetLocale()}}]),Audit}();function getDefferedRule(rule,context,options){return options.performanceTimer&&performance_timer_default.mark("mark_rule_start_"+rule.id),function(resolve,reject){rule.run(context,options,(function(ruleResult){resolve(ruleResult)}),(function(err2){if(options.debug)reject(err2);else{var errResult=Object.assign(new rule_result_default(rule),{result:constants_default.CANTTELL,description:"An error occured while running this rule",message:err2.message,stack:err2.stack,error:err2,errorNode:err2.errorNode});resolve(errResult)}}))}}function getHelpUrl(_ref136,ruleId,version){var brand=_ref136.brand,application=_ref136.application,lang=_ref136.lang;return constants_default.helpUrlBase+brand+"/"+(version||axe.version.substring(0,axe.version.lastIndexOf(".")))+"/"+ruleId+"?application="+encodeURIComponent(application)+(lang&&"en"!==lang?"&lang="+encodeURIComponent(lang):"")}var audit_default=Audit;function resetGlobals(){cache_default.get("globalDocumentSet")&&(cache_default.set("globalDocumentSet",!1),document=null),cache_default.get("globalWindowSet")&&(cache_default.set("globalWindowSet",!1),window=null)}var teardown_default=function teardown(){resetGlobals(),axe._memoizedFns.forEach((function(fn){return fn.clear()})),cache_default.clear(),axe._tree=void 0,axe._selectorData=void 0,axe._selectCache=void 0};var run_rules_default=function runRules(context,options,resolve,reject){try{context=new Context(context),axe._tree=context.flatTree,axe._selectorData=_getSelectorData(context.flatTree)}catch(e){return teardown_default(),reject(e)}var q=queue_default(),audit=axe._audit;options.performanceTimer&&performance_timer_default.auditStart(),context.frames.length&&!1!==options.iframes&&q.defer((function(res,rej){_collectResultsFromFrames(context,options,"rules",null,res,rej)})),q.defer((function(res,rej){audit.run(context,options,res,rej)})),q.then((function(data2){try{options.performanceTimer&&performance_timer_default.auditEnd();var results=merge_results_default(data2.map((function(results2){return{results:results2}})));context.initiator&&((results=audit.after(results,options)).forEach(publish_metadata_default),results=results.map(finalize_result_default));try{resolve(results,teardown_default)}catch(e){teardown_default(),log_default(e)}}catch(e){teardown_default(),reject(e)}})).catch((function(e){teardown_default(),reject(e)}))};window.top!==window&&(_respondable.subscribe("axe.start",(function runCommand(data2,keepalive,callback){var resolve=callback,reject=function reject2(err2){err2 instanceof Error==0&&(err2=new Error(err2)),callback(err2)},context=data2&&data2.context||{};context.hasOwnProperty("include")&&!context.include.length&&(context.include=[document]);var options=data2&&data2.options||{};switch(data2.command){case"rules":return run_rules_default(context,options,(function(results,cleanup3){resolve(results),cleanup3()}),reject);case"cleanup-plugin":return cleanup_default(resolve,reject);default:if(axe._audit&&axe._audit.commands&&axe._audit.commands[data2.command])return axe._audit.commands[data2.command](data2,callback)}})),_respondable.subscribe("axe.ping",(function(data2,keepalive,respond){respond({axe:!0})})));var load_default=function load(audit){axe._audit=new audit_default(audit)};function Plugin(spec){this._run=spec.run,this._collect=spec.collect,this._registry={},spec.commands.forEach((function(command){axe._audit.registerCommand(command)}))}Plugin.prototype.run=function run3(){return this._run.apply(this,arguments)},Plugin.prototype.collect=function collect(){return this._collect.apply(this,arguments)},Plugin.prototype.cleanup=function cleanup2(done){var q=axe.utils.queue(),that=this;Object.keys(this._registry).forEach((function(key){q.defer((function(_done){that._registry[key].cleanup(_done)}))})),q.then(done)},Plugin.prototype.add=function add(impl){this._registry[impl.id]=impl};var plugins_default=function registerPlugin(plugin){axe.plugins[plugin.id]=new Plugin(plugin)};var reset_default=function reset(){var audit=axe._audit;if(!audit)throw new Error("No audit configured");audit.resetRulesAndChecks(),function resetStandards(){Object.keys(standards).forEach((function(propName){standards[propName]=originals[propName]}))}()};function normalizeRunParams(_ref137){var _ref139,_options$reporter,_axe$_audit,_ref138=_slicedToArray(_ref137,3),context=_ref138[0],options=_ref138[1],callback=_ref138[2],typeErr=new TypeError("axe.run arguments are invalid");if(!function isContextSpec(contextSpec){return isContextObject(contextSpec)||isContextProp(contextSpec)}(context)){if(void 0!==callback)throw typeErr;callback=options,options=context,context=document}if("object"!==_typeof(options)){if(void 0!==callback)throw typeErr;callback=options,options={}}if("function"!=typeof callback&&void 0!==callback)throw typeErr;return(options=clone_default(options)).reporter=null!==(_ref139=null!==(_options$reporter=options.reporter)&&void 0!==_options$reporter?_options$reporter:null===(_axe$_audit=axe._audit)||void 0===_axe$_audit?void 0:_axe$_audit.reporter)&&void 0!==_ref139?_ref139:"v1",{context,options,callback}}var noop2=function noop2(){};function serializeNode(_ref142){var node=_ref142.node,nodeResult=_objectWithoutProperties(_ref142,_excluded14);nodeResult.node=node.toJSON();for(var _i44=0,_arr4=["any","all","none"];_i44<_arr4.length;_i44++){var type2=_arr4[_i44];nodeResult[type2]=nodeResult[type2].map((function(_ref143){var relatedNodes=_ref143.relatedNodes;return _extends({},_objectWithoutProperties(_ref143,_excluded15),{relatedNodes:relatedNodes.map((function(node2){return node2.toJSON()}))})}))}return nodeResult}function getMergedFrameSpecs(_ref146){var childFrameSpecs=_ref146.frames,parentFrameSpec=_ref146.frameSpec;return parentFrameSpec?childFrameSpecs.map((function(childFrameSpec){return dq_element_default.mergeSpecs(childFrameSpec,parentFrameSpec)})):childFrameSpecs}var setup_default=function setup(node){if(axe._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return axe._tree=get_flattened_tree_default(node),axe._selectorData=_getSelectorData(axe._tree),axe._tree[0]},na_default=function naReporter(results,options,callback){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof options&&(callback=options,options={});var _options3=options,environmentData=_options3.environmentData,toolOptions=_objectWithoutProperties(_options3,_excluded16);callback(_extends({},_getEnvironmentData(environmentData),{toolOptions},process_aggregate_default(results,options)))},no_passes_default=function noPassesReporter(results,options,callback){"function"==typeof options&&(callback=options,options={});var _options4=options,environmentData=_options4.environmentData,toolOptions=_objectWithoutProperties(_options4,_excluded17);options.resultTypes=["violations"];var violations=process_aggregate_default(results,options).violations;callback(_extends({},_getEnvironmentData(environmentData),{toolOptions,violations}))},raw_default=function rawReporter(results,options,callback){if("function"==typeof options&&(callback=options,options={}),!results||!Array.isArray(results))return callback(results);callback(results.map((function(result){for(var transformedResult=_extends({},result),_i45=0,_types=["passes","violations","incomplete","inapplicable"];_i45<_types.length;_i45++){var type2=_types[_i45];transformedResult[type2]&&Array.isArray(transformedResult[type2])&&(transformedResult[type2]=transformedResult[type2].map((function(_ref147){var _node,node=_ref147.node,typeResult=_objectWithoutProperties(_ref147,_excluded18);return _extends({node:node="function"==typeof(null===(_node=node)||void 0===_node?void 0:_node.toJSON)?node.toJSON():node},typeResult)})))}return transformedResult})))},raw_env_default=function rawEnvReporter(results,options,callback){"function"==typeof options&&(callback=options,options={});var _options5=options,environmentData=_options5.environmentData,toolOptions=_objectWithoutProperties(_options5,_excluded19);raw_default(results,toolOptions,(function(raw){var env=_getEnvironmentData(environmentData);callback({raw,env})}))},v1_default=function v1Reporter(results,options,callback){"function"==typeof options&&(callback=options,options={});var _options6=options,environmentData=_options6.environmentData,toolOptions=_objectWithoutProperties(_options6,_excluded20),out=process_aggregate_default(results,options),addFailureSummaries=function addFailureSummaries(result){result.nodes.forEach((function(nodeResult){nodeResult.failureSummary=failure_summary_default(nodeResult)}))};out.incomplete.forEach(addFailureSummaries),out.violations.forEach(addFailureSummaries),callback(_extends({},_getEnvironmentData(environmentData),{toolOptions},out))},v2_default=function v2Reporter(results,options,callback){"function"==typeof options&&(callback=options,options={});var _options7=options,environmentData=_options7.environmentData,toolOptions=_objectWithoutProperties(_options7,_excluded21),out=process_aggregate_default(results,options);callback(_extends({},_getEnvironmentData(environmentData),{toolOptions},out))},exposed_for_testing_default={base:{Audit:audit_default,CheckResult:check_result_default,Check:check_default,Context,RuleResult:rule_result_default,Rule:rule_default,metadataFunctionMap:metadata_function_map_default},public:{reporters},helpers:{failureSummary:failure_summary_default,incompleteFallbackMessage,processAggregate:process_aggregate_default},utils:{setDefaultFrameMessenger,cacheNodeSelectors,getNodesMatchingExpression,convertSelector:_convertSelector},commons:{dom:{nativelyHidden,displayHidden,visibilityHidden,contentVisibiltyHidden,ariaHidden,opacityHidden,scrollHidden,overflowHidden,clipHidden,areaHidden,detailsHidden}}};axe._thisWillBeDeletedDoNotUse=exposed_for_testing_default,axe.constants=constants_default,axe.log=log_default,axe.AbstractVirtualNode=abstract_virtual_node_default,axe.SerialVirtualNode=serial_virtual_node_default,axe.VirtualNode=virtual_node_default,axe._cache=cache_default,axe.imports=imports_exports,axe.cleanup=cleanup_default,axe.configure=configure_default,axe.frameMessenger=function frameMessenger2(frameHandler){_respondable.updateMessenger(frameHandler)},axe.getRules=get_rules_default,axe._load=load_default,axe.plugins={},axe.registerPlugin=plugins_default,axe.hasReporter=hasReporter,axe.getReporter=getReporter,axe.addReporter=function addReporter(name,cb,isDefault){reporters[name]=cb,isDefault&&(defaultReporter=cb)},axe.reset=reset_default,axe._runRules=run_rules_default,axe.runVirtualRule=function runVirtualRule(ruleId,vNode){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};options.reporter=options.reporter||axe._audit.reporter||"v1",axe._selectorData={},vNode instanceof abstract_virtual_node_default||(vNode=new serial_virtual_node_default(vNode));var rule=get_rule_default(ruleId);if(!rule)throw new Error("unknown rule `"+ruleId+"`");var context={initiator:!0,include:[vNode],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},rawResults=(rule=Object.create(rule,{excludeHidden:{value:!1}})).runSync(context,options);publish_metadata_default(rawResults),finalize_result_default(rawResults);var results=aggregate_result_default([rawResults]);return results.violations.forEach((function(result){return result.nodes.forEach((function(nodeResult){nodeResult.failureSummary=failure_summary_default(nodeResult)}))})),_extends({},_getEnvironmentData(),results,{toolOptions:options})},axe.run=function run4(){for(var _len7=arguments.length,args=new Array(_len7),_key9=0;_key9<_len7;_key9++)args[_key9]=arguments[_key9];!function setupGlobals(context){var hasWindow=window&&"Node"in window&&"NodeList"in window,hasDoc=!!document;if(!hasWindow||!hasDoc){if(!context||!context.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');hasDoc||(cache_default.set("globalDocumentSet",!0),document=context.ownerDocument),hasWindow||(cache_default.set("globalWindowSet",!0),window=document.defaultView)}}(args[0]);var _normalizeRunParams=normalizeRunParams(args),context=_normalizeRunParams.context,options=_normalizeRunParams.options,_normalizeRunParams$c=_normalizeRunParams.callback,callback=void 0===_normalizeRunParams$c?noop2:_normalizeRunParams$c,_getPromiseHandlers=function getPromiseHandlers(callback){var thenable,reject,resolve;"function"==typeof Promise&&callback===noop2?thenable=new Promise((function(_resolve,_reject){reject=_reject,resolve=_resolve})):resolve=reject=noop2;return{thenable,reject,resolve}}(callback),thenable=_getPromiseHandlers.thenable,resolve=_getPromiseHandlers.resolve,reject=_getPromiseHandlers.reject;try{assert_default(axe._audit,"No audit configured"),assert_default(!axe._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function handleError(err2,callback){if(resetGlobals(),"function"==typeof callback&&callback!==noop2)return void callback(err2.message);throw err2}(e,callback)}return axe._running=!0,options.performanceTimer&&axe.utils.performanceTimer.start(),axe._runRules(context,options,(function handleRunRules(rawResults,cleanup3){options.performanceTimer&&axe.utils.performanceTimer.end();try{!function createReport(rawResults,options,respond){var reporter=getReporter(options.reporter),results=reporter(rawResults,options,respond);void 0!==results&&respond(results)}(rawResults,options,(function respond(results){axe._running=!1,cleanup3();try{callback(null,results)}catch(e){axe.log(e)}resolve(results)}))}catch(err2){axe._running=!1,cleanup3(),callback(err2),reject(err2)}}),(function errorRunRules(err2){options.performanceTimer&&axe.utils.performanceTimer.end(),axe._running=!1,resetGlobals(),callback(err2),reject(err2)})),thenable},axe.setup=setup_default,axe.teardown=teardown_default,axe.runPartial=function runPartial(){for(var _len8=arguments.length,args=new Array(_len8),_key10=0;_key10<_len8;_key10++)args[_key10]=arguments[_key10];var _normalizeRunParams2=normalizeRunParams(args),options=_normalizeRunParams2.options,context=_normalizeRunParams2.context;assert_default(axe._audit,"Axe is not configured. Audit is missing."),assert_default(!axe._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var contextObj=new Context(context,axe._tree);return axe._tree=contextObj.flatTree,axe._selectorData=_getSelectorData(contextObj.flatTree),axe._running=!0,new Promise((function(res,rej){axe._audit.run(contextObj,options,res,rej)})).then((function(results){results=results.map((function(_ref140){var nodes=_ref140.nodes,result=_objectWithoutProperties(_ref140,_excluded13);return _extends({nodes:nodes.map(serializeNode)},result)}));var environmentData,frames=contextObj.frames.map((function(_ref141){var node=_ref141.node;return new dq_element_default(node,options).toJSON()}));return contextObj.initiator&&(environmentData=_getEnvironmentData()),axe._running=!1,teardown_default(),{results,frames,environmentData}})).catch((function(err2){return axe._running=!1,teardown_default(),Promise.reject(err2)}))},axe.finishRun=function finishRun(partialResults){var _ref145,_options$reporter2,_axe$_audit2,options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};options=clone_default(options);var environmentData=(partialResults.find((function(r){return r.environmentData}))||{}).environmentData;axe._audit.normalizeOptions(options),options.reporter=null!==(_ref145=null!==(_options$reporter2=options.reporter)&&void 0!==_options$reporter2?_options$reporter2:null===(_axe$_audit2=axe._audit)||void 0===_axe$_audit2?void 0:_axe$_audit2.reporter)&&void 0!==_ref145?_ref145:"v1",function setFrameSpec(partialResults){var _step19,frameStack=[],_iterator19=_createForOfIteratorHelper(partialResults);try{for(_iterator19.s();!(_step19=_iterator19.n()).done;){var partialResult=_step19.value,frameSpec=frameStack.shift();if(partialResult){partialResult.frameSpec=null!=frameSpec?frameSpec:null;var frameSpecs=getMergedFrameSpecs(partialResult);frameStack.unshift.apply(frameStack,_toConsumableArray(frameSpecs))}}}catch(err){_iterator19.e(err)}finally{_iterator19.f()}}(partialResults);var results=merge_results_default(partialResults);return(results=axe._audit.after(results,options)).forEach(publish_metadata_default),function createReport2(results,options){return new Promise((function(resolve){getReporter(options.reporter)(results,options,resolve)}))}(results=results.map(finalize_result_default),_extends({environmentData},options))},axe.commons=commons_exports,axe.utils=utils_exports,axe.addReporter("na",na_default),axe.addReporter("no-passes",no_passes_default),axe.addReporter("rawEnv",raw_env_default),axe.addReporter("raw",raw_default),axe.addReporter("v1",v1_default),axe.addReporter("v2",v2_default,!0)}(),axe._load({lang:"en",data:{rules:{accesskeys:{description:"Ensures every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensures elements of image maps have alternate text",help:"Active elements must have alternate text"},"aria-allowed-attr":{description:"Ensures ARIA attributes are allowed for an element's role",help:"Elements must only use allowed ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-command-name":{description:"Ensures every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-dialog-name":{description:"Ensures every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:"Ensures aria-hidden='true' is not present on the document body.",help:"aria-hidden='true' must not be present on the document body"},"aria-hidden-focus":{description:"Ensures aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensures every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensures every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensures every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensures "role=text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensures every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensures every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensures every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures